diff options
| author | Linus Torvalds <[email protected]> | 2008-11-16 18:09:34 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2008-11-16 18:09:34 +0000 |
| commit | 77fb61a04a0483ad274ce5c51b02c46c12db3693 (patch) | |
| tree | ccab99b5c8ea4e3cc26226fa831763429165d077 /lib/debugobjects.c | |
| parent | Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jik... (diff) | |
| download | kernel-77fb61a04a0483ad274ce5c51b02c46c12db3693.tar.gz kernel-77fb61a04a0483ad274ce5c51b02c46c12db3693.zip | |
acpi: fix oops in acpi_system_wakeup_device_seq_show
Commit 0794469da3f7b2093575cbdfc1108308dd3641ce: ("ACPI: struct device -
replace bus_id with dev_name(), dev_set_name()") introduced a bug by
testing 'dev_name(ldev)' instead of 'ldev->bus' for NULL when printing
out the bus information.
So if ldev->bus was NULL, we'd oops.
Reported-and-tested-by: Bruno Pr�mont <[email protected]>
Cc: Kay Sievers <[email protected]>
Cc: Len Brown <[email protected]>
Cc: Greg Kroah-Hartman <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions
