Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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]>
- Loading branch information