summaryrefslogtreecommitdiff
path: root/drivers/spi
diff options
context:
space:
mode:
authorUrsula Braun <ubraun@linux.ibm.com>2019-01-30 18:51:00 +0100
committerDavid S. Miller <davem@davemloft.net>2019-02-01 14:45:44 -0800
commit14d22d4d61e40623a7c5816728bfe55c322e779a (patch)
tree7199bee627e5b513827cd57add8cb0edbc37048c /drivers/spi
parent7596175e99b3d4bce28022193efd954c201a782a (diff)
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 'drivers/spi')
0 files changed, 0 insertions, 0 deletions