linux-next/net/6lowpan
Andrzej Hajda 4c23d87457 6lowpan: fix error checking code
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 <a.hajda@samsung.com>
Acked-by: Alexander Aring <aar@pengutronix.de>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
2016-02-24 16:16:04 +01:00
..
6lowpan_i.h 6lowpan: add debugfs support 2015-12-10 01:25:25 +01:00
core.c 6lowpan: iphc: add support for stateful compression 2016-02-23 20:29:40 +01:00
debugfs.c 6lowpan: iphc: add support for stateful compression 2016-02-23 20:29:40 +01:00
iphc.c 6lowpan: fix error checking code 2016-02-24 16:16:04 +01:00
Kconfig 6lowpan: add debugfs support 2015-12-10 01:25:25 +01:00
Makefile 6lowpan: add debugfs support 2015-12-10 01:25:25 +01:00
nhc_dest.c 6lowpan: nhc: add other known rfc6282 compressions 2015-02-14 23:08:44 +01:00
nhc_fragment.c 6lowpan: nhc: add other known rfc6282 compressions 2015-02-14 23:08:44 +01:00
nhc_ghc_ext_dest.c 6lowpan: add nhc module for GHC destination extension header detection 2015-12-10 01:25:25 +01:00
nhc_ghc_ext_frag.c 6lowpan: add nhc module for GHC fragmentation extension header detection 2015-12-10 01:25:25 +01:00
nhc_ghc_ext_hop.c 6lowpan: add nhc module for GHC hop-by-hopextension header detection 2015-12-10 01:25:24 +01:00
nhc_ghc_ext_route.c 6lowpan: add nhc module for GHC routing extension header detection 2015-12-10 01:25:25 +01:00
nhc_ghc_icmpv6.c 6lowpan: add nhc module for GHC ICMPv6 detection 2015-12-10 01:25:24 +01:00
nhc_ghc_udp.c 6lowpan: add nhc module for GHC UDP detection 2015-12-10 01:25:24 +01:00
nhc_hop.c 6lowpan: nhc: add other known rfc6282 compressions 2015-02-14 23:08:44 +01:00
nhc_ipv6.c 6lowpan: nhc: add other known rfc6282 compressions 2015-02-14 23:08:44 +01:00
nhc_mobility.c 6lowpan: nhc: add other known rfc6282 compressions 2015-02-14 23:08:44 +01:00
nhc_routing.c 6lowpan: nhc: add other known rfc6282 compressions 2015-02-14 23:08:44 +01:00
nhc_udp.c 6lowpan: move IPHC functionality defines 2015-10-21 00:49:25 +02:00
nhc.c 6lowpan: nhc: move iphc manipulation out of nhc 2015-10-21 00:49:25 +02:00
nhc.h 6lowpan: nhc: move iphc manipulation out of nhc 2015-10-21 00:49:25 +02:00