From: Hauke Mehrtens Date: Tue, 5 Jun 2012 18:58:20 +0000 (+0200) Subject: bcma: fix null pointer in bcma_core_pci_irq_ctl X-Git-Tag: v3.5-rc3~22^2~10^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e7027075d0d8fe2d1bf7b0db24623328d2601d3c;p=pandora-kernel.git bcma: fix null pointer in bcma_core_pci_irq_ctl pc could be null if hosttype != BCMA_HOSTTYPE_PCI. If we are on a device without a pci core this function is called with pc = null by b43 and brcmsmac. If the host type is PCI we have a pci core as well and pc can not be null. Signed-off-by: Hauke Mehrtens Signed-off-by: John W. Linville --- Reading git-diff-tree failed