]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: lpfc: Fix dynamic fw log enablement check
authorJames Smart <jsmart2021@gmail.com>
Tue, 5 Nov 2019 00:57:02 +0000 (16:57 -0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 6 Nov 2019 05:04:04 +0000 (00:04 -0500)
commit874ead63578eedf9013797135fe2cb7ab6c8edf3
tree9357b4a5a3875836d537007ae4e90473e6818591
parent340f0c9e544e875f4b6ed591ad31190a59dd4d67
scsi: lpfc: Fix dynamic fw log enablement check

The recently posted patch had a typo that incorrectly tested the receiving
function.

Fix the typo (change == to !=)

Fixes: af0ec6f4af71 ("scsi: lpfc: Make FW logging dynamically configurable")
Link: https://lore.kernel.org/r/20191105005708.7399-6-jsmart2021@gmail.com
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_attr.c