Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp681465pxb; Tue, 3 Nov 2020 09:36:44 -0800 (PST) X-Google-Smtp-Source: ABdhPJyzaPn7d74/oKW20+M6FLe5zhwf8/nxRKTVa5f6tyuph0jQmIbM5VoevE1n9RPR8OcyKKxc X-Received: by 2002:aa7:c44d:: with SMTP id n13mr7023036edr.138.1604425004152; Tue, 03 Nov 2020 09:36:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604425004; cv=none; d=google.com; s=arc-20160816; b=JEASnwCh4tejmK9Ka9lMlfr2924CLU+W+XSlQCfnhf8eO3aLMzi25KI+e75UUynhgS T1QEdiJ5qNKSalOriT/UMHRS2sqxh2HhNkkdUdtLOY2OI+2IKQpIbSVV1eTbQSFsB/jd aghJ+rLcEddpAeIEkCKEUzQ4mhakbHEOsJATJuRPvWENu2uMWiEUwkawPInLpQPv66Fr C3mpZSNpkdajKmgg2QDiFMtX7gdPjTCZdwGrJ9qNI4d5f6nQwajcuqoiTLt9GcnkdvyA Qrui5xzX56APDaSLqx4sQ2TPqGtPPlFm3BDZQt4G1xWBDK7+7CrxAZRKrqTd3z6/haFa LXPQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:in-reply-to :date:cc:to:from:subject:message-id; bh=O/L5E+4R/3md2GPdn283PrWtNkzScBLSZOc00gLnzck=; b=Ln0jjzKKOuK/l6XSxdiY9deoGMjiHSMOqc83mlvymyTpaKKO5brcxctYP58CQOGYJA HEvJp3OymzEeSUv356dcLxNL3MvhKfaOMldKoHvxbmwxOGiofB/NajfDEFiTGQGpHU1Q uS2dU5no89y0nZ1Y7/4pWDrageUTk33oaMXeg0HHjoS3nUq46LjIFDBYNgrq4N3f++3C 8O//y2IxJrf40VJY1QzVRNEhZvANdcwWl5hkRohddio5Wk35GDXNKhKfUDO7dgxybITM iiS20wSVMV0cgBnquASXLoirFOJ0bli8lSlYbizw1YtDsHwJb0hJrIYwQ8KbPD+KcLGf gHBw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id qt2si13262196ejb.653.2020.11.03.09.36.21; Tue, 03 Nov 2020 09:36:44 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728970AbgKCRc5 (ORCPT + 99 others); Tue, 3 Nov 2020 12:32:57 -0500 Received: from mx2.suse.de ([195.135.220.15]:34838 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727869AbgKCRc5 (ORCPT ); Tue, 3 Nov 2020 12:32:57 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 97210ADE3; Tue, 3 Nov 2020 17:32:55 +0000 (UTC) Message-ID: <3b4b1d0765b39e96e4c4d1fc6f05e1178c486096.camel@suse.de> Subject: Re: [PATCH v1] PCI: brcmstb: variable is missing proper initialization From: Nicolas Saenz Julienne To: Florian Fainelli , Jim Quinlan , linux-pci@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, =?UTF-8?Q?Rafa=C5=82_Mi=C5=82ecki?= Cc: Lorenzo Pieralisi , Rob Herring , Bjorn Helgaas , Andrew Murray , Jeremy Linton , "moderated list:BROADCOM BCM2711/BCM2835 ARM ARCHITECTURE" , "moderated list:BROADCOM BCM2711/BCM2835 ARM ARCHITECTURE" , open list Date: Tue, 03 Nov 2020 18:32:54 +0100 In-Reply-To: References: <20201102205712.23332-1-james.quinlan@broadcom.com> Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="=-Y1BfcH8l7k1gAwSH6jtl" User-Agent: Evolution 3.36.5 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --=-Y1BfcH8l7k1gAwSH6jtl Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, 2020-11-02 at 13:07 -0800, Florian Fainelli wrote: >=20 > On 11/2/2020 12:57 PM, Jim Quinlan wrote: > > The variable 'tmp' is used multiple times in the brcm_pcie_setup() > > function. One such usage did not initialize 'tmp' to the current value= of > > the target register. By luck the mistake does not currently affect > > behavior; regardless 'tmp' is now initialized properly. > >=20 > > Fixes: c0452137034b ("PCI: brcmstb: Add Broadcom STB PCIe host controll= er driver") > > Suggested-by: Rafa=C5=82 Mi=C5=82ecki > > Signed-off-by: Jim Quinlan Acked-by: Nicolas Saenz Julienne --=-Y1BfcH8l7k1gAwSH6jtl Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iQEzBAABCAAdFiEErOkkGDHCg2EbPcGjlfZmHno8x/4FAl+hlEYACgkQlfZmHno8 x/7UmQf/QEPoyFXEKqZEvSUKhQM/wfdxv7GdwSdzHkvNK1H0UhjOvBgJYgEz38So O3gjPjD9dhQjTzIk610uHdqhfX04slpJMKVsOKgyN6DOanBJsWrqBqlMuYVFjmnW 7ucizmbyUAN6/sQEDCARzSFQTY6a6ddZYZyEVGSggZtuTNZhIiez1KmLtV1Kp+Ot yMp6XeMF7l6FHzqLXtmrkwbiBZsMxgDIgCJNFbmXqX7G8p1086bTHmBTq642Pz1B VNVKu1woPrjipQJGoqud4x9CbdFMwVeDgRvnu2nqA+z5GopEPecUGXcNSWs8FFxv CNYhiQXtY9xjyhUmhCEeQkbLLKJEqQ== =Ssc4 -----END PGP SIGNATURE----- --=-Y1BfcH8l7k1gAwSH6jtl--