From: Helge Deller <deller@gmx.de>
To: xurui <xurui@kylinos.cn>
Cc: linux-fbdev@vger.kernel.org, dri-devel@lists.freedesktop.org,
linux-kernel@vger.kernel.org, trivial@kernel.org
Subject: Re: [PATCH] fbdev/g364fb: Fix a compilation issue
Date: Mon, 9 Jan 2023 09:09:29 +0100 [thread overview]
Message-ID: <7c36c161-ca51-244c-5705-e01337a85e40@gmx.de> (raw)
In-Reply-To: <20230105094039.1474255-1-xurui@kylinos.cn>
On 1/5/23 10:40, xurui wrote:
> drivers/video/fbdev/g364fb.c:202:4: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
>
> Signed-off-by: xurui <xurui@kylinos.cn>
applied.
Thanks!
Helge
> ---
> drivers/video/fbdev/g364fb.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/video/fbdev/g364fb.c b/drivers/video/fbdev/g364fb.c
> index 05837a3b985c..beef4bcec3c5 100644
> --- a/drivers/video/fbdev/g364fb.c
> +++ b/drivers/video/fbdev/g364fb.c
> @@ -175,7 +175,8 @@ int __init g364fb_init(void)
> {
> volatile unsigned int *curs_pal_ptr =
> (volatile unsigned int *) CURS_PAL_REG;
> - int mem, i;
> + int mem;
> + uintptr_t i;
>
> if (fb_get_options("g364fb", NULL))
> return -ENODEV;
next prev parent reply other threads:[~2023-01-09 8:09 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-05 9:40 xurui
2023-01-09 8:09 ` Helge Deller [this message]
2023-01-09 10:01 ` Geert Uytterhoeven
2023-01-09 10:04 ` Geert Uytterhoeven
2023-01-15 20:46 ` Helge Deller
2023-01-05 9:44 xurui
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7c36c161-ca51-244c-5705-e01337a85e40@gmx.de \
--to=deller@gmx.de \
--cc=dri-devel@lists.freedesktop.org \
--cc=linux-fbdev@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=trivial@kernel.org \
--cc=xurui@kylinos.cn \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®