lkml.org 
[lkml]   [2023]   [Jun]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [tip: objtool/core] x86/orc: Make the is_callthunk() definition depend on CONFIG_BPF_JIT=y
On Fri, Jun 09, 2023 at 09:18:13AM -0000, tip-bot2 for Ingo Molnar wrote:
> The following commit has been merged into the objtool/core branch of tip:
>
> Commit-ID: 301cf77e21317b3465c5e2bb0188df24bbf1c2e2
> Gitweb: https://git.kernel.org/tip/301cf77e21317b3465c5e2bb0188df24bbf1c2e2
> Author: Ingo Molnar <mingo@kernel.org>
> AuthorDate: Fri, 09 Jun 2023 11:04:53 +02:00
> Committer: Ingo Molnar <mingo@kernel.org>
> CommitterDate: Fri, 09 Jun 2023 11:09:04 +02:00
>
> x86/orc: Make the is_callthunk() definition depend on CONFIG_BPF_JIT=y
>
> Recent commit:
>
> 020126239b8f Revert "x86/orc: Make it callthunk aware"
>
> Made the only user of is_callthunk() depend on CONFIG_BPF_JIT=y, while
> the definition of the helper function is unconditional.
>
> Move is_callthunk() inside the #ifdef block.
>
> Addresses this build failure:
>
> arch/x86/kernel/callthunks.c:296:13: error: ‘is_callthunk’ defined but not used [-Werror=unused-function]

Sorry about that. The bots didn't complain for some reason :-/

--
Josh

\
 
 \ /
  Last update: 2023-06-09 23:24    [W:0.064 / U:0.060 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site