diff options
author | Dave Martin <Dave.Martin@arm.com> | 2019-06-06 11:33:43 +0100 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2019-06-06 13:28:45 +0100 |
commit | ebcc5928c5d925b1c8d968d9c89cdb0d0186db17 (patch) | |
tree | e424026ffd001c0eb41611e614c2c560e1c162bc /arch/arm64/Kconfig | |
parent | 2b55d83e9a8ca36ab9e108dab52902a67f573f6f (diff) | |
download | linux-ebcc5928c5d925b1c8d968d9c89cdb0d0186db17.tar.bz2 |
arm64: Silence gcc warnings about arch ABI drift
Since GCC 9, the compiler warns about evolution of the
platform-specific ABI, in particular relating for the marshaling of
certain structures involving bitfields.
The kernel is a standalone binary, and of course nobody would be
so stupid as to expose structs containing bitfields as function
arguments in ABI. (Passing a pointer to such a struct, however
inadvisable, should be unaffected by this change. perf and various
drivers rely on that.)
So these warnings do more harm than good: turn them off.
We may miss warnings about future ABI drift, but that's too bad.
Future ABI breaks of this class will have to be debugged and fixed
the traditional way unless the compiler evolves finer-grained
diagnostics.
Signed-off-by: Dave Martin <Dave.Martin@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'arch/arm64/Kconfig')
0 files changed, 0 insertions, 0 deletions