[PATCH v1] PCI: brcmstb: variable is missing proper initialization
Florian Fainelli
f.fainelli at gmail.com
Mon Nov 2 16:07:38 EST 2020
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: Florian Fainelli <f.fainelli at gmail.com>
--
Florian
More information about the linux-arm-kernel
mailing list