ACPI sysfs.c strlen fix
authorPavel Vasilyev <pavel@pavlinux.ru>
Tue, 5 Jun 2012 04:02:05 +0000 (00:02 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 16 Jul 2012 15:47:40 +0000 (08:47 -0700)
commitc62f01893379dc5f831f2694553934f41c25bf32
tree161653adff1e38771c64f04648dd50aa40005145
parent41d3df3aec2364bcd3197f5bcdc3102e708643ee
ACPI sysfs.c strlen fix

commit 9f132652d94c96476b0b0a8caf0c10e96ab10fa8 upstream.

Current code is ignoring the last character of "enable" and "disable"
in comparisons.

https://bugzilla.kernel.org/show_bug.cgi?id=33732

Signed-off-by: Len Brown <len.brown@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/acpi/sysfs.c