projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
b44: fix IFF_ALLMULTI handling of CAM slots
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
scsi
/
scsi_error.c
diff --git
a/drivers/scsi/scsi_error.c
b/drivers/scsi/scsi_error.c
index b8edcf5b54511be2f10fc9690fd01fbdd4dfb99e..918bb601954083cff07405427c41eb9a09788121 100644
(file)
--- 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);