diff options
author | 2020-11-02 15:57:12 -0500 | |
---|---|---|
committer | 2020-11-20 17:04:37 +0000 | |
commit | ddaff0af653136ee1e0b49116ecf2988c2fc64ca (patch) | |
tree | 6ef69057494bf978156b8a662a78432caeba3edf /drivers/usb/cdns3/cdns3-imx.c | |
parent | Linux 5.10-rc3 (diff) | |
download | linux-dev-ddaff0af653136ee1e0b49116ecf2988c2fc64ca.tar.xz linux-dev-ddaff0af653136ee1e0b49116ecf2988c2fc64ca.zip |
PCI: brcmstb: Initialize "tmp" before use
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.
Suggested-by: Rafał Miłecki <zajec5@gmail.com>
Link: https://lore.kernel.org/r/20201102205712.23332-1-james.quinlan@broadcom.com
Fixes: c0452137034b ("PCI: brcmstb: Add Broadcom STB PCIe host controller driver")
Signed-off-by: Jim Quinlan <james.quinlan@broadcom.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Acked-by: Nicolas Saenz Julienne <nsaenzjulienne@suse.de>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-imx.c')
0 files changed, 0 insertions, 0 deletions