diff options
author | Roel Kluin <roel.kluin@gmail.com> | 2009-03-13 16:04:12 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-03-13 16:04:12 -0700 |
commit | 8db09f26f912f7c90c764806e804b558da520d4f (patch) | |
tree | a02b562f75c862306aebbfa207bcdb1657a87bd9 /lib/kernel_lock.c | |
parent | 73ce7b01b4496a5fbf9caf63033c874be692333f (diff) | |
download | linux-8db09f26f912f7c90c764806e804b558da520d4f.tar.bz2 |
x25: '< 0' and '>= 0' test on unsigned
skb->len is an unsigned int, so the test in x25_rx_call_request() always
evaluates to true.
len in x25_sendmsg() is unsigned as well. so -ERRORS returned by x25_output()
are not noticed.
Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/kernel_lock.c')
0 files changed, 0 insertions, 0 deletions