lkml.org 
[lkml]   [2022]   [Aug]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH] HSI: cmt_speech: Pass a pointer to virt_to_page()
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?

Yours,
Linus Walleij

\
 
 \ /
  Last update: 2022-08-29 15:19    [W:0.036 / U:1.540 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site