CC: kbuild-...@lists.01.org
CC: linux-ker...@vger.kernel.org
TO: Matheus Castello <math...@castello.eng.br>
CC: Sebastian Reichel <s...@kernel.org>
CC: Krzysztof Kozlowski <k...@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 <l...@intel.com>
Reported-by: Julia Lawall <julia.law...@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-...@lists.01.org

Attachment: .config.gz
Description: application/gzip

_______________________________________________
kbuild mailing list -- kbuild@lists.01.org
To unsubscribe send an email to kbuild-le...@lists.01.org

Reply via email to