On Sun 2019-04-07 11:12:48, Tony Lindgren wrote: > If called fast enough so samples do not increment, we can get > division by zero in kernel: > > __div0 > cpcap_battery_cc_raw_div > cpcap_battery_get_property > power_supply_get_property.part.1 > power_supply_get_property > power_supply_show_property > power_supply_uevent > > Fixes: 874b2adbed12 ("power: supply: cpcap-battery: Add a battery driver") > Cc: Pavel Machek <pavel@xxxxxx> > Signed-off-by: Tony Lindgren <tony@xxxxxxxxxxx> Acked-by: Pavel Machek <pavel@xxxxxx> -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
Attachment:
signature.asc
Description: Digital signature