Commit 4bab6d9
RDMA/irdma: Fix positive vs negative error codes in irdma_post_send()
This code accidentally returns positive EINVAL instead of negative
-EINVAL. Some of the callers treat positive returns as success.
Add the missing '-' char.
Fixes: a24a29c ("RDMA/irdma: Add Atomic Operations support")
Link: https://patch.msgid.link/r/[email protected]
Signed-off-by: Dan Carpenter <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>1 parent 7fcf00b commit 4bab6d9
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3966 | 3966 | | |
3967 | 3967 | | |
3968 | 3968 | | |
3969 | | - | |
| 3969 | + | |
3970 | 3970 | | |
3971 | 3971 | | |
3972 | 3972 | | |
| |||
3983 | 3983 | | |
3984 | 3984 | | |
3985 | 3985 | | |
3986 | | - | |
| 3986 | + | |
3987 | 3987 | | |
3988 | 3988 | | |
3989 | 3989 | | |
| |||
0 commit comments