[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20180723213427.GB12771@codeaurora.org>
Date: Mon, 23 Jul 2018 16:34:27 -0500
From: Richard Kuo <rkuo@...eaurora.org>
To: Randy Dunlap <rdunlap@...radead.org>
Cc: Geert Uytterhoeven <geert@...ux-m68k.org>,
"open list:QUALCOMM HEXAGON..." <linux-hexagon@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Yoshinori Sato <ysato@...rs.sourceforge.jp>,
Rich Felker <dalias@...c.org>,
Linux-sh list <linux-sh@...r.kernel.org>
Subject: Re: [PATCH] arch/h8300: fix kernel/dma.c build warning
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 <rdunlap@...radead.org> wrote:
> >>
> >> From: Randy Dunlap <rdunlap@...radead.org>
> >>
> >> 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@...radead.org>
> >> Cc: Yoshinori Sato <ysato@...rs.sourceforge.jp>
> >> Cc: Rich Felker <dalias@...c.org>
> >> Cc: linux-sh@...r.kernel.org
> >> ---
> >> arch/hexagon/kernel/dma.c | 2 +-
> >> 1 file changed, 1 insertion(+), 1 deletion(-)
> >>
Thanks all the same!
For Hexagon:
Acked-by: Richard Kuo <rkuo@...eaurora.org>
--
Employee of Qualcomm Innovation Center, Inc.
Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project
Powered by blists - more mailing lists