]> git.baikalelectronics.ru Git - kernel.git/commit
objtool: Add a missing comma to avoid string concatenation
authorEric W. Biederman <ebiederm@xmission.com>
Thu, 2 Feb 2023 04:42:43 +0000 (20:42 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 6 Feb 2023 06:52:49 +0000 (07:52 +0100)
commit4138b47790dc2e22b71c3513711e5f985faec2dc
treec7d17cd7de85ffae6a1db30e10aa808e7ea2270c
parentb052a3f3a4a7924951d912d355045707ca7e2bb1
objtool: Add a missing comma to avoid string concatenation

commit d57e3dabcc1701cae2cf540311e653eeeb739c8c upstream.

Recently the kbuild robot reported two new errors:

>> lib/kunit/kunit-example-test.o: warning: objtool: .text.unlikely: unexpected end of section
>> arch/x86/kernel/dumpstack.o: warning: objtool: oops_end() falls through to next function show_opcodes()

I don't know why they did not occur in my test setup but after digging
it I realized I had accidentally dropped a comma in
tools/objtool/check.c when I renamed rewind_stack_do_exit to
rewind_stack_and_make_dead.

Add that comma back to fix objtool errors.

Link: https://lkml.kernel.org/r/202112140949.Uq5sFKR1-lkp@intel.com
Fixes: 238bcd2dab75 ("exit: Add and use make_task_dead.")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
tools/objtool/check.c