diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2009-04-16 01:00:12 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-04-17 01:17:11 +0200 |
commit | 014c90dbb9b63bae067afc80a7931a76c5268ae3 (patch) | |
tree | 0cdea5ea29cc1cee3ec2f03baf7afc3d6a4d45be /net/sched/sch_prio.c | |
parent | dynamic debug: resurrect old pr_debug() semantics as pr_devel() (diff) | |
download | linux-014c90dbb9b63bae067afc80a7931a76c5268ae3.tar.xz linux-014c90dbb9b63bae067afc80a7931a76c5268ae3.zip |
driver core: prevent device_for_each_child from oopsing
David Vrabel noticed that the wireless usb stack likes to call
device_for_each_chile() with an empty bus. This used to work fine, but
now oopses. This patch fixes the oops and makes the code behave like it
used to.
Reported-by: David Vrabel <david.vrabel@csr.com>
Tested-by: David Vrabel <david.vrabel@csr.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'net/sched/sch_prio.c')
0 files changed, 0 insertions, 0 deletions