scsi: lpfc: Silence an incorrect device output
authorJun Chen <jun_c@hust.edu.cn>
Mon, 10 Apr 2023 02:37:23 +0000 (10:37 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 12 Apr 2023 01:23:48 +0000 (21:23 -0400)
commit8bfb89f6149ea8e790f58abad1f4a84066d86c91
treeb67e1f66d120a4c9be04c94937a3abd3dda8fd4f
parent2acc635a0e5e91c267f2cb1c25748e8d06888e63
scsi: lpfc: Silence an incorrect device output

In lpfc_sli4_pci_mem_unset(), case LPFC_SLI_INTF_IF_TYPE_1 does not have a
break statement, resulting in an incorrect device output.

Fix this by adding a break statement before the default option.

Signed-off-by: Jun Chen <jun_c@hust.edu.cn>
Link: https://lore.kernel.org/r/20230410023724.3209455-1-jun_c@hust.edu.cn
Reviewed-by: Dongliang Mu <dzm91@hust.edu.cn>
Reviewed-by: Justin Tee <justin.tee@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/lpfc/lpfc_init.c