[CASSINI]: Check pci_set_mwi() return value.

Signed-off-by: David S. Miller <davem@davemloft.net>

+4 -1
+4 -1
drivers/net/cassini.c
··· 4919 pci_cmd &= ~PCI_COMMAND_SERR; 4920 pci_cmd |= PCI_COMMAND_PARITY; 4921 pci_write_config_word(pdev, PCI_COMMAND, pci_cmd); 4922 - pci_set_mwi(pdev); 4923 /* 4924 * On some architectures, the default cache line size set 4925 * by pci_set_mwi reduces perforamnce. We have to increase
··· 4919 pci_cmd &= ~PCI_COMMAND_SERR; 4920 pci_cmd |= PCI_COMMAND_PARITY; 4921 pci_write_config_word(pdev, PCI_COMMAND, pci_cmd); 4922 + if (pci_set_mwi(pdev)) 4923 + printk(KERN_WARNING PFX "Could enable MWI for %s\n", 4924 + pci_name(pdev)); 4925 + 4926 /* 4927 * On some architectures, the default cache line size set 4928 * by pci_set_mwi reduces perforamnce. We have to increase