]> err.no Git - linux-2.6/commit
[PATCH] Hotplug: Make dev->bus checking consistent
authorAlexander Nyberg <alexn@dsv.su.se>
Sat, 26 Feb 2005 12:38:51 +0000 (13:38 +0100)
committerGreg KH <gregkh@suse.de>
Thu, 5 May 2005 06:44:37 +0000 (23:44 -0700)
commit177a4324944478f2799ce4ede2797cb0f602f274
treecc42dcdbce1c3b53ea147abd3ebf784f0d2bf1bc
parent897f5ab2cd733a77a2279268262919caa8154b9d
[PATCH] Hotplug: Make dev->bus checking consistent

Earlier in the same function dev->bus is checked before dereferenced,
make consistent although I honestly don't know if dev->bus could
ever be NULL

Found by the Coverity tool

Signed-off-by: Alexander Nyberg <alexn@dsv.su.se>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/base/core.c