Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp2469123pxb; Mon, 19 Apr 2021 06:31:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyCocaHR6kljT857SCob6Vp6dxO3TUJGBiJJEdtgFKPJZpNG5xvMtU3Zqd6QeIOthTDqT5Z X-Received: by 2002:a17:906:6b91:: with SMTP id l17mr22126491ejr.196.1618839084635; Mon, 19 Apr 2021 06:31:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618839084; cv=none; d=google.com; s=arc-20160816; b=JhorJCLu7zZVS715GNSFmm4MSm/pyZOjIVwE8gt8fAaPiIvmVfclL8hRtC55OWZYQN ZXN/dd216t47Cs51x+L7dvSao65k30pkvpaZStt84AFI/bnEOJwZyMEjE7w+fkr0tPbO IzstQnnMstpz4hlgtCkwhykcxF5Yj9a9Dc1ALDJFKz1UsZdT6YmZ+vy1JI74KIhNKn4W j/Qj55mNgt44jN4PPpRjXtJ9LQ/UWzyUhnDspp7hy7cQsziiINfhzl8RUOdquihTGJru ceAJhxdY1drbUnvnXBe1Zf/xFiDwnuqpb0UtBmY19JCyvMAzywMprB0hgsuvF41KLkdT cf8Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=/xYzHMYYMKZe6NVtcISjbujt/bAzgXbtXsOneD7qI/w=; b=sx5nucD8/MPOGeIu6zpPun6QvkNB74KDTvefiWYsbjWQk2m+lhhjGaOjVpKwmkNxRi AQDtLmUY/BgfhVQC5jzdl+xj/eOcOEuHyyzSieI4rCrIEiUC2NSOfwiCUWyTHZ8oiccS fmySFbUyWpGPwynlCCE+3u849pFyNMSC6e5PaQo9lIZ/QMsAeDM6ygVSUAoYNPHfKL/X WW2p2KsMp8+c9te5oOriUf4yOeaa7Em85dd/WupoxIz0UQZVUBJfC2iq1IHHqIY5xaH/ 1QaoiFyYj74NECPzv6/1tQU/mUGrgg+6g6XpUijoqTOHNI0ZG6APf2v0HFK+nzh8N/d1 kBzA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=qSXixIYS; 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=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d9si11834282edv.176.2021.04.19.06.30.55; Mon, 19 Apr 2021 06:31:24 -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=@linuxfoundation.org header.s=korg header.b=qSXixIYS; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242536AbhDSN3V (ORCPT + 99 others); Mon, 19 Apr 2021 09:29:21 -0400 Received: from mail.kernel.org ([198.145.29.99]:56216 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241519AbhDSNUu (ORCPT ); Mon, 19 Apr 2021 09:20:50 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 33F8C613F3; Mon, 19 Apr 2021 13:17:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1618838226; bh=frpy9pFFENVuKCQSjd1F9mWUJ897Srefs5XZCwo3ZBk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=qSXixIYSugh0RiG1F+SplLNFcytMdg1pGC81He/59yzw64+GzhhAcae/BsZHx5Pvw AurPOyuLiXpD4YS0FDQNTFKocs/urLUYFWTPiySitNrWb4NUdmFoIsBxTJjTarKiHN zXhn4kHro/rhkUtKcBaEUmUFKOXhcpSsso+xdDLQ= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, kernel test robot , Tony Lindgren , Sasha Levin Subject: [PATCH 5.10 089/103] ARM: OMAP2+: Fix uninitialized sr_inst Date: Mon, 19 Apr 2021 15:06:40 +0200 Message-Id: <20210419130530.853841636@linuxfoundation.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210419130527.791982064@linuxfoundation.org> References: <20210419130527.791982064@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Tony Lindgren [ Upstream commit fc85dc42a38405099f97aa2af709fe9504a82508 ] Fix uninitialized sr_inst. Fixes: fbfa463be8dc ("ARM: OMAP2+: Fix smartreflex init regression after dropping legacy data") Reported-by: kernel test robot Signed-off-by: Tony Lindgren Signed-off-by: Sasha Levin --- arch/arm/mach-omap2/sr_device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-omap2/sr_device.c b/arch/arm/mach-omap2/sr_device.c index 17b66f0d0dee..605925684b0a 100644 --- a/arch/arm/mach-omap2/sr_device.c +++ b/arch/arm/mach-omap2/sr_device.c @@ -188,7 +188,7 @@ static const char * const dra7_sr_instances[] = { int __init omap_devinit_smartreflex(void) { - const char * const *sr_inst; + const char * const *sr_inst = NULL; int i, nr_sr = 0; if (soc_is_omap44xx()) { -- 2.30.2