summaryrefslogtreecommitdiff
path: root/usr.bin/elf2ecoff
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2006-03-04 14:20:38 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2006-03-04 14:20:38 +0000
commit1737bb1f1443032f0ed34b42d72b72968e4655eb (patch)
tree21ab67cee2c415ce31ae67d4b69a605a703d7e95 /usr.bin/elf2ecoff
parent2671c587bc640f9caf86a61f5d0a8a8cca0eb5ca (diff)
All CAM_* values stored in xs->error must be 'interpreted' by
ah[cd]_done() into XS_* values understood by the SCSI code before returning xs to the tender mercies of the SCSI code. So if we bail out without calling ah[cd]_done(), because the request cdb length is excessive, don't use ah[cd]_set_transaction() to put CAM_REQ_INVALID into xs->error, just jam in XS_DRIVER_STUFFUP as ah[cd]_done() would have. If CAM_REQ_INVALID escapes it will be interpreted as XS_SHORT_SENSE as far as I can tell. This code path should never be trod so the net effect should be minimal.
Diffstat (limited to 'usr.bin/elf2ecoff')
0 files changed, 0 insertions, 0 deletions