mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Cc: kbuild-all@01.org, Jonathan Corbet <corbet@lwn.net>,
	Alasdair Kergon <agk@redhat.com>,
	Mike Snitzer <snitzer@redhat.com>, Will Drewry <wad@chromium.org>,
	linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org,
	dm-devel@redhat.com
Subject: Re: [PATCH 4/5] init: add support to directly boot to a mapped device
Date: Wed, 12 Apr 2017 08:04:08 +0800	[thread overview]
Message-ID: <201704120726.tH069oPs%fengguang.wu@intel.com> (raw)
In-Reply-To: <20170411153344.27092-5-enric.balletbo@collabora.com>

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

Hi Will,

[auto build test ERROR on dm/for-next]
[also build test ERROR on v4.11-rc6 next-20170411]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/Enric-Balletbo-i-Serra/dm-boot-a-mapped-device-without-an-initramfs/20170412-071136
base:   https://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm.git for-next
config: x86_64-randconfig-x010-201715 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

Note: the linux-review/Enric-Balletbo-i-Serra/dm-boot-a-mapped-device-without-an-initramfs/20170412-071136 HEAD 76c4f3dfe69e92fc617c7d30e966931aec694c75 builds fine.
      It only hurts bisectibility.

All errors (new ones prefixed by >>):

   init/do_mounts_dm.c: In function 'dm_parse_targets':
>> init/do_mounts_dm.c:231:32: error: passing argument 3 of 'kstrtoull' from incompatible pointer type [-Werror=incompatible-pointer-types]
      if (kstrtoull(opt.start, 10, &(*target)->begin))
                                   ^
   In file included from include/linux/list.h:8:0,
                    from include/linux/async.h:16,
                    from init/do_mounts_dm.c:8:
   include/linux/kernel.h:282:18: note: expected 'long long unsigned int *' but argument is of type 'sector_t * {aka long unsigned int *}'
    int __must_check kstrtoull(const char *s, unsigned int base, unsigned long long *res);
                     ^~~~~~~~~
   init/do_mounts_dm.c:240:32: error: passing argument 3 of 'kstrtoull' from incompatible pointer type [-Werror=incompatible-pointer-types]
      if (kstrtoull(opt.start, 10, &(*target)->length))
                                   ^
   In file included from include/linux/list.h:8:0,
                    from include/linux/async.h:16,
                    from init/do_mounts_dm.c:8:
   include/linux/kernel.h:282:18: note: expected 'long long unsigned int *' but argument is of type 'sector_t * {aka long unsigned int *}'
    int __must_check kstrtoull(const char *s, unsigned int base, unsigned long long *res);
                     ^~~~~~~~~
   cc1: some warnings being treated as errors

vim +/kstrtoull +231 init/do_mounts_dm.c

   225			if (!get_dm_option(&opt, DM_FIELD_SEP)) {
   226				DMERR("failed to parse starting sector"
   227				      " for target %s<%ld>", dev->name, i);
   228				goto parse_fail;
   229			}
   230	
 > 231			if (kstrtoull(opt.start, 10, &(*target)->begin))
   232				goto parse_fail;
   233	
   234			if (!get_dm_option(&opt, DM_FIELD_SEP)) {

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

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

  reply	other threads:[~2017-04-12  0:04 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-11 15:33 [PATCH 0/5] dm: boot a mapped device without an initramfs Enric Balletbo i Serra
2017-04-11 15:33 ` [PATCH 1/5] dm: move dm_table_destroy() to same header as dm_table_create() Enric Balletbo i Serra
2017-04-11 15:33 ` [PATCH 2/5] dm: move dm definitions outside the private header to boot dm targets Enric Balletbo i Serra
2017-04-11 15:33 ` [PATCH 3/5] dm: export a table+mapped device to the ioctl interface Enric Balletbo i Serra
2017-04-11 15:33 ` [PATCH 4/5] init: add support to directly boot to a mapped device Enric Balletbo i Serra
2017-04-12  0:04   ` kbuild test robot [this message]
2017-04-11 15:33 ` [PATCH 5/5] dm verity: add support for version 0 of the on-disk format Enric Balletbo i Serra
2017-04-11 17:21   ` Milan Broz
2017-04-11 19:42     ` Enric Balletbo i Serra

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=201704120726.tH069oPs%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=agk@redhat.com \
    --cc=corbet@lwn.net \
    --cc=dm-devel@redhat.com \
    --cc=enric.balletbo@collabora.com \
    --cc=kbuild-all@01.org \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=snitzer@redhat.com \
    --cc=wad@chromium.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

all inboxes | Powered by JetHome®