Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1059618pxk; Mon, 31 Aug 2020 08:43:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzPbke3VtXwvYgTtypGc8EXPja/pxB9y4GxknU7ZisDCh94D4iKS23ZIivXSHOEjlslj8vj X-Received: by 2002:a17:906:480a:: with SMTP id w10mr54110ejq.372.1598888632880; Mon, 31 Aug 2020 08:43:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598888632; cv=none; d=google.com; s=arc-20160816; b=ELrg3/g4XQ9vb+hv4co8PEwN23+CISg5+lt1dMQyRe21TeiV+tkbA6kYUZL0Lo4M67 pOpoJDpIa3dyL89SbrYIWJRLZpOeFWwCt5sAx0QGdKBtf79djmVSPP3TVSOXisZ9PxR+ mtYo8ia3JG4iNgiBUtUD+WNRJF9eES2REmY9v5bvztSiU4WgWc16GHQbMlWHrucZLhJ0 1ysJcX1gYhEKFmSp6KQG/cd/1ttiwNgSU/yO3GfYI76qreHa8fmqvNrbZMNKjvlZiMaq swq8qNPmk4gCsuSJcn8DQD73YrmKHzGPrKR7D1uEAGRR3XVFd4tauyym4zcge0GSgVs+ 0p4g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=LfdsbZNpe+VVK5KrZLfvL4cvL6upxpjdbyjLQpnlWNk=; b=frf9a7LKv2Xnw8RLfh5uQ+AyuZChYYEtFom+xG4v0t2A5swwvpy3TsdRWTyGtEOAi3 ILUcFQ4AbL4k67A9q0p78cBmuzbi9ZG44ADK4bbtCB6B006RH20oYGINAKMiX+XD9a1c ol5Q8fY+kN4qr8daSfdoBxdvG1kr3BqoClGSJe4xDn4nNx6169LZeMGNSP1q2dGwmEed +fkMM3wo70/qFkQyobz47M0619YmwkITTzQrY5dnJDEyNpkWiy+lGmIatNGlorLTaFBl QP+4qGDiwC5e6dU5D420WEhRDWyRtfR/vUhKBlq9jb5UM4K0tiFzWIopbVdIMnj9m3ZY tcNA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=drGTpZTR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id lx3si3527575ejb.306.2020.08.31.08.43.30; Mon, 31 Aug 2020 08:43:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=drGTpZTR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729437AbgHaPlL (ORCPT + 99 others); Mon, 31 Aug 2020 11:41:11 -0400 Received: from mail.kernel.org ([198.145.29.99]:38414 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728397AbgHaP3p (ORCPT ); Mon, 31 Aug 2020 11:29:45 -0400 Received: from sasha-vm.mshome.net (c-73-47-72-35.hsd1.nh.comcast.net [73.47.72.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id C99142083E; Mon, 31 Aug 2020 15:29:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1598887785; bh=SRqgg3klPwBNdAHE2XPrbrhQ1Oghy5wWaGBIxVOjjxo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=drGTpZTRufPB+NpGfm7UhzPU46xIvgAJ1cEaI0VymGd2DPKl6qfU2GkeUhbEWnLD7 es7/9mQkxBaxv/Cf1paO4jABabYwzVc/gfTr9BrtjjGH2YrR5EvJtuLWh6EFhOi7Z2 l3FktYCJ1SMInPHCmBHeZrDtgECFcOo40EW4fZBU= From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Rob Clark , kernel test robot , Sean Paul , Sasha Levin , linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org Subject: [PATCH AUTOSEL 5.8 06/42] drm/msm/dpu: fix unitialized variable error Date: Mon, 31 Aug 2020 11:28:58 -0400 Message-Id: <20200831152934.1023912-6-sashal@kernel.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200831152934.1023912-1-sashal@kernel.org> References: <20200831152934.1023912-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Rob Clark [ Upstream commit 35c719da95c0d28560bff7bafeaf07ebb212665e ] drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c:817 dpu_crtc_enable() error: uninitialized symbol 'request_bandwidth'. Reported-by: kernel test robot Signed-off-by: Rob Clark Reviewed-by: Sean Paul Signed-off-by: Rob Clark Signed-off-by: Sasha Levin --- 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 969d95aa873c4..1026e1e5bec10 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.25.1