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
..
2016-02-24 16:16:04 +01:00
2015-11-30 14:47:33 -05:00
2015-10-13 17:42:34 +02:00
2016-02-04 18:26:08 +01:00
2015-11-23 14:56:15 -05:00
2015-10-23 03:05:19 -07:00
2015-10-07 04:27:43 -07:00
2016-02-21 22:00:28 -05:00
2016-01-04 21:48:15 -05:00
2016-02-11 09:45:24 -05:00
2016-02-16 20:21:48 -05:00