projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb6edad
)
g_NCR5380: remove misleading pnp error message
author
Ondrej Zary
<
[email protected]
>
Wed, 11 Aug 2010 01:01:15 +0000
(18:01 -0700)
committer
Linus Torvalds
<
[email protected]
>
Wed, 11 Aug 2010 15:59:00 +0000
(08:59 -0700)
Remove misleading error message that appears after pnp card has been
detected correctly.
Signed-off-by: Ondrej Zary <
[email protected]
>
Cc: James Bottomley <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
drivers/scsi/g_NCR5380.c
patch
|
blob
|
history
diff --git
a/drivers/scsi/g_NCR5380.c
b/drivers/scsi/g_NCR5380.c
index 75585a52c88bc86dd6bffc472a16649a8daea7d8..6bc0015662e0b717f1f6210417d7f18298778799 100644
(file)
--- a/
drivers/scsi/g_NCR5380.c
+++ b/
drivers/scsi/g_NCR5380.c
@@
-322,10
+322,8
@@
int __init generic_NCR5380_detect(struct scsi_host_template * tpnt)
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);