diff options
author | Jun Chen <[email protected]> | 2023-04-10 10:37:23 +0800 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2023-04-11 21:23:48 -0400 |
commit | 8bfb89f6149ea8e790f58abad1f4a84066d86c91 (patch) | |
tree | b67e1f66d120a4c9be04c94937a3abd3dda8fd4f /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | 2acc635a0e5e91c267f2cb1c25748e8d06888e63 (diff) |
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Dongliang Mu <[email protected]>
Reviewed-by: Justin Tee <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions