All of lore.kernel.org
 help / color / mirror / Atom feed
* drivers/power/supply/max17040_battery.c:205:7-32: ERROR: Threaded IRQ with no primary handler requested without IRQF_ONESHOT
@ 2020-05-22 13:33 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2020-05-22 13:33 UTC (permalink / raw)
  To: kbuild

[-- Attachment #1: Type: text/plain, Size: 2914 bytes --]

CC: kbuild-all(a)lists.01.org
CC: linux-kernel(a)vger.kernel.org
TO: Matheus Castello <matheus@castello.eng.br>
CC: Sebastian Reichel <sre@kernel.org>
CC: Krzysztof Kozlowski <krzk@kernel.org>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   051143e1602d90ea71887d92363edd539d411de5
commit: 2e17ed94de68953b17ed91b64f4bd176cdf38ad4 power: supply: max17040: Add IRQ handler for low SOC alert
date:   5 months ago
:::::: branch date: 14 hours ago
:::::: commit date: 5 months ago
config: sh-randconfig-c003-20200521 (attached as .config)
compiler: sh4-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout 2e17ed94de68953b17ed91b64f4bd176cdf38ad4
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=sh 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp@intel.com>
Reported-by: Julia Lawall <julia.lawall@lip6.fr>


coccinelle warnings: (new ones prefixed by >>)

>> drivers/power/supply/max17040_battery.c:205:7-32: 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=2e17ed94de68953b17ed91b64f4bd176cdf38ad4
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git remote update linus
git checkout 2e17ed94de68953b17ed91b64f4bd176cdf38ad4
vim +205 drivers/power/supply/max17040_battery.c

2e17ed94de6895 Matheus Castello 2019-12-05  197  
2e17ed94de6895 Matheus Castello 2019-12-05  198  static int max17040_enable_alert_irq(struct max17040_chip *chip)
2e17ed94de6895 Matheus Castello 2019-12-05  199  {
2e17ed94de6895 Matheus Castello 2019-12-05  200  	struct i2c_client *client = chip->client;
2e17ed94de6895 Matheus Castello 2019-12-05  201  	unsigned int flags;
2e17ed94de6895 Matheus Castello 2019-12-05  202  	int ret;
2e17ed94de6895 Matheus Castello 2019-12-05  203  
2e17ed94de6895 Matheus Castello 2019-12-05  204  	flags = IRQF_TRIGGER_FALLING | IRQF_ONESHOT;
2e17ed94de6895 Matheus Castello 2019-12-05 @205  	ret = devm_request_threaded_irq(&client->dev, client->irq, NULL,
2e17ed94de6895 Matheus Castello 2019-12-05  206  					max17040_thread_handler, flags,
2e17ed94de6895 Matheus Castello 2019-12-05  207  					chip->battery->desc->name, chip);
2e17ed94de6895 Matheus Castello 2019-12-05  208  
2e17ed94de6895 Matheus Castello 2019-12-05  209  	return ret;
2e17ed94de6895 Matheus Castello 2019-12-05  210  }
2e17ed94de6895 Matheus Castello 2019-12-05  211  

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 25124 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-05-22 13:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-22 13:33 drivers/power/supply/max17040_battery.c:205:7-32: ERROR: Threaded IRQ with no primary handler requested without IRQF_ONESHOT kbuild test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.