diff options
| author | Mark Brown <broonie@kernel.org> | 2026-05-29 15:26:58 +0100 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-05-29 15:26:58 +0100 |
| commit | f77645bdf2477eae6a566e6fa7bc0c4066665611 (patch) | |
| tree | 368e80c007a9926b4bff67c2ba1f170a3ee747bd /arch | |
| parent | 19c7e474a9902469fd3bcdd52ddd668476866272 (diff) | |
| parent | 175db11786bde9061db526bf1ac5107d915f5163 (diff) | |
| download | linux-next-history-f77645bdf2477eae6a566e6fa7bc0c4066665611.tar.gz | |
Merge branch 'clang-fixes-for-next' of https://git.kernel.org/pub/scm/linux/kernel/git/nathan/linux.git
Diffstat (limited to 'arch')
| -rw-r--r-- | arch/riscv/include/asm/syscall_wrapper.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/riscv/include/asm/syscall_wrapper.h b/arch/riscv/include/asm/syscall_wrapper.h index ac80216549ffa..226289c3b5c89 100644 --- a/arch/riscv/include/asm/syscall_wrapper.h +++ b/arch/riscv/include/asm/syscall_wrapper.h @@ -32,6 +32,10 @@ asmlinkage long __riscv_sys_ni_syscall(const struct pt_regs *); __diag_push(); \ __diag_ignore(GCC, 8, "-Wattribute-alias", \ "Type aliasing is used to sanitize syscall arguments"); \ + __diag_ignore(clang, 23, "-Wunknown-warning-option", \ + "Avoid breaking versions without -Wattribute-alias"); \ + __diag_ignore(clang, 23, "-Wattribute-alias", \ + "Type aliasing is used to sanitize syscall arguments"); \ static long __se_##prefix##name(ulong, ulong, ulong, ulong, ulong, ulong, \ ulong) \ __attribute__((alias(__stringify(___se_##prefix##name)))); \ |
