summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2015-05-29 09:19:59 +1000
committerDave Airlie <airlied@redhat.com>2015-05-29 09:19:59 +1000
commit95872b49ce14169a1ce0dfaac62e284cbdc6eea8 (patch)
treec861522089c8b6584d75dbbe36018f8d6c05a8bf
parent2f15791c28af9b2114cf3422c48aba6701d91df3 (diff)
parent5296b7f9d0e1ac31a9bc3044f04af18a521b9459 (diff)
downloadop-kernel-dev-95872b49ce14169a1ce0dfaac62e284cbdc6eea8.zip
op-kernel-dev-95872b49ce14169a1ce0dfaac62e284cbdc6eea8.tar.gz
Merge branch 'drm-tda998x-devel' of git://ftp.arm.linux.org.uk/~rmk/linux-arm into drm-next
warning fix for tda998x * 'drm-tda998x-devel' of git://ftp.arm.linux.org.uk/~rmk/linux-arm: drm/i2c: tda998x: fix compiler warning for ssize_t
-rw-r--r--drivers/gpu/drm/i2c/tda998x_drv.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i2c/tda998x_drv.c b/drivers/gpu/drm/i2c/tda998x_drv.c
index 011e1ca..fe1599d 100644
--- a/drivers/gpu/drm/i2c/tda998x_drv.c
+++ b/drivers/gpu/drm/i2c/tda998x_drv.c
@@ -644,7 +644,8 @@ tda998x_write_avi(struct tda998x_priv *priv, struct drm_display_mode *mode)
len = hdmi_avi_infoframe_pack(&frame, buf, sizeof(buf));
if (len < 0) {
- dev_err(&priv->hdmi->dev, "hdmi_avi_infoframe_pack() failed: %d\n", len);
+ dev_err(&priv->hdmi->dev,
+ "hdmi_avi_infoframe_pack() failed: %zd\n", len);
return;
}
OpenPOWER on IntegriCloud