Commit 150101bb authored by Ian Rogers's avatar Ian Rogers Committed by Greg Kroah-Hartman
Browse files

perf bpf-utils: Constify bpil_array_desc



[ Upstream commit 1654a0e4 ]

The array's contents is a compile time constant. Constify to make the
code more intention revealing and avoid unintended errors.

Reviewed-by: default avatarNamhyung Kim <namhyung@kernel.org>
Signed-off-by: default avatarIan Rogers <irogers@google.com>
Link: https://lore.kernel.org/r/20250902181713.309797-3-irogers@google.com


Signed-off-by: default avatarNamhyung Kim <namhyung@kernel.org>
Stable-dep-of: 01be43f2 ("perf bpf-utils: Harden get_bpf_prog_info_linear")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 25eac390
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment