diff options
author | Justin Tee <justin.tee@broadcom.com> | 2025-09-15 11:08:07 -0700 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2025-09-16 22:20:00 -0400 |
commit | 5d7ef44d8ae3b94565e8212d68c06bcee6f6ef90 (patch) | |
tree | b02812602fb9498b65c2e7462b3ea60088901cd3 /rust/helpers/bitops.c | |
parent | 06d3c77c520b8c3ddcfd11c75f92f91213f7078a (diff) |
scsi: lpfc: Use switch case statements in DIF debugfs handlers
With the introduction of aux numbers for debugfs entries, there's no
need to use the if-else-if clause based on debugfs entry pointers.
Update both the lpfc_debugfs_dif_err_read and lpfc_debugfs_dif_err_write
routines to use switch case based on aux instead.
Reported-by: Al Viro <viro@zeniv.linux.org.uk>
Closes: https://lore.kernel.org/linux-fsdevel/20250702212917.GK3406663@ZenIV/
Signed-off-by: Justin Tee <justin.tee@broadcom.com>
Message-ID: <20250915180811.137530-11-justintee8345@gmail.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'rust/helpers/bitops.c')
0 files changed, 0 insertions, 0 deletions