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>
This commit is contained in:

committed by
Dave Airlie

parent
de0b523a5a
commit
72ec5650a8
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user