Content-Type: multipart/mixed; boundary="===============5666129789868963799==" MIME-Version: 1.0 From: Guoqing Jiang To: kbuild-all@lists.01.org Subject: Re: [PATCH 3/3] RDMA/rtrs-clt: Kill xchg_paths Date: Sat, 03 Sep 2022 11:54:24 +0800 Message-ID: <1ac63952-ad51-7d6c-1776-689f3686a23a@linux.dev> In-Reply-To: <202209030331.GmBYWKZb-lkp@intel.com> List-Id: --===============5666129789868963799== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable On 9/3/22 3:15 AM, kernel test robot wrote: > Hi Guoqing, > > Thank you for the patch! Yet something to improve: > > [auto build test ERROR on rdma/for-next] > [also build test ERROR on linus/master v6.0-rc3 next-20220901] > [If your patch is applied to the wrong git tree, kindly drop us a note. > And when submitting patch, we suggest to use '--base' as documented in > https://git-scm.com/docs/git-format-patch#_base_tree_information] > > url: https://github.com/intel-lab-lkp/linux/commits/Guoqing-Jiang/misc= -changes-for-rtrs/20220902-182137 > base: https://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma.git for= -next > config: parisc64-allmodconfig (https://download.01.org/0day-ci/archive/20= 220903/202209030331.GmBYWKZb-lkp(a)intel.com/config) > compiler: hppa-linux-gcc (GCC) 12.1.0 > reproduce (this is a W=3D1 build): > wget https://raw.githubusercontent.com/intel/lkp-tests/master/sb= in/make.cross -O ~/bin/make.cross > chmod +x ~/bin/make.cross > # https://github.com/intel-lab-lkp/linux/commit/1cb28fde63a27254= 3476132ec83f6eb121111fae > git remote add linux-review https://github.com/intel-lab-lkp/lin= ux > git fetch --no-tags linux-review Guoqing-Jiang/misc-changes-for-= rtrs/20220902-182137 > git checkout 1cb28fde63a272543476132ec83f6eb121111fae > # save the config file > mkdir build_dir && cp config build_dir/.config > COMPILER_INSTALL_PATH=3D$HOME/0day COMPILER=3Dgcc-12.1.0 make.cr= oss W=3D1 O=3Dbuild_dir ARCH=3Dparisc SHELL=3D/bin/bash drivers/infiniband/= ulp/rtrs/ > > If you fix the issue, kindly add following tag where applicable > Reported-by: kernel test robot > > All errors (new ones prefixed by >>): > > In file included from include/linux/atomic.h:80, > from arch/parisc/include/asm/bitops.h:13, > from include/linux/bitops.h:67, > from include/linux/log2.h:12, > from include/asm-generic/div64.h:55, > from ./arch/parisc/include/generated/asm/div64.h:1, > from include/linux/math.h:6, > from include/linux/math64.h:6, > from include/linux/time.h:6, > from include/linux/stat.h:19, > from include/linux/module.h:13, > from drivers/infiniband/ulp/rtrs/rtrs-clt.c:13: > drivers/infiniband/ulp/rtrs/rtrs-clt.c: In function 'rtrs_clt_remove_= path_from_arr': >>> include/linux/atomic/atomic-arch-fallback.h:90:34: error: initializatio= n of 'struct rtrs_clt_path **' from incompatible pointer type 'struct rtrs_= clt_path *' [-Werror=3Dincompatible-pointer-types] > 90 | typeof(*(_ptr)) *___op =3D (_oldp), ___o =3D *___op, = ___r; \ > | ^ > include/linux/atomic/atomic-instrumented.h:1978:9: note: in expansion= of macro 'arch_try_cmpxchg' > 1978 | arch_try_cmpxchg(__ai_ptr, __ai_oldp, __VA_ARGS__); \ > | ^~~~~~~~~~~~~~~~ > drivers/infiniband/ulp/rtrs/rtrs-clt.c:2297:21: note: in expansion of= macro 'try_cmpxchg' > 2297 | if (try_cmpxchg((typeof(ppcpu_path))ppcpu_pat= h, clt_path, next)) > | ^~~~~~~~~~~ > cc1: some warnings being treated as errors My bad, thanks for the report! Guoqing --===============5666129789868963799==--