]> git.ipfire.org Git - thirdparty/linux.git/commit
perf disasm: Constify variables storing the result of bsearch() on const tables
authorArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 27 Jan 2026 04:15:47 +0000 (01:15 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 27 Jan 2026 04:44:21 +0000 (01:44 -0300)
commit23262369e650c9995505eb4f69f16449467e6bfe
tree0f5d4d9e040c07f9f59e409221c503ce7d24cc53
parent4b870f62c5079b48a6a19c852f4db5d2569a5239
perf disasm: Constify variables storing the result of bsearch() on const tables

As newer glibcs will propagate the const attribute of the searched table
to its return.

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