[PATCH v1] PCI: brcmstb: variable is missing proper initialization

Lorenzo Pieralisi lorenzo.pieralisi at arm.com
Fri Nov 20 12:07:12 EST 2020


On Mon, 2 Nov 2020 15:57:12 -0500, 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.

Applied to pci/brcmstb, thanks!

[1/1] PCI: brcmstb: Initialize "tmp" before use
      https://git.kernel.org/lpieralisi/pci/c/ddaff0af65

Thanks,
Lorenzo



More information about the linux-arm-kernel mailing list