All of lore.kernel.org
 help / color / mirror / Atom feed
* [lindholm-alpha:entry 5/6] arch/alpha/include/asm/ftrace.h:20:16: error: invalid argument to '__builtin_return_address'
@ 2026-04-10 23:45 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-04-10 23:45 UTC (permalink / raw)
  To: Magnus Lindholm; +Cc: oe-kbuild-all

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/lindholm/alpha.git entry
head:   dd381ec93e43e70caf8dcc4bbad69a43aefb11cb
commit: 19708bb960275d5bbdda1444322df23928485a72 [5/6] alpha: implement lockdep hardirq state tracking
config: alpha-allyesconfig (https://download.01.org/0day-ci/archive/20260411/202604110741.iykKycTY-lkp@intel.com/config)
compiler: alpha-linux-gcc (GCC) 15.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260411/202604110741.iykKycTY-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/202604110741.iykKycTY-lkp@intel.com/

All errors (new ones prefixed by >>):

   In file included from include/linux/ftrace.h:23,
                    from kernel/trace/trace_sched_wakeup.c:16:
   arch/alpha/include/asm/ftrace.h: In function 'alpha_ftrace_return_address':
>> arch/alpha/include/asm/ftrace.h:20:16: error: invalid argument to '__builtin_return_address'
      20 |         return __builtin_return_address(n);
         |                ^~~~~~~~~~~~~~~~~~~~~~~~~~~


vim +/__builtin_return_address +20 arch/alpha/include/asm/ftrace.h

    15	
    16	static void *alpha_ftrace_return_address(unsigned int n)
    17	        __attribute__((__noinline__, __no_instrument_function__));
    18	static void *alpha_ftrace_return_address(unsigned int n)
    19	{
  > 20	        return __builtin_return_address(n);
    21	}
    22	

-- 
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:[~2026-04-10 23:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-10 23:45 [lindholm-alpha:entry 5/6] arch/alpha/include/asm/ftrace.h:20:16: error: invalid argument to '__builtin_return_address' 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.