[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAMavQKJcRRc=K3m14A5NsFMKC-E84FL3-r7MKcpoPQ_rq7d6gw@mail.gmail.com>
Date: Tue, 11 Aug 2020 17:18:08 -0400
From: Sean Paul <sean@...rly.run>
To: Rob Clark <robdclark@...il.com>
Cc: dri-devel <dri-devel@...ts.freedesktop.org>,
Rob Clark <robdclark@...omium.org>,
kernel test robot <lkp@...el.com>,
David Airlie <airlied@...ux.ie>,
Daniel Vetter <daniel@...ll.ch>,
Drew Davenport <ddavenport@...omium.org>,
Bernard <bernard@...o.com>,
Kalyan Thota <kalyan_t@...eaurora.org>,
Sam Ravnborg <sam@...nborg.org>,
Thomas Zimmermann <tzimmermann@...e.de>,
Hongbo Yao <yaohongbo@...wei.com>,
"open list:DRM DRIVER FOR MSM ADRENO GPU"
<linux-arm-msm@...r.kernel.org>,
"open list:DRM DRIVER FOR MSM ADRENO GPU"
<freedreno@...ts.freedesktop.org>,
open list <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] drm/msm/dpu: fix unitialized variable error
On Tue, Aug 11, 2020 at 5:08 PM Rob Clark <robdclark@...il.com> wrote:
>
> From: Rob Clark <robdclark@...omium.org>
>
> drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c:817 dpu_crtc_enable() error: uninitialized symbol 'request_bandwidth'.
>
> Reported-by: kernel test robot <lkp@...el.com>
Reviewed-by: Sean Paul <seanpaul@...omium.org>
> Signed-off-by: Rob Clark <robdclark@...omium.org>
> ---
> drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> 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");
> --
> 2.26.2
>
Powered by blists - more mailing lists