summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/lpfc/lpfc_hbadisc.c
diff options
context:
space:
mode:
authorJames Smart <jsmart2021@gmail.com>2018-12-13 15:17:54 -0800
committerMartin K. Petersen <martin.petersen@oracle.com>2018-12-19 22:13:07 -0500
commit529b3ddcfff580a2457eceeda9f248bc77c49246 (patch)
tree4fe7b21f77a729806726415a68a30d3a577f9534 /drivers/scsi/lpfc/lpfc_hbadisc.c
parente817e5d7030c7fcc6e707dba7abe51ee5c47732f (diff)
downloadtalos-obmc-linux-529b3ddcfff580a2457eceeda9f248bc77c49246.tar.gz
talos-obmc-linux-529b3ddcfff580a2457eceeda9f248bc77c49246.zip
scsi: lpfc: update fault value on successful trunk events.
Currently, when a trunk link goes down due to some fault, the driver snapshots the fault code. If the link then comes back up, meaning there is no fault, the driver is not clearing the fault code so the sysfs link_state entry reports old/stale data. Revise the logic so that on successful link up the fault code is cleared. 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>
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_hbadisc.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud