From: kernel test robot <lkp@intel.com>
To: Nathan Chancellor <nathan@kernel.org>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev
Subject: [linux-next:master 5302/7547] fs/open.c:152:1: error: unknown warning group '-Wattribute-alias', ignored
Date: Fri, 22 May 2026 02:18:49 +0800 [thread overview]
Message-ID: <202605220247.dQAHslyv-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: 550604d6c9b9efc8d068aff94dc301694a7afdee
commit: bc5ffe737f56ee2734597069ed71f48830549483 [5302/7547] Disable -Wattribute-alias for clang-23 and newer
config: arm-defconfig (https://download.01.org/0day-ci/archive/20260522/202605220247.dQAHslyv-lkp@intel.com/config)
compiler: clang version 23.0.0git (https://github.com/llvm/llvm-project 5bac06718f502014fade905512f1d26d578a18f3)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260522/202605220247.dQAHslyv-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/202605220247.dQAHslyv-lkp@intel.com/
All errors (new ones prefixed by >>):
>> fs/open.c:152:1: error: unknown warning group '-Wattribute-alias', ignored [-Werror,-Wunknown-warning-option]
152 | SYSCALL_DEFINE2(truncate, const char __user *, path, long, length)
| ^
include/linux/syscalls.h:226:36: note: expanded from macro 'SYSCALL_DEFINE2'
226 | #define SYSCALL_DEFINE2(name, ...) SYSCALL_DEFINEx(2, _##name, __VA_ARGS__)
| ^
include/linux/syscalls.h:236:2: note: expanded from macro 'SYSCALL_DEFINEx'
236 | __SYSCALL_DEFINEx(x, sname, __VA_ARGS__)
| ^
include/linux/syscalls.h:250:2: note: expanded from macro '__SYSCALL_DEFINEx'
250 | __diag_ignore(clang, 23, "-Wattribute-alias", \
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
include/linux/compiler-clang.h:135:28: note: expanded from macro '__diag_clang_23'
135 | #define __diag_clang_23(s) __diag(s)
| ^
include/linux/compiler-clang.h:132:20: note: expanded from macro '__diag'
132 | #define __diag(s) _Pragma(__diag_str(clang diagnostic s))
| ^
<scratch space>:223:27: note: expanded from here
223 | clang diagnostic ignored "-Wattribute-alias"
| ^
fs/open.c:209:1: error: unknown warning group '-Wattribute-alias', ignored [-Werror,-Wunknown-warning-option]
209 | SYSCALL_DEFINE2(ftruncate, unsigned int, fd, off_t, length)
| ^
include/linux/syscalls.h:226:36: note: expanded from macro 'SYSCALL_DEFINE2'
226 | #define SYSCALL_DEFINE2(name, ...) SYSCALL_DEFINEx(2, _##name, __VA_ARGS__)
| ^
include/linux/syscalls.h:236:2: note: expanded from macro 'SYSCALL_DEFINEx'
236 | __SYSCALL_DEFINEx(x, sname, __VA_ARGS__)
| ^
include/linux/syscalls.h:250:2: note: expanded from macro '__SYSCALL_DEFINEx'
250 | __diag_ignore(clang, 23, "-Wattribute-alias", \
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
include/linux/compiler-clang.h:135:28: note: expanded from macro '__diag_clang_23'
135 | #define __diag_clang_23(s) __diag(s)
| ^
include/linux/compiler-clang.h:132:20: note: expanded from macro '__diag'
132 | #define __diag(s) _Pragma(__diag_str(clang diagnostic s))
| ^
<scratch space>:35:27: note: expanded from here
35 | clang diagnostic ignored "-Wattribute-alias"
| ^
fs/open.c:223:1: error: unknown warning group '-Wattribute-alias', ignored [-Werror,-Wunknown-warning-option]
223 | SYSCALL_DEFINE2(truncate64, const char __user *, path, loff_t, length)
| ^
include/linux/syscalls.h:226:36: note: expanded from macro 'SYSCALL_DEFINE2'
226 | #define SYSCALL_DEFINE2(name, ...) SYSCALL_DEFINEx(2, _##name, __VA_ARGS__)
| ^
include/linux/syscalls.h:236:2: note: expanded from macro 'SYSCALL_DEFINEx'
236 | __SYSCALL_DEFINEx(x, sname, __VA_ARGS__)
| ^
include/linux/syscalls.h:250:2: note: expanded from macro '__SYSCALL_DEFINEx'
250 | __diag_ignore(clang, 23, "-Wattribute-alias", \
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
include/linux/compiler-clang.h:135:28: note: expanded from macro '__diag_clang_23'
135 | #define __diag_clang_23(s) __diag(s)
| ^
include/linux/compiler-clang.h:132:20: note: expanded from macro '__diag'
132 | #define __diag(s) _Pragma(__diag_str(clang diagnostic s))
| ^
<scratch space>:68:27: note: expanded from here
68 | clang diagnostic ignored "-Wattribute-alias"
| ^
fs/open.c:228:1: error: unknown warning group '-Wattribute-alias', ignored [-Werror,-Wunknown-warning-option]
228 | SYSCALL_DEFINE2(ftruncate64, unsigned int, fd, loff_t, length)
| ^
include/linux/syscalls.h:226:36: note: expanded from macro 'SYSCALL_DEFINE2'
226 | #define SYSCALL_DEFINE2(name, ...) SYSCALL_DEFINEx(2, _##name, __VA_ARGS__)
| ^
include/linux/syscalls.h:236:2: note: expanded from macro 'SYSCALL_DEFINEx'
236 | __SYSCALL_DEFINEx(x, sname, __VA_ARGS__)
| ^
include/linux/syscalls.h:250:2: note: expanded from macro '__SYSCALL_DEFINEx'
250 | __diag_ignore(clang, 23, "-Wattribute-alias", \
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
include/linux/compiler-clang.h:135:28: note: expanded from macro '__diag_clang_23'
135 | #define __diag_clang_23(s) __diag(s)
| ^
include/linux/compiler-clang.h:132:20: note: expanded from macro '__diag'
132 | #define __diag(s) _Pragma(__diag_str(clang diagnostic s))
| ^
<scratch space>:101:27: note: expanded from here
101 | clang diagnostic ignored "-Wattribute-alias"
| ^
fs/open.c:365:1: error: unknown warning group '-Wattribute-alias', ignored [-Werror,-Wunknown-warning-option]
365 | SYSCALL_DEFINE4(fallocate, int, fd, int, mode, loff_t, offset, loff_t, len)
| ^
include/linux/syscalls.h:228:36: note: expanded from macro 'SYSCALL_DEFINE4'
228 | #define SYSCALL_DEFINE4(name, ...) SYSCALL_DEFINEx(4, _##name, __VA_ARGS__)
| ^
include/linux/syscalls.h:236:2: note: expanded from macro 'SYSCALL_DEFINEx'
236 | __SYSCALL_DEFINEx(x, sname, __VA_ARGS__)
| ^
include/linux/syscalls.h:250:2: note: expanded from macro '__SYSCALL_DEFINEx'
250 | __diag_ignore(clang, 23, "-Wattribute-alias", \
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
--
>> fs/read_write.c:412:1: error: unknown warning group '-Wattribute-alias', ignored [-Werror,-Wunknown-warning-option]
412 | SYSCALL_DEFINE3(lseek, unsigned int, fd, off_t, offset, unsigned int, whence)
| ^
include/linux/syscalls.h:227:36: note: expanded from macro 'SYSCALL_DEFINE3'
227 | #define SYSCALL_DEFINE3(name, ...) SYSCALL_DEFINEx(3, _##name, __VA_ARGS__)
| ^
include/linux/syscalls.h:236:2: note: expanded from macro 'SYSCALL_DEFINEx'
236 | __SYSCALL_DEFINEx(x, sname, __VA_ARGS__)
| ^
include/linux/syscalls.h:250:2: note: expanded from macro '__SYSCALL_DEFINEx'
250 | __diag_ignore(clang, 23, "-Wattribute-alias", \
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
include/linux/compiler-clang.h:135:28: note: expanded from macro '__diag_clang_23'
135 | #define __diag_clang_23(s) __diag(s)
| ^
include/linux/compiler-clang.h:132:20: note: expanded from macro '__diag'
132 | #define __diag(s) _Pragma(__diag_str(clang diagnostic s))
| ^
<scratch space>:46:27: note: expanded from here
46 | clang diagnostic ignored "-Wattribute-alias"
| ^
fs/read_write.c:426:1: error: unknown warning group '-Wattribute-alias', ignored [-Werror,-Wunknown-warning-option]
426 | SYSCALL_DEFINE5(llseek, unsigned int, fd, unsigned long, offset_high,
| ^
include/linux/syscalls.h:229:36: note: expanded from macro 'SYSCALL_DEFINE5'
229 | #define SYSCALL_DEFINE5(name, ...) SYSCALL_DEFINEx(5, _##name, __VA_ARGS__)
| ^
include/linux/syscalls.h:236:2: note: expanded from macro 'SYSCALL_DEFINEx'
236 | __SYSCALL_DEFINEx(x, sname, __VA_ARGS__)
| ^
include/linux/syscalls.h:250:2: note: expanded from macro '__SYSCALL_DEFINEx'
250 | __diag_ignore(clang, 23, "-Wattribute-alias", \
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
include/linux/compiler-clang.h:135:28: note: expanded from macro '__diag_clang_23'
135 | #define __diag_clang_23(s) __diag(s)
| ^
include/linux/compiler-clang.h:132:20: note: expanded from macro '__diag'
132 | #define __diag(s) _Pragma(__diag_str(clang diagnostic s))
| ^
<scratch space>:80:27: note: expanded from here
80 | clang diagnostic ignored "-Wattribute-alias"
| ^
fs/read_write.c:724:1: error: unknown warning group '-Wattribute-alias', ignored [-Werror,-Wunknown-warning-option]
724 | SYSCALL_DEFINE3(read, unsigned int, fd, char __user *, buf, size_t, count)
| ^
include/linux/syscalls.h:227:36: note: expanded from macro 'SYSCALL_DEFINE3'
227 | #define SYSCALL_DEFINE3(name, ...) SYSCALL_DEFINEx(3, _##name, __VA_ARGS__)
| ^
include/linux/syscalls.h:236:2: note: expanded from macro 'SYSCALL_DEFINEx'
236 | __SYSCALL_DEFINEx(x, sname, __VA_ARGS__)
| ^
include/linux/syscalls.h:250:2: note: expanded from macro '__SYSCALL_DEFINEx'
250 | __diag_ignore(clang, 23, "-Wattribute-alias", \
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
include/linux/compiler-clang.h:135:28: note: expanded from macro '__diag_clang_23'
135 | #define __diag_clang_23(s) __diag(s)
| ^
include/linux/compiler-clang.h:132:20: note: expanded from macro '__diag'
132 | #define __diag(s) _Pragma(__diag_str(clang diagnostic s))
| ^
<scratch space>:32:27: note: expanded from here
32 | clang diagnostic ignored "-Wattribute-alias"
| ^
fs/read_write.c:748:1: error: unknown warning group '-Wattribute-alias', ignored [-Werror,-Wunknown-warning-option]
748 | SYSCALL_DEFINE3(write, unsigned int, fd, const char __user *, buf,
| ^
include/linux/syscalls.h:227:36: note: expanded from macro 'SYSCALL_DEFINE3'
227 | #define SYSCALL_DEFINE3(name, ...) SYSCALL_DEFINEx(3, _##name, __VA_ARGS__)
| ^
include/linux/syscalls.h:236:2: note: expanded from macro 'SYSCALL_DEFINEx'
236 | __SYSCALL_DEFINEx(x, sname, __VA_ARGS__)
| ^
include/linux/syscalls.h:250:2: note: expanded from macro '__SYSCALL_DEFINEx'
250 | __diag_ignore(clang, 23, "-Wattribute-alias", \
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
include/linux/compiler-clang.h:135:28: note: expanded from macro '__diag_clang_23'
135 | #define __diag_clang_23(s) __diag(s)
| ^
include/linux/compiler-clang.h:132:20: note: expanded from macro '__diag'
132 | #define __diag(s) _Pragma(__diag_str(clang diagnostic s))
| ^
<scratch space>:72:27: note: expanded from here
72 | clang diagnostic ignored "-Wattribute-alias"
| ^
fs/read_write.c:770:1: error: unknown warning group '-Wattribute-alias', ignored [-Werror,-Wunknown-warning-option]
770 | SYSCALL_DEFINE4(pread64, unsigned int, fd, char __user *, buf,
| ^
include/linux/syscalls.h:228:36: note: expanded from macro 'SYSCALL_DEFINE4'
228 | #define SYSCALL_DEFINE4(name, ...) SYSCALL_DEFINEx(4, _##name, __VA_ARGS__)
| ^
include/linux/syscalls.h:236:2: note: expanded from macro 'SYSCALL_DEFINEx'
236 | __SYSCALL_DEFINEx(x, sname, __VA_ARGS__)
| ^
include/linux/syscalls.h:250:2: note: expanded from macro '__SYSCALL_DEFINEx'
250 | __diag_ignore(clang, 23, "-Wattribute-alias", \
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
--
>> fs/stat.c:505:1: error: unknown warning group '-Wattribute-alias', ignored [-Werror,-Wunknown-warning-option]
505 | SYSCALL_DEFINE2(newstat, const char __user *, filename,
| ^
include/linux/syscalls.h:226:36: note: expanded from macro 'SYSCALL_DEFINE2'
226 | #define SYSCALL_DEFINE2(name, ...) SYSCALL_DEFINEx(2, _##name, __VA_ARGS__)
| ^
include/linux/syscalls.h:236:2: note: expanded from macro 'SYSCALL_DEFINEx'
236 | __SYSCALL_DEFINEx(x, sname, __VA_ARGS__)
| ^
include/linux/syscalls.h:250:2: note: expanded from macro '__SYSCALL_DEFINEx'
250 | __diag_ignore(clang, 23, "-Wattribute-alias", \
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
include/linux/compiler-clang.h:135:28: note: expanded from macro '__diag_clang_23'
135 | #define __diag_clang_23(s) __diag(s)
| ^
include/linux/compiler-clang.h:132:20: note: expanded from macro '__diag'
132 | #define __diag(s) _Pragma(__diag_str(clang diagnostic s))
| ^
<scratch space>:119:27: note: expanded from here
119 | clang diagnostic ignored "-Wattribute-alias"
| ^
fs/stat.c:518:1: error: unknown warning group '-Wattribute-alias', ignored [-Werror,-Wunknown-warning-option]
518 | SYSCALL_DEFINE2(newlstat, const char __user *, filename,
| ^
include/linux/syscalls.h:226:36: note: expanded from macro 'SYSCALL_DEFINE2'
226 | #define SYSCALL_DEFINE2(name, ...) SYSCALL_DEFINEx(2, _##name, __VA_ARGS__)
| ^
include/linux/syscalls.h:236:2: note: expanded from macro 'SYSCALL_DEFINEx'
236 | __SYSCALL_DEFINEx(x, sname, __VA_ARGS__)
| ^
include/linux/syscalls.h:250:2: note: expanded from macro '__SYSCALL_DEFINEx'
250 | __diag_ignore(clang, 23, "-Wattribute-alias", \
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
include/linux/compiler-clang.h:135:28: note: expanded from macro '__diag_clang_23'
135 | #define __diag_clang_23(s) __diag(s)
| ^
include/linux/compiler-clang.h:132:20: note: expanded from macro '__diag'
132 | #define __diag(s) _Pragma(__diag_str(clang diagnostic s))
| ^
<scratch space>:18:27: note: expanded from here
18 | clang diagnostic ignored "-Wattribute-alias"
| ^
fs/stat.c:546:1: error: unknown warning group '-Wattribute-alias', ignored [-Werror,-Wunknown-warning-option]
546 | SYSCALL_DEFINE2(newfstat, unsigned int, fd, struct stat __user *, statbuf)
| ^
include/linux/syscalls.h:226:36: note: expanded from macro 'SYSCALL_DEFINE2'
226 | #define SYSCALL_DEFINE2(name, ...) SYSCALL_DEFINEx(2, _##name, __VA_ARGS__)
| ^
include/linux/syscalls.h:236:2: note: expanded from macro 'SYSCALL_DEFINEx'
236 | __SYSCALL_DEFINEx(x, sname, __VA_ARGS__)
| ^
include/linux/syscalls.h:250:2: note: expanded from macro '__SYSCALL_DEFINEx'
250 | __diag_ignore(clang, 23, "-Wattribute-alias", \
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
include/linux/compiler-clang.h:135:28: note: expanded from macro '__diag_clang_23'
135 | #define __diag_clang_23(s) __diag(s)
| ^
include/linux/compiler-clang.h:132:20: note: expanded from macro '__diag'
132 | #define __diag(s) _Pragma(__diag_str(clang diagnostic s))
| ^
<scratch space>:51:27: note: expanded from here
51 | clang diagnostic ignored "-Wattribute-alias"
| ^
fs/stat.c:596:1: error: unknown warning group '-Wattribute-alias', ignored [-Werror,-Wunknown-warning-option]
596 | SYSCALL_DEFINE4(readlinkat, int, dfd, const char __user *, pathname,
| ^
include/linux/syscalls.h:228:36: note: expanded from macro 'SYSCALL_DEFINE4'
228 | #define SYSCALL_DEFINE4(name, ...) SYSCALL_DEFINEx(4, _##name, __VA_ARGS__)
| ^
include/linux/syscalls.h:236:2: note: expanded from macro 'SYSCALL_DEFINEx'
236 | __SYSCALL_DEFINEx(x, sname, __VA_ARGS__)
| ^
include/linux/syscalls.h:250:2: note: expanded from macro '__SYSCALL_DEFINEx'
250 | __diag_ignore(clang, 23, "-Wattribute-alias", \
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
include/linux/compiler-clang.h:135:28: note: expanded from macro '__diag_clang_23'
135 | #define __diag_clang_23(s) __diag(s)
| ^
include/linux/compiler-clang.h:132:20: note: expanded from macro '__diag'
132 | #define __diag(s) _Pragma(__diag_str(clang diagnostic s))
| ^
<scratch space>:92:27: note: expanded from here
92 | clang diagnostic ignored "-Wattribute-alias"
| ^
fs/stat.c:602:1: error: unknown warning group '-Wattribute-alias', ignored [-Werror,-Wunknown-warning-option]
602 | SYSCALL_DEFINE3(readlink, const char __user *, path, char __user *, buf,
| ^
include/linux/syscalls.h:227:36: note: expanded from macro 'SYSCALL_DEFINE3'
227 | #define SYSCALL_DEFINE3(name, ...) SYSCALL_DEFINEx(3, _##name, __VA_ARGS__)
| ^
include/linux/syscalls.h:236:2: note: expanded from macro 'SYSCALL_DEFINEx'
236 | __SYSCALL_DEFINEx(x, sname, __VA_ARGS__)
| ^
include/linux/syscalls.h:250:2: note: expanded from macro '__SYSCALL_DEFINEx'
250 | __diag_ignore(clang, 23, "-Wattribute-alias", \
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
..
vim +152 fs/open.c
^1da177e4c3f415 Linus Torvalds 2005-04-16 151
4fd8da8d62416d0 Heiko Carstens 2009-09-23 @152 SYSCALL_DEFINE2(truncate, const char __user *, path, long, length)
^1da177e4c3f415 Linus Torvalds 2005-04-16 153 {
e8767a3134ca69a Christoph Hellwig 2026-03-23 154 return ksys_truncate(path, length);
^1da177e4c3f415 Linus Torvalds 2005-04-16 155 }
^1da177e4c3f415 Linus Torvalds 2005-04-16 156
:::::: The code at line 152 was first introduced by commit
:::::: 4fd8da8d62416d0dae05603ab5990a498d9aeb12 fs: change sys_truncate length parameter type
:::::: TO: Heiko Carstens <heiko.carstens@de.ibm.com>
:::::: CC: Linus Torvalds <torvalds@linux-foundation.org>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next reply other threads:[~2026-05-21 18:19 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-21 18:18 kernel test robot [this message]
2026-05-23 0:52 ` [linux-next:master 5302/7547] fs/open.c:152:1: error: unknown warning group '-Wattribute-alias', ignored Nathan Chancellor
2026-05-27 13:17 ` Philip Li
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=202605220247.dQAHslyv-lkp@intel.com \
--to=lkp@intel.com \
--cc=llvm@lists.linux.dev \
--cc=nathan@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox