[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <DED11411-B9A6-49B8-9C5D-E4483A9B77AF@holtmann.org>
Date: Wed, 24 Feb 2016 07:16:48 -0800
From: Marcel Holtmann <marcel@...tmann.org>
To: Andrzej Hajda <a.hajda@...sung.com>
Cc: Alexander Aring <aar@...gutronix.de>,
Jukka Rissanen <jukka.rissanen@...ux.intel.com>,
linux-wpan@...r.kernel.org,
Bartlomiej Zolnierkiewicz <b.zolnierkie@...sung.com>,
Marek Szyprowski <m.szyprowski@...sung.com>,
linux-bluetooth@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] 6lowpan: fix error checking code
Hi Alex,
> 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@...sung.com>
> ---
> net/6lowpan/iphc.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
patch has been applied to bluetooth-next tree.
Regards
Marcel
Powered by blists - more mailing lists