summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorLeon Romanovsky <leonro@nvidia.com>2026-07-13 07:41:25 -0400
committerLeon Romanovsky <leonro@nvidia.com>2026-07-13 07:41:25 -0400
commit9bab31776ae60a1172f4405d792046c93bb7e93a (patch)
tree04d1e28640a1fbef4b852011d7fcd5bd71d7d365 /tools/perf/scripts/python
parentd43b1c17f9e1b9d34a0d742f569c00d84147ebc0 (diff)
RDMA/hfi1: Defer device creation until probe succeeds
init_one() creates the character device before checking whether generic or IB initialization failed, only to remove it immediately while unwinding. Moreover, user_add() already calls user_remove() when device creation fails. Move hfi1_device_create() after the initialization failure path, immediately before starting SDMA. The failure path then has no character device to remove, and hfi1_device_create() continues to unwind its own failures. Link: https://patch.msgid.link/20260708-clean-init-one-hfi1-v1-11-b9e9641268a5@nvidia.com Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions