commit | a2258831d12d7845946f9c98f08d65aad9aa1121 | [log] [tgz] |
---|---|---|
author | Kunihiko Hayashi <hayashi.kunihiko@socionext.com> | Wed Sep 01 14:09:17 2021 +0900 |
committer | Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> | Thu Sep 30 12:04:03 2021 +0100 |
tree | f7e4c1d6c346a594e1c3d9c9cc0bbd6069ffcb30 | |
parent | e4e737bb5c170df6135a127739a9e6148ee3da82 [diff] |
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>