diff options
author | phk <phk@FreeBSD.org> | 2009-09-08 13:19:05 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2009-09-08 13:19:05 +0000 |
commit | 52972616516a18e69bb2849c2f2e718ee644b27f (patch) | |
tree | 9f7c1709b6ce492cd874120e81e8a117cab4ca7d /sys/dev/hptiop | |
parent | 2314521104388ada19392a3b2cdaca4ba6f82243 (diff) | |
download | FreeBSD-src-52972616516a18e69bb2849c2f2e718ee644b27f.zip FreeBSD-src-52972616516a18e69bb2849c2f2e718ee644b27f.tar.gz |
Revert previous commit and add myself to the list of people who should
know better than to commit with a cat in the area.
Diffstat (limited to 'sys/dev/hptiop')
-rw-r--r-- | sys/dev/hptiop/hptiop.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/dev/hptiop/hptiop.c b/sys/dev/hptiop/hptiop.c index 5ad2106..7218bc5 100644 --- a/sys/dev/hptiop/hptiop.c +++ b/sys/dev/hptiop/hptiop.c @@ -432,7 +432,6 @@ srb_complete: sg_list), (u_int8_t *)&ccb->csio.sense_data, MIN(dxfer, sizeof(ccb->csio.sense_data))); } else { - /* XXX: Flexelint arg2 is 16 bytes, arg3 is 32 */ memcpy(&ccb->csio.sense_data, &req->sg_list, MIN(dxfer, sizeof(ccb->csio.sense_data))); } @@ -576,7 +575,6 @@ static void hptiop_request_callback_mv(struct hpt_iop_hba * hba, ccb->ccb_h.status = CAM_BUSY; break; case IOP_RESULT_CHECK_CONDITION: - /* XXX: FlexeLint: arg2=16b arg3=32 */ memcpy(&ccb->csio.sense_data, &req->sg_list, MIN(req->dataxfer_length, sizeof(ccb->csio.sense_data))); ccb->ccb_h.status = CAM_SCSI_STATUS_ERROR; |