All of lore.kernel.org
 help / color / mirror / Atom feed
* [cxl:cxl-acquire 1/7] include/linux/mutex.h:202 class_mutex_try_constructor() warn: passing zero to 'ERR_PTR'
@ 2025-05-14 15:48 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-05-14 15:48 UTC (permalink / raw)
  To: oe-kbuild; +Cc: lkp, Dan Carpenter

BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
CC: Alison Schofield <alison.schofield@intel.com>
CC: Vishal Verma <vishal.l.verma@intel.com>
CC: Ira Weiny <ira.weiny@intel.com>
CC: Dan Williams <dan.j.williams@intel.com>
CC: linux-cxl@vger.kernel.org
TO: Peter Zijlstra <peterz@infradead.org>
CC: Dan Williams <dan.j.williams@intel.com>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/cxl/cxl.git cxl-acquire
head:   8b6078f03a61a162ea390c80585942f6cd9e60f4
commit: 56c3e1a5d70f361b572ec4a88e95bf8b4ec1c5b7 [1/7] cleanup: ACQUIRE() proposal
:::::: branch date: 2 days ago
:::::: commit date: 2 days ago
config: loongarch-randconfig-r071-20250514 (https://download.01.org/0day-ci/archive/20250514/202505142325.5YTmSwRa-lkp@intel.com/config)
compiler: loongarch64-linux-gcc (GCC) 14.2.0

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/202505142325.5YTmSwRa-lkp@intel.com/

smatch warnings:
include/linux/mutex.h:202 class_mutex_try_constructor() warn: passing zero to 'ERR_PTR'

vim +/ERR_PTR +202 include/linux/mutex.h

b1fca26631f76a Eric Paris     2009-03-23  200  
54da6a0924311c Peter Zijlstra 2023-05-26  201  DEFINE_GUARD(mutex, struct mutex *, mutex_lock(_T), mutex_unlock(_T))
e4ab322fbaaaf8 Peter Zijlstra 2023-09-17 @202  DEFINE_GUARD_COND(mutex, _try, mutex_trylock(_T))
56c3e1a5d70f36 Peter Zijlstra 2025-05-12  203  DEFINE_GUARD_COND(mutex, _intr, mutex_lock_interruptible(_T), _RET == 0)
54da6a0924311c Peter Zijlstra 2023-05-26  204  

:::::: The code at line 202 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:[~2025-05-14 15:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-14 15:48 [cxl:cxl-acquire 1/7] include/linux/mutex.h:202 class_mutex_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.