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

Will Deacon will at kernel.org
Thu Mar 25 13:43:31 GMT 2021


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/perf: convert sysfs sprintf family to sysfs_emit
> 
> [...]

Applied to will (for-next/perf), thanks!

[1/3] drivers/perf: convert sysfs snprintf family to sysfs_emit
      https://git.kernel.org/will/c/700a9cf0527c
[2/3] drivers/perf: convert sysfs scnprintf family to sysfs_emit_at() and sysfs_emit()
      https://git.kernel.org/will/c/9ec9f9cf8660
[3/3] drivers/perf: convert sysfs sprintf family to sysfs_emit
      https://git.kernel.org/will/c/fb62d67586af

Cheers,
-- 
Will

https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev



More information about the linux-arm-kernel mailing list