提交 6a5278ee 编写于 作者: T Thomas Hellstrom

drm/vmwgfx: Fix an uninitialized value

Reported by Intel's kbuild robot.
Signed-off-by: NThomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: NSinclair Yeh <syeh@vmware.com>
Reviewed-by: NBrian Paul <brianp@vmware.com>
上级 2e3cc8cf
......@@ -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) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册