summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2009-04-15 23:00:12 (GMT)
committerGreg Kroah-Hartman <gregkh@suse.de>2009-04-16 23:17:11 (GMT)
commit014c90dbb9b63bae067afc80a7931a76c5268ae3 (patch)
tree0cdea5ea29cc1cee3ec2f03baf7afc3d6a4d45be /include
parent4ccb457966391295bd9b3644f6bdc9ddd97b6051 (diff)
downloadlinux-fsl-qoriq-014c90dbb9b63bae067afc80a7931a76c5268ae3.tar.xz
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 'include')
0 files changed, 0 insertions, 0 deletions