lkml.org 
[lkml]   [2022]   [Aug]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] HSI: cmt_speech: Pass a pointer to virt_to_page()
Hi,

On Mon, Aug 29, 2022 at 03:16:03PM +0200, Linus Walleij wrote:
> On Thu, May 19, 2022 at 11:31 PM Linus Walleij <linus.walleij@linaro.org> wrote:
>
> > A pointer into virtual memory is represented by a (void *)
> > not an u32, so the compiler warns:
> >
> > drivers/hsi/clients/cmt_speech.c:1092:35: warning: passing argument
> > 1 of 'virt_to_pfn' makes pointer from integer without a cast
> > [-Wint-conversion]
> >
> > Fix this with an explicit cast.
> >
> > Cc: Kai Vehmanen <kai.vehmanen@linux.intel.com>
> > Cc: Aaro Koskinen <aaro.koskinen@iki.fi>
> > Cc: Pavel Machek <pavel@ucw.cz>
> > Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
>
> Sebastian can you apply this patch to the HSI tree please?

Thanks for the reminder. It's queued now and already in linux-next.

-- Sebastian
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2022-08-31 15:39    [W:0.056 / U:0.068 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site