[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [ARM SMBIOS V5 PATCH 2/2] smbios: implement smbios supp
From: |
Peter Maydell |
Subject: |
Re: [Qemu-devel] [ARM SMBIOS V5 PATCH 2/2] smbios: implement smbios support for mach-virt |
Date: |
Tue, 1 Sep 2015 16:58:39 +0100 |
On 26 August 2015 at 20:04, Wei Huang <address@hidden> wrote:
> This patch generates smbios tables for ARM mach-virt. Also add
> CONFIG_SMBIOS=y for ARM default config.
>
> Acked-by: Gabriel Somlo <address@hidden>
> Tested-by: Gabriel Somlo <address@hidden>
> Reviewed-by: Laszlo Ersek <address@hidden>
> Reviewed-by: Shannon Zhao <address@hidden>
> Tested-by: Leif Lindholm <address@hidden>
> Signed-off-by: Wei Huang <address@hidden>
> +static void virt_build_smbios(VirtGuestInfo *guest_info)
> +{
> + FWCfgState *fw_cfg = guest_info->fw_cfg;
> + uint8_t *smbios_tables, *smbios_anchor;
> + size_t smbios_tables_len, smbios_anchor_len;
> +
> + if (!fw_cfg)
> + return;
Missing braces for if (). You can catch this sort of thing
yourself by running scripts/checkpatch.pl on your patches.
In this case this looks like the only issue with this patchset,
so I'll fix it when I put it into target-arm.next.
thanks
-- PMM
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Qemu-devel] [ARM SMBIOS V5 PATCH 2/2] smbios: implement smbios support for mach-virt,
Peter Maydell <=