
23 May
2016
23 May
'16
9:01 a.m.
On Thu, May 19, 2016 at 12:00 PM, Simon Glass sjg@chromium.org wrote:
On 11 May 2016 at 08:45, Bin Meng bmeng.cn@gmail.com wrote:
Before moving 'current' pointer during ACPI table writing, we always check the table length to see if it is larger than the table header. Since our purpose is to generate valid tables, the check logic is always true, which can be avoided.
Signed-off-by: Bin Meng bmeng.cn@gmail.com
Changes in v2:
- New patch to remove header length check when writing tables
arch/x86/lib/acpi_table.c | 26 ++++++++++---------------- 1 file changed, 10 insertions(+), 16 deletions(-)
Reviewed-by: Simon Glass sjg@chromium.org
applied to u-boot-x86, thanks!