Skip to content

dmi_scan: uuid: fix endianess for smbios >= 0x206

Andrea Arcangeli lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 patch 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1dmi_scan: uuid: fix endianess for smbios >= 0x206drivers/firmware/dmi_scan.c+3 -32 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/1] dmi_scan: uuid: fix endianess for smbios >= 0x206

Hello,

this fixes https://bugzilla.kernel.org/show_bug.cgi?id=109731

Without this fix when this code runs:

	if (dmi_ver >= 0x020600)
		sprintf(s, "%pUL", d);
	else
		sprintf(s, "%pUB", d);

dmi_ver is still set to the old 0x20X instead of 0x20X00 as intended after commit 95be58df74a5b21e5a78e45fddb2fd59112524c5.

Andrea Arcangeli (1):
dmi_scan: uuid: fix endianess for smbios >= 0x206

 drivers/firmware/dmi_scan.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)