mirror of
https://github.com/torvalds/linux.git
synced 2026-09-21 03:34:38 +02:00
erdma_post_recv() returns ret after walking the receive work request list.
If the caller passes an empty list, the loop is skipped and ret is not
assigned.
Initialize ret to 0 so an empty receive work request list returns success
instead of stack data.
Fixes:
|
||
|---|---|---|
| .. | ||
| erdma_cm.c | ||
| erdma_cm.h | ||
| erdma_cmdq.c | ||
| erdma_cq.c | ||
| erdma_eq.c | ||
| erdma_hw.h | ||
| erdma_main.c | ||
| erdma_qp.c | ||
| erdma_verbs.c | ||
| erdma_verbs.h | ||
| erdma.h | ||
| Kconfig | ||
| Makefile | ||