Re: [PATCH] fix handling bq27xxx_read result

From: Sebastian Reichel
Date: Mon Sep 28 2015 - 12:34:36 EST


Hi,

On Mon, Sep 28, 2015 at 10:51:27AM +0200, Andrzej Hajda wrote:
> The function can return negative value.
>
> The problem has been detected using proposed semantic patch
> scripts/coccinelle/tests/unsigned_lesser_than_zero.cocci [1].
>
> [1]: http://permalink.gmane.org/gmane.linux.kernel/2038576
>
> Signed-off-by: Andrzej Hajda <a.hajda@xxxxxxxxxxx>

Thanks, queued with some bits from Dan Carpenter's patch
description.

-- Sebastian

Attachment: signature.asc
Description: PGP signature