From: "Michel Dänzer" <michel@daenzer.net>
To: Dave Airlie <airlied@gmail.com>, Monk Liu <monk.liu@amd.com>
Cc: dri-devel <dri-devel@lists.freedesktop.org>
Subject: Re: amdgpu 32-bit arm warnings
Date: Thu, 20 Aug 2015 12:38:59 +0900 [thread overview]
Message-ID: <55D54BD3.50208@daenzer.net> (raw)
In-Reply-To: <CAPM=9twzbrP_hCjkZaZLQFbAOvUoXecK-AM-_6bHCKHMKa=pLQ@mail.gmail.com>
On 20.08.2015 08:50, Dave Airlie wrote:
> CC [M] drivers/gpu/drm/amd/amdgpu/amdgpu_cs.o
> /home/airlied/devel/kernel/drm-next/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c:
> In function ‘amdgpu_cs_parser_init’:
> /home/airlied/devel/kernel/drm-next/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c:211:21:
> warning: cast to pointer from integer of different size
> [-Wint-to-pointer-cast]
> chunk_array_user = (uint64_t __user *)(cs->in.chunks);
> ^
> /home/airlied/devel/kernel/drm-next/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c:231:15:
> warning: cast to pointer from integer of different size
> [-Wint-to-pointer-cast]
> chunk_ptr = (void __user *)chunk_array[i];
> ^
> /home/airlied/devel/kernel/drm-next/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c:241:11:
> warning: cast to pointer from integer of different size
> [-Wint-to-pointer-cast]
> cdata = (void __user *)user_chunk.chunk_data;
> ^
Looks like the (unsigned long) casts removed by commit e60b344f
("drm/amdgpu: optimize amdgpu_parser_init") need to stay.
--
Earthling Michel Dänzer | http://www.amd.com
Libre software enthusiast | Mesa and X developer
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
next prev parent reply other threads:[~2015-08-20 3:39 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-19 23:50 amdgpu 32-bit arm warnings Dave Airlie
2015-08-20 3:38 ` Michel Dänzer [this message]
2015-08-20 20:49 ` Alex Deucher
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=55D54BD3.50208@daenzer.net \
--to=michel@daenzer.net \
--cc=airlied@gmail.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=monk.liu@amd.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.