diff options
| author | Deepak R Varma <drv@mailo.com> | 2023-01-28 02:21:26 +0530 |
|---|---|---|
| committer | Liviu Dudau <liviu.dudau@arm.com> | 2023-02-03 13:05:33 +0000 |
| commit | 8094d717c7eb940830ff6f47a771c9be28bf43f0 (patch) | |
| tree | b4351ede282a82e36cc4ec4bd4792627da91e968 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | drm/format-helper: Use KUNIT_EXPECT_MEMEQ macro (diff) | |
| download | linux-8094d717c7eb940830ff6f47a771c9be28bf43f0.tar.gz linux-8094d717c7eb940830ff6f47a771c9be28bf43f0.zip | |
drm/arm/malidp: use sysfs_emit in show function callback
According to Documentation/filesystems/sysfs.rst, the show() callback
function of kobject attributes should strictly use sysfs_emit() instead
of sprintf() family functions.
Issue identified using the device_attr_show.cocci Coccinelle script.
Signed-off-by: Deepak R Varma <drv@mailo.com>
Signed-off-by: Liviu Dudau <liviu.dudau@arm.com>
Link: https://patchwork.freedesktop.org/patch/msgid/Y9Q5Tt8c9WBDxeyV@ubun2204.myguest.virtualbox.org
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions
