diff options
author | Chunhe Lan <Chunhe.Lan@freescale.com> | 2012-03-07 15:16:26 +0800 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2012-05-07 09:27:26 -0600 |
commit | 1267b3a325f00291e847ea4a001ccabe5d5516f2 (patch) | |
tree | c7a9ceaf50653d87278362a05389b91ab74fca1d /include/linux/ioport.h | |
parent | 0cbaa57d828aa0a067e06d3c6d795b12ae9fb776 (diff) | |
download | talos-obmc-linux-1267b3a325f00291e847ea4a001ccabe5d5516f2.tar.gz talos-obmc-linux-1267b3a325f00291e847ea4a001ccabe5d5516f2.zip |
PCI: fix uninitialized variable 'cap_mask'
Get rid of these:
drivers/pci/pcie/portdrv_core.c: In function 'pcie_port_device_register':
drivers/pci/pcie/portdrv_core.c:275:16: warning: 'cap_mask' may be used
uninitialized in this function [-Wuninitialized]
drivers/pci/pcie/portdrv_core.c:240:6: note: 'cap_mask' was declared here
In some cases, 'cap_mask' may be not set in pcie_port_platform_notify,
holding a garbage value.
Signed-off-by: Chunhe Lan <Chunhe.Lan@freescale.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'include/linux/ioport.h')
0 files changed, 0 insertions, 0 deletions