On Thu, Sep 17, 2026 at 02:14:29PM -0700, Kees Cook wrote:
> From: Kees Cook <[email protected]>

> ... As there is no general way to
> safely add const qualifiers, take the size from the assignment target
> instead. No change in allocation size results.
> 
> Build tested ARCH=arm64 allmodconfig with GCC aarch64-linux-gnu 16.1.0:
> drivers/hwtracing/coresight/coresight-cti-sysfs.o
> 
> Assisted-by: LLM coccinelle
> Signed-off-by: Kees Cook <[email protected]>

Reviewed-by: Leo Yan <[email protected]>

Reply via email to