-
Notifications
You must be signed in to change notification settings - Fork 14
Commit aa66327
dmidecode: Fix reading from SMBIOS 3 dump files
In an SMBIOS 3 dump file using the 64-bit entry point format, we
don't know in advance the exact size of the DMI table, only a maximum
size. This is the same situation as when reading the same table from
sysfs, so we should use the same code.
Signed-off-by: Jean Delvare <jdelvare@suse.de>1 parent 6d0486c commit aa66327
2 files changed
+11
-7
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3 | 3 |
| |
4 | 4 |
| |
5 | 5 |
| |
6 | + | ||
7 | + | ||
6 | 8 |
| |
7 | 9 |
| |
8 | 10 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4540 | 4540 |
| |
4541 | 4541 |
| |
4542 | 4542 |
| |
4543 | - | ||
4543 | + | ||
4544 | 4544 |
| |
4545 | 4545 |
| |
4546 | - | ||
4547 | - | ||
4548 | - | ||
4549 | - | ||
4550 | - | ||
4546 | + | ||
4547 | + | ||
4548 | + | ||
4549 | + | ||
4550 | + | ||
4551 | + | ||
4551 | 4552 |
| |
4552 | 4553 |
| |
4553 | - | ||
4554 | + | ||
4555 | + | ||
4554 | 4556 |
| |
4555 | 4557 |
| |
4556 | 4558 |
| |
|
0 commit comments