All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mike Snitzer <snitzer@redhat.com>
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	[thread overview]
Message-ID: <20200923213053.GA9757@redhat.com> (raw)
In-Reply-To: <202009240554.weUrvrsS%lkp@intel.com>

[-- 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.

      reply	other threads:[~2020-09-23 21:30 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200923213053.GA9757@redhat.com \
    --to=snitzer@redhat.com \
    --cc=kbuild-all@lists.01.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.