Messages in this thread | | | Subject | Re: [PATCH] 6lowpan: fix error checking code | From | Marcel Holtmann <> | Date | Wed, 24 Feb 2016 07:16:48 -0800 |
| |
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@samsung.com> > --- > net/6lowpan/iphc.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-)
patch has been applied to bluetooth-next tree.
Regards
Marcel
| |