Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 20387
b: refs/heads/master
c: 5f07e24
h: refs/heads/master
i:
  20385: 2d2fed1
  20383: 3a5280c
v: v3
  • Loading branch information
Moore, Eric authored and unknown committed Feb 4, 2006
1 parent 1aef1e6 commit 017b5dc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5b5ef4f617f1706a23b0433d89a9c02ceb0980a5
refs/heads/master: 5f07e2499d629045f7f8a60a5b442792f08732cb
8 changes: 6 additions & 2 deletions trunk/drivers/message/fusion/mptctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -1839,7 +1839,9 @@ mptctl_do_mpt_command (struct mpt_ioctl_command karg, void __user *mfPtr)
goto done_free_mem;
}

pScsiReq->MsgFlags = mpt_msg_flags();
pScsiReq->MsgFlags &= ~MPI_SCSIIO_MSGFLGS_SENSE_WIDTH;
pScsiReq->MsgFlags |= mpt_msg_flags();


/* verify that app has not requested
* more sense data than driver
Expand Down Expand Up @@ -1921,7 +1923,9 @@ mptctl_do_mpt_command (struct mpt_ioctl_command karg, void __user *mfPtr)
int scsidir = MPI_SCSIIO_CONTROL_READ;
int dataSize;

pScsiReq->MsgFlags = mpt_msg_flags();
pScsiReq->MsgFlags &= ~MPI_SCSIIO_MSGFLGS_SENSE_WIDTH;
pScsiReq->MsgFlags |= mpt_msg_flags();


/* verify that app has not requested
* more sense data than driver
Expand Down

0 comments on commit 017b5dc

Please sign in to comment.