Building the Linux kernel with Clang and LLVM
 help / color / mirror / Atom feed
* [thomas-weissschuh:vdso/store 51/51] arch/arm64/include/asm/vdso/compat_gettimeofday.h:165:46: warning: value size does not match register size specified by the constraint and modifier
@ 2024-12-14 20:52 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-12-14 20:52 UTC (permalink / raw)
  To: Anna-Maria Behnsen; +Cc: llvm, oe-kbuild-all, Thomas Weißschuh, Nam Cao

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/thomas.weissschuh/linux.git vdso/store
head:   bebedce7b4b3dd55df052f7c6c6160aad13d8f39
commit: bebedce7b4b3dd55df052f7c6c6160aad13d8f39 [51/51] vdso: Rework struct vdso_time_data and introduce struct vdso_clock
config: arm64-allmodconfig (https://download.01.org/0day-ci/archive/20241215/202412150418.DTevfJM2-lkp@intel.com/config)
compiler: clang version 18.1.8 (https://github.com/llvm/llvm-project 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241215/202412150418.DTevfJM2-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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202412150418.DTevfJM2-lkp@intel.com/

All warnings (new ones prefixed by >>):

   In file included from <built-in>:3:
   In file included from lib/vdso/gettimeofday.c:5:
   In file included from include/vdso/datapage.h:220:
>> arch/arm64/include/asm/vdso/compat_gettimeofday.h:165:46: warning: value size does not match register size specified by the constraint and modifier [-Wasm-operand-widths]
     165 |         asm volatile("mov %0, %1" : "=r"(ret) : "r"(vdso_u_timens_data));
         |                                                     ^
   1 warning generated.
--
   In file included from <built-in>:3:
   In file included from lib/vdso/gettimeofday.c:5:
   In file included from include/vdso/datapage.h:220:
>> arch/arm64/include/asm/vdso/compat_gettimeofday.h:165:46: warning: value size does not match register size specified by the constraint and modifier [-Wasm-operand-widths]
     165 |         asm volatile("mov %0, %1" : "=r"(ret) : "r"(vdso_u_timens_data));
         |                                                     ^
   1 warning generated.


vim +165 arch/arm64/include/asm/vdso/compat_gettimeofday.h

a7f71a2c8903f85 Vincenzo Frascino 2019-06-21  157  
3503d56cc7233ce Andrei Vagin      2020-06-24  158  #ifdef CONFIG_TIME_NS
808094fcbf4196b Christophe Leroy  2021-03-31  159  static __always_inline
9cc578dc2437109 Nam Cao           2024-09-25  160  const struct vdso_time_data *__aarch64_get_vdso_u_timens_data(void)
3503d56cc7233ce Andrei Vagin      2020-06-24  161  {
9cc578dc2437109 Nam Cao           2024-09-25  162  	const struct vdso_time_data *ret;
3503d56cc7233ce Andrei Vagin      2020-06-24  163  
667440cd4ada160 Thomas Weißschuh  2024-09-11  164  	/* See __aarch64_get_vdso_u_time_data(). */
667440cd4ada160 Thomas Weißschuh  2024-09-11 @165  	asm volatile("mov %0, %1" : "=r"(ret) : "r"(vdso_u_timens_data));
3503d56cc7233ce Andrei Vagin      2020-06-24  166  
3503d56cc7233ce Andrei Vagin      2020-06-24  167  	return ret;
3503d56cc7233ce Andrei Vagin      2020-06-24  168  }
667440cd4ada160 Thomas Weißschuh  2024-09-11  169  #define __aarch64_get_vdso_u_timens_data __arch_get_vdso_u_timens_data
3503d56cc7233ce Andrei Vagin      2020-06-24  170  #endif
3503d56cc7233ce Andrei Vagin      2020-06-24  171  

:::::: The code at line 165 was first introduced by commit
:::::: 667440cd4ada1608be2118918c0f3b907eb7e7f6 arm64: vdso: Switch to generic storage implementation

:::::: TO: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
:::::: CC: Thomas Weißschuh <thomas.weissschuh@linutronix.de>

-- 
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:[~2024-12-14 20:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-14 20:52 [thomas-weissschuh:vdso/store 51/51] arch/arm64/include/asm/vdso/compat_gettimeofday.h:165:46: warning: value size does not match register size specified by the constraint and modifier 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