Thread (2 messages) 2 messages, 2 authors, 2021-06-01

Re: [PATCH] arm64: perf: Convert snprintf to sysfs_emit

flat view

From: Will Deacon <will@kernel.org>
Date: 2021-06-01 18:23:34
Also in: linux-perf-users

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help