[PATCH] drm/i2c: tda998x: Use '%zd' for printing 'ssize_t' format

Russell King - ARM Linux linux at arm.linux.org.uk
Mon May 25 06:37:57 PDT 2015


On Mon, May 25, 2015 at 10:17:25AM -0300, Fabio Estevam wrote:
> Use '%zd' for printing 'ssize_t' format in order to fix the following
> build warning on ARM64:
> 
> drivers/gpu/drm/i2c/tda998x_drv.c: In function 'tda998x_write_avi':
> drivers/gpu/drm/i2c/tda998x_drv.c:647:3: warning: format '%d' expects
> argument of type 'int', but argument 3 has type 'ssize_t' [-Wformat=]
> 
> Reported-by: Olof's autobuilder <build at lixom.net>
> Signed-off-by: Fabio Estevam <fabio.estevam at freescale.com>

I have a patch already queued for this.  I just need to assemble a few
other patches for David and decide how to get them to him

-- 
FTTC broadband for 0.8mile line: currently at 10.5Mbps down 400kbps up
according to speedtest.net.


More information about the dri-devel mailing list