From: Kulikov Vasiliy Date: Wed, 11 Aug 2010 01:03:19 +0000 (-0700) Subject: edac: i5000: improve handling of pci_enable_device() return value X-Git-Tag: v2.6.36-rc1~128 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=44aa80f005be88fef940fccdd345b313964768f3;p=pandora-kernel.git edac: i5000: improve handling of pci_enable_device() return value -EIO is not the only error code that pci_enable_device() may return, also the set of errors can be enhanced in future. We should compare return code with zero, not with concrete error value. Signed-off-by: Kulikov Vasiliy Acked-by: Mauro Carvalho Chehab Cc: Jeff Roberson Cc: Doug Thompson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed