Commit 83cc6846 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman
Browse files

ANDROID: GKI: fix allmodconfig x86 build for vmwgfx drm driver



In commit 7db6c88b ("drm/vmwgfx: Add seqno waiter for sync_files"),
a variable is defined in the middle of a {} scope, which is fine for
newer kernel versions, but for android13-5.10 we still warn about stuff
like this, which will break the build.  Fix this up by declaring the
variable in the proper place.

Note, this is only needed to fix the x86 allmodconfig build, no real
Android GKI system uses this driver in this branch.

Fixes: 7db6c88b ("drm/vmwgfx: Add seqno waiter for sync_files")
Change-Id: Ie95f8fa4fd6b4ec3bc9ec04866598fd491af7f04
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@google.com>
parent 5012a3d7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment