* [jlayton:kdevops 10/10] include/linux/ktime.h:97:undefined reference to `__cmpxchg_called_with_bad_pointer'
@ 2024-06-17 1:27 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-06-17 1:27 UTC (permalink / raw)
To: Jeff Layton; +Cc: oe-kbuild-all
tree: https://git.kernel.org/pub/scm/linux/kernel/git/jlayton/linux.git kdevops
head: e065024d98fb20ab5427053b3829c6a819534922
commit: e065024d98fb20ab5427053b3829c6a819534922 [10/10] fs: add percpu counters to count fine vs. coarse timestamps
config: sh-polaris_defconfig (https://download.01.org/0day-ci/archive/20240617/202406170902.SWu5FPNp-lkp@intel.com/config)
compiler: sh4-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240617/202406170902.SWu5FPNp-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/202406170902.SWu5FPNp-lkp@intel.com/
All errors (new ones prefixed by >>):
sh4-linux-ld: fs/inode.o: in function `ktime_compare':
>> include/linux/ktime.h:97:(.text+0x1244): undefined reference to `__cmpxchg_called_with_bad_pointer'
vim +97 include/linux/ktime.h
97fc79f97b1111 Thomas Gleixner 2006-01-09 82
398f382c0a5bd6 Daniel Borkmann 2012-10-28 83 /**
398f382c0a5bd6 Daniel Borkmann 2012-10-28 84 * ktime_compare - Compares two ktime_t variables for less, greater or equal
398f382c0a5bd6 Daniel Borkmann 2012-10-28 85 * @cmp1: comparable1
398f382c0a5bd6 Daniel Borkmann 2012-10-28 86 * @cmp2: comparable2
398f382c0a5bd6 Daniel Borkmann 2012-10-28 87 *
36019265cf81cd Yacine Belkadi 2013-07-24 88 * Return: ...
398f382c0a5bd6 Daniel Borkmann 2012-10-28 89 * cmp1 < cmp2: return <0
398f382c0a5bd6 Daniel Borkmann 2012-10-28 90 * cmp1 == cmp2: return 0
398f382c0a5bd6 Daniel Borkmann 2012-10-28 91 * cmp1 > cmp2: return >0
398f382c0a5bd6 Daniel Borkmann 2012-10-28 92 */
398f382c0a5bd6 Daniel Borkmann 2012-10-28 93 static inline int ktime_compare(const ktime_t cmp1, const ktime_t cmp2)
398f382c0a5bd6 Daniel Borkmann 2012-10-28 94 {
2456e855354415 Thomas Gleixner 2016-12-25 95 if (cmp1 < cmp2)
398f382c0a5bd6 Daniel Borkmann 2012-10-28 96 return -1;
2456e855354415 Thomas Gleixner 2016-12-25 @97 if (cmp1 > cmp2)
398f382c0a5bd6 Daniel Borkmann 2012-10-28 98 return 1;
398f382c0a5bd6 Daniel Borkmann 2012-10-28 99 return 0;
398f382c0a5bd6 Daniel Borkmann 2012-10-28 100 }
398f382c0a5bd6 Daniel Borkmann 2012-10-28 101
:::::: The code at line 97 was first introduced by commit
:::::: 2456e855354415bfaeb7badaa14e11b3e02c8466 ktime: Get rid of the union
:::::: TO: Thomas Gleixner <tglx@linutronix.de>
:::::: CC: Thomas Gleixner <tglx@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-06-17 1:27 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-17 1:27 [jlayton:kdevops 10/10] include/linux/ktime.h:97:undefined reference to `__cmpxchg_called_with_bad_pointer' 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.