[ 082/187] ACPI sysfs.c strlen fix

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Pavel Vasilyev commit 9f132652d94c96476b0b0a8caf0c10e96ab10fa8 upstream. Current code is ignoring the last character of "enable" and "disable" in comparisons.

[ 082/187] ACPI sysfs.c strlen fix

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH gre...@linuxfoundation.org 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Pavel Vasilyev pa...@pavlinux.ru commit 9f132652d94c96476b0b0a8caf0c10e96ab10fa8 upstream. Current code is ignoring the last character of enable and