linux/drivers/pci/pcie/aer
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
..
Kconfig PCI AER: software error injection 2009-06-16 14:30:14 -07:00
Kconfig.debug PCI: change PCI nomenclature in drivers/pci/ (non-comment changes) 2009-12-16 13:37:54 -08:00
Makefile PCI AER: software error injection 2009-06-16 14:30:14 -07:00
aer_inject.c PCI: aerdrv: redefine PCI_ERR_ROOT_*_SRC 2010-05-11 12:01:34 -07:00
aerdrv.c PCI: aerdrv: trivial cleanup for aerdrv.c 2010-05-11 12:01:39 -07:00
aerdrv.h Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6 2010-05-28 14:42:18 -07:00
aerdrv_acpi.c ACPI, APEI, PCIE AER, use general HEST table parsing in AER firmware_first setup 2010-05-19 22:40:14 -04:00
aerdrv_core.c PCI aerdrv: fix annoying warnings 2010-07-30 09:29:10 -07:00
aerdrv_errprint.c PCI: change PCI nomenclature in drivers/pci/ (non-comment changes) 2009-12-16 13:37:54 -08:00
ecrc.c PCIe AER: use pci_is_pcie() 2009-11-24 15:25:17 -08:00