diff options
author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-04-02 15:23:08 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-04-02 15:23:08 -0700 |
commit | 59117d3f4e3f5a7980353d2f476e516c758ce921 (patch) | |
tree | dbc12a55f0e1c46205acbc88bda35b96ad4b1269 /drivers | |
parent | 856fc004b82ae31846b3037558ec1b2a6286e629 (diff) | |
parent | 8cc574a3c5cea70229f243a6b57fd69e60491d82 (diff) | |
download | kernel_samsung_tuna-59117d3f4e3f5a7980353d2f476e516c758ce921.zip kernel_samsung_tuna-59117d3f4e3f5a7980353d2f476e516c758ce921.tar.gz kernel_samsung_tuna-59117d3f4e3f5a7980353d2f476e516c758ce921.tar.bz2 |
Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6
* master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6:
[SCSI]: Fix scsi_send_eh_cmnd scatterlist handling
[SPARC]: Add unsigned to unused bit field in a.out.h
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/scsi/scsi_error.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/scsi_error.c b/drivers/scsi/scsi_error.c index b8edcf5..918bb60 100644 --- a/drivers/scsi/scsi_error.c +++ b/drivers/scsi/scsi_error.c @@ -716,7 +716,7 @@ static int scsi_send_eh_cmnd(struct scsi_cmnd *scmd, unsigned char *cmnd, */ if (copy_sense) { if (!SCSI_SENSE_VALID(scmd)) { - memcpy(scmd->sense_buffer, scmd->request_buffer, + memcpy(scmd->sense_buffer, page_address(sgl.page), sizeof(scmd->sense_buffer)); } __free_page(sgl.page); |