diff options
author | Frediano Ziglio <fziglio@redhat.com> | 2015-06-03 14:09:16 +0300 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2015-06-05 04:00:51 +0300 |
commit | 72ec5650a85e8337d6364d16c65dd85a208b7986 (patch) | |
tree | 1157e90d829573ec61577e3cb71f00bb55af9ddb /drivers/gpu/drm/qxl/qxl_cmd.c | |
parent | de0b523a5a4c99859513238559d62e0dd4a9a67e (diff) | |
download | linux-72ec5650a85e8337d6364d16c65dd85a208b7986.tar.xz |
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 3d270a4f4fd7..fdc1833b1af8 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; } |