Re: [PATCH] power: ab8500_fg: Fix build warning

From: Sebastian Reichel
Date: Sat Oct 04 2014 - 20:12:42 EST


Hi,

On Sat, Oct 04, 2014 at 04:31:13PM -0700, Guenter Roeck wrote:
> Fix
>
> drivers/power/ab8500_fg.c: In function 'ab8500_fg_probe':
> drivers/power/ab8500_fg.c:2989:27:
> warning: 'i' may be used uninitialized in this function
> drivers/power/ab8500_fg.c:2972:15: note: 'i' was declared here
>
> which actually points to a real bug.
>
> Signed-off-by: Guenter Roeck <linux@xxxxxxxxxxxx>

Thanks, pushed:

http://git.infradead.org/battery-2.6.git/commit/7881c64716f3a7d60b325ed0ad4d15f49b474a43

-- Sebastian

Attachment: signature.asc
Description: Digital signature