Linux RAID subsystem development
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
Cc: kbuild-all@01.org, Neil Brown <neilb@suse.com>,
	Shaohua Li <shli@kernel.org>,
	linux-raid@vger.kernel.org, Hannes Reinecke <hare@suse.de>
Subject: Re: [PATCH] Abort pending request for RAID10
Date: Tue, 19 Jan 2016 17:05:22 +0800	[thread overview]
Message-ID: <201601191737.d6uDhQfR%fengguang.wu@intel.com> (raw)
In-Reply-To: <1453193726-4617-1-git-send-email-hare@suse.de>

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

Hi Hannes,

[auto build test ERROR on v4.4-rc8]
[also build test ERROR on next-20160119]
[if your patch is applied to the wrong git tree, please drop us a note to help improving the system]

url:    https://github.com/0day-ci/linux/commits/Hannes-Reinecke/Abort-pending-request-for-RAID10/20160119-165822
config: x86_64-randconfig-x012-01180513 (attached as .config)
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All error/warnings (new ones prefixed by >>):

   In file included from include/asm-generic/bug.h:4:0,
                    from arch/x86/include/asm/bug.h:35,
                    from include/linux/bug.h:4,
                    from include/linux/mmdebug.h:4,
                    from include/linux/gfp.h:4,
                    from include/linux/slab.h:14,
                    from drivers/md/raid10.c:21:
   drivers/md/raid10.c: In function 'flush_pending_writes':
>> drivers/md/raid10.c:884:18: error: 'Timeout' undeclared (first use in this function)
        if (test_bit(Timeout, &rdev->flags))
                     ^
   include/linux/compiler.h:147:28: note: in definition of macro '__trace_if'
     if (__builtin_constant_p((cond)) ? !!(cond) :   \
                               ^
>> drivers/md/raid10.c:884:5: note: in expansion of macro 'if'
        if (test_bit(Timeout, &rdev->flags))
        ^
>> drivers/md/raid10.c:884:9: note: in expansion of macro 'test_bit'
        if (test_bit(Timeout, &rdev->flags))
            ^
   drivers/md/raid10.c:884:18: note: each undeclared identifier is reported only once for each function it appears in
        if (test_bit(Timeout, &rdev->flags))
                     ^
   include/linux/compiler.h:147:28: note: in definition of macro '__trace_if'
     if (__builtin_constant_p((cond)) ? !!(cond) :   \
                               ^
>> drivers/md/raid10.c:884:5: note: in expansion of macro 'if'
        if (test_bit(Timeout, &rdev->flags))
        ^
>> drivers/md/raid10.c:884:9: note: in expansion of macro 'test_bit'
        if (test_bit(Timeout, &rdev->flags))
            ^
   drivers/md/raid10.c: In function 'raid10_unplug':
   drivers/md/raid10.c:1077:17: error: 'Timeout' undeclared (first use in this function)
       if (test_bit(Timeout, &rdev->flags))
                    ^
   include/linux/compiler.h:147:28: note: in definition of macro '__trace_if'
     if (__builtin_constant_p((cond)) ? !!(cond) :   \
                               ^
   drivers/md/raid10.c:1077:4: note: in expansion of macro 'if'
       if (test_bit(Timeout, &rdev->flags))
       ^
   drivers/md/raid10.c:1077:8: note: in expansion of macro 'test_bit'
       if (test_bit(Timeout, &rdev->flags))
           ^

vim +/Timeout +884 drivers/md/raid10.c

   878				}
   879				if (unlikely((bio->bi_rw & REQ_DISCARD) &&
   880				    !blk_queue_discard(bdev_get_queue(bio->bi_bdev))))
   881					/* Just ignore it */
   882					bio_endio(bio);
   883				else if (test_bit(Faulty, &rdev->flags)) {
 > 884					if (test_bit(Timeout, &rdev->flags))
   885						bio->bi_error = -ETIMEDOUT;
   886					else
   887						bio->bi_error = -EIO;

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 19773 bytes --]

  reply	other threads:[~2016-01-19  9:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-19  8:55 [PATCH] Abort pending request for RAID10 Hannes Reinecke
2016-01-19  9:05 ` kbuild test robot [this message]
2016-01-19 18:53 ` Shaohua Li

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=201601191737.d6uDhQfR%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=hare@suse.de \
    --cc=kbuild-all@01.org \
    --cc=linux-raid@vger.kernel.org \
    --cc=neilb@suse.com \
    --cc=shli@kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox