diff options
| author | Leon Romanovsky <leonro@nvidia.com> | 2026-07-13 07:41:24 -0400 |
|---|---|---|
| committer | Leon Romanovsky <leonro@nvidia.com> | 2026-07-13 07:41:24 -0400 |
| commit | 4ebd241071af81dd75db31a96b7bd0f79b5e0813 (patch) | |
| tree | e903f8a0ae4454ae89e2323545167476995636f5 /tools/perf/scripts/python | |
| parent | b9cb5e81f7d90ff83c5e18bbdcce6d3e3bd48a2f (diff) | |
RDMA/hfi1: Drop device data from hfi1_validate_rcvhdrcnt()
hfi1_validate_rcvhdrcnt() only needs hfi1_devdata to identify the adapter
in error messages. Requiring the full device data prevents module parameter
validation from running before hfi1_devdata is allocated.
Pass pci_dev instead and use dev_err(), allowing validation to move earlier
without losing the PCI BDF needed on multi-device systems. Use %u for the
unsigned count while changing the messages.
Link: https://patch.msgid.link/20260708-clean-init-one-hfi1-v1-5-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
