WSL2-Linux-Kernel/drivers/pci/pcie
Linus Torvalds f6735590e9 PCI aerdrv: fix annoying warnings
Some compiler generates following warnings:

  In function 'aer_isr':
  warning: 'e_src.id' may be used uninitialized in this function
  warning: 'e_src.status' may be used uninitialized in this function

Avoid status flag "int ret" and return constants instead, so that
gcc sees the return value matching "it is initialized" better.

Acked-by: Hidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Hidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
2010-07-30 09:29:10 -07:00
..
aer PCI aerdrv: fix annoying warnings 2010-07-30 09:29:10 -07:00
pme PCI/PM: Do not use native PCIe PME by default 2010-06-18 09:36:37 -07:00
Kconfig PCI PM: PCIe PME root port service driver 2010-02-22 16:20:31 -08:00
Makefile PCI PM: PCIe PME root port service driver 2010-02-22 16:20:31 -08:00
aspm.c PCI: change PCI nomenclature in drivers/pci/ (comment changes) 2009-12-16 13:37:53 -08:00
portdrv.h PCI PM: Make it possible to force using INTx for PCIe PME signaling 2010-02-22 16:20:39 -08:00
portdrv_bus.c PCI: portdrv: remove unnecessary struct pcie_port_data 2009-12-04 15:56:19 -08:00
portdrv_core.c PM: Allow PCI devices to suspend/resume asynchronously 2010-02-26 20:39:12 +01:00
portdrv_pci.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00