* [linux-next:master 6617/16276] include/linux/spinlock.h:626 class_spinlock_irqsave_try_constructor() warn: passing zero to 'ERR_PTR'
@ 2026-10-13 19:35 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-10-13 19:35 UTC (permalink / raw)
To: oe-kbuild; +Cc: lkp, Dan Carpenter
Unfiltered warning: this smatch report is sent as-is and has not been
reviewed for false positives, so please treat it with due skepticism.
BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
TO: Dmitry Torokhov <dmitry.torokhov@gmail.com>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: 4eb2586bd40db27d77cc5b724ca9386ed0c71d53
commit: 21f6c39938a10abfc98961000b04b55fa0e70d89 [6617/16276] Input: gscps2 - serialize concurrent interrupt handlers
:::::: branch date: 25 hours ago
:::::: commit date: 3 weeks ago
config: parisc-randconfig-r2202-20261012 (https://download.01.org/0day-ci/archive/20261013/202610132133.2qxXMlYV-lkp@intel.com/config)
compiler: hppa-linux-gcc (GCC) 10.5.0
smatch: v0.5.0-9187-g5189e3fb
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: Dan Carpenter <error27@gmail.com>
| Closes: https://lore.kernel.org/r/202610132133.2qxXMlYV-lkp@intel.com/
smatch warnings:
include/linux/spinlock.h:626 class_spinlock_irqsave_try_constructor() warn: passing zero to 'ERR_PTR'
vim +/ERR_PTR +626 include/linux/spinlock.h
54da6a0924311c Peter Zijlstra 2023-05-26 625
e4ab322fbaaaf8 Peter Zijlstra 2023-09-17 @626 DEFINE_LOCK_GUARD_1_COND(spinlock_irqsave, _try,
e4ab322fbaaaf8 Peter Zijlstra 2023-09-17 627 spin_trylock_irqsave(_T->lock, _T->flags))
f16a802d402d73 Marco Elver 2025-12-19 628 DECLARE_LOCK_GUARD_1_ATTRS(spinlock_irqsave_try, __acquires(_T), __releases(*(spinlock_t **)_T))
f16a802d402d73 Marco Elver 2025-12-19 629 #define class_spinlock_irqsave_try_constructor(_T) WITH_LOCK_GUARD_1_ATTRS(spinlock_irqsave_try, _T)
e4ab322fbaaaf8 Peter Zijlstra 2023-09-17 630
:::::: The code at line 626 was first introduced by commit
:::::: e4ab322fbaaaf84b23d6cb0e3317a7f68baf36dc cleanup: Add conditional guard support
:::::: TO: Peter Zijlstra <peterz@infradead.org>
:::::: CC: Peter Zijlstra <peterz@infradead.org>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-13 19:35 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-13 19:35 [linux-next:master 6617/16276] include/linux/spinlock.h:626 class_spinlock_irqsave_try_constructor() warn: passing zero to 'ERR_PTR' 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.