summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorRob Herring2016-10-11 20:41:03 +0200
committerGreg Kroah-Hartman2016-10-31 16:15:22 +0100
commitbdacd1b426db83ac8ecf21aef1848120ffe53c07 (patch)
tree10f8726e0c46e066c0e20961467907e1c9c6c034 /Documentation
parentdriver core: skip removal test for non-removable drivers (diff)
downloadkernel-qcow2-linux-bdacd1b426db83ac8ecf21aef1848120ffe53c07.tar.gz
kernel-qcow2-linux-bdacd1b426db83ac8ecf21aef1848120ffe53c07.tar.xz
kernel-qcow2-linux-bdacd1b426db83ac8ecf21aef1848120ffe53c07.zip
driver core: fix smatch warning on dev->bus check
Commit d42a09802174 (driver core: skip removal test for non-removable drivers) introduced a smatch warning: drivers/base/dd.c:386 really_probe() warn: variable dereferenced before check 'dev->bus' (see line 373) Fix the warning by removing the dev->bus NULL check. dev->bus will never be NULL, so the check was unnecessary. Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Rob Herring <robh@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions