]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit - drivers/scsi/lpfc/lpfc_sli.c
scsi: lpfc: Fix coverity warnings
authorJames Smart <jsmart2021@gmail.com>
Wed, 14 Aug 2019 23:57:04 +0000 (16:57 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 20 Aug 2019 02:41:11 +0000 (22:41 -0400)
commitd9f492a1a1ab2f3847e2c65b87a738f3831e6751
treead973f43627fa490a90b085e4c94c88e3cf5b02a
parentdb197bc4699b3f0347367d25345fe681fe73f1f6
scsi: lpfc: Fix coverity warnings

Running on Coverity produced the following errors:

 - coding style (indentation)

 - memset size mismatch errors
   note: comment cases where it is purposely a mismatch

Fix the errors.

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_els.c
drivers/scsi/lpfc/lpfc_nvme.c
drivers/scsi/lpfc/lpfc_nvmet.c
drivers/scsi/lpfc/lpfc_sli.c