From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============0911174821698405617==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: Re: [net RFC v1 1/1] page_pool: fix NULL dereference crash Date: Sat, 22 Jan 2022 11:15:50 +0800 Message-ID: <202201221122.LOf7DZi6-lkp@intel.com> In-Reply-To: <20220122005644.802352-2-colin.foster@in-advantage.com> List-Id: --===============0911174821698405617== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Hi Colin, [FYI, it's a private test report for your RFC patch.] [auto build test ERROR on net/master] url: https://github.com/0day-ci/linux/commits/Colin-Foster/Fix-NULL-poin= ter-dereference-in-page_pool/20220122-085826 base: https://git.kernel.org/pub/scm/linux/kernel/git/davem/net.git 03c82= e80ec283b115c56026ecdb95c901a57c51e config: arc-randconfig-r043-20220122 (https://download.01.org/0day-ci/archi= ve/20220122/202201221122.LOf7DZi6-lkp(a)intel.com/config) compiler: arceb-elf-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/6b2d9e5c2901873c8bba988d4= db6cd5bfbaaeec4 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Colin-Foster/Fix-NULL-pointer-dere= ference-in-page_pool/20220122-085826 git checkout 6b2d9e5c2901873c8bba988d4db6cd5bfbaaeec4 # 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=3Darc SHELL=3D/bin/bash net/core/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All errors (new ones prefixed by >>): net/core/page_pool.c: In function 'page_pool_set_pp_info': >> net/core/page_pool.c:216:13: error: used struct type value where scalar = is required 216 | if (pool->p && pool->p.init_callback) | ^~~~ vim +216 net/core/page_pool.c 210 = 211 static void page_pool_set_pp_info(struct page_pool *pool, 212 struct page *page) 213 { 214 page->pp =3D pool; 215 page->pp_magic |=3D PP_SIGNATURE; > 216 if (pool->p && pool->p.init_callback) 217 pool->p.init_callback(page, pool->p.init_arg); 218 } 219 = --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org --===============0911174821698405617==--