aboutsummaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorBjorn Helgaas <[email protected]>2009-09-21 19:28:49 +0000
committerLen Brown <[email protected]>2009-09-25 14:24:22 -0400
commitb24715027aab5e586c4ab1d035f3e543307dea69 (patch)
tree01688402d1694b42f9821e00fc6b4b0913de397f /include/linux/debugobjects.h
parent53cddfcc0e760d2b364878b6dadbd0c6d087cfae (diff)
ACPICA: fixup after acpi_get_object_info() change
Commit 15b8dd53f5ffa changed info->hardware_id from a static array to a pointer. If hardware_id is non-NULL, it points to a NULL-terminated string, so we don't need to terminate it explicitly. However, it may be NULL; in that case, we *can't* add a NULL terminator. This causes a NULL pointer dereference oops for devices without _HID. Signed-off-by: Bjorn Helgaas <[email protected]> CC: Lin Ming <[email protected]> CC: Bob Moore <[email protected]> CC: Gary Hade <[email protected]> Signed-off-by: Len Brown <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions