linux-stable/drivers/infiniband/hw/qib
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
..
Kconfig
Makefile
qib.h drivers/infiniband: replace open-coded string copy with get_task_comm 2022-01-20 08:52:53 +02:00
qib_6120_regs.h
qib_7220.h
qib_7220_regs.h
qib_7322_regs.h
qib_common.h RDMA: Delete not-used static inline functions 2021-03-22 09:31:19 -03:00
qib_debugfs.c
qib_debugfs.h
qib_diag.c
qib_driver.c IB/qib: Rebranding of qib driver to Cornelis Networks 2021-10-29 13:30:43 -03:00
qib_eeprom.c RDMA/hw/qib/qib_eeprom: Fix misspelling of 'buff' in 'qib_eeprom_{read,write}()' 2021-01-22 14:37:30 -04:00
qib_file_ops.c drivers/infiniband: replace open-coded string copy with get_task_comm 2022-01-20 08:52:53 +02:00
qib_fs.c qib_fs: switch to simple_recursive_removal() 2021-03-08 10:20:48 -05:00
qib_iba6120.c IB/qib: Fix typos 2022-01-07 10:49:04 -04:00
qib_iba7220.c IB/qib: Fix typos 2022-01-07 10:49:04 -04:00
qib_iba7322.c IB/qib: Fix typos 2022-01-07 10:49:04 -04:00
qib_init.c RDMA: switch from 'pci_' to 'dma_' API 2021-08-23 13:43:54 -03:00
qib_intr.c RDMA/hw/qib/qib_intr: Fix a bunch of formatting issues 2021-01-22 14:37:31 -04:00
qib_mad.c RDMA: Support more than 255 rdma ports 2021-03-26 09:31:21 -03:00
qib_mad.h
qib_pcie.c RDMA/hw/qib/qib_pcie: Demote obvious kernel-doc abuse 2021-01-22 14:37:31 -04:00
qib_pio_copy.c
qib_qp.c RDMA: Support more than 255 rdma ports 2021-03-26 09:31:21 -03:00
qib_qsfp.c
qib_qsfp.h
qib_rc.c RDMA/hw/qib/qib_rc: Fix some worthy kernel-docs demote hardly complete one 2021-01-22 14:37:31 -04:00
qib_ruc.c
qib_sd7220.c IB/qib: Remove redundant assignment to ret 2021-04-30 10:58:15 -03:00
qib_sdma.c
qib_sysfs.c IB/qib: Fix duplicate sysfs directory name 2022-02-17 11:54:08 -04:00
qib_twsi.c RDMA/hw/qib/qib_twsi: Provide description for missing param 'last' 2021-01-22 14:37:32 -04:00
qib_tx.c RDMA/hw/qib/qib_tx: Provide description for 'qib_chg_pioavailkernel()'s 'rcd' param 2021-01-22 14:37:32 -04:00
qib_uc.c RDMA/hw/qib/qib_uc: Provide description for missing 'flags' param 2021-01-22 14:37:32 -04:00
qib_ud.c RDMA/hw/qib/qib_ud: Provide description for 'qib_make_ud_req's 'flags' param 2021-01-22 14:37:33 -04:00
qib_user_pages.c RDMA: switch from 'pci_' to 'dma_' API 2021-08-23 13:43:54 -03:00
qib_user_sdma.c IB/qib: Fix memory leak in qib_user_sdma_queue_pkts() 2021-12-14 20:05:13 -04:00
qib_user_sdma.h
qib_verbs.c RDMA/qib: rename copy_io to qib_copy_io 2021-11-29 06:41:29 -07:00
qib_verbs.h RDMA: Support more than 255 rdma ports 2021-03-26 09:31:21 -03:00
qib_wc_ppc64.c
qib_wc_x86_64.c