From: Wolfgang Grandegger Date: Thu, 3 Apr 2014 18:41:24 +0000 (+0200) Subject: can: c_can_pci: enable PCI bus master only for MSI X-Git-Tag: omap-for-v3.16/fixes-against-rc1~214^2~39^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=78c181bc8a75d3f0624eaf24aa8265d441990c8c;p=pandora-kernel.git can: c_can_pci: enable PCI bus master only for MSI Coverity complains that c_can_pci_probe() calls pci_enable_msi() without checking the result: CID 712278 (#1 of 1): Unchecked return value (CHECKED_RETURN) 3. check_return: Calling pci_enable_msi_block without checking return value (as is done elsewhere 88 out of 105 times). 88 pci_enable_msi(pdev); This is CID 712278. Signed-off-by: Wolfgang Grandegger Reported-by: Bjorn Helgaas Signed-off-by: Marc Kleine-Budde --- Reading git-diff-tree failed