]> Git Repo - linux.git/commit
edac: i5000: improve handling of pci_enable_device() return value
authorKulikov Vasiliy <[email protected]>
Wed, 11 Aug 2010 01:03:19 +0000 (18:03 -0700)
committerLinus Torvalds <[email protected]>
Wed, 11 Aug 2010 15:59:21 +0000 (08:59 -0700)
commit44aa80f005be88fef940fccdd345b313964768f3
tree0a2c4304eb01c18a3bfb9402bb43abcf3c953294
parentbd1688dcdf6e986913f3f1ff2df9dc2bfb63db5c
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 <[email protected]>
Acked-by: Mauro Carvalho Chehab <[email protected]>
Cc: Jeff Roberson <[email protected]>
Cc: Doug Thompson <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
drivers/edac/i5000_edac.c
This page took 0.046138 seconds and 4 git commands to generate.