diff options
Diffstat (limited to 'sys/dev/mpt')
| -rw-r--r-- | sys/dev/mpt/mpt_freebsd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/mpt/mpt_freebsd.c b/sys/dev/mpt/mpt_freebsd.c index 9124ccdaae0e2..58e147db18062 100644 --- a/sys/dev/mpt/mpt_freebsd.c +++ b/sys/dev/mpt/mpt_freebsd.c @@ -268,8 +268,8 @@ mpt_execute_req(void *arg, bus_dma_segment_t *dm_segs, int nseg, int error) ntodo = MPT_NSGL(mpt) - 1; ce->NextChainOffset = (MPT_RQSL(mpt) - sizeof (SGE_SIMPLE32)) >> 2; - ce->Length = MPT_NSGL(mpt) - * sizeof (SGE_SIMPLE32); + ce->Length = MPT_NSGL(mpt) * + sizeof (SGE_SIMPLE32); } else { ntodo = nleft; ce->NextChainOffset = 0; |
