Messages in this thread |  | | Date | Thu, 4 Feb 2021 13:09:05 +0000 | From | Will Deacon <> | Subject | Re: [PATCH] drivers/perf: convert sysfs sprintf/snprintf family to sysfs_emit |
| |
On Thu, Feb 04, 2021 at 11:32:51AM +0800, Jiapeng Chong wrote: > Fix the following coccicheck warning: > > ./drivers/perf/arm-cci.c:708:8-16: WARNING: use scnprintf or sprintf. > ./drivers/perf/arm-cci.c:699:8-16: WARNING: use scnprintf or sprintf. > ./drivers/perf/arm-cci.c:528:8-16: WARNING: use scnprintf or sprintf. > ./drivers/perf/arm-cci.c:309:8-16: WARNING: use scnprintf or sprintf. > > Reported-by: Abaci Robot<abaci@linux.alibaba.com> > Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com> > --- > drivers/perf/arm-cci.c | 11 +++++------ > 1 file changed, 5 insertions(+), 6 deletions(-)
Looks like the same issue exists for other drivers under drivers/perf/. How about fixing them all together?
Will
|  |