Skip to content

Commit 2dd4896

Browse files
committed
dmidecode: Display IPMI interrupt number as decimal
It is very unusual to use an hexadecimal number to refer to an interrupt number. Signed-off-by: Jean Delvare <[email protected]> Fixes: a756041 ("Finished decoding of DMI type 38 (IPMI).") Reviewed-by: Anton Arapov <[email protected]>
1 parent 88c7511 commit 2dd4896

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGELOG

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
* dmidecode.c: Decode the processor ID of the Intel Core M, AMD
44
Athlon X4 and AMD Opteron X1000/X2000 processors (DMI type 4).
5+
* dmidecode.c: Display the IPMI interrupt number as a decimal
6+
number (DMI type 38).
57

68
2017-01-20 Jean Delvare <[email protected]>
79

dmidecode.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4248,7 +4248,7 @@ static void dmi_decode(const struct dmi_header *h, u16 ver)
42484248
}
42494249
if (data[0x11] != 0x00)
42504250
{
4251-
printf("\tInterrupt Number: %x\n",
4251+
printf("\tInterrupt Number: %u\n",
42524252
data[0x11]);
42534253
}
42544254
break;

0 commit comments

Comments
 (0)