summaryrefslogtreecommitdiff
path: root/drivers/misc/cs5535-mfgpt.c
diff options
context:
space:
mode:
authorKishon Vijay Abraham I <kishon@ti.com>2020-03-17 13:01:57 +0300
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>2020-04-02 19:57:10 +0300
commit6b443e5c80b67a7b8a85b33d052d655ef9064e90 (patch)
treea820a4445f487b0cef12b2c6be7d83b12b9f3b30 /drivers/misc/cs5535-mfgpt.c
parent74d60b28d5bf1a12abe22d8d88240a4c5d1e3315 (diff)
downloadlinux-6b443e5c80b67a7b8a85b33d052d655ef9064e90.tar.xz
misc: pci_endpoint_test: Fix to support > 10 pci-endpoint-test devices
Adding more than 10 pci-endpoint-test devices results in "kobject_add_internal failed for pci-endpoint-test.1 with -EEXIST, don't try to register things with the same name in the same directory". This is because commit 2c156ac71c6b ("misc: Add host side PCI driver for PCI test function device") limited the length of the "name" to 20 characters. Change the length of the name to 24 in order to support upto 10000 pci-endpoint-test devices. Fixes: 2c156ac71c6b ("misc: Add host side PCI driver for PCI test function device") Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com> Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> Cc: stable@vger.kernel.org # v4.14+
Diffstat (limited to 'drivers/misc/cs5535-mfgpt.c')
0 files changed, 0 insertions, 0 deletions