drm/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>
This commit is contained in:
parent
2e3cc8cff6
commit
6a5278ee34
|
@ -507,7 +507,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) {
|
||||
|
|
Loading…
Reference in New Issue