* [PATCH 5/8] fusion - mptctl -sense width fix
@ 2006-02-03 0:19 Moore, Eric
2006-02-04 11:05 ` Christoph Hellwig
0 siblings, 1 reply; 2+ messages in thread
From: Moore, Eric @ 2006-02-03 0:19 UTC (permalink / raw)
To: linux-scsi
[-- Attachment #1: Type: text/plain, Size: 121 bytes --]
Bug fix for correctly setting sense width
for the MPTCOMMAND ioctl.
Signed-off-by: Eric Moore <Eric.Moore@lsil.com>
[-- Attachment #2: 5-sense-width.patch --]
[-- Type: application/octet-stream, Size: 815 bytes --]
diff -uarN b/drivers/message/fusion/mptctl.c a/drivers/message/fusion/mptctl.c
--- b/drivers/message/fusion/mptctl.c 2006-02-02 15:49:51.000000000 -0700
+++ a/drivers/message/fusion/mptctl.c 2006-02-02 15:54:08.000000000 -0700
@@ -1839,7 +1839,9 @@
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
@@ -1921,7 +1923,9 @@
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH 5/8] fusion - mptctl -sense width fix
2006-02-03 0:19 [PATCH 5/8] fusion - mptctl -sense width fix Moore, Eric
@ 2006-02-04 11:05 ` Christoph Hellwig
0 siblings, 0 replies; 2+ messages in thread
From: Christoph Hellwig @ 2006-02-04 11:05 UTC (permalink / raw)
To: Moore, Eric; +Cc: linux-scsi
On Thu, Feb 02, 2006 at 05:19:44PM -0700, Moore, Eric wrote:
> Bug fix for correctly setting sense width
> for the MPTCOMMAND ioctl.
ok
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-02-04 11:05 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-03 0:19 [PATCH 5/8] fusion - mptctl -sense width fix Moore, Eric
2006-02-04 11:05 ` Christoph Hellwig
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).