Re: [PATCH v2 0/3] drivers/perf: convert sysfs sprintf/snprintf/scnprintf to sysfs_emit

2021-03-25 Thread Will Deacon
On Fri, 19 Mar 2021 18:04:30 +0800, Qi Liu wrote: > Use the generic sysfs_emit() and sysfs_emit_at() function to take > place of sprintf/snprintf/scnprintf, to avoid buffer overrun. > > Qi Liu (2): > drivers/perf: convert sysfs scnprintf family to sysfs_emit_at() and > sysfs_emit() > drivers/

[PATCH v2 0/3] drivers/perf: convert sysfs sprintf/snprintf/scnprintf to sysfs_emit

2021-03-19 Thread Qi Liu
Use the generic sysfs_emit() and sysfs_emit_at() function to take place of sprintf/snprintf/scnprintf, to avoid buffer overrun. Qi Liu (2): drivers/perf: convert sysfs scnprintf family to sysfs_emit_at() and sysfs_emit() drivers/perf: convert sysfs sprintf family to sysfs_emit Zihao Tang (1)