diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2015-05-20 20:51:41 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2015-05-20 21:23:09 +0100 |
commit | 5296b7f9d0e1ac31a9bc3044f04af18a521b9459 (patch) | |
tree | 3f35dd34d82f51abebf78b79d7a70ed5ba0ff0f8 /init/do_mounts.c | |
parent | 8c7a075da9f7980cc95ffcd7e6621d4a87f20f40 (diff) |
drm/i2c: tda998x: fix compiler warning for ssize_t
Stephen Rothwell reports that he sees a compiler warning on x86_64:
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);
^
Fix this by using the appropriate length modifier.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'init/do_mounts.c')
0 files changed, 0 insertions, 0 deletions