mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-12-29 17:25:38 +00:00
scripts/kallsyms: constify long_options
getopt_long() does not modify this. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Nicolas Schier <n.schier@avm.de>
This commit is contained in:
parent
8635e8df47
commit
92e74fb6e6
@ -806,7 +806,7 @@ static void record_relative_base(void)
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
while (1) {
|
||||
static struct option long_options[] = {
|
||||
static const struct option long_options[] = {
|
||||
{"all-symbols", no_argument, &all_symbols, 1},
|
||||
{"absolute-percpu", no_argument, &absolute_percpu, 1},
|
||||
{"base-relative", no_argument, &base_relative, 1},
|
||||
|
Loading…
Reference in New Issue
Block a user