diff options
author | Rob Clark <robdclark@chromium.org> | 2020-08-11 14:09:35 -0700 |
---|---|---|
committer | Rob Clark <robdclark@chromium.org> | 2020-08-17 12:24:07 -0700 |
commit | 35c719da95c0d28560bff7bafeaf07ebb212665e (patch) | |
tree | 3a220cd557b356e9bb120ff7ae599e3f481b450e /drivers/gpu | |
parent | 4c978caf08aa155bdeadd9e2d4b026d4ce97ebd0 (diff) | |
download | linux-stable-35c719da95c0d28560bff7bafeaf07ebb212665e.tar.gz linux-stable-35c719da95c0d28560bff7bafeaf07ebb212665e.tar.bz2 linux-stable-35c719da95c0d28560bff7bafeaf07ebb212665e.zip |
drm/msm/dpu: fix unitialized variable error
drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c:817 dpu_crtc_enable() error: uninitialized symbol 'request_bandwidth'.
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Rob Clark <robdclark@chromium.org>
Reviewed-by: Sean Paul <seanpaul@chromium.org>
Signed-off-by: Rob Clark <robdclark@chromium.org>
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c b/drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c index f272a8d0f95b..c2729f71e2fa 100644 --- a/drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c +++ b/drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c @@ -827,7 +827,7 @@ static void dpu_crtc_enable(struct drm_crtc *crtc, { struct dpu_crtc *dpu_crtc; struct drm_encoder *encoder; - bool request_bandwidth; + bool request_bandwidth = false; if (!crtc) { DPU_ERROR("invalid crtc\n"); |