]> 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)
commitc298872eb584161e91e72e7df3f809357cc27545
tree23c2beb6177092138b0b1e59e5c793ad2dde6b67
parentf2fd3b6cfce537fc22645a7554201718926760a3
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: 67d14b225393 ("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