linux_dsm_epyc7002/arch/parisc/boot/compressed
Arnd Bergmann 3fd84a4fc0 parisc: use -fno-strict-aliasing for decompressor
An experimental patch series of mine reworks how warnings are processed
in Kbuild. A side effect is a new warning about a harmless aliasing
rule violation in an inline function:

In file included from
include/linux/rhashtable-types.h:15:0,
                 from include/linux/ipc.h:7,
                 from include/uapi/linux/sem.h:5,
                 from include/linux/sem.h:5,
                 from include/linux/sched.h:15,
                 from include/linux/uaccess.h:6,
                 from arch/parisc/boot/compressed/misc.c:7:
include/linux/workqueue.h: In function 'work_static':
include/linux/workqueue.h:212:2: warning: dereferencing
type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  return *work_data_bits(work) & WORK_STRUCT_STATIC;

Make the decompressor use -fno-strict-aliasing like the rest of
the kernel for consistency, and to ensure this warning never makes
it into a release.

Reported-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Helge Deller <deller@gmx.de>
2020-05-10 22:46:19 +02:00
..
.gitignore .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01:00
head.S parisc: Use PA_ASM_LEVEL in boot code 2019-05-06 00:10:00 +02:00
Makefile parisc: use -fno-strict-aliasing for decompressor 2020-05-10 22:46:19 +02:00
misc.c parisc: PA-Linux requires at least 32 MB RAM 2019-05-03 23:47:39 +02:00
vmlinux.lds.S parisc: Fix build of compressed kernel even with debug enabled 2019-08-01 14:17:53 +02:00
vmlinux.scr parisc: Add core code for self-extracting kernel 2017-08-22 16:34:35 +02:00