Messages in this thread | | | Date | Tue, 10 Oct 2006 17:49:56 +0400 | From | Alexey Dobriyan <> | Subject | Re: [PATCH] drivers/ide: fix error return bugs, interface |
| |
> --- a/drivers/ide/pci/cs5530.c > +++ b/drivers/ide/pci/cs5530.c > @@ -250,7 +250,9 @@ static unsigned int __devinit init_chips > */ > > pci_set_master(cs5530_0); > - pci_set_mwi(cs5530_0); > + if (pci_set_mwi(cs5530_0)) > + dev_printk(KERN_WARNING, &cs5530_0->dev, > + "MWI enable failed\n");
Use dev_warn()
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |