Re: [PATCH v2 1/5] firmware: Add DMI entry types to the headers

From: Mike Waychison
Date: Mon Jul 25 2011 - 13:15:31 EST


On Sun, Jul 24, 2011 at 4:22 PM, David Hubbard
<david.c.hubbard@xxxxxxxxx> wrote:
> Hi Mike,
>
>> In preparation for the upcoming commits, introduce the DMI entry types to
>> the headers.  These type names are based on those specified in the DMTF
>> SMBIOS specification version 2.7.1.
>>
>> Signed-off-by: Mike Waychison <mikew@xxxxxxxxxx>
>> ---
>>  include/linux/dmi.h |   47 +++++++++++++++++++++++++++++++++++++++++++++++
>>  1 files changed, 47 insertions(+), 0 deletions(-)
>
> I noticed a missing entry w.r.t. dmi_smbios_structure_type() in dmidecode.c:
>
> --- include/linux/dmi.h 2011-07-24 17:14:34.000000000 -0600
> +++ include/linux/dmi.h 2011-07-24 17:14:49.000000000 -0600
> @@ -57,6 +57,7 @@
>        DMI_ENTRY_OOB_REMOTE_ACCESS,
>        DMI_ENTRY_BIS_ENTRY,
>        DMI_ENTRY_SYSTEM_BOOT,
> +       DMI_ENTRY_64_MEM_ERROR,
>        DMI_ENTRY_MGMT_DEV,
>        DMI_ENTRY_MGMT_DEV_COMPONENT,
>        DMI_ENTRY_MGMT_DEV_THRES,

Good catch. Looks like I screwed this up when transcribing the types
from the docs. Good thing nobody depends on these later enums yet ;)

Can you post a patch in the canonical format specified in
Documentation/SubmittingPatches ?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/