diff options
| author | Hannes Reinecke <[email protected]> | 2017-09-20 09:18:51 +0200 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2017-09-25 19:03:14 -0400 |
| commit | 2a8f7a0344c8b068cf4b13f1bf4bdd65b8787d04 (patch) | |
| tree | f47c8b4be2bf668a3eece994a654d6a4b8e36a25 /tools/perf/scripts/python | |
| parent | b7af62a945706e32b987f1dd0cc86bb41a8210c3 (diff) | |
scsi: scsi_dh: Return SCSI_DH_XX error code from ->attach()
Rather than having each device handler implementing their own error
mapping, have the ->attach() call return a SCSI_DH_XXX error code and
implement the mapping in scsi_dh_handler_attach().
Suggested-by: Christoph Hellwig <[email protected]>
Signed-off-by: Hannes Reinecke <[email protected]>
Reviewed-by: Johannes Thumshirn <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions