[U-Boot] [PATCH v2 03/28] x86: acpi: Fix compiler warnings in write_acpi_tables()

Bin Meng bmeng.cn at gmail.com
Sun May 8 10:17:27 CEST 2016


On Sun, May 8, 2016 at 2:46 AM, Simon Glass <sjg at chromium.org> wrote:
> On 7 May 2016 at 08:46, Bin Meng <bmeng.cn at gmail.com> wrote:
>> Fix the following two build warnings in function 'write_acpi_tables':
>>
>>   warning: format '%lx' expects argument of type 'long unsigned int',
>>   but argument 2 has type 'u32' [-Wformat=]
>>
>> Signed-off-by: Bin Meng <bmeng.cn at gmail.com>
>> Reviewed-by: Stefan Roese <sr at denx.de>
>> Tested-by: Stefan Roese <sr at denx.de>
>> ---
>>
>> Changes in v2: None
>>
>>  arch/x86/lib/acpi_table.c | 4 ++--
>>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> Reviewed-by: Simon Glass <sjg at chromium.org>
>
> (nit - you could remove the period in 'Writing ACPI tables')

Fixed nits and

applied to u-boot-x86/next, thanks!


More information about the U-Boot mailing list