[<prev] [next>] [day] [month] [year] [list]
Message-ID: <CA+r1ZhgKKbuSJnefUmh+tWxd_VhBwZ1g45fxqBiOv9e2HDH0uA@mail.gmail.com>
Date: Mon, 23 Feb 2015 09:11:09 -0700
From: Jim Davis <jim.epost@...il.com>
To: Stephen Rothwell <sfr@...b.auug.org.au>,
linux-next <linux-next@...r.kernel.org>,
linux-kernel <linux-kernel@...r.kernel.org>,
willy@...ux.intel.com, linux-nvme@...ts.infradead.org
Subject: randconfig build error iwith next-20150223, in drivers/block/nvme-core.c
Building with the attached random configuration file,
drivers/block/nvme-core.c: In function ‘nvme_dif_remap’:
drivers/block/nvme-core.c:523:24: error: dereferencing pointer to
incomplete type
pmap = kmap_atomic(bip->bip_vec->bv_page) + bip->bip_vec->bv_offset;
^
drivers/block/nvme-core.c:523:49: error: dereferencing pointer to
incomplete type
pmap = kmap_atomic(bip->bip_vec->bv_page) + bip->bip_vec->bv_offset;
^
drivers/block/nvme-core.c:528:2: error: implicit declaration of
function ‘bip_get_seed’ [-Werror=implicit-function-declaration]
virt = bip_get_seed(bip);
^
drivers/block/nvme-core.c:531:15: error: ‘struct gendisk’ has no
member named ‘integrity’
ts = ns->disk->integrity->tuple_size;
^
drivers/block/nvme-core.c: At top level:
drivers/block/nvme-core.c:1962:36: warning: ‘struct
blk_integrity_iter’ declared inside parameter list [enabled by
default]
static int nvme_noop_verify(struct blk_integrity_iter *iter)
^
drivers/block/nvme-core.c:1962:36: warning: its scope is only this
definition or declaration, which is probably not what you want
[enabled by default]
drivers/block/nvme-core.c:1967:38: warning: ‘struct
blk_integrity_iter’ declared inside parameter list [enabled by
default]
static int nvme_noop_generate(struct blk_integrity_iter *iter)
^
drivers/block/nvme-core.c:1972:8: error: variable ‘nvme_meta_noop’ has
initializer but incomplete type
struct blk_integrity nvme_meta_noop = {
^
drivers/block/nvme-core.c:1973:2: error: unknown field ‘name’
specified in initializer
.name = "NVME_META_NOOP",
^
drivers/block/nvme-core.c:1973:2: warning: excess elements in struct
initializer [enabled by default]
drivers/block/nvme-core.c:1973:2: warning: (near initialization for
‘nvme_meta_noop’) [enabled by default]
drivers/block/nvme-core.c:1974:2: error: unknown field ‘generate_fn’
specified in initializer
.generate_fn = nvme_noop_generate,
^
drivers/block/nvme-core.c:1974:2: warning: excess elements in struct
initializer [enabled by default]
drivers/block/nvme-core.c:1974:2: warning: (near initialization for
‘nvme_meta_noop’) [enabled by default]
drivers/block/nvme-core.c:1975:2: error: unknown field ‘verify_fn’
specified in initializer
.verify_fn = nvme_noop_verify,
^
drivers/block/nvme-core.c:1975:2: warning: excess elements in struct
initializer [enabled by default]
drivers/block/nvme-core.c:1975:2: warning: (near initialization for
‘nvme_meta_noop’) [enabled by default]
drivers/block/nvme-core.c: In function ‘nvme_init_integrity’:
drivers/block/nvme-core.c:1980:23: error: storage size of ‘integrity’
isn’t known
struct blk_integrity integrity;
^
drivers/block/nvme-core.c:1980:23: warning: unused variable
‘integrity’ [-Wunused-variable]
drivers/block/nvme-core.c: In function ‘nvme_revalidate_disk’:
drivers/block/nvme-core.c:2039:10: error: ‘struct gendisk’ has no
member named ‘integrity’
if (disk->integrity && (ns->pi_type != pi_type || ns->ms != old_ms ||
^
drivers/block/nvme-core.c:2047:21: error: ‘struct gendisk’ has no
member named ‘integrity’
if (ns->ms && !disk->integrity && (disk->flags & GENHD_FL_UP) &&
^
drivers/block/nvme-core.c:2051:39: error: ‘struct gendisk’ has no
member named ‘integrity’
if (id->ncap == 0 || (ns->ms && !disk->integrity))
^
drivers/block/nvme-core.c: In function ‘nvme_dev_remove’:
drivers/block/nvme-core.c:2655:16: error: ‘struct gendisk’ has no
member named ‘integrity’
if (ns->disk->integrity)
^
cc1: some warnings being treated as errors
make[2]: *** [drivers/block/nvme-core.o] Error 1
View attachment "randconfig-1424688294.txt" of type "text/plain" (96385 bytes)
Powered by blists - more mailing lists