Hi Shveta,

On Fri, 12 Dec 2025 08:49:30 -0800, Shveta Gupta wrote:
> Signed-off-by: Shveta Gupta <[email protected]>
> ---
>  dmidecode.c | 6 ++++--
>  1 file changed, 4 insertions(+), 2 deletions(-)
> 
> diff --git a/dmidecode.c b/dmidecode.c
> index 0d3d825..ae955ce 100644
> --- a/dmidecode.c
> +++ b/dmidecode.c
> @@ -3,6 +3,7 @@
>   *
>   *   Copyright (C) 2000-2002 Alan Cox <[email protected]>
>   *   Copyright (C) 2002-2025 Jean Delvare <[email protected]>
> + *   Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
>   *
>   *   This program is free software; you can redistribute it and/or modify
>   *   it under the terms of the GNU General Public License as published by
> @@ -2844,10 +2845,11 @@ static const char *dmi_memory_device_form_factor(u8 
> code)
>               "SODIMM",
>               "SRIMM",
>               "FB-DIMM",
> -             "Die" /* 0x10 */
> +             "Die",
> +             "CAMM" /* 0x11 */
>       };
>  
> -     if (code >= 0x01 && code <= 0x10)
> +     if (code >= 0x01 && code <= 0x11)
>               return form_factor[code - 0x01];
>       return out_of_spec;
>  }

Thanks for your contribution. However, support for the CAMM memory
device form factor was already just added as part of implementing
support for version 3.9.0 of the SMBIOS specification:

https://cgit.git.savannah.gnu.org/cgit/dmidecode.git/commit/?id=da1c4dc35b724506c16366ff87c678a50efc407f

-- 
Jean Delvare
SUSE L3 Support

Reply via email to