All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: "Uwe Kleine-König (The Capable Hub)" <u.kleine-koenig@baylibre.com>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [ukleinek:device-id-rework 15/16] arch/parisc/include/asm/ptrace.h:45:13: error: implicit declaration of function 'unlikely'
Date: Mon, 29 Jun 2026 19:31:55 +0800	[thread overview]
Message-ID: <202606291931.RraFVSbi-lkp@intel.com> (raw)

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/ukleinek/linux.git device-id-rework
head:   6285120b1fe1c6ceecd5a128677a5d9fb6da40dc
commit: 1a0bca71ef19173549e5865b2509eafeb7587ebf [15/16] Replace <linux/mod_devicetable.h> by more specific <linux/device-id/*.h> (headers)
config: parisc-allmodconfig (https://download.01.org/0day-ci/archive/20260629/202606291931.RraFVSbi-lkp@intel.com/config)
compiler: hppa-linux-gcc (GCC) 16.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260629/202606291931.RraFVSbi-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/202606291931.RraFVSbi-lkp@intel.com/

All errors (new ones prefixed by >>):

   In file included from arch/parisc/include/asm/processor.h:20,
                    from include/linux/sched.h:13,
                    from arch/parisc/kernel/asm-offsets.c:19:
   arch/parisc/include/asm/ptrace.h: In function 'regs_get_register':
>> arch/parisc/include/asm/ptrace.h:45:13: error: implicit declaration of function 'unlikely' [-Wimplicit-function-declaration]
      45 |         if (unlikely(offset > MAX_REG_OFFSET))
         |             ^~~~~~~~
   make[3]: *** [scripts/Makefile.build:184: arch/parisc/kernel/asm-offsets.s] Error 1
   make[3]: Target 'prepare' not remade because of errors.
   make[2]: *** [Makefile:1405: prepare0] Error 2
   make[2]: Target 'prepare' not remade because of errors.
   make[1]: *** [Makefile:248: __sub-make] Error 2
   make[1]: Target 'prepare' not remade because of errors.
   make: *** [Makefile:248: __sub-make] Error 2
   make: Target 'prepare' not remade because of errors.


vim +/unlikely +45 arch/parisc/include/asm/ptrace.h

ea1afe339a2b12 Sven Schnelle 2019-04-07  41  
ea1afe339a2b12 Sven Schnelle 2019-04-07  42  static inline unsigned long regs_get_register(struct pt_regs *regs,
ea1afe339a2b12 Sven Schnelle 2019-04-07  43  					      unsigned int offset)
ea1afe339a2b12 Sven Schnelle 2019-04-07  44  {
ea1afe339a2b12 Sven Schnelle 2019-04-07 @45  	if (unlikely(offset > MAX_REG_OFFSET))
ea1afe339a2b12 Sven Schnelle 2019-04-07  46  		return 0;
ea1afe339a2b12 Sven Schnelle 2019-04-07  47  	return *(unsigned long *)((unsigned long)regs + offset);
ea1afe339a2b12 Sven Schnelle 2019-04-07  48  }
ea1afe339a2b12 Sven Schnelle 2019-04-07  49  

:::::: The code at line 45 was first introduced by commit
:::::: ea1afe339a2b1260aa31a4d100155d4403446704 parisc: add functions required by KPROBE_EVENTS

:::::: TO: Sven Schnelle <svens@stackframe.org>
:::::: CC: Helge Deller <deller@gmx.de>

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

             reply	other threads:[~2026-06-29 11:32 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-06-29 11:31 kernel test robot [this message]
2026-06-29 14:37 ` [ukleinek:device-id-rework 15/16] arch/parisc/include/asm/ptrace.h:45:13: error: implicit declaration of function 'unlikely' Uwe Kleine-König (The Capable Hub)

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=202606291931.RraFVSbi-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=u.kleine-koenig@baylibre.com \
    /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.