[PATCH v1] PCI: brcmstb: variable is missing proper initialization
Nicolas Saenz Julienne
nsaenzjulienne at suse.de
Tue Nov 3 12:32:54 EST 2020
On Mon, 2020-11-02 at 13:07 -0800, Florian Fainelli wrote:
>
> 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.
> >
> > Fixes: c0452137034b ("PCI: brcmstb: Add Broadcom STB PCIe host controller driver")
> > Suggested-by: Rafał Miłecki <zajec5 at gmail.com>
> > Signed-off-by: Jim Quinlan <james.quinlan at broadcom.com>
Acked-by: Nicolas Saenz Julienne <nsaenzjulienne at suse.de>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: This is a digitally signed message part
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20201103/d7ca4320/attachment.sig>
More information about the linux-arm-kernel
mailing list