Content-Type: multipart/mixed; boundary="===============8182799152155076601==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: Re: [PATCH bpf-next 4/5] bpf: remove the cgroup -> bpf header dependecy Date: Wed, 15 Dec 2021 03:27:29 +0800 Message-ID: <202112150326.PHRPQfmk-lkp@intel.com> In-Reply-To: <20211213234223.356977-5-kuba@kernel.org> List-Id: --===============8182799152155076601== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Hi Jakub, I love your patch! Yet something to improve: [auto build test ERROR on bpf-next/master] url: https://github.com/0day-ci/linux/commits/Jakub-Kicinski/bpf-remove-= the-cgroup-bpf-header-dependecy/20211214-074344 base: https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git ma= ster config: s390-randconfig-r023-20211213 (https://download.01.org/0day-ci/arch= ive/20211215/202112150326.PHRPQfmk-lkp(a)intel.com/config) compiler: s390-linux-gcc (GCC) 11.2.0 reproduce (this is a W=3D1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/= make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://github.com/0day-ci/linux/commit/517f95dd6d9264e4104cfc35e= ecdd5c1287738ae git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Jakub-Kicinski/bpf-remove-the-cgro= up-bpf-header-dependecy/20211214-074344 git checkout 517f95dd6d9264e4104cfc35eecdd5c1287738ae # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=3D$HOME/0day COMPILER=3Dgcc-11.2.0 make.cross= O=3Dbuild_dir ARCH=3Ds390 SHELL=3D/bin/bash If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All errors (new ones prefixed by >>): arch/s390/mm/hugetlbpage.c: In function 'hugetlb_get_unmapped_area': >> arch/s390/mm/hugetlbpage.c:352:16: error: implicit declaration of functi= on 'check_asce_limit'; did you mean 'check_data_rlimit'? [-Werror=3Dimplici= t-function-declaration] 352 | return check_asce_limit(mm, addr, len); | ^~~~~~~~~~~~~~~~ | check_data_rlimit cc1: some warnings being treated as errors vim +352 arch/s390/mm/hugetlbpage.c 5f490a520bcb393 Gerald Schaefer 2020-01-16 315 = 5f490a520bcb393 Gerald Schaefer 2020-01-16 316 unsigned long hugetlb_ge= t_unmapped_area(struct file *file, unsigned long addr, 5f490a520bcb393 Gerald Schaefer 2020-01-16 317 unsigned long len, uns= igned long pgoff, unsigned long flags) 5f490a520bcb393 Gerald Schaefer 2020-01-16 318 { 5f490a520bcb393 Gerald Schaefer 2020-01-16 319 struct hstate *h =3D hs= tate_file(file); 5f490a520bcb393 Gerald Schaefer 2020-01-16 320 struct mm_struct *mm = =3D current->mm; 5f490a520bcb393 Gerald Schaefer 2020-01-16 321 struct vm_area_struct *= vma; 5f490a520bcb393 Gerald Schaefer 2020-01-16 322 = 5f490a520bcb393 Gerald Schaefer 2020-01-16 323 if (len & ~huge_page_ma= sk(h)) 5f490a520bcb393 Gerald Schaefer 2020-01-16 324 return -EINVAL; 5f490a520bcb393 Gerald Schaefer 2020-01-16 325 if (len > TASK_SIZE - m= map_min_addr) 5f490a520bcb393 Gerald Schaefer 2020-01-16 326 return -ENOMEM; 5f490a520bcb393 Gerald Schaefer 2020-01-16 327 = 5f490a520bcb393 Gerald Schaefer 2020-01-16 328 if (flags & MAP_FIXED) { 5f490a520bcb393 Gerald Schaefer 2020-01-16 329 if (prepare_hugepage_r= ange(file, addr, len)) 5f490a520bcb393 Gerald Schaefer 2020-01-16 330 return -EINVAL; 5f490a520bcb393 Gerald Schaefer 2020-01-16 331 goto check_asce_limit; 5f490a520bcb393 Gerald Schaefer 2020-01-16 332 } 5f490a520bcb393 Gerald Schaefer 2020-01-16 333 = 5f490a520bcb393 Gerald Schaefer 2020-01-16 334 if (addr) { 5f490a520bcb393 Gerald Schaefer 2020-01-16 335 addr =3D ALIGN(addr, h= uge_page_size(h)); 5f490a520bcb393 Gerald Schaefer 2020-01-16 336 vma =3D find_vma(mm, a= ddr); 5f490a520bcb393 Gerald Schaefer 2020-01-16 337 if (TASK_SIZE - len >= =3D addr && addr >=3D mmap_min_addr && 5f490a520bcb393 Gerald Schaefer 2020-01-16 338 (!vma || addr + le= n <=3D vm_start_gap(vma))) 5f490a520bcb393 Gerald Schaefer 2020-01-16 339 goto check_asce_limit; 5f490a520bcb393 Gerald Schaefer 2020-01-16 340 } 5f490a520bcb393 Gerald Schaefer 2020-01-16 341 = 5f490a520bcb393 Gerald Schaefer 2020-01-16 342 if (mm->get_unmapped_ar= ea =3D=3D arch_get_unmapped_area) 5f490a520bcb393 Gerald Schaefer 2020-01-16 343 addr =3D hugetlb_get_u= nmapped_area_bottomup(file, addr, len, 5f490a520bcb393 Gerald Schaefer 2020-01-16 344 pgoff, flags); 5f490a520bcb393 Gerald Schaefer 2020-01-16 345 else 5f490a520bcb393 Gerald Schaefer 2020-01-16 346 addr =3D hugetlb_get_u= nmapped_area_topdown(file, addr, len, 5f490a520bcb393 Gerald Schaefer 2020-01-16 347 pgoff, flags); 712fa5f294f377e Alexander Gordeev 2020-03-23 348 if (offset_in_page(addr= )) 5f490a520bcb393 Gerald Schaefer 2020-01-16 349 return addr; 5f490a520bcb393 Gerald Schaefer 2020-01-16 350 = 5f490a520bcb393 Gerald Schaefer 2020-01-16 351 check_asce_limit: 712fa5f294f377e Alexander Gordeev 2020-03-23 @352 return check_asce_limit= (mm, addr, len); --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org --===============8182799152155076601==--