projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8451cc9
)
drm/qxl: Fix print statement not using uninitialized variable
author
Frediano Ziglio
<
[email protected]
>
Wed, 3 Jun 2015 11:09:11 +0000
(12:09 +0100)
committer
Dave Airlie
<
[email protected]
>
Fri, 5 Jun 2015 01:00:47 +0000
(11:00 +1000)
reloc_info[i] is not still initialized in the print statement.
Signed-off-by: Frediano Ziglio <
[email protected]
>
Reviewed-by: Dave Airlie <
[email protected]
>
Signed-off-by: Dave Airlie <
[email protected]
>
drivers/gpu/drm/qxl/qxl_ioctl.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/qxl/qxl_ioctl.c
b/drivers/gpu/drm/qxl/qxl_ioctl.c
index 7354a4cda59d95aa17e6704602ca2aaa49c0e36d..9bf1368bc92c94bf7d68b3ddeccfa0e397247d23 100644
(file)
--- a/
drivers/gpu/drm/qxl/qxl_ioctl.c
+++ b/
drivers/gpu/drm/qxl/qxl_ioctl.c
@@
-212,7
+212,7
@@
static int qxl_process_single_command(struct qxl_device *qdev,
/* add the bos to the list of bos to validate -
need to validate first then process relocs? */
if (reloc.reloc_type != QXL_RELOC_TYPE_BO && reloc.reloc_type != QXL_RELOC_TYPE_SURF) {
- DRM_DEBUG("unknown reloc type %d\n", reloc
_info[i].
type);
+ DRM_DEBUG("unknown reloc type %d\n", reloc
.reloc_
type);
ret = -EINVAL;
goto out_free_bos;