]> asedeno.scripts.mit.edu Git - linux.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)
committerSinclair Yeh <syeh@vmware.com>
Tue, 18 Jul 2017 06:41:21 +0000 (23:41 -0700)
commitfcfffdd8f98ac305285dca568b5065ef86be6458
tree3e82fda6fae0d0ebb1ab4b8c2337f4bf27e7713d
parent14979adb0294f04cf6fbbb81555acff9ec1e7c9c
drm/vmwgfx: Fix gcc-7.1.1 warning

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.

Cc: <stable@vger.kernel.org>
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>
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c