All of lore.kernel.org
 help / color / mirror / Atom feed
* [snitzer:dm-5.10 17/17] include/linux/device-mapper.h:259:51: error: 'struct dm_target' has no member named 'features'
@ 2020-09-23 21:20 kernel test robot
  2020-09-23 21:30 ` Mike Snitzer
  0 siblings, 1 reply; 2+ messages in thread
From: kernel test robot @ 2020-09-23 21:20 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 2211 bytes --]

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=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/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=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=c6x 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

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_supports_nowait'
    1738 |   if (!dm_target_supports_nowait(ti))
         |        ^~~~~~~~~~~~~~~~~~~~~~~~~

# https://git.kernel.org/pub/scm/linux/kernel/git/snitzer/linux.git/commit/?id=90d8bbdb132519a1e1f4e948bb79fcc77cfa1f30
git remote add snitzer https://git.kernel.org/pub/scm/linux/kernel/git/snitzer/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	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 54041 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [snitzer:dm-5.10 17/17] include/linux/device-mapper.h:259:51: error: 'struct dm_target' has no member named 'features'
  2020-09-23 21:20 [snitzer:dm-5.10 17/17] include/linux/device-mapper.h:259:51: error: 'struct dm_target' has no member named 'features' kernel test robot
@ 2020-09-23 21:30 ` Mike Snitzer
  0 siblings, 0 replies; 2+ messages in thread
From: Mike Snitzer @ 2020-09-23 21:30 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 2326 bytes --]

On Wed, Sep 23 2020 at  5:20pm -0400,
kernel test robot <lkp@intel.com> 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=1 build):
>         wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/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=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=c6x 
> 
> If you fix the issue, kindly add following tag as appropriate
> Reported-by: kernel test robot <lkp@intel.com>
> 
> 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_supports_nowait'
>     1738 |   if (!dm_target_supports_nowait(ti))
>          |        ^~~~~~~~~~~~~~~~~~~~~~~~~
> 
> # https://git.kernel.org/pub/scm/linux/kernel/git/snitzer/linux.git/commit/?id=90d8bbdb132519a1e1f4e948bb79fcc77cfa1f30
> git remote add snitzer https://git.kernel.org/pub/scm/linux/kernel/git/snitzer/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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-09-23 21:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-23 21:20 [snitzer:dm-5.10 17/17] include/linux/device-mapper.h:259:51: error: 'struct dm_target' has no member named 'features' kernel test robot
2020-09-23 21:30 ` Mike Snitzer

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.