diff options
author | Marc Gonzalez <marc_gonzalez@sigmadesigns.com> | 2017-04-10 19:46:54 +0200 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2017-04-18 14:11:10 -0500 |
commit | dc5205ef46231e848562c9275933d7b359f515ba (patch) | |
tree | b0104e99320fd7a22972067ca9a40ea00f7c79dc /fs/jfs/jfs_superblock.h | |
parent | fe2bd75b2290bf6acd4b91312697e445668dd773 (diff) | |
download | talos-obmc-linux-dc5205ef46231e848562c9275933d7b359f515ba.tar.gz talos-obmc-linux-dc5205ef46231e848562c9275933d7b359f515ba.zip |
PCI: Improve __pci_read_base() robustness
Local variables 'l' and 'sz' are uninitialized. Normally, they would
be initialized by pci_read_config_dword() but when an error occurs,
some drivers immediately return an error code, which leaves the
argument uninitialized.
Provide a safe initial value to make the code more robust.
Signed-off-by: Marc Gonzalez <marc_gonzalez@sigmadesigns.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'fs/jfs/jfs_superblock.h')
0 files changed, 0 insertions, 0 deletions