diff options
author | Ashutosh Dixit <[email protected]> | 2016-05-12 10:24:00 -0700 |
---|---|---|
committer | Doug Ledford <[email protected]> | 2016-05-13 19:39:19 -0400 |
commit | 3923979e9bc6aa6f168a644314d6729e9f98eccc (patch) | |
tree | 356ca691959c9202662d020d2b2b3fa7b0e0c6a6 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | bf77cc34f3e6905bc8841489dd628bbffe37d743 (diff) |
IB/hfi1: Change hfi1_init loop to preserve error returns
If one iteration of the loop causes an error return and a later iteration
doesn't, the later iteration causes the earlier error condition to be
lost. This could result in driver probe succeeding when it should have
failed. Therefore save off the error return in the loop itself rather than
outside the loop.
Reviewed-by: Dennis Dalessandro <[email protected]>
Reviewed-by: Mitko Haralanov <[email protected]>
Signed-off-by: Ashutosh Dixit <[email protected]>
Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions