[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <202509181742.AlhRJJjD-lkp@intel.com>
Date: Thu, 18 Sep 2025 17:52:32 +0800
From: kernel test robot <lkp@...el.com>
To: Jinjie Ruan <ruanjinjie@...wei.com>, catalin.marinas@....com,
will@...nel.org, oleg@...hat.com, tglx@...utronix.de,
peterz@...radead.org, luto@...nel.org, kees@...nel.org,
wad@...omium.org, charlie@...osinc.com, macro@...am.me.uk,
deller@....de, akpm@...ux-foundation.org, ldv@...ace.io,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org
Cc: llvm@...ts.linux.dev, oe-kbuild-all@...ts.linux.dev,
ruanjinjie@...wei.com
Subject: Re: [PATCH -next v6 10/10] arm64: entry: Convert to generic entry
Hi Jinjie,
kernel test robot noticed the following build warnings:
[auto build test WARNING on next-20250915]
url: https://github.com/intel-lab-lkp/linux/commits/Jinjie-Ruan/arm64-ptrace-Split-report_syscall-into-report_syscall_enter-exit/20250916-163202
base: next-20250915
patch link: https://lore.kernel.org/r/20250916082611.2972008-11-ruanjinjie%40huawei.com
patch subject: [PATCH -next v6 10/10] arm64: entry: Convert to generic entry
config: arm64-randconfig-001-20250918 (https://download.01.org/0day-ci/archive/20250918/202509181742.AlhRJJjD-lkp@intel.com/config)
compiler: clang version 22.0.0git (https://github.com/llvm/llvm-project 7c861bcedf61607b6c087380ac711eb7ff918ca6)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250918/202509181742.AlhRJJjD-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@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202509181742.AlhRJJjD-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> kernel/entry/syscall-common.c:30:8: warning: attribute declaration must precede definition [-Wignored-attributes]
30 | static __always_inline int arch_ptrace_report_syscall_entry(struct pt_regs *regs);
| ^
include/linux/compiler_attributes.h:55:63: note: expanded from macro '__always_inline'
55 | #define __always_inline inline __attribute__((__always_inline__))
| ^
arch/arm64/include/asm/entry-common.h:62:19: note: previous definition is here
62 | static inline int arch_ptrace_report_syscall_entry(struct pt_regs *regs)
| ^
kernel/entry/syscall-common.c:115:8: warning: attribute declaration must precede definition [-Wignored-attributes]
115 | static __always_inline void arch_ptrace_report_syscall_exit(struct pt_regs *regs,
| ^
include/linux/compiler_attributes.h:55:63: note: expanded from macro '__always_inline'
55 | #define __always_inline inline __attribute__((__always_inline__))
| ^
arch/arm64/include/asm/entry-common.h:98:20: note: previous definition is here
98 | static inline void arch_ptrace_report_syscall_exit(struct pt_regs *regs,
| ^
2 warnings generated.
vim +30 kernel/entry/syscall-common.c
a70e9f647f501e3 Jinjie Ruan 2025-06-24 19
204f38f88c6f9db Jinjie Ruan 2025-09-16 20 /**
204f38f88c6f9db Jinjie Ruan 2025-09-16 21 * arch_ptrace_report_syscall_entry - Architecture specific
204f38f88c6f9db Jinjie Ruan 2025-09-16 22 * ptrace_report_syscall_entry().
204f38f88c6f9db Jinjie Ruan 2025-09-16 23 *
204f38f88c6f9db Jinjie Ruan 2025-09-16 24 * Invoked from syscall_trace_enter() to wrap ptrace_report_syscall_entry().
204f38f88c6f9db Jinjie Ruan 2025-09-16 25 * Defaults to ptrace_report_syscall_entry.
204f38f88c6f9db Jinjie Ruan 2025-09-16 26 *
204f38f88c6f9db Jinjie Ruan 2025-09-16 27 * The main purpose is to support arch-specific ptrace_report_syscall_entry()
204f38f88c6f9db Jinjie Ruan 2025-09-16 28 * implementation.
204f38f88c6f9db Jinjie Ruan 2025-09-16 29 */
204f38f88c6f9db Jinjie Ruan 2025-09-16 @30 static __always_inline int arch_ptrace_report_syscall_entry(struct pt_regs *regs);
204f38f88c6f9db Jinjie Ruan 2025-09-16 31
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists