Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1234281

Re: [PATCH] fix handling bq27xxx_read result

From Sebastian Reichel <sre@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH] fix handling bq27xxx_read result
Date 2015-09-28 18:40 +0200
Message-ID <qdJD3-4SO-5@gated-at.bofh.it> (permalink)
References <qdCrU-Qy-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

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@samsung.com>

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

-- Sebastian

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] fix handling bq27xxx_read result Andrzej Hajda <a.hajda@samsung.com> - 2015-09-28 11:00 +0200
  Re: [PATCH] fix handling bq27xxx_read result Sebastian Reichel <sre@kernel.org> - 2015-09-28 18:40 +0200

csiph-web