lkml.org 
[lkml]   [2006]   [Oct]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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/

\
 
 \ /
  Last update: 2006-10-10 15:53    [W:0.042 / U:0.456 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site