diff options
| author | Kulikov Vasiliy <[email protected]> | 2010-08-10 18:03:20 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2010-08-11 08:59:21 -0700 |
| commit | b425d5c82d9b1fcf788688e556e4dfeca76604da (patch) | |
| tree | abec89a7486ca331b2bad256a95b4674379f3aed /tools/perf/scripts/python | |
| parent | 44aa80f005be88fef940fccdd345b313964768f3 (diff) | |
edac: i5400: 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]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions