Commit 9cf927d
Paul Ely
scsi: lpfc: Simplify error handling for failed lpfc_get_sli4_parameters cmd
JIRA: https://issues.redhat.com/browse/RHEL-103751
commit 5a00dfc
Author: Justin Tee <justin.tee@broadcom.com>
Date: Wed Jun 18 12:21:31 2025 -0700
scsi: lpfc: Simplify error handling for failed lpfc_get_sli4_parameters cmd
There are unnecessary checks on an HBA's interface type and family before
erroring out a failed lpfc_get_sli4_parameters mailbox command. Simplify
the error handling by logging a message and proceeding to memory free
labels.
Signed-off-by: Justin Tee <justin.tee@broadcom.com>
Link: https://lore.kernel.org/r/20250618192138.124116-7-justintee8345@gmail.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Paul Ely <paely@redhat.com>1 parent 0c985d8 commit 9cf927d
1 file changed
+5
-24
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7918 | 7918 | | |
7919 | 7919 | | |
7920 | 7920 | | |
7921 | | - | |
7922 | | - | |
7923 | 7921 | | |
7924 | 7922 | | |
7925 | 7923 | | |
| |||
8180 | 8178 | | |
8181 | 8179 | | |
8182 | 8180 | | |
8183 | | - | |
8184 | | - | |
8185 | | - | |
8186 | | - | |
8187 | | - | |
8188 | | - | |
8189 | | - | |
8190 | | - | |
8191 | | - | |
8192 | | - | |
8193 | | - | |
8194 | | - | |
8195 | | - | |
8196 | | - | |
8197 | | - | |
8198 | | - | |
8199 | | - | |
8200 | | - | |
8201 | | - | |
8202 | | - | |
8203 | | - | |
8204 | | - | |
| 8181 | + | |
| 8182 | + | |
| 8183 | + | |
| 8184 | + | |
| 8185 | + | |
8205 | 8186 | | |
8206 | 8187 | | |
8207 | 8188 | | |
| |||
0 commit comments