lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Sat, 17 Dec 2022 09:49:02 -0800 From: Yonghong Song <yhs@...a.com> To: "Daniel T. Lee" <danieltimlee@...il.com>, Daniel Borkmann <daniel@...earbox.net>, Alexei Starovoitov <ast@...nel.org>, Andrii Nakryiko <andrii.nakryiko@...il.com>, Yonghong Song <yhs@...com> Cc: bpf@...r.kernel.org, netdev@...r.kernel.org Subject: Re: [bpf-next 2/3] samples/bpf: replace meaningless counter with tracex4 On 12/17/22 7:38 AM, Daniel T. Lee wrote: > Currently, compiling samples/bpf with LLVM warns about the unused but > set variable with tracex4_user. > > ./samples/bpf/tracex4_user.c:54:14: > warning: variable 'i' set but not used [-Wunused-but-set-variable] > int map_fd, i, j = 0; > ^ > 1 warning generated. > > This commit resolve this compiler warning by replacing the meaningless > counter. > > Signed-off-by: Daniel T. Lee <danieltimlee@...il.com> Acked-by: Yonghong Song <yhs@...com>
Powered by blists - more mailing lists