Re: [PATCH] ds2760_battery.c: fix division by zero

From: Daniel Mack
Date: Mon Mar 09 2009 - 13:24:05 EST


On Mon, Mar 09, 2009 at 09:23:26AM -0700, Matt Reimer wrote:
> Daniel Mack wrote:
> > The 'battery remaining capacity' calculation in
> > drivers/power/ds2760_battery.c lacks a parameter check to a division
> > operation which causes the kernel to oops on my board.
> >
> Signed-off-by: Matt Reimer <mreimer@xxxxxxxx>

Who's going to queue it up? IMO, as it is a real bug fix, it should
be considered .29 material.

Daniel

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/