[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CACRpkdamFTCuCTYX-Y_-HHM_WBQgwDbiud1pA_Xn3V2zm2zj_w@mail.gmail.com>
Date: Mon, 29 Aug 2022 15:16:03 +0200
From: Linus Walleij <linus.walleij@...aro.org>
To: Sebastian Reichel <sre@...nel.org>, linux-kernel@...r.kernel.org
Cc: Kai Vehmanen <kai.vehmanen@...ux.intel.com>,
Aaro Koskinen <aaro.koskinen@....fi>,
Pavel Machek <pavel@....cz>
Subject: Re: [PATCH] HSI: cmt_speech: Pass a pointer to virt_to_page()
On Thu, May 19, 2022 at 11:31 PM Linus Walleij <linus.walleij@...aro.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@...ux.intel.com>
> Cc: Aaro Koskinen <aaro.koskinen@....fi>
> Cc: Pavel Machek <pavel@....cz>
> Signed-off-by: Linus Walleij <linus.walleij@...aro.org>
Sebastian can you apply this patch to the HSI tree please?
Yours,
Linus Walleij
Powered by blists - more mailing lists