summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/qxl/qxl_release.c
diff options
context:
space:
mode:
authorFrediano Ziglio <fziglio@redhat.com>2015-06-03 12:09:16 +0100
committerDave Airlie <airlied@redhat.com>2015-06-05 11:00:51 +1000
commit72ec5650a85e8337d6364d16c65dd85a208b7986 (patch)
tree1157e90d829573ec61577e3cb71f00bb55af9ddb /drivers/gpu/drm/qxl/qxl_release.c
parentde0b523a5a4c99859513238559d62e0dd4a9a67e (diff)
downloadop-kernel-dev-72ec5650a85e8337d6364d16c65dd85a208b7986.zip
op-kernel-dev-72ec5650a85e8337d6364d16c65dd85a208b7986.tar.gz
drm/qxl: Remove format string errors
Enable format string checks for qxl_io_log and remove resulting warnings which could lead to memory errors on different platform or just printing wrong information. Signed-off-by: Frediano Ziglio <fziglio@redhat.com> Reviewed-by: Dave Airlie <airlied@redhat.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/qxl/qxl_release.c')
-rw-r--r--drivers/gpu/drm/qxl/qxl_release.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/qxl/qxl_release.c b/drivers/gpu/drm/qxl/qxl_release.c
index 00604ed..b66ec33 100644
--- a/drivers/gpu/drm/qxl/qxl_release.c
+++ b/drivers/gpu/drm/qxl/qxl_release.c
@@ -153,7 +153,7 @@ qxl_release_alloc(struct qxl_device *qdev, int type,
return handle;
}
*ret = release;
- QXL_INFO(qdev, "allocated release %lld\n", handle);
+ QXL_INFO(qdev, "allocated release %d\n", handle);
release->id = handle;
return handle;
}
OpenPOWER on IntegriCloud