Commit af9cc80
ArmPkg: Update type for SkuNumberField in MiscChassisManufacturerFunction
SMBIOS_TABLE_STRING is the correct type for the field, even though that
is itself defined as UINT8.
There are five strings handled by this function. Their string numbers are
stored in the five SMBIOS_TABLE_STRING values in the SMBIOS_TABLE_TYPE3
struct. Four of these are defined, with that type, in the fixed-position
portion of the struct, before ContainedElements, and the fifth is the
field which this pointer references (as can be discovered from the
comments on the SMBIOS_TABLE_TYPE3, as well as the usage of this value).
This is clearer when reading the code when the correct type is used.
Signed-off-by: Mike Beaton <[email protected]>1 parent 68d8f3a commit af9cc80
File tree
1 file changed
+21
-21
lines changed- ArmPkg/Universal/Smbios/SmbiosMiscDxe/Type03
1 file changed
+21
-21
lines changedLines changed: 21 additions & 21 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| |||
150 | 150 | | |
151 | 151 | | |
152 | 152 | | |
153 | | - | |
| 153 | + | |
154 | 154 | | |
155 | 155 | | |
156 | 156 | | |
| |||
0 commit comments