OSDN Git Service

[SCSI] Fix incorrect pointer in megaraid.c MODE_SENSE emulation
authorMark Lord <lkml@rtr.ca>
Wed, 7 Dec 2005 22:46:57 +0000 (17:46 -0500)
committerJames Bottomley <jejb@mulgrave.(none)>
Thu, 8 Dec 2005 14:08:54 +0000 (09:08 -0500)
commitf0353301e6752399ceb874ede7f44e3571c5e4f3
tree8a815fd42e5df4b3c5177d7e0cb9b2211459d59d
parent0da69df1e54146eece38e0a144051f6dd3526821
[SCSI] Fix incorrect pointer in megaraid.c MODE_SENSE emulation

The SCSI megaraid drive goes to great effort to kmap
the scatterlist buffer (if used), but then uses the
wrong pointer when copying to it afterward.

Signed-off-by: Mark Lord <lkml@rtr.ca>
Acked by: Ju, Seokmann <Seokmann.Ju@engenio.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/megaraid.c