android_kernel_oneplus_msm8998/arch/hexagon/kernel
Randy Dunlap 80908be20f arch/hexagon: fix kernel/dma.c build warning
[ Upstream commit 200f351e27f014fcbf69b544b0b4b72aeaf45fd3 ]

Fix build warning in arch/hexagon/kernel/dma.c by casting a void *
to unsigned long to match the function parameter type.

../arch/hexagon/kernel/dma.c: In function 'arch_dma_alloc':
../arch/hexagon/kernel/dma.c:51:5: warning: passing argument 2 of 'gen_pool_add' makes integer from pointer without a cast [enabled by default]
../include/linux/genalloc.h:112:19: note: expected 'long unsigned int' but argument is of type 'void *'

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Yoshinori Sato <ysato@users.sourceforge.jp>
Cc: Rich Felker <dalias@libc.org>
Cc: linux-sh@vger.kernel.org
Patch-mainline: linux-kernel @ 07/20/2018, 20:17
[rkuo@codeaurora.org: fixed architecture name]
Signed-off-by: Richard Kuo <rkuo@codeaurora.org>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-10-10 08:52:12 +02:00
..
asm-offsets.c
dma.c arch/hexagon: fix kernel/dma.c build warning 2018-10-10 08:52:12 +02:00
head.S
hexagon_ksyms.c
irq_cpu.c
kgdb.c
Makefile
module.c
process.c whack-a-mole: no need to set_fs(USER_DS) in {start,flush}_thread() 2015-04-11 22:24:31 -04:00
ptrace.c
reset.c
screen_info.c
setup.c hexagon: Fix build failures in linux-next 2014-12-16 13:27:12 -06:00
signal.c all arches, signal: move restart_block to struct task_struct 2015-02-12 18:54:12 -08:00
smp.c
stacktrace.c
syscalltab.c
time.c hexagon/time: Migrate to new 'set-state' interface 2015-09-08 18:43:17 -05:00
trampoline.S
traps.c Hexagon: fix signal delivery for debug traps 2014-12-16 13:27:39 -06:00
vdso.c
vm_entry.S
vm_events.c
vm_init_segtable.S
vm_ops.S
vm_switch.S
vm_vectors.S
vmlinux.lds.S Hexagon: fix alignment of init_task in RW_DATA_SECTION 2014-12-16 13:27:22 -06:00