CC: [email protected] BCC: [email protected] CC: [email protected] TO: Guenter Roeck <[email protected]> CC: Palmer Dabbelt <[email protected]> CC: Andy Gross <[email protected]> CC: Bjorn Andersson <[email protected]> CC: Liam Girdwood <[email protected]> CC: Mark Brown <[email protected]> CC: [email protected] CC: [email protected]
From: kernel test robot <[email protected]> drivers/regulator/qcom-labibb-regulator.c:372:8-33: WARNING: Threaded IRQ with no primary handler requested without IRQF_ONESHOT (unless it is nested IRQ) Since commit 1c6c69525b40 ("genirq: Reject bogus threaded irq requests") threaded IRQs without a primary handler need to be requested with IRQF_ONESHOT, otherwise the request will fail. So pass the IRQF_ONESHOT flag in this case. Generated by: scripts/coccinelle/misc/irqf_oneshot.cocci CC: Guenter Roeck <[email protected]> Reported-by: kernel test robot <[email protected]> Signed-off-by: kernel test robot <[email protected]> --- tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 330f4c53d3c2d8b11d86ec03a964b86dc81452f5 commit: a18b14d8886614b3c7d290c4cfc33389822b0535 riscv: Disable STACKPROTECTOR_PER_TASK if GCC_PLUGIN_RANDSTRUCT is enabled :::::: branch date: 18 hours ago :::::: commit date: 7 months ago Please take the patch only if it's a positive warning. Thanks! drivers/regulator/qcom-labibb-regulator.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- a/drivers/regulator/qcom-labibb-regulator.c +++ b/drivers/regulator/qcom-labibb-regulator.c @@ -370,7 +370,8 @@ static int qcom_labibb_set_ocp(struct re return ret; return devm_request_threaded_irq(vreg->dev, vreg->ocp_irq, NULL, - qcom_labibb_ocp_isr, irq_flags, + qcom_labibb_ocp_isr, + irq_flags | IRQF_ONESHOT, ocp_irq_name, vreg); } _______________________________________________ kbuild mailing list -- [email protected] To unsubscribe send an email to [email protected]
