]> asedeno.scripts.mit.edu Git - linux.git/commit
drivers: base: print rejected matches with DEBUG_DRIVER
authorWolfram Sang <w.sang@pengutronix.de>
Tue, 20 Sep 2011 17:41:17 +0000 (19:41 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 26 Sep 2011 23:21:15 +0000 (16:21 -0700)
commitbcbe4f94d15ae1c985336bb3c35605e595fdde0d
tree07ed2971bedabf17cc08cb970383e09c3121675b
parent54f23eb7ba7619de85d8edca6e5336bc33072dbd
drivers: base: print rejected matches with DEBUG_DRIVER

When DEBUG_DRIVER is activated, be verbose and explicitly state when a
device<->driver match was rejected by the probe-function of the driver.
Now all code-paths report what is currently happening which helps
debugging, because you don't have to remember that no printout means
the match is rejected (and then you still don't know if it was because
of ENODEV or ENXIO).

Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/base/dd.c