Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1621707
| From | kbuild test robot <lkp@intel.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 4/5] init: add support to directly boot to a mapped device |
| Date | 2017-04-12 02:10 +0200 |
| Message-ID | <tve1b-5Fq-9@gated-at.bofh.it> (permalink) |
| References | <tv63E-nH-17@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
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
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH 0/5] dm: boot a mapped device without an initramfs Enric Balletbo i Serra <enric.balletbo@collabora.com> - 2017-04-11 17:40 +0200
[PATCH 1/5] dm: move dm_table_destroy() to same header as dm_table_create() Enric Balletbo i Serra <enric.balletbo@collabora.com> - 2017-04-11 17:40 +0200
[PATCH 5/5] dm verity: add support for version 0 of the on-disk format Enric Balletbo i Serra <enric.balletbo@collabora.com> - 2017-04-11 17:40 +0200
Re: [PATCH 5/5] dm verity: add support for version 0 of the on-disk format Milan Broz <gmazyland@gmail.com> - 2017-04-11 19:30 +0200
Re: [PATCH 5/5] dm verity: add support for version 0 of the on-disk format Enric Balletbo i Serra <enric.balletbo@collabora.com> - 2017-04-11 21:50 +0200
[PATCH 2/5] dm: move dm definitions outside the private header to boot dm targets. Enric Balletbo i Serra <enric.balletbo@collabora.com> - 2017-04-11 17:40 +0200
[PATCH 3/5] dm: export a table+mapped device to the ioctl interface Enric Balletbo i Serra <enric.balletbo@collabora.com> - 2017-04-11 17:40 +0200
[PATCH 4/5] init: add support to directly boot to a mapped device Enric Balletbo i Serra <enric.balletbo@collabora.com> - 2017-04-11 17:40 +0200
Re: [PATCH 4/5] init: add support to directly boot to a mapped device kbuild test robot <lkp@intel.com> - 2017-04-12 02:10 +0200
csiph-web