CC: [email protected] CC: [email protected] TO: "Jérôme Pouiller" <[email protected]> CC: "Greg Kroah-Hartman" <[email protected]>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: af7b4801030c07637840191c69eb666917e4135d commit: 5561770f80b11786602726bf1fa172c8009e542b staging: wfx: repair external IRQ for SDIO date: 4 weeks ago :::::: branch date: 16 hours ago :::::: commit date: 4 weeks ago config: i386-randconfig-c024-20200607 (attached as .config) compiler: gcc-9 (Debian 9.3.0-13) 9.3.0 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <[email protected]> Reported-by: Julia Lawall <[email protected]> coccinelle warnings: (new ones prefixed by >>) >> drivers/staging/wfx/bus_sdio.c:132:8-33: ERROR: Threaded IRQ with no primary >> handler requested without IRQF_ONESHOT # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=5561770f80b11786602726bf1fa172c8009e542b git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git git remote update linus git checkout 5561770f80b11786602726bf1fa172c8009e542b vim +132 drivers/staging/wfx/bus_sdio.c 0096214a59a72b Jérôme Pouiller 2019-09-19 108 0096214a59a72b Jérôme Pouiller 2019-09-19 109 static int wfx_sdio_irq_subscribe(struct wfx_sdio_priv *bus) 0096214a59a72b Jérôme Pouiller 2019-09-19 110 { 5561770f80b117 Jérôme Pouiller 2020-05-05 111 u32 flags; 0096214a59a72b Jérôme Pouiller 2019-09-19 112 int ret; 5561770f80b117 Jérôme Pouiller 2020-05-05 113 u8 cccr; 0096214a59a72b Jérôme Pouiller 2019-09-19 114 5561770f80b117 Jérôme Pouiller 2020-05-05 115 if (!bus->of_irq) { 0096214a59a72b Jérôme Pouiller 2019-09-19 116 sdio_claim_host(bus->func); 0096214a59a72b Jérôme Pouiller 2019-09-19 117 ret = sdio_claim_irq(bus->func, wfx_sdio_irq_handler); 0096214a59a72b Jérôme Pouiller 2019-09-19 118 sdio_release_host(bus->func); 0096214a59a72b Jérôme Pouiller 2019-09-19 119 return ret; 0096214a59a72b Jérôme Pouiller 2019-09-19 120 } 0096214a59a72b Jérôme Pouiller 2019-09-19 121 5561770f80b117 Jérôme Pouiller 2020-05-05 122 sdio_claim_host(bus->func); 5561770f80b117 Jérôme Pouiller 2020-05-05 123 cccr = sdio_f0_readb(bus->func, SDIO_CCCR_IENx, NULL); 5561770f80b117 Jérôme Pouiller 2020-05-05 124 cccr |= BIT(0); 5561770f80b117 Jérôme Pouiller 2020-05-05 125 cccr |= BIT(bus->func->num); 5561770f80b117 Jérôme Pouiller 2020-05-05 126 sdio_f0_writeb(bus->func, cccr, SDIO_CCCR_IENx, NULL); 5561770f80b117 Jérôme Pouiller 2020-05-05 127 sdio_release_host(bus->func); 5561770f80b117 Jérôme Pouiller 2020-05-05 128 flags = irq_get_trigger_type(bus->of_irq); 5561770f80b117 Jérôme Pouiller 2020-05-05 129 if (!flags) 5561770f80b117 Jérôme Pouiller 2020-05-05 130 flags = IRQF_TRIGGER_HIGH; 5561770f80b117 Jérôme Pouiller 2020-05-05 131 flags |= IRQF_ONESHOT; 5561770f80b117 Jérôme Pouiller 2020-05-05 @132 return devm_request_threaded_irq(&bus->func->dev, bus->of_irq, NULL, 5561770f80b117 Jérôme Pouiller 2020-05-05 133 wfx_sdio_irq_handler_ext, flags, 5561770f80b117 Jérôme Pouiller 2020-05-05 134 "wfx", bus); 5561770f80b117 Jérôme Pouiller 2020-05-05 135 } 5561770f80b117 Jérôme Pouiller 2020-05-05 136 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/[email protected]
.config.gz
Description: application/gzip
_______________________________________________ kbuild mailing list -- [email protected] To unsubscribe send an email to [email protected]
