Re: linux-next: build warning after merge of the drm tree

From: Russell King - ARM Linux
Date: Wed May 20 2015 - 15:51:44 EST


On Wed, May 20, 2015 at 04:31:56PM +1000, Stephen Rothwell wrote:
> Hi Dave,
>
> After merging the drm tree, today's linux-next build (x86_64 allmodconfig)
> produced this warning:
>
> 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=]
> dev_err(&priv->hdmi->dev, "hdmi_avi_infoframe_pack() failed: %d\n", len);
> ^
>
> Introduced by commit 8c7a075da9f7 ("drm/i2c: tda998x: use drm_hdmi_avi_infoframe_from_display_mode()").

Thanks, I'll test a fix tonight and send it along in the next few days.

--
FTTC broadband for 0.8mile line: currently at 10.5Mbps down 400kbps up
according to speedtest.net.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/