summaryrefslogtreecommitdiff
path: root/include/linux/string.h
diff options
context:
space:
mode:
authorPhilippe Schenker <[email protected]>2025-11-11 08:16:26 +0100
committerTom Rini <[email protected]>2025-11-18 12:50:05 -0600
commit5d3697b7cf0006fee3fa12966643d605ae0777cc (patch)
treec90752cf64c7e1e3aec3524f6f8853602d311bd8 /include/linux/string.h
parent46e372feb784f533cd92e73f51f90b4fe4d336e5 (diff)
remoteproc: k3-r5: cast size to size_t6dd
When compiling for R5 core with CONFIG_REMOTEPROC_TI_K3_R5F, passing 'size' (ulong) to ti_secure_image_post_process() caused a type mismatch compiler error. On platforms where ulong and size_t differ in size, directly casting could lead to out-of-bounds memory access. Fix by introducing a size_t temporary variable, passing it to the function, and writing back the potentially modified value for use in subsequent calls. Signed-off-by: Philippe Schenker <[email protected]> Acked-by: Andrew Davis <[email protected]>
Diffstat (limited to 'include/linux/string.h')
0 files changed, 0 insertions, 0 deletions