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
..
2010-07-30 09:29:10 -07:00
2005-10-18 08:26:15 -07:00
2010-05-21 17:25:01 -07:00
2010-03-11 14:04:27 +01:00
2010-06-23 22:49:07 +09:30
2010-05-11 10:07:20 +02:00
2010-06-07 16:03:10 -04:00
2009-02-13 12:01:56 -08:00
2008-06-25 16:05:13 -07:00
2009-07-12 12:22:34 -07:00