Re: [PATCH] HSI: cmt_speech: Pass a pointer to virt_to_page()

From: Sebastian Reichel
Date: Wed Aug 31 2022 - 09:39:08 EST


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@xxxxxxxxxx> 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@xxxxxxxxxxxxxxx>
> > Cc: Aaro Koskinen <aaro.koskinen@xxxxxx>
> > Cc: Pavel Machek <pavel@xxxxxx>
> > Signed-off-by: Linus Walleij <linus.walleij@xxxxxxxxxx>
>
> 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

Attachment: signature.asc
Description: PGP signature