* [PATCH 1/3] g_NCR5380: remove misleading pnp error message
@ 2009-12-20 19:41 Ondrej Zary
0 siblings, 0 replies; only message in thread
From: Ondrej Zary @ 2009-12-20 19:41 UTC (permalink / raw)
To: linux-scsi; +Cc: linux-kernel
Remove misleading error message that appears after pnp card has been detected
correctly.
Signed-off-by: Ondrej Zary <linux@rainbow-software.org>
--- linux-source-2.6.32-orig/drivers/scsi/g_NCR5380.c 2009-12-03 04:51:21.000000000 +0100
+++ linux-source-2.6.32/drivers/scsi/g_NCR5380.c 2009-12-18 21:03:01.000000000 +0100
@@ -322,10 +322,8 @@ int __init generic_NCR5380_detect(struct
while ((dev = pnp_find_dev(NULL, ISAPNP_VENDOR('D', 'T', 'C'), ISAPNP_FUNCTION(0x436e), dev))) {
if (count >= NO_OVERRIDES)
break;
- if (pnp_device_attach(dev) < 0) {
- printk(KERN_ERR "dtc436e probe: attach failed\n");
+ if (pnp_device_attach(dev) < 0)
continue;
- }
if (pnp_activate_dev(dev) < 0) {
printk(KERN_ERR "dtc436e probe: activate failed\n");
pnp_device_detach(dev);
--
Ondrej Zary
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-12-20 19:41 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-20 19:41 [PATCH 1/3] g_NCR5380: remove misleading pnp error message Ondrej Zary
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.