android_kernel_samsung_a7y1.../arch
Vineet Gupta d709352f20 ARC: fix build warning in elf.h
[ Upstream commit 1dec78585328db00e33fb18dc1a6deed0e2095a5 ]

The cast valid since TASK_SIZE * 2 will never actually cause overflow.

|   CC      fs/binfmt_elf.o
| In file included from ../include/linux/elf.h:4:0,
|                  from ../include/linux/module.h:15,
|                  from ../fs/binfmt_elf.c:12:
| ../fs/binfmt_elf.c: In function load_elf_binar:
| ../arch/arc/include/asm/elf.h:57:29: warning: integer overflow in expression [-Woverflow]
|  #define ELF_ET_DYN_BASE  (2 * TASK_SIZE / 3)
|                              ^
| ../fs/binfmt_elf.c:921:16: note: in expansion of macro ELF_ET_DYN_BASE
|     load_bias = ELF_ET_DYN_BASE - vaddr;

Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-04-06 19:17:55 +02:00
..
alpha
arc ARC: fix build warning in elf.h 2020-04-06 19:17:55 +02:00
arm ARM: imx: cpuidle-imx6sx: Restrict the SW2ISO increase to i.MX6SX 2020-04-06 19:16:50 +02:00
arm64 arm64: cpu_ops: fix a leaked reference by adding missing of_node_put 2020-04-06 18:19:54 +02:00
avr32
blackfin
c6x
cris
frv
h8300
hexagon
ia64 ia64: fix build errors by exporting paddr_to_nid() 2020-04-06 19:04:33 +02:00
m32r
m68k
metag
microblaze
mips MIPS: uprobes: remove set but not used variable 'epc' 2020-04-06 19:16:28 +02:00
mn10300
nios2
openrisc
parisc parisc: Fix compiler warnings in float emulation code 2020-04-06 19:16:24 +02:00
powerpc KVM: PPC: Book3S: Use new mutex to synchronize access to rtas token list 2020-04-06 19:04:35 +02:00
s390 KVM: s390: fix memory slot handling for KVM_SET_USER_MEMORY_REGION 2020-04-06 19:03:20 +02:00
score
sh
sparc sparc: perf: fix updated event period in response to PERF_EVENT_IOC_PERIOD 2020-04-06 19:16:32 +02:00
tile
um um: Compile with modern headers 2020-04-06 19:17:39 +02:00
unicore32
x86 um: Compile with modern headers 2020-04-06 19:17:39 +02:00
xtensa
Kconfig