[PATCH 1/2] hexagon/traps.c: use KSYM_NAME_LEN in array size
Michael Ellerman
patch-notifications at ellerman.id.au
Mon Jul 3 14:02:49 AEST 2023
On Mon, 29 May 2023 16:43:36 +0530, Maninder Singh wrote:
> kallsyms_lookup which in turn calls for kallsyms_lookup_buildid()
> writes on index "KSYM_NAME_LEN - 1".
>
> Thus array size should be KSYM_NAME_LEN.
>
> for hexagon it was defined as "128" directly.
> and commit '61968dbc2d5d' changed define value to 512,
> So both were missed to update with new size.
>
> [...]
Patch 2 applied to powerpc/fixes.
[2/2] powerpc/xmon: use KSYM_NAME_LEN in array size
https://git.kernel.org/powerpc/c/719dfd5925e186e09a2a6f23016936ac436f3d78
cheers
More information about the Linuxppc-dev
mailing list