android_kernel_samsung_a7y1.../arch
Lianbo Jiang cdeae40d00 x86/crash: Add a forward declaration of struct kimage
[ Upstream commit 112eee5d06007dae561f14458bde7f2a4879ef4e ]

Add a forward declaration of struct kimage to the crash.h header because
future changes will invoke a crash-specific function from the realmode
init path and the compiler will complain otherwise like this:

  In file included from arch/x86/realmode/init.c:11:
  ./arch/x86/include/asm/crash.h:5:32: warning: ‘struct kimage’ declared inside\
   parameter list will not be visible outside of this definition or declaration
      5 | int crash_load_segments(struct kimage *image);
        |                                ^~~~~~
  ./arch/x86/include/asm/crash.h:6:37: warning: ‘struct kimage’ declared inside\
   parameter list will not be visible outside of this definition or declaration
      6 | int crash_copy_backup_region(struct kimage *image);
        |                                     ^~~~~~
  ./arch/x86/include/asm/crash.h:7:39: warning: ‘struct kimage’ declared inside\
   parameter list will not be visible outside of this definition or declaration
      7 | int crash_setup_memmap_entries(struct kimage *image,
        |

 [ bp: Rewrite the commit message. ]

Reported-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Lianbo Jiang <lijiang@redhat.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Cc: bhe@redhat.com
Cc: d.hatayama@fujitsu.com
Cc: dhowells@redhat.com
Cc: dyoung@redhat.com
Cc: ebiederm@xmission.com
Cc: horms@verge.net.au
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Jürgen Gross <jgross@suse.com>
Cc: kexec@lists.infradead.org
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Tom Lendacky <thomas.lendacky@amd.com>
Cc: vgoyal@redhat.com
Cc: x86-ml <x86@kernel.org>
Link: https://lkml.kernel.org/r/20191108090027.11082-4-lijiang@redhat.com
Link: https://lkml.kernel.org/r/201910310233.EJRtTMWP%25lkp@intel.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-04-07 13:21:37 +02:00
..
alpha
arc ARC: perf: Accommodate big-endian CPU 2020-04-07 12:37:04 +02:00
arm ARM: tegra: Fix FLOW_CTLR_HALT register clobbering by tegra_resume() 2020-04-07 13:12:51 +02:00
arm64 arm64: psci: Reduce the waiting time for cpu_psci_cpu_kill() 2020-04-07 13:20:51 +02:00
avr32
blackfin
c6x
cris
frv
h8300
hexagon
ia64
m32r
m68k
metag
microblaze microblaze: move "... is ready" messages to arch/microblaze/Makefile 2020-04-07 12:41:36 +02:00
mips MIPS: OCTEON: cvmx_pko_mem_debug8: use oldest forward compatible definition 2020-04-07 12:45:27 +02:00
mn10300
nios2
openrisc openrisc: Fix broken paths to arch/or32 2020-04-07 12:42:07 +02:00
parisc
powerpc powerpc: Fix vDSO clock_getres() 2020-04-07 13:08:04 +02:00
s390 KVM: s390: unregister debug feature on failing arch init 2020-04-07 12:41:46 +02:00
score
sh pinctrl: sh-pfc: sh7734: Fix duplicate TCLK1_B 2020-04-07 13:20:55 +02:00
sparc sparc64: Rework xchg() definition to avoid warnings. 2020-04-07 12:35:33 +02:00
tile
um um: Make GCOV depend on !KCOV 2020-04-07 12:42:32 +02:00
unicore32
x86 x86/crash: Add a forward declaration of struct kimage 2020-04-07 13:21:37 +02:00
xtensa xtensa: fix TLB sanity checker 2020-04-07 13:12:45 +02:00
Kconfig