commit | 14d22d4d61e40623a7c5816728bfe55c322e779a | [log] [tgz] |
---|---|---|
author | Ursula Braun <ubraun@linux.ibm.com> | Wed Jan 30 18:51:00 2019 +0100 |
committer | David S. Miller <davem@davemloft.net> | Fri Feb 01 14:45:44 2019 -0800 |
tree | 7199bee627e5b513827cd57add8cb0edbc37048c | |
parent | 7596175e99b3d4bce28022193efd954c201a782a [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>