]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ACPI sysfs.c strlen fix
authorPavel Vasilyev <pavel@pavlinux.ru>
Tue, 5 Jun 2012 04:02:05 +0000 (00:02 -0400)
committerLen Brown <len.brown@intel.com>
Tue, 5 Jun 2012 04:02:05 +0000 (00:02 -0400)
commit9f132652d94c96476b0b0a8caf0c10e96ab10fa8
tree6510d476fae650efb484eb5c9e371fed34b01087
parent7ae30986dc63d214cb075a40f2cf205f0a7806cd
ACPI sysfs.c strlen fix

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>
drivers/acpi/sysfs.c