On Thu, 20 May 2021 15:59:45 +0800, Tian Tao wrote:
Use sysfs_emit instead of snprintf to avoid buf overrun,because in
sysfs_emit it strictly checks whether buf is null or buf whether
pagesize aligned, otherwise it returns an error.
Applied to will (for-next/perf), thanks!
[1/1] arm64: perf: Convert snprintf to sysfs_emit
https://git.kernel.org/will/c/a5740e955540
Cheers,
--
Will
https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel