]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
ACPI, APEI, Fix ERST header length check
authorJiang Liu <liuj97@gmail.com>
Wed, 7 Mar 2012 14:15:06 +0000 (22:15 +0800)
committerLen Brown <len.brown@intel.com>
Fri, 30 Mar 2012 07:30:17 +0000 (03:30 -0400)
commit7ed28f2ed43ece424ff2fa4dedac7928bb37a23a
tree89228bebc7aa109829c14d78f91aae1218087adb
parentc16fa4f2ad19908a47c63d8fa436a1178438c7e7
ACPI, APEI, Fix ERST header length check

This fixes a trivial copy & paste error in ERST header length check.
It's just for future safety because sizeof(struct acpi_table_einj)
equals to sizeof(struct acpi_table_erst) with current ACPI5.0
specification. It applies to v3.3-rc6.

Signed-off-by: Jiang Liu <jiang.liu@huawei.com>
Acked-by: Huang Ying <ying.huang@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/apei/erst.c