Re: [PATCH bpf] selftests/bpf: Fix a compiler warning in local_storage test

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

 



Hello:

This patch was applied to bpf/bpf-next.git (refs/heads/master):

On Tue,  2 Feb 2021 21:37:30 +0000 you wrote:
> Some compilers trigger a warning when tmp_dir_path is allocated
> with a fixed size of 64-bytes and used in the following snprintf:
> 
>   snprintf(tmp_exec_path, sizeof(tmp_exec_path), "%s/copy_of_rm",
> 	   tmp_dir_path);
> 
>   warning: ‘/copy_of_rm’ directive output may be truncated writing 11
>   bytes into a region of size between 1 and 64 [-Wformat-truncation=]
> 
> [...]

Here is the summary with links:
  - [bpf] selftests/bpf: Fix a compiler warning in local_storage test
    https://git.kernel.org/bpf/bpf-next/c/15075bb7228a

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