diff options
| author | Slavin Liu <bolin.liu@seu.edu.cn> | 2026-09-11 14:09:09 +0800 |
|---|---|---|
| committer | Leon Romanovsky <leon@kernel.org> | 2026-09-23 03:37:07 -0400 |
| commit | 2a770e6a64d66fc3a7317669ecca9773d8339ead (patch) | |
| tree | b358d8ecbee1336a988354ca91d680a8e06dbe01 /tools/lib/python/kdoc/python_version.py | |
| parent | 9c40f13a63a4b87177de3e8c318af25068fc6ab4 (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 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions
