Re: [PATCH] arch/h8300: fix kernel/dma.c build warning

2018-07-23 Thread Richard Kuo
On Sun, Jul 22, 2018 at 10:24:58AM -0700, Randy Dunlap wrote: > On 07/22/2018 02:25 AM, Geert Uytterhoeven wrote: > > CC hexagon > > > > hexagon != H8/300 != SuperH > > argh. Thanks. > > > On Sat, Jul 21, 2018 at 5:17 AM Randy Dunlap wrote: > >> > >> From: Randy Dunlap > >> > >> Fix build war

Re: [PATCH] arch/h8300: fix kernel/dma.c build warning

2018-07-22 Thread Randy Dunlap
On 07/22/2018 02:25 AM, Geert Uytterhoeven wrote: > CC hexagon > > hexagon != H8/300 != SuperH argh. Thanks. > On Sat, Jul 21, 2018 at 5:17 AM Randy Dunlap wrote: >> >> From: Randy Dunlap >> >> Fix build warning in arch/hexagon/kernel/dma.c by casting a void * >> to unsigned long to match the

Re: [PATCH] arch/h8300: fix kernel/dma.c build warning

2018-07-22 Thread Geert Uytterhoeven
CC hexagon hexagon != H8/300 != SuperH On Sat, Jul 21, 2018 at 5:17 AM Randy Dunlap wrote: > > From: Randy Dunlap > > 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_d

[PATCH] arch/h8300: fix kernel/dma.c build warning

2018-07-20 Thread Randy Dunlap
From: Randy Dunlap 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