OSDN Git Service
(root)
/
android-x86
/
external-efivar.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cff3564
)
dp-acpi: fix HID vs HID_EX formatting bug.
author
Peter Jones
<pjones@redhat.com>
Mon, 1 Oct 2018 18:27:04 +0000
(14:27 -0400)
committer
Peter Jones
<pjones@redhat.com>
Mon, 1 Oct 2018 18:27:04 +0000
(14:27 -0400)
Signed-off-by: Peter Jones <pjones@redhat.com>
src/dp-acpi.c
patch
|
blob
|
history
diff --git
a/src/dp-acpi.c
b/src/dp-acpi.c
index
6f3e944
..
019f910
100644
(file)
--- a/
src/dp-acpi.c
+++ b/
src/dp-acpi.c
@@
-157,7
+157,9
@@
_format_acpi_dn(char *buf, size_t size, const_efidp dp)
return off;
}
}
- } else if (dp->subtype == EFIDP_ACPI_HID_EX) {
+ } else if (dp->subtype == EFIDP_ACPI_HID) {
+ debug("formatting ACPI HID 0x%08x", dp->acpi_hid.hid);
+
switch (dp->acpi_hid.hid) {
case EFIDP_ACPI_PCI_ROOT_HID:
format(buf, size, off, "PciRoot",
@@
-249,6
+251,9
@@
_format_acpi_dn(char *buf, size_t size, const_efidp dp)
return -1;
}
}
+ } else {
+ debug("Unknown ACPI device path type {0x%04hhx,0x%04hhx}",
+ dp->type, dp->subtype);
}
return off;