]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/vmwgfx: Fix gcc-7.1.1 warning
authorSinclair Yeh <syeh@vmware.com>
Tue, 18 Jul 2017 06:28:36 +0000 (23:28 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 6 Aug 2017 16:21:09 +0000 (09:21 -0700)
commit555ac1e5516124dc4c180f059054998a8c9469ff
treefd467252ededa385413b17d93cc39f872ee203c6
parent9425c1fdc48d3a05ea332b19454cc690faec3ee8
drm/vmwgfx: Fix gcc-7.1.1 warning

commit fcfffdd8f98ac305285dca568b5065ef86be6458 upstream.

The current code does not look correct, and the reason for it is
probably lost.  Since this now generates a compiler warning,
fix it to what makes sense.

Reported-by: Arnd Bergmann <arnd@arndb.de>
Reported-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Sinclair Yeh <syeh@vmware.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c