commit | e7027075d0d8fe2d1bf7b0db24623328d2601d3c | [log] [tgz] |
---|---|---|
author | Hauke Mehrtens <hauke@hauke-m.de> | Tue Jun 05 20:58:20 2012 +0200 |
committer | John W. Linville <linville@tuxdriver.com> | Fri Jun 08 13:47:07 2012 -0400 |
tree | 7406c50cc79ddf1c2bcfe7fd016a5fab8217a3b1 | |
parent | e64add27e1b4874f589e550b4e0ca6715070373f [diff] |
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 <hauke@hauke-m.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>