All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Jeff Layton <jlayton@kernel.org>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [jlayton:kdevops 10/10] include/linux/ktime.h:97:undefined reference to `__cmpxchg_called_with_bad_pointer'
Date: Mon, 17 Jun 2024 09:27:03 +0800	[thread overview]
Message-ID: <202406170902.SWu5FPNp-lkp@intel.com> (raw)

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

                 reply	other threads:[~2024-06-17  1:27 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202406170902.SWu5FPNp-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=jlayton@kernel.org \
    --cc=oe-kbuild-all@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.