linux/drivers/infiniband/hw
Mike Marciniszyn 32f57cb1b2 IB/qib: Fix duplicate sysfs directory name
The qib driver load has been failing with the following message:

  sysfs: cannot create duplicate filename '/devices/pci0000:80/0000:80:02.0/0000:81:00.0/infiniband/qib0/ports/1/linkcontrol'

The patch below has two "linkcontrol" names causing the duplication.

Fix by using the correct "diag_counters" name on the second instance.

Fixes: 4a7aaf88c8 ("RDMA/qib: Use attributes for the port sysfs")
Link: https://lore.kernel.org/r/1645106372-23004-1-git-send-email-mike.marciniszyn@cornelisnetworks.com
Cc: <stable@vger.kernel.org>
Reviewed-by: Dennis Dalessandro <dennis.dalessandro@cornelisnetworks.com>
Signed-off-by: Mike Marciniszyn <mike.marciniszyn@cornelisnetworks.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
2022-02-17 11:54:08 -04:00
..
bnxt_re RDMA/bnxt_re: Fix endianness warning for req.pkey 2021-12-06 19:56:30 -04:00
cxgb4 RDMA/cxgb4: Set queue pair state when being queried 2022-01-05 15:51:51 -04:00
efa RDMA/efa: Add support for dmabuf memory regions 2021-10-28 08:58:26 -03:00
hfi1 IB/hfi1: Fix tstats alloc and dealloc 2022-01-28 11:12:15 -04:00
hns Linux 5.16 2022-01-13 13:21:03 -04:00
irdma bitmap patches for 5.17-rc1 2022-01-23 06:20:44 +02:00
mlx4 RDMA/mlx4: Don't continue event handler after memory allocation failure 2022-02-01 10:12:26 -04:00
mlx5 RDMA v5.17 merge window pull request 2022-01-13 11:09:11 -08:00
mthca RDMA/mad: Delete duplicated init_query_mad functions 2022-01-05 15:18:36 -04:00
ocrdma RDMA/ocrdma: Remove unneeded variable 2022-01-05 13:47:43 -04:00
qedr RDMA/qedr: Fix reporting max_{send/recv}_wr attrs 2021-12-07 14:59:26 -04:00
qib IB/qib: Fix duplicate sysfs directory name 2022-02-17 11:54:08 -04:00
usnic RDMA: Use default_groups in kobj_type 2022-01-05 15:15:15 -04:00
vmw_pvrdma RDMA/pvrdma: Use non-atomic bitmap functions when possible 2021-11-29 14:33:56 -04:00
Makefile RDMA/irdma: Add irdma Kconfig/Makefile and remove i40iw 2021-06-02 20:06:36 -03:00