mirror of
https://github.com/torvalds/linux.git
synced 2026-09-20 01:20:03 +02:00
mana_ib_post_send() returns err after walking the send work request list.
If the caller passes an empty list, the loop is skipped and err is not
assigned.
Initialize err to 0 so an empty send work request list returns success
instead of stack data.
Fixes:
|
||
|---|---|---|
| .. | ||
| ah.c | ||
| counters.c | ||
| counters.h | ||
| cq.c | ||
| device.c | ||
| Kconfig | ||
| main.c | ||
| Makefile | ||
| mana_ib.h | ||
| mr.c | ||
| qp.c | ||
| shadow_queue.h | ||
| wq.c | ||
| wr.c | ||