diff options
| author | Nathan Chancellor <[email protected]> | 2023-01-11 20:05:03 -0700 |
|---|---|---|
| committer | Masahiro Yamada <[email protected]> | 2023-01-26 12:42:06 +0900 |
| commit | 024734d132846dcb27f07deb1ec5be64d4cbfae9 (patch) | |
| tree | 52111f8b302ed96eebd586108fe4175fc5d85f91 /drivers/fpga/xilinx-spi.c | |
| parent | 31f48f16264bc70962fb3e7ec62da64d0a2ba04a (diff) | |
powerpc/vdso: Remove unused '-s' flag from ASFLAGS
When clang's -Qunused-arguments is dropped from KBUILD_CPPFLAGS, it
warns:
clang-16: error: argument unused during compilation: '-s' [-Werror,-Wunused-command-line-argument]
The compiler's '-s' flag is a linking option (it is passed along to the
linker directly), which means it does nothing when the linker is not
invoked by the compiler. The kernel builds all .o files with '-c', which
stops the compilation pipeline before linking, so '-s' can be safely
dropped from ASFLAGS.
Signed-off-by: Nathan Chancellor <[email protected]>
Reviewed-by: Nick Desaulniers <[email protected]>
Reviewed-by: Segher Boessenkool <[email protected]>
Tested-by: Linux Kernel Functional Testing <[email protected]>
Tested-by: Anders Roxell <[email protected]>
Acked-by: Michael Ellerman <[email protected]>
Signed-off-by: Masahiro Yamada <[email protected]>
Diffstat (limited to 'drivers/fpga/xilinx-spi.c')
0 files changed, 0 insertions, 0 deletions