On Thu, 2025-04-03 at 19:37 -0600, Jerry Hoemann wrote:
> Format 18 should be in dollar/cents dotation.

Typo in the subject, it's format 18, not 0x18.

> Fixes: 9d2bbd5db427b063da ("dmioem: Decode HPE OEM Record 216")
> Signed-off-by: Jerry Hoemann <jerry.hoem...@hpe.com>
> ---
>  dmioem.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/dmioem.c b/dmioem.c
> index 0cc16a9..c454f3b 100644
> --- a/dmioem.c
> +++ b/dmioem.c
> @@ -595,7 +595,7 @@ static void dmi_hp_216_version(u8 format, u8 *data)
>               pr_attr(name, "%08X", DWORD(data));
>               break;
>       case 18:
> -             pr_attr(name, "%d.%2d", data[0], data[1]);
> +             pr_attr(name, "%d.%02d", data[0], data[1]);
>               break;
>       case 3: /* fall through */
>       default:

Looks good, thanks.

-- 
Jean Delvare
SUSE L3 Support

Reply via email to