summaryrefslogtreecommitdiffstats
path: root/scripts/const_structs.checkpatch
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2020-04-22 12:32:03 +0200
committerIngo Molnar <mingo@kernel.org>2020-04-23 08:34:18 +0200
commit894e48cada64ec384873fad4fe1b0d0c7de31a29 (patch)
treec7cd938c89d94d7efe9df73700fce0e796588087 /scripts/const_structs.checkpatch
parentobjtool: Also consider .entry.text as noinstr (diff)
downloadlinux-894e48cada64ec384873fad4fe1b0d0c7de31a29.tar.xz
linux-894e48cada64ec384873fad4fe1b0d0c7de31a29.zip
objtool: Constify 'struct elf *' parameters
In preparation to parallelize certain parts of objtool, map out which uses of various data structures are read-only vs. read-write. As a first step constify 'struct elf' pointer passing, most of the secondary uses of it in find_symbol_*() methods are read-only. Also, while at it, better group the 'struct elf' handling methods in elf.h. Acked-by: Josh Poimboeuf <jpoimboe@redhat.com> Signed-off-by: Ingo Molnar <mingo@kernel.org> Cc: Borislav Petkov <bp@alien8.de> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Sami Tolvanen <samitolvanen@google.com> Cc: Thomas Gleixner <tglx@linutronix.de> Link: https://lore.kernel.org/r/20200422103205.61900-2-mingo@kernel.org
Diffstat (limited to 'scripts/const_structs.checkpatch')
0 files changed, 0 insertions, 0 deletions