Re: [PATCH bpf-next] selftests/bpf: Fix selftest test_global_funcs/global_func1 failure with latest clang

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

 



Hello:

This patch was applied to bpf/bpf-next.git (master)
by Andrii Nakryiko <andrii@xxxxxxxxxx>:

On Tue, 25 Apr 2023 10:47:44 -0700 you wrote:
> The selftest test_global_funcs/global_func1 failed with the latest clang17.
> The reason is due to upstream ArgumentPromotionPass ([1]),
> which may manipulate static function parameters and cause inlining
> although the funciton is marked as noinline.
> 
> The original code:
>   static __attribute__ ((noinline))
>   int f0(int var, struct __sk_buff *skb)
>   {
>         return skb->len;
>   }
> 
> [...]

Here is the summary with links:
  - [bpf-next] selftests/bpf: Fix selftest test_global_funcs/global_func1 failure with latest clang
    https://git.kernel.org/bpf/bpf-next/c/f1f5553d91a1

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