summaryrefslogtreecommitdiffstats
path: root/net/6lowpan/nhc_ghc_ext_frag.c
diff options
context:
space:
mode:
authorAndrzej Hajda <a.hajda@samsung.com>2016-02-24 09:32:13 +0100
committerMarcel Holtmann <marcel@holtmann.org>2016-02-24 16:16:04 +0100
commit4c23d8745731b1b54bb8eadfc42070d7f9893b46 (patch)
treec780f7214c1254d4b30bc269717e10d677e9bb02 /net/6lowpan/nhc_ghc_ext_frag.c
parent8790404de0e5f47ef721e2ed36ebb0f2314722ac (diff)
downloadlinux-stable-4c23d8745731b1b54bb8eadfc42070d7f9893b46.tar.gz
linux-stable-4c23d8745731b1b54bb8eadfc42070d7f9893b46.tar.bz2
linux-stable-4c23d8745731b1b54bb8eadfc42070d7f9893b46.zip
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>
Diffstat (limited to 'net/6lowpan/nhc_ghc_ext_frag.c')
0 files changed, 0 insertions, 0 deletions