]> git.baikalelectronics.ru Git - kernel.git/commit
drivers/platform/x86/acerhdf.c: check BIOS information whether it begins with string...
authorPeter Feuerer <peter@piie.net>
Tue, 22 Dec 2009 00:20:06 +0000 (16:20 -0800)
committerLen Brown <len.brown@intel.com>
Thu, 24 Dec 2009 05:17:09 +0000 (00:17 -0500)
commit3f3bce5ad4a5b339c78abbc8d583b54aaf7e34c1
tree6ad406b1c74d29f838b655fbff71f4a2bcf3ade2
parentf12ddb8e569f0a90fb570cbb91044a88eadf510c
drivers/platform/x86/acerhdf.c: check BIOS information whether it begins with string of table

BIOS information is now checked whether it begins with the strings stored
in the BIOS table.  Previous method did a strcmp, what lead to problems if
BIOS information has appended whitespaces.

Signed-off-by: Peter Feuerer <peter@piie.net>
Cc: Borislav Petkov <petkovbb@gmail.com>
Cc: Andreas Mohr <andi@lisas.de>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/platform/x86/acerhdf.c