summaryrefslogtreecommitdiff
path: root/crypto/crc32c_generic.c
diff options
context:
space:
mode:
authorUrsula Braun <ubraun@linux.ibm.com>2019-01-30 20:51:00 +0300
committerDavid S. Miller <davem@davemloft.net>2019-02-02 01:45:44 +0300
commit14d22d4d61e40623a7c5816728bfe55c322e779a (patch)
tree7199bee627e5b513827cd57add8cb0edbc37048c /crypto/crc32c_generic.c
parent7596175e99b3d4bce28022193efd954c201a782a (diff)
downloadlinux-14d22d4d61e40623a7c5816728bfe55c322e779a.tar.xz
net/smc: fix another sizeof to int comparison
Comparing an int to a size, which is unsigned, causes the int to become unsigned, giving the wrong result. kernel_sendmsg can return a negative error code. Signed-off-by: Ursula Braun <ubraun@linux.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'crypto/crc32c_generic.c')
0 files changed, 0 insertions, 0 deletions