Re: [PATCH] BPF: Include missing nospec.h to avoid build error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello:

This patch was applied to bpf/bpf.git (master)
by Alexei Starovoitov <ast@xxxxxxxxxx>:

On Wed, 22 Feb 2023 10:50:48 +0800 you wrote:
> Commit 74e19ef0ff8061ef55957c3a ("uaccess: Add speculation barrier to
> copy_from_user()") defines a default barrier_nospec() and removes the
> #ifdefs in kernel/bpf/core.c, but doesn't include nospec.h, which causes
> such a build error:
> 
>   CC      kernel/bpf/core.o
> kernel/bpf/core.c: In function ‘___bpf_prog_run’:
> kernel/bpf/core.c:1913:3: error: implicit declaration of function ‘barrier_nospec’; did you mean ‘barrier_data’? [-Werror=implicit-function-declaration]
>    barrier_nospec();
>    ^~~~~~~~~~~~~~
>    barrier_data
> cc1: some warnings being treated as errors
> 
> [...]

Here is the summary with links:
  - BPF: Include missing nospec.h to avoid build error
    https://git.kernel.org/bpf/bpf/c/345d24a91c79

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html





[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux