Tag: 4c23d8745731b1b54bb8eadfc42070d7f9893b46

6lowpan: fix error checking code

Author: Andrzej Hajda <a.hajda@samsung.com> Bool variable ‘fail’ is always non-negative, it indicates an error if it is true. The problem has been detected using coccinelle script scripts/coccinelle/tests/unsigned_lesser_than_zero.cocci Signed-off-by: Andrzej Hajda Acked-by: Alexander Aring Signed-off-by: Marcel Holtmann — net/6lowpan/iphc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)   diff –git a/net/6lowpan/iphc.c b/net/6lowpan/iphc.c index 8dd8388..06287ac …

Continue reading