ACPICA: Fix buffer allocation issue for generic_serial_bus region accesses.
authorLv Zheng <lv.zheng@intel.com>
Wed, 16 Apr 2014 13:24:34 +0000 (21:24 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 21 Apr 2014 21:12:12 +0000 (23:12 +0200)
commit6273f00e6ecbd60494a979033b7e5271a29a0436
tree28df5f0062ecc4ec748b9b89172bd0e520e7fd81
parenta798c10faf62a505d24e5f6213fbaf904a39623f
ACPICA: Fix buffer allocation issue for generic_serial_bus region accesses.

The size of the buffer allocated for generic_serial_bus region access
is not correct.  This patch introduces acpi_ex_get_serial_access_length()
to be invoked to obtain correct data buffer length.

Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Reported by: Lan Tianyu <tianyu.lan@intel.com>
Acked-by: Lan Tianyu <tianyu.lan@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/acpica/exfield.c