]> git.ipfire.org Git - thirdparty/linux.git/commit
perf hwmon_pmu: Constify the variables returning bsearch() on const tables
authorArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 27 Jan 2026 05:15:30 +0000 (02:15 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 27 Jan 2026 05:15:30 +0000 (02:15 -0300)
commit0e47251e8cc438d5b59fcd86d27efade01976fe1
tree9387ee530139a5f2a7017969d72af61db81f9b6f
parentf1321cce848c558fde4c0c6bcd5e53f3cefd3af2
perf hwmon_pmu: Constify the variables returning bsearch() on const tables

To address const-correctness errors on newer glibcs (-Werror=discarded-qualifiers).

Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/hwmon_pmu.c