Commit a4db9be
libhns: Fix ret not assigned in create srq()
[ Upstream commit 2034b18 ]
Fix the problem that ret may not be assigned in the error flow
of create_srq().
Fixes: b38bae4 ("libhns: Add support for lock-free SRQ")
Fixes: b914c76 ("libhns: Refactor the process of create_srq")
Signed-off-by: Junxian Huang <[email protected]>
Signed-off-by: Nicolas Morey <[email protected]>1 parent 225fbfb commit a4db9be
1 file changed
+7
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
829 | 829 | | |
830 | 830 | | |
831 | 831 | | |
832 | | - | |
| 832 | + | |
| 833 | + | |
833 | 834 | | |
834 | 835 | | |
835 | 836 | | |
836 | | - | |
| 837 | + | |
| 838 | + | |
837 | 839 | | |
838 | 840 | | |
839 | 841 | | |
840 | | - | |
| 842 | + | |
| 843 | + | |
841 | 844 | | |
| 845 | + | |
842 | 846 | | |
843 | 847 | | |
844 | 848 | | |
| |||
0 commit comments