Chunhe Lan 1267b3a325 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>
2012-05-07 09:27:26 -06:00
..
2005-10-18 08:26:15 -07:00
2012-01-06 12:10:34 -08:00
2012-05-07 09:23:27 -06:00
2012-05-07 09:23:27 -06:00
2012-02-27 12:16:55 -08:00
2010-07-30 09:47:22 -07:00
2009-07-12 12:22:34 -07:00
2012-04-06 17:54:53 -07:00