diff options
| author | Chuck Lever <[email protected]> | 2022-06-07 20:48:05 +0000 |
|---|---|---|
| committer | Chuck Lever <[email protected]> | 2022-06-08 16:39:37 +0000 |
| commit | 90d871b3b9bb7ef8f835d6b53095f01b9c74b7b3 (patch) | |
| tree | f75f067bf96079bd732aaf19366e9a5c167078b8 /scripts/clang-tools/gen_compile_commands.py | |
| parent | SUNRPC: Optimize xdr_reserve_space() (diff) | |
| download | kernel-90d871b3b9bb7ef8f835d6b53095f01b9c74b7b3.tar.gz kernel-90d871b3b9bb7ef8f835d6b53095f01b9c74b7b3.zip | |
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 <[email protected]>
Reviewed-by: NeilBrown <[email protected]>
Reviewed-by: J. Bruce Fields <[email protected]>
Diffstat (limited to 'scripts/clang-tools/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions
