Hi "Jörn-Thorben, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on bpf-next/master] url: https://github.com/intel-lab-lkp/linux/commits/J-rn-Thorben-Hinz/bpf-Allow-a-TCP-CC-to-write-sk_pacing_rate-and-sk_pacing_status/20220610-054718 base: https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git master config: i386-randconfig-a003 (https://download.01.org/0day-ci/archive/20220610/202206102106.exquHIbr-lkp@xxxxxxxxx/config) compiler: gcc-11 (Debian 11.3.0-3) 11.3.0 reproduce (this is a W=1 build): # https://github.com/intel-lab-lkp/linux/commit/ac2a3c95ce28ad79c2ef7e6c52c4fd25af9f3c6d git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review J-rn-Thorben-Hinz/bpf-Allow-a-TCP-CC-to-write-sk_pacing_rate-and-sk_pacing_status/20220610-054718 git checkout ac2a3c95ce28ad79c2ef7e6c52c4fd25af9f3c6d # save the config file mkdir build_dir && cp config build_dir/.config make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash net/ipv4/ If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot <lkp@xxxxxxxxx> All warnings (new ones prefixed by >>): net/ipv4/bpf_tcp_ca.c: In function 'bpf_tcp_ca_init_member': >> net/ipv4/bpf_tcp_ca.c:225:13: warning: unused variable 'prog_fd' [-Wunused-variable] 225 | int prog_fd; | ^~~~~~~ vim +/prog_fd +225 net/ipv4/bpf_tcp_ca.c 0baf26b0fcd74b Martin KaFai Lau 2020-01-08 218 0baf26b0fcd74b Martin KaFai Lau 2020-01-08 219 static int bpf_tcp_ca_init_member(const struct btf_type *t, 0baf26b0fcd74b Martin KaFai Lau 2020-01-08 220 const struct btf_member *member, 0baf26b0fcd74b Martin KaFai Lau 2020-01-08 221 void *kdata, const void *udata) 0baf26b0fcd74b Martin KaFai Lau 2020-01-08 222 { 0baf26b0fcd74b Martin KaFai Lau 2020-01-08 223 const struct tcp_congestion_ops *utcp_ca; 0baf26b0fcd74b Martin KaFai Lau 2020-01-08 224 struct tcp_congestion_ops *tcp_ca; 0baf26b0fcd74b Martin KaFai Lau 2020-01-08 @225 int prog_fd; 0baf26b0fcd74b Martin KaFai Lau 2020-01-08 226 u32 moff; 0baf26b0fcd74b Martin KaFai Lau 2020-01-08 227 0baf26b0fcd74b Martin KaFai Lau 2020-01-08 228 utcp_ca = (const struct tcp_congestion_ops *)udata; 0baf26b0fcd74b Martin KaFai Lau 2020-01-08 229 tcp_ca = (struct tcp_congestion_ops *)kdata; 0baf26b0fcd74b Martin KaFai Lau 2020-01-08 230 8293eb995f349a Alexei Starovoitov 2021-12-01 231 moff = __btf_member_bit_offset(t, member) / 8; 0baf26b0fcd74b Martin KaFai Lau 2020-01-08 232 switch (moff) { 0baf26b0fcd74b Martin KaFai Lau 2020-01-08 233 case offsetof(struct tcp_congestion_ops, flags): 0baf26b0fcd74b Martin KaFai Lau 2020-01-08 234 if (utcp_ca->flags & ~TCP_CONG_MASK) 0baf26b0fcd74b Martin KaFai Lau 2020-01-08 235 return -EINVAL; 0baf26b0fcd74b Martin KaFai Lau 2020-01-08 236 tcp_ca->flags = utcp_ca->flags; 0baf26b0fcd74b Martin KaFai Lau 2020-01-08 237 return 1; 0baf26b0fcd74b Martin KaFai Lau 2020-01-08 238 case offsetof(struct tcp_congestion_ops, name): 8e7ae2518f5265 Martin KaFai Lau 2020-03-13 239 if (bpf_obj_name_cpy(tcp_ca->name, utcp_ca->name, 8e7ae2518f5265 Martin KaFai Lau 2020-03-13 240 sizeof(tcp_ca->name)) <= 0) 0baf26b0fcd74b Martin KaFai Lau 2020-01-08 241 return -EINVAL; 0baf26b0fcd74b Martin KaFai Lau 2020-01-08 242 if (tcp_ca_find(utcp_ca->name)) 0baf26b0fcd74b Martin KaFai Lau 2020-01-08 243 return -EEXIST; 0baf26b0fcd74b Martin KaFai Lau 2020-01-08 244 return 1; 0baf26b0fcd74b Martin KaFai Lau 2020-01-08 245 } 0baf26b0fcd74b Martin KaFai Lau 2020-01-08 246 0baf26b0fcd74b Martin KaFai Lau 2020-01-08 247 return 0; 0baf26b0fcd74b Martin KaFai Lau 2020-01-08 248 } 0baf26b0fcd74b Martin KaFai Lau 2020-01-08 249 -- 0-DAY CI Kernel Test Service https://01.org/lkp