]> git.hungrycats.org Git - linux/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>
Mon, 7 Aug 2017 02:19:39 +0000 (19:19 -0700)
commitfde885f19986a53c2e14147cf111907ca34e74d5
tree880c0e3eabdee8d869434883457dd8400ed8626f
parent376830c340eca3f6c2f872a50b90afc0ebf88c72
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