login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
November
»
19
Re: [PATCH] Fix segfault when printing battery status
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Rolf Eike Beer <eike-kernel@...>
To: Alexey Starikovskiy <aystarik@...>
Cc: <lenb@...>, <linux-acpi@...>, <astarikovskiy@...>, kernel list <linux-kernel@...>
Subject:
Re: [PATCH] Fix segfault when printing battery status
Date: Monday, November 19, 2007 - 6:29 am
Alexey Starikovskiy wrote:
quoted text
> 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 <eike-kernel@sf-tec.de> > > Rolf, thanks for remainding.
Huh? This one is unrelated to the problem I reported two weeks ago... Eike
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCH] Fix segfault when printing battery status
, Rolf Eike Beer
, (Sun Nov 18, 3:49 pm)
Re: [PATCH] Fix segfault when printing battery status
, Alexey Starikovskiy
, (Mon Nov 19, 5:45 am)
Re: [PATCH] Fix segfault when printing battery status
, Rolf Eike Beer
, (Mon Nov 19, 6:29 am)
Re: [PATCH] Fix segfault when printing battery status
, Alexey Starikovskiy
, (Mon Nov 19, 7:09 am)
Re: [PATCH] Fix segfault when printing battery status
, Andrew Morton
, (Mon Nov 26, 6:25 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Zach Brown
[PATCH 3 of 4] Teach paths to wake a specific void * target instead of a whole tas...
Paul Jackson
Re: cpuset-remove-sched-domain-hooks-from-cpusets
Jeff Garzik
Re: Linux 2.6.23-rc9 and a heads-up for the 2.6.24 series..
Greg Kroah-Hartman
[PATCH 002/196] Chinese: rephrase English introduction in HOWTO
linux-netdev
:
Eric Dumazet
Re: [PATCH] tcp: splice as many packets as possible at once
Jarek Poplawski
[PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Ingo Molnar
Re: [GIT]: Networking
Alexey Dobriyan
[PATCH 06/53] netns xfrm: per-netns xfrm_state_bysrc hash
git
:
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
3 users
and
993 guests
online.
Online users
maheshdm
hjguy
Jeremy
Syndicate