Re: [PATCH] drm: sun4i: print DMA address correctly

2016-05-04 Thread Maxime Ripard
On Tue, May 03, 2016 at 05:23:28PM +0200, Arnd Bergmann wrote: > The newly added sun4i drm driver prints a dma address using the %x > format string, which cannot work when dma_addr_t is 64 bit, > and gcc warns about this configuration: > > drm/sun4i/sun4i_backend.c: In function 'sun4i_backend_upda

[PATCH] drm: sun4i: print DMA address correctly

2016-05-03 Thread Arnd Bergmann
The newly added sun4i drm driver prints a dma address using the %x format string, which cannot work when dma_addr_t is 64 bit, and gcc warns about this configuration: drm/sun4i/sun4i_backend.c: In function 'sun4i_backend_update_layer_buffer': drm/sun4i/sun4i_backend.c:193:84: error: format '%x' ex