aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-debug.h
diff options
context:
space:
mode:
authorChuck Lever <[email protected]>2023-09-25 09:27:45 -0400
committerChuck Lever <[email protected]>2023-10-16 12:44:28 -0400
commit40bb2baaa8edecfc21a3c176e4af1a3445157677 (patch)
tree49066e83056489bcc54192213cc2ba8f8258fd0e /drivers/usb/cdns3/cdns3-debug.h
parent76bebcc7640eaac7213ab6ef97b3376733c69123 (diff)
NFSD: Clean up nfsd4_encode_stateid()
Update the encoder function name to match the type name, as is the convention with other such encoder utility functions, and with nfsd4_decode_stateid4(). Make the @stateid argument a const so that callers of nfsd4_encode_stateid4() in the future can be passed const pointers to structures. Since the compiler is allowed to add padding to structs, use the wire (spec-defined) size when reserving buffer space. Reviewed-by: Jeff Layton <[email protected]> Signed-off-by: Chuck Lever <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions