From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============2658049103789002514==" MIME-Version: 1.0 From: Mike Snitzer To: kbuild-all@lists.01.org Subject: Re: [snitzer:dm-5.10 17/17] include/linux/device-mapper.h:259:51: error: 'struct dm_target' has no member named 'features' Date: Wed, 23 Sep 2020 17:30:53 -0400 Message-ID: <20200923213053.GA9757@redhat.com> In-Reply-To: <202009240554.weUrvrsS%lkp@intel.com> List-Id: --===============2658049103789002514== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable On Wed, Sep 23 2020 at 5:20pm -0400, kernel test robot wrote: > tree: https://git.kernel.org/pub/scm/linux/kernel/git/snitzer/linux.git= dm-5.10 > head: 90d8bbdb132519a1e1f4e948bb79fcc77cfa1f30 > commit: 90d8bbdb132519a1e1f4e948bb79fcc77cfa1f30 [17/17] dm: add support = for REQ_NOWAIT and enable it for linear target > config: c6x-allyesconfig (attached as .config) > compiler: c6x-elf-gcc (GCC) 9.3.0 > reproduce (this is a W=3D1 build): > wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbi= n/make.cross -O ~/bin/make.cross > chmod +x ~/bin/make.cross > git checkout 90d8bbdb132519a1e1f4e948bb79fcc77cfa1f30 > # save the attached .config to linux build tree > COMPILER_INSTALL_PATH=3D$HOME/0day COMPILER=3Dgcc-9.3.0 make.cros= s ARCH=3Dc6x = > = > If you fix the issue, kindly add following tag as appropriate > Reported-by: kernel test robot > = > All errors (new ones prefixed by >>): > = > In file included from drivers/md/dm.h:14, > from drivers/md/dm-core.h:18, > from drivers/md/dm-table.c:8: > drivers/md/dm-table.c: In function 'dm_table_supports_nowait': > >> include/linux/device-mapper.h:259:51: error: 'struct dm_target' has no= member named 'features' > 259 | #define dm_target_supports_nowait(type) (!!((type)->features &= DM_TARGET_NOWAIT)) > | ^~ > drivers/md/dm-table.c:1738:8: note: in expansion of macro 'dm_target_s= upports_nowait' > 1738 | if (!dm_target_supports_nowait(ti)) > | ^~~~~~~~~~~~~~~~~~~~~~~~~ > = > # https://git.kernel.org/pub/scm/linux/kernel/git/snitzer/linux.git/commi= t/?id=3D90d8bbdb132519a1e1f4e948bb79fcc77cfa1f30 > git remote add snitzer https://git.kernel.org/pub/scm/linux/kernel/git/sn= itzer/linux.git > git fetch --no-tags snitzer dm-5.10 > git checkout 90d8bbdb132519a1e1f4e948bb79fcc77cfa1f30 > vim +259 include/linux/device-mapper.h > = > 254 = > 255 /* > 256 * A target handles REQ_NOWAIT > 257 */ > 258 #define DM_TARGET_NOWAIT 0x00000080 > > 259 #define dm_target_supports_nowait(type) (!!((type)->features & DM_= TARGET_NOWAIT)) > 260 = I quickly fixed this with a rebase... but lkp beat me in the race. --===============2658049103789002514==--