diff options
| author | Thomas Hellstrom <thellstrom@vmware.com> | 2015-08-04 09:37:16 -0400 |
|---|---|---|
| committer | Thomas Hellstrom <thellstrom@vmware.com> | 2015-08-05 08:01:12 -0400 |
| commit | 6a5278ee34e7fd4b051fd107a94a099778458d8c (patch) | |
| tree | ef36fb4e225f3da253bb1901c175d1fdf981f580 /drivers | |
| parent | 2e3cc8cff629c9697ac27c95a89dda7c7785b6b4 (diff) | |
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>
Diffstat (limited to 'drivers')
| -rw-r--r-- | drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf.c b/drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf.c index afc6d1df47d7..5667c134e409 100644 --- a/drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf.c +++ b/drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf.c | |||
| @@ -507,7 +507,7 @@ static void vmw_cmdbuf_work_func(struct work_struct *work) | |||
| 507 | struct vmw_cmdbuf_man *man = | 507 | struct vmw_cmdbuf_man *man = |
| 508 | container_of(work, struct vmw_cmdbuf_man, work); | 508 | container_of(work, struct vmw_cmdbuf_man, work); |
| 509 | struct vmw_cmdbuf_header *entry, *next; | 509 | struct vmw_cmdbuf_header *entry, *next; |
| 510 | bool restart; | 510 | bool restart = false; |
| 511 | 511 | ||
| 512 | spin_lock_bh(&man->lock); | 512 | spin_lock_bh(&man->lock); |
| 513 | list_for_each_entry_safe(entry, next, &man->error, list) { | 513 | list_for_each_entry_safe(entry, next, &man->error, list) { |
