summaryrefslogtreecommitdiff
path: root/include/linux/firmware.h
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2022-06-07 16:48:05 -0400
committerChuck Lever <chuck.lever@oracle.com>2022-06-08 12:39:37 -0400
commit90d871b3b9bb7ef8f835d6b53095f01b9c74b7b3 (patch)
treef75f067bf96079bd732aaf19366e9a5c167078b8 /include/linux/firmware.h
parent62ed448cc53b654036f7d7f3c99f299d79ad14c3 (diff)
SUNRPC: Clean up xdr_commit_encode()
Both the kvec::iov_len field and the third parameter of memcpy() and memmove() are size_t. There's no reason for the implicit conversion from size_t to int and back. Change the type of @shift to make the code easier to read and understand. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Reviewed-by: NeilBrown <neilb@suse.de> Reviewed-by: J. Bruce Fields <bfields@fieldses.org>
Diffstat (limited to 'include/linux/firmware.h')
0 files changed, 0 insertions, 0 deletions