TO: Hante Meuleman <[email protected]> CC: "John W. Linville" <[email protected]> CC: Arend van Spriel <[email protected]>
tree: git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: bbdef57970d5e1887de755474ff1562baa17ef11 commit: 330b4e4be937bf0ef126e01323f2756645b92c06 [2788/6487] brcmfmac: Add wowl support for SDIO devices. :::::: branch date: 7 hours ago :::::: commit date: 2 weeks ago drivers/net/wireless/brcm80211/brcmfmac/bcmsdh.c:1073 brcmf_ops_sdio_probe() error: we previously assumed 'sdiodev->pdata' could be null (see line 1064) git remote add next git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git git remote update next git checkout 330b4e4be937bf0ef126e01323f2756645b92c06 vim +1073 drivers/net/wireless/brcm80211/brcmfmac/bcmsdh.c 943258b6 Hante Meuleman 2013-12-12 1058 bus_if->proto_type = BRCMF_PROTO_BCDC; e2dc9eea Arend van Spriel 2013-12-12 1059 dev_set_drvdata(&func->dev, bus_if); e2dc9eea Arend van Spriel 2013-12-12 1060 dev_set_drvdata(&sdiodev->func[1]->dev, bus_if); e2dc9eea Arend van Spriel 2013-12-12 1061 sdiodev->dev = &sdiodev->func[1]->dev; e2dc9eea Arend van Spriel 2013-12-12 1062 sdiodev->pdata = brcmfmac_sdio_pdata; e2dc9eea Arend van Spriel 2013-12-12 1063 61f663df Chen-Yu Tsai 2014-06-29 @1064 if (!sdiodev->pdata) 61f663df Chen-Yu Tsai 2014-06-29 1065 brcmf_of_probe(sdiodev); 61f663df Chen-Yu Tsai 2014-06-29 1066 330b4e4b Hante Meuleman 2014-10-28 1067 #ifdef CONFIG_PM_SLEEP 330b4e4b Hante Meuleman 2014-10-28 1068 /* wowl can be supported when KEEP_POWER is true and (WAKE_SDIO_IRQ 330b4e4b Hante Meuleman 2014-10-28 1069 * is true or when platform data OOB irq is true). 330b4e4b Hante Meuleman 2014-10-28 1070 */ 330b4e4b Hante Meuleman 2014-10-28 1071 if ((sdio_get_host_pm_caps(sdiodev->func[1]) & MMC_PM_KEEP_POWER) && 330b4e4b Hante Meuleman 2014-10-28 1072 ((sdio_get_host_pm_caps(sdiodev->func[1]) & MMC_PM_WAKE_SDIO_IRQ) || 330b4e4b Hante Meuleman 2014-10-28 @1073 (sdiodev->pdata->oob_irq_supported))) 330b4e4b Hante Meuleman 2014-10-28 1074 bus_if->wowl_supported = true; 330b4e4b Hante Meuleman 2014-10-28 1075 #endif 330b4e4b Hante Meuleman 2014-10-28 1076 --- 0-DAY kernel test infrastructure Open Source Technology Center http://lists.01.org/mailman/listinfo/kbuild Intel Corporation _______________________________________________ kbuild mailing list [email protected] https://lists.01.org/mailman/listinfo/kbuild
