[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202504071931.vOVl13tt-lkp@intel.com>
Date: Mon, 7 Apr 2025 20:03:12 +0800
From: kernel test robot <lkp@...el.com>
To: Nam Cao <namcao@...utronix.de>
Cc: oe-kbuild-all@...ts.linux.dev, linux-kernel@...r.kernel.org,
Ingo Molnar <mingo@...nel.org>,
Thomas Gleixner <tglx@...utronix.de>
Subject: kernel/time/hrtimer.c:369:18: sparse: sparse: dereference of noderef
expression
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 0af2f6be1b4281385b618cb86ad946eded089ac8
commit: 04257da0c99c9d4ff7c5bb93046482e1f7d34938 hrtimers: Make callback function pointer private
date: 2 days ago
config: i386-randconfig-r123-20250407 (https://download.01.org/0day-ci/archive/20250407/202504071931.vOVl13tt-lkp@intel.com/config)
compiler: clang version 20.1.2 (https://github.com/llvm/llvm-project 58df0ef89dd64126512e4ee27b4ac3fd8ddf6247)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250407/202504071931.vOVl13tt-lkp@intel.com/reproduce)
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@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202504071931.vOVl13tt-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
>> kernel/time/hrtimer.c:369:18: sparse: sparse: dereference of noderef expression
vim +369 kernel/time/hrtimer.c
237fc6e7a35076f kernel/hrtimer.c Thomas Gleixner 2008-04-30 366
997772884036e6e kernel/hrtimer.c Stanislaw Gruszka 2011-03-07 367 static void *hrtimer_debug_hint(void *addr)
997772884036e6e kernel/hrtimer.c Stanislaw Gruszka 2011-03-07 368 {
997772884036e6e kernel/hrtimer.c Stanislaw Gruszka 2011-03-07 @369 return ((struct hrtimer *) addr)->function;
997772884036e6e kernel/hrtimer.c Stanislaw Gruszka 2011-03-07 370 }
997772884036e6e kernel/hrtimer.c Stanislaw Gruszka 2011-03-07 371
:::::: The code at line 369 was first introduced by commit
:::::: 997772884036e6e121de39322179989154437d9f debugobjects: Add hint for better object identification
:::::: TO: Stanislaw Gruszka <sgruszka@...hat.com>
:::::: CC: Thomas Gleixner <tglx@...utronix.de>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists