Re: [PATCH] 2.6.24-rc1: ensure "present" sysfs attribute even if battery is absent

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Andrey Borzenkov <arvidjaar@...>
Cc: <linux-acpi@...>, <linux-kernel@...>, <cbou@...>, <dwmw2@...>
Date: Saturday, October 27, 2007 - 2:18 pm

Andrey Borzenkov wrote:
I prefer less code :) 
Point is -- it does not break :) If you start to play with shorter length of 
attributes table and don't call unregister/register, power_supply may 
go past the end of table.





-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] 2.6.24-rc1: ensure "present" sysfs attribute even if..., Andrey Borzenkov, (Sat Oct 27, 12:54 pm)
Re: [PATCH] 2.6.24-rc1: ensure "present" sysfs attribute eve..., Alexey Starikovskiy, (Sat Oct 27, 1:16 pm)
Re: [PATCH] 2.6.24-rc1: ensure "present" sysfs attribute eve..., Alexey Starikovskiy, (Sat Oct 27, 2:18 pm)