]> git.proxmox.com Git - mirror_ubuntu-disco-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)
commitdcbfb8156a2149fd6358a377aa9400e28ef43800
tree6ad406b1c74d29f838b655fbff71f4a2bcf3ade2
parent94219d798e65dff1dac5f8f36f03a9bdb3105f91
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