2015-05-20 06:32:12

by Stephen Rothwell

[permalink] [raw]
Subject: linux-next: build warning after merge of the drm tree

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()").
--
Cheers,
Stephen Rothwell [email protected]


Attachments:
(No filename) (819.00 B)
OpenPGP digital signature

2015-05-20 19:51:39

by Russell King - ARM Linux

[permalink] [raw]
Subject: Re: linux-next: build warning after merge of the drm tree

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.