[PATCH v2 07/10] dmi: add support for SMBIOS 3.0 64-bit entry point

Matt Fleming matt at console-pimps.org
Tue Nov 4 09:39:11 PST 2014


On Tue, 28 Oct, at 05:18:40PM, Ard Biesheuvel wrote:
> diff --git a/drivers/firmware/dmi_scan.c b/drivers/firmware/dmi_scan.c
> index 17afc51f3054..4139ef0bd51d 100644
> --- a/drivers/firmware/dmi_scan.c
> +++ b/drivers/firmware/dmi_scan.c
> @@ -93,6 +93,12 @@ static void dmi_table(u8 *buf, int len, int num,
>  		const struct dmi_header *dm = (const struct dmi_header *)data;
>  
>  		/*
> +		 * 7.45 End-of-Table (Type 127) [SMBIOS reference spec v3.0.0]
> +		 */
> +		if (dm->type == 127)
> +			break;
> +
> +		/*

Hmm.. tiny nit, but s/127/DMI_ENTRY_END_OF_TABLE/ we already have a
symbol for this constant.

But other than that,

Acked-by: Matt Fleming <matt.fleming at intel.com>

-- 
Matt Fleming, Intel Open Source Technology Center



More information about the linux-arm-kernel mailing list