Alexey Starikovskiy wrote: > Rolf Eike Beer wrote: > > cat > > /sys/devices/LNXSYSTM:00/device:00/PNP0A08:00/device:19/PNP0C0A:00/power_ > >supply/BAT1/status > > > > This leads to a stacktrace as acpi_battery_get_property() returns 0 for a > > case where it does not set val->intval. These value is used as an array > > index in > > drivers/power/power_supply_sysfs.c::power_supply_show_property(). I had a > > situation where the value was 4096 which caused a problem as the array > > only has 5 entries. > > > > Signed-off-by: Rolf Eike Beer <[email protected]> > > Rolf, thanks for remainding. Huh? This one is unrelated to the problem I reported two weeks ago... Eike
Attachment:
signature.asc
Description: This is a digitally signed message part.
- Follow-Ups:
- Re: [PATCH] Fix segfault when printing battery status
- From: Alexey Starikovskiy <[email protected]>
- Re: [PATCH] Fix segfault when printing battery status
- References:
- [PATCH] Fix segfault when printing battery status
- From: Rolf Eike Beer <[email protected]>
- Re: [PATCH] Fix segfault when printing battery status
- From: Alexey Starikovskiy <[email protected]>
- [PATCH] Fix segfault when printing battery status
- Prev by Date: Re: EIP is at device_shutdown+0x32/0x60
- Next by Date: Re: [PATCH] Clustering indirect blocks in Ext3
- Previous by thread: Re: [PATCH] Fix segfault when printing battery status
- Next by thread: Re: [PATCH] Fix segfault when printing battery status
- Index(es):