net/smc: fix another sizeof to int comparison
authorUrsula Braun <ubraun@linux.ibm.com>
Wed, 30 Jan 2019 17:51:00 +0000 (18:51 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 1 Feb 2019 22:45:44 +0000 (14:45 -0800)
commit14d22d4d61e40623a7c5816728bfe55c322e779a
tree7199bee627e5b513827cd57add8cb0edbc37048c
parent7596175e99b3d4bce28022193efd954c201a782a
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>
net/smc/smc_clc.c