1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/pci/endpoint
Kunihiko Hayashi a2258831d1 PCI: endpoint: Use sysfs_emit() in "show" functions
Convert sprintf() in sysfs "show" functions to sysfs_emit() in order to
check for buffer overruns in sysfs outputs.

Link: https://lore.kernel.org/r/1630472957-26857-1-git-send-email-hayashi.kunihiko@socionext.com
Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Reviewed-by: Krzysztof Wilczyński <kw@linux.com>
2021-09-30 12:04:03 +01:00
..
functions PCI: endpoint: Use sysfs_emit() in "show" functions 2021-09-30 12:04:03 +01:00
Kconfig PCI: consolidate PCI config entry in drivers/pci 2018-11-23 11:45:34 +09:00
Makefile PCI: Add SPDX GPL-2.0 when no license was specified 2018-01-26 11:45:16 -06:00
pci-ep-cfs.c PCI: endpoint: Use sysfs_emit() in "show" functions 2021-09-30 12:04:03 +01:00
pci-epc-core.c PCI: endpoint: Add virtual function number in pci_epc ops 2021-08-19 14:13:28 +01:00
pci-epc-mem.c PCI: Fix kerneldoc warnings 2020-08-05 18:23:14 -05:00
pci-epf-core.c pci-v5.15-changes 2021-09-07 19:13:42 -07:00