aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/console/vgacon.c
diff options
context:
space:
mode:
authorRob Clark <robdclark@gmail.com>2014-06-07 10:55:39 -0400
committerDave Airlie <airlied@redhat.com>2014-06-19 10:30:36 +1000
commitfb54918af7e7a607af8b70ba052a35ff8acb8620 (patch)
treebb51589db1d6f29400242e08145c10f934036670 /drivers/video/console/vgacon.c
parentMerge branch 'drm-fixes-3.16' of git://people.freedesktop.org/~agd5f/linux into drm-next (diff)
downloadlinux-dev-fb54918af7e7a607af8b70ba052a35ff8acb8620.tar.xz
linux-dev-fb54918af7e7a607af8b70ba052a35ff8acb8620.zip
drm: fix uninitialized acquire_ctx fields (v2)
The acquire ctx will typically be declared on the stack, which means we could have garbage values for any uninitialized field. In this case, it was triggering WARN_ON()s because 'contended' had garbage value. Go ahead and use memset() to be more future-proof. v2: now with extra brown paper bag Reported-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Signed-off-by: Rob Clark <robdclark@gmail.com> Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Tested-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/video/console/vgacon.c')
0 files changed, 0 insertions, 0 deletions