Re: [PATCH 1/7] drm/omap: Cast pointer to integer safely

2021-07-30 Thread Laurent Pinchart
Hi Tomi, On Thu, Jul 29, 2021 at 09:13:17AM +0300, Tomi Valkeinen wrote: > On 28/07/2021 18:37, Laurent Pinchart wrote: > > On 64-bit platforms, the compiler complains that casting a void pointer > > to an unsigned int loses data. Cast the pointer to a uintptr_t unsigned > > to fix this. > > > >

Re: [PATCH 1/7] drm/omap: Cast pointer to integer safely

2021-07-28 Thread Tomi Valkeinen
On 28/07/2021 18:37, Laurent Pinchart wrote: On 64-bit platforms, the compiler complains that casting a void pointer to an unsigned int loses data. Cast the pointer to a uintptr_t unsigned to fix this. Signed-off-by: Laurent Pinchart --- drivers/gpu/drm/omapdrm/omap_drv.c | 2 +- 1 file chan

[PATCH 1/7] drm/omap: Cast pointer to integer safely

2021-07-28 Thread Laurent Pinchart
On 64-bit platforms, the compiler complains that casting a void pointer to an unsigned int loses data. Cast the pointer to a uintptr_t unsigned to fix this. Signed-off-by: Laurent Pinchart --- drivers/gpu/drm/omapdrm/omap_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/