diff options
author | Frediano Ziglio <fziglio@redhat.com> | 2015-06-03 12:09:16 +0100 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2015-06-05 11:00:51 +1000 |
commit | 72ec5650a85e8337d6364d16c65dd85a208b7986 (patch) | |
tree | 1157e90d829573ec61577e3cb71f00bb55af9ddb /drivers/gpu/drm/qxl/qxl_cmd.c | |
parent | de0b523a5a4c99859513238559d62e0dd4a9a67e (diff) | |
download | op-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_cmd.c')
-rw-r--r-- | drivers/gpu/drm/qxl/qxl_cmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/qxl/qxl_cmd.c b/drivers/gpu/drm/qxl/qxl_cmd.c index 3d270a4..fdc1833 100644 --- a/drivers/gpu/drm/qxl/qxl_cmd.c +++ b/drivers/gpu/drm/qxl/qxl_cmd.c @@ -248,7 +248,7 @@ int qxl_garbage_collect(struct qxl_device *qdev) } } - QXL_INFO(qdev, "%s: %lld\n", __func__, i); + QXL_INFO(qdev, "%s: %d\n", __func__, i); return i; } |