mirror of
https://github.com/torvalds/linux.git
synced 2026-10-16 04:39:02 +02:00
The query_device callbacks that neither accept driver-specific input nor return a driver-specific response open-code the empty udata handling as ib_is_udata_in_empty() on entry and ib_respond_empty_udata() on exit. ib_no_udata_io() already combines both steps, so replace the entry check with it and simply return 0 on success. Unlike the create and destroy flows, query_device owns no uobject or HW resource - the extended path fills a stack ib_device_attr that the core discards on error - so clearing the empty response buffer on entry rather than on exit is a mechanical change with no functional difference. Link: https://patch.msgid.link/20260714-convert-to-noio-udata-v1-1-f1f6b6c7c988@nvidia.com Signed-off-by: Leon Romanovsky <leonro@nvidia.com> |
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| pvrdma_cmd.c | ||
| pvrdma_cq.c | ||
| pvrdma_dev_api.h | ||
| pvrdma_doorbell.c | ||
| pvrdma_main.c | ||
| pvrdma_misc.c | ||
| pvrdma_mr.c | ||
| pvrdma_qp.c | ||
| pvrdma_ring.h | ||
| pvrdma_srq.c | ||
| pvrdma_verbs.c | ||
| pvrdma_verbs.h | ||
| pvrdma.h | ||