* drivers/regulator/mt6370-regulator.c:310:8-33: WARNING: Threaded IRQ with no primary handler requested without IRQF_ONESHOT (unless it is nested IRQ)
@ 2023-03-24 23:05 kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2023-03-24 23:05 UTC (permalink / raw)
To: oe-kbuild; +Cc: lkp, Julia Lawall
BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
CC: linux-kernel@vger.kernel.org
TO: ChiYuan Huang <cy_huang@richtek.com>
CC: Lee Jones <lee@kernel.org>
CC: Andy Shevchenko <andy.shevchenko@gmail.com>
CC: ChiaEn Wu <chiaen_wu@richtek.com>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: fd3d06ff5f4fa23f32bdb7f4d9f308503801d9e0
commit: b2adf788e6037cea0109313934f432f458190992 mfd: mt6370: Add MediaTek MT6370 support
date: 6 months ago
:::::: branch date: 2 hours ago
:::::: commit date: 6 months ago
config: sparc64-randconfig-c032-20230324 (https://download.01.org/0day-ci/archive/20230325/202303250737.cy70MiLu-lkp@intel.com/config)
compiler: sparc64-linux-gcc (GCC) 12.1.0
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@intel.com>
| Reported-by: Julia Lawall <julia.lawall@inria.fr>
| Link: https://lore.kernel.org/r/202303250737.cy70MiLu-lkp@intel.com/
cocci warnings: (new ones prefixed by >>)
>> drivers/regulator/mt6370-regulator.c:310:8-33: WARNING: Threaded IRQ with no primary handler requested without IRQF_ONESHOT (unless it is nested IRQ)
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests
^ permalink raw reply [flat|nested] 2+ messages in thread
* drivers/regulator/mt6370-regulator.c:310:8-33: WARNING: Threaded IRQ with no primary handler requested without IRQF_ONESHOT (unless it is nested IRQ)
@ 2024-01-27 12:55 kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2024-01-27 12:55 UTC (permalink / raw)
To: oe-kbuild; +Cc: lkp, Julia Lawall
BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
CC: linux-kernel@vger.kernel.org
TO: ChiYuan Huang <cy_huang@richtek.com>
CC: Lee Jones <lee@kernel.org>
CC: Andy Shevchenko <andy.shevchenko@gmail.com>
CC: ChiaEn Wu <chiaen_wu@richtek.com>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 3a5879d495b226d0404098e3564462d5f1daa33b
commit: b2adf788e6037cea0109313934f432f458190992 mfd: mt6370: Add MediaTek MT6370 support
date: 1 year, 4 months ago
:::::: branch date: 13 hours ago
:::::: commit date: 1 year, 4 months ago
config: arm-randconfig-r062-20240117 (https://download.01.org/0day-ci/archive/20240127/202401272003.OI8Lgs4X-lkp@intel.com/config)
compiler: clang version 18.0.0git (https://github.com/llvm/llvm-project 9bde5becb44ea071f5e1fa1f5d4071dc8788b18c)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Reported-by: Julia Lawall <julia.lawall@inria.fr>
| Closes: https://lore.kernel.org/r/202401272003.OI8Lgs4X-lkp@intel.com/
cocci warnings: (new ones prefixed by >>)
>> drivers/regulator/mt6370-regulator.c:310:8-33: WARNING: Threaded IRQ with no primary handler requested without IRQF_ONESHOT (unless it is nested IRQ)
vim +310 drivers/regulator/mt6370-regulator.c
8171c93bac1bf9 ChiYuan Huang 2022-06-23 286
8171c93bac1bf9 ChiYuan Huang 2022-06-23 287 static int mt6370_regulator_irq_register(struct mt6370_priv *priv)
8171c93bac1bf9 ChiYuan Huang 2022-06-23 288 {
8171c93bac1bf9 ChiYuan Huang 2022-06-23 289 struct platform_device *pdev = to_platform_device(priv->dev);
8171c93bac1bf9 ChiYuan Huang 2022-06-23 290 static const struct {
8171c93bac1bf9 ChiYuan Huang 2022-06-23 291 const char *name;
8171c93bac1bf9 ChiYuan Huang 2022-06-23 292 int rid;
8171c93bac1bf9 ChiYuan Huang 2022-06-23 293 irq_handler_t handler;
8171c93bac1bf9 ChiYuan Huang 2022-06-23 294 } mt6370_irqs[] = {
8171c93bac1bf9 ChiYuan Huang 2022-06-23 295 { "db_vpos_scp", MT6370_IDX_DSVPOS, mt6370_scp_handler },
8171c93bac1bf9 ChiYuan Huang 2022-06-23 296 { "db_vneg_scp", MT6370_IDX_DSVNEG, mt6370_scp_handler },
8171c93bac1bf9 ChiYuan Huang 2022-06-23 297 { "db_vbst_ocp", MT6370_IDX_DSVBOOST, mt6370_ocp_handler },
8171c93bac1bf9 ChiYuan Huang 2022-06-23 298 { "db_vpos_ocp", MT6370_IDX_DSVPOS, mt6370_ocp_handler },
8171c93bac1bf9 ChiYuan Huang 2022-06-23 299 { "db_vneg_ocp", MT6370_IDX_DSVNEG, mt6370_ocp_handler },
8171c93bac1bf9 ChiYuan Huang 2022-06-23 300 { "ldo_oc", MT6370_IDX_VIBLDO, mt6370_ocp_handler }
8171c93bac1bf9 ChiYuan Huang 2022-06-23 301 };
8171c93bac1bf9 ChiYuan Huang 2022-06-23 302 struct regulator_dev *rdev;
8171c93bac1bf9 ChiYuan Huang 2022-06-23 303 int i, irq, ret;
8171c93bac1bf9 ChiYuan Huang 2022-06-23 304
8171c93bac1bf9 ChiYuan Huang 2022-06-23 305 for (i = 0; i < ARRAY_SIZE(mt6370_irqs); i++) {
8171c93bac1bf9 ChiYuan Huang 2022-06-23 306 irq = platform_get_irq_byname(pdev, mt6370_irqs[i].name);
8171c93bac1bf9 ChiYuan Huang 2022-06-23 307
8171c93bac1bf9 ChiYuan Huang 2022-06-23 308 rdev = priv->rdev[mt6370_irqs[i].rid];
8171c93bac1bf9 ChiYuan Huang 2022-06-23 309
8171c93bac1bf9 ChiYuan Huang 2022-06-23 @310 ret = devm_request_threaded_irq(priv->dev, irq, NULL,
8171c93bac1bf9 ChiYuan Huang 2022-06-23 311 mt6370_irqs[i].handler, 0,
8171c93bac1bf9 ChiYuan Huang 2022-06-23 312 mt6370_irqs[i].name, rdev);
8171c93bac1bf9 ChiYuan Huang 2022-06-23 313 if (ret) {
8171c93bac1bf9 ChiYuan Huang 2022-06-23 314 dev_err(priv->dev,
8171c93bac1bf9 ChiYuan Huang 2022-06-23 315 "Failed to register (%d) interrupt\n", i);
8171c93bac1bf9 ChiYuan Huang 2022-06-23 316 return ret;
8171c93bac1bf9 ChiYuan Huang 2022-06-23 317 }
8171c93bac1bf9 ChiYuan Huang 2022-06-23 318 }
8171c93bac1bf9 ChiYuan Huang 2022-06-23 319
8171c93bac1bf9 ChiYuan Huang 2022-06-23 320 return 0;
8171c93bac1bf9 ChiYuan Huang 2022-06-23 321 }
8171c93bac1bf9 ChiYuan Huang 2022-06-23 322
:::::: The code at line 310 was first introduced by commit
:::::: 8171c93bac1bf9e98269b2efb19ef4e6c4e55ed7 regulator: mt6370: Add mt6370 DisplayBias and VibLDO support
:::::: TO: ChiYuan Huang <cy_huang@richtek.com>
:::::: CC: Mark Brown <broonie@kernel.org>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-01-27 12:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-24 23:05 drivers/regulator/mt6370-regulator.c:310:8-33: WARNING: Threaded IRQ with no primary handler requested without IRQF_ONESHOT (unless it is nested IRQ) kernel test robot
-- strict thread matches above, loose matches on Subject: below --
2024-01-27 12:55 kernel 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.