Skip to content

Commit

Permalink
drm/vmwgfx: Fix an uninitialized value
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Thomas Hellstrom committed Aug 5, 2015
1 parent 2e3cc8c commit 6a5278e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 6a5278e

Please sign in to comment.