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

Matt Reimer
2009-03-09T16:46:09Z

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@vpop.net>

Matt