Re: [PATCH] drivers/ide: fix error return bugs, interface

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> --- 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-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux