Re: [PATCH] 6lowpan: fix error checking code
From: Alexander Aring
Date: Wed Feb 24 2016 - 05:40:50 EST
Hi,
Am 02/24/2016 um 09:32 AM schrieb Andrzej Hajda:
> 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@xxxxxxxxxxx>
Acked-by: Alexander Aring <aar@xxxxxxxxxxxxxx>
Marcel, can you please apply this patch on bluetooth-next?
Thanks.
- Alex