* [tip:timers/core 13/13] kernel/time/posix-cpu-timers.c:1310:30: error: 'timr' is a pointer; did you mean to use '->'?
@ 2023-04-21 12:54 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-04-21 12:54 UTC (permalink / raw)
To: Thomas Gleixner; +Cc: oe-kbuild-all, linux-kernel, x86, Frederic Weisbecker
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git timers/core
head: 2aaae4bf41b101f7e58e8b06778b1cd9a1dddf94
commit: 2aaae4bf41b101f7e58e8b06778b1cd9a1dddf94 [13/13] posix-cpu-timers: Implement the missing timer_wait_running callback
config: alpha-defconfig (https://download.01.org/0day-ci/archive/20230421/202304212002.oZSoeiXT-lkp@intel.com/config)
compiler: alpha-linux-gcc (GCC) 12.1.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
# https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git/commit/?id=2aaae4bf41b101f7e58e8b06778b1cd9a1dddf94
git remote add tip https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git
git fetch --no-tags tip timers/core
git checkout 2aaae4bf41b101f7e58e8b06778b1cd9a1dddf94
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=alpha olddefconfig
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=alpha SHELL=/bin/bash
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@intel.com>
| Link: https://lore.kernel.org/oe-kbuild-all/202304212002.oZSoeiXT-lkp@intel.com/
All errors (new ones prefixed by >>):
kernel/time/posix-cpu-timers.c: In function 'posix_cpu_timer_wait_running_nsleep':
>> kernel/time/posix-cpu-timers.c:1310:30: error: 'timr' is a pointer; did you mean to use '->'?
1310 | spin_unlock_irq(&timr.it_lock);
| ^
| ->
kernel/time/posix-cpu-timers.c:1312:28: error: 'timr' is a pointer; did you mean to use '->'?
1312 | spin_lock_irq(&timr.it_lock);
| ^
| ->
kernel/time/posix-cpu-timers.c:1308:66: warning: parameter 'timr' set but not used [-Wunused-but-set-parameter]
1308 | static void posix_cpu_timer_wait_running_nsleep(struct k_itimer *timr)
| ~~~~~~~~~~~~~~~~~^~~~
vim +1310 kernel/time/posix-cpu-timers.c
1307
1308 static void posix_cpu_timer_wait_running_nsleep(struct k_itimer *timr)
1309 {
> 1310 spin_unlock_irq(&timr.it_lock);
1311 cpu_relax();
1312 spin_lock_irq(&timr.it_lock);
1313 }
1314
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-04-21 12:55 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-21 12:54 [tip:timers/core 13/13] kernel/time/posix-cpu-timers.c:1310:30: error: 'timr' is a pointer; did you mean to use '->'? kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox