From: Linus Torvalds Date: Thu, 27 May 2010 02:21:11 +0000 (+0900) Subject: PCI aerdrv: fix annoying warnings X-Git-Tag: v2.6.36-rc1~518^2~27 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f6735590e9f441762ab5afeff64ded99e5b19a68;p=pandora-kernel.git 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 Signed-off-by: Linus Torvalds Signed-off-by: Hidetoshi Seto Signed-off-by: Jesse Barnes --- Reading git-diff-tree failed