All of lore.kernel.org
 help / color / mirror / Atom feed
* [ukleinek:device-id-rework 15/16] arch/parisc/include/asm/ptrace.h:45:13: error: implicit declaration of function 'unlikely'
@ 2026-06-29 11:31 kernel test robot
  2026-06-29 14:37 ` Uwe Kleine-König (The Capable Hub)
  0 siblings, 1 reply; 2+ messages in thread
From: kernel test robot @ 2026-06-29 11:31 UTC (permalink / raw)
  To: Uwe Kleine-König (The Capable Hub); +Cc: oe-kbuild-all

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ukleinek:device-id-rework 15/16] arch/parisc/include/asm/ptrace.h:45:13: error: implicit declaration of function 'unlikely'
  2026-06-29 11:31 [ukleinek:device-id-rework 15/16] arch/parisc/include/asm/ptrace.h:45:13: error: implicit declaration of function 'unlikely' kernel test robot
@ 2026-06-29 14:37 ` Uwe Kleine-König (The Capable Hub)
  0 siblings, 0 replies; 2+ messages in thread
From: Uwe Kleine-König (The Capable Hub) @ 2026-06-29 14:37 UTC (permalink / raw)
  To: kernel test robot; +Cc: oe-kbuild-all

[-- Attachment #1: Type: text/plain, Size: 2329 bytes --]

Hello,

On Mon, Jun 29, 2026 at 07:31:55PM +0800, kernel test robot wrote:
> 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.

I added a new patch to my series:

https://git.kernel.org/pub/scm/linux/kernel/git/ukleinek/linux.git/commit/?h=device-id-rework&id=29d6b8c50b1ace81f79e44c6a276dceee5297546

I won't resent just now, but in the assumption that the build bots will
find some more issues, wait a bit to reduce the number of patch
submissions.

Best regards
Uwe

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-06-29 14:37 UTC | newest]

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

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.