]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
x86: fix bogus memcpy in es7000_check_dsdt()
authorThomas Gleixner <tglx@linutronix.de>
Wed, 14 Nov 2007 12:20:48 +0000 (13:20 +0100)
committerThomas Gleixner <tglx@apollo.(none)>
Sat, 17 Nov 2007 15:27:00 +0000 (16:27 +0100)
commit142d0a674d50b53366bd5ea02d7093d04960744e
treefa8fcde0201aa0b4b1be952432f1f8f36799ed02
parentd9f8bcbf67a0ee67c8cb0734f003dfe916bb5248
x86: fix bogus memcpy in es7000_check_dsdt()

es7000_check_dst() contains a memcpy from 0, which probably should have been
a memset. Remove it and check the retunr value from acpi_get_table_header.

Noticed by: Joe Perches <joe@perches.com>

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
include/asm-x86/mach-es7000/mach_mpparse.h