Skip to content

Commit 2abb93f

Browse files
mpatelczgregkh
authored andcommitted
SCSI: isci: copy fis 0x34 response into proper buffer
commit 49bd665 upstream. SATA MICROCODE DOWNALOAD fails on isci driver. After receiving Register Device to Host (FIS 0x34) frame Initiator resets phy. In the frame handler routine response (FIS 0x34) was copied into wrong buffer and upper layer did not receive any answer which resulted in timeout and reset. This patch corrects this bug. Signed-off-by: Maciej Patelczyk <maciej.patelczyk@intel.com> Signed-off-by: Lukasz Dorau <lukasz.dorau@intel.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent d467bca commit 2abb93f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/scsi/isci/request.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1972,7 +1972,7 @@ sci_io_request_frame_handler(struct isci_request *ireq,
19721972
frame_index,
19731973
(void **)&frame_buffer);
19741974

1975-
sci_controller_copy_sata_response(&ireq->stp.req,
1975+
sci_controller_copy_sata_response(&ireq->stp.rsp,
19761976
frame_header,
19771977
frame_buffer);
19781978

0 commit comments

Comments
 (0)