diff options
author | Scott Long <scottl@FreeBSD.org> | 2007-04-18 04:58:53 +0000 |
---|---|---|
committer | Scott Long <scottl@FreeBSD.org> | 2007-04-18 04:58:53 +0000 |
commit | 8008a935a77868d1b703a4aec2e8d7d4d33144d2 (patch) | |
tree | 7a504d9115e85179155d0fb6137bd3588944fe08 /sys/cam/scsi/scsi_pass.c | |
parent | 8d36aa79efe4d6ef3aec126ce08c95dff9946287 (diff) | |
download | src-8008a935a77868d1b703a4aec2e8d7d4d33144d2.tar.gz src-8008a935a77868d1b703a4aec2e8d7d4d33144d2.zip |
Revert a driver API change to xpt_alloc_ccb that isn't necessary. Fix a
couple of associated error checks.
Notes
Notes:
svn path=/head/; revision=168831
Diffstat (limited to 'sys/cam/scsi/scsi_pass.c')
-rw-r--r-- | sys/cam/scsi/scsi_pass.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/cam/scsi/scsi_pass.c b/sys/cam/scsi/scsi_pass.c index 62aaccffb6f3..5617ef09d7f7 100644 --- a/sys/cam/scsi/scsi_pass.c +++ b/sys/cam/scsi/scsi_pass.c @@ -490,7 +490,7 @@ passioctl(struct cdev *dev, u_long cmd, caddr_t addr, int flag, struct thread *t inccb->ccb_h.pinfo.priority); ccb_malloced = 0; } else { - ccb = xpt_alloc_ccb_nowait(periph->sim); + ccb = xpt_alloc_ccb_nowait(); if (ccb != NULL) xpt_setup_ccb(&ccb->ccb_h, periph->path, |