]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: lpfc: Fix location of SCSI ktime counters
authorJames Smart <jsmart2021@gmail.com>
Tue, 12 Mar 2019 23:30:08 +0000 (16:30 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 19 Mar 2019 16:57:02 +0000 (12:57 -0400)
commit7e8b0bcc9b5af80d5a4c5857de0d7142a292980e
tree23c2beb6177092138b0b1e59e5c793ad2dde6b67
parent8d54cd484de483b57d1dcdfbabae59ff557f6828
scsi: lpfc: Fix location of SCSI ktime counters

The debug ktime counters that trace an io were inadvertently not placed in
the common section of an io buffer. Thus, they generate an invalid opcode
error when accessed.

Move the ktime counters into the common area.

Fixes: 54382b52c317 ("scsi: lpfc: Implement common IO buffers between NVME and SCSI")
Signed-off-by: Dick Kennedy <dick.kennedy@broadcom.com>
Signed-off-by: James Smart <jsmart2021@gmail.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/lpfc/lpfc_sli.h