diff options
| author | 2026-09-11 14:09:09 +0800 | |
|---|---|---|
| committer | 2026-09-23 03:37:07 -0400 | |
| commit | 2a770e6a64d66fc3a7317669ecca9773d8339ead (patch) | |
| tree | b358d8ecbee1336a988354ca91d680a8e06dbe01 /scripts/Makefile.thinlto | |
| parent | RDMA/irdma: Use kvzalloc for lvl2 leafmem allocation (diff) | |
RDMA/irdma: check vport device allocation
An existing RDMA function does not guarantee allocation of the new
vport device. Return -ENOMEM before initializing a NULL iwdev.
Detected by static analysis and reviewed with AI-assisted source auditing.
Fixes: 2ad49ae7330b ("RDMA/irdma: Introduce GEN3 vPort driver support")
Assisted-by: LLM
Signed-off-by: Slavin Liu <bolin.liu@seu.edu.cn>
Link: https://patch.msgid.link/20260911060909.94219-1-bolin.liu@seu.edu.cn
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
