summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Hellstrom <thellstrom@vmware.com>2015-08-06 12:02:15 +0200
committerThomas Hellstrom <thellstrom@vmware.com>2015-08-06 12:02:15 +0200
commit20808836b6fd6b606755e2c75efde910ba162d0a (patch)
tree0e66b97c3f5dfab2a32153092d079ac8f3acbe82
parentf2be6edf46aff06361b31377b4bb97d1d1de0463 (diff)
vmwgfx: Fix an uninitialized value
Reported by Intel's kbuild robot. Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> Reviewed-by: Sinclair Yeh <syeh@vmware.com> Reviewed-by: Brian Paul <brianp@vmware.com>
-rw-r--r--vmwgfx_cmdbuf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vmwgfx_cmdbuf.c b/vmwgfx_cmdbuf.c
index 473804d..9be2fe7 100644
--- a/vmwgfx_cmdbuf.c
+++ b/vmwgfx_cmdbuf.c
@@ -506,7 +506,7 @@ static void vmw_cmdbuf_work_func(struct work_struct *work)
struct vmw_cmdbuf_man *man =
container_of(work, struct vmw_cmdbuf_man, work);
struct vmw_cmdbuf_header *entry, *next;
- bool restart;
+ bool restart = false;
spin_lock_bh(&man->lock);
list_for_each_entry_safe(entry, next, &man->error, list) {