Repository navigation
Closed
Description
CC block/bfq-iosched.o
CC [M] crypto/serpent_generic.o
In file included from block/bfq-iosched.c:70:0:
block/bfq.h:651:21: error: field ‘service_bytes’ has incomplete type
struct blkg_rwstat service_bytes;
^
block/bfq.h:653:21: error: field ‘serviced’ has incomplete type
struct blkg_rwstat serviced;
^
block/bfq.h:655:21: error: field ‘merged’ has incomplete type
struct blkg_rwstat merged;
^
block/bfq.h:657:21: error: field ‘service_time’ has incomplete type
struct blkg_rwstat service_time;
^
block/bfq.h:659:21: error: field ‘wait_time’ has incomplete type
struct blkg_rwstat wait_time;
^
block/bfq.h:661:21: error: field ‘queued’ has incomplete type
struct blkg_rwstat queued;
^
block/bfq.h:663:19: error: field ‘sectors’ has incomplete type
struct blkg_stat sectors;
^
block/bfq.h:665:19: error: field ‘time’ has incomplete type
struct blkg_stat time;
^
block/bfq.h:667:19: error: field ‘unaccounted_time’ has incomplete type
struct blkg_stat unaccounted_time;
^
block/bfq.h:669:19: error: field ‘avg_queue_size_sum’ has incomplete type
struct blkg_stat avg_queue_size_sum;
^
block/bfq.h:671:19: error: field ‘avg_queue_size_samples’ has incomplete type
struct blkg_stat avg_queue_size_samples;
^
block/bfq.h:673:19: error: field ‘dequeue’ has incomplete type
struct blkg_stat dequeue;
^
block/bfq.h:675:19: error: field ‘group_wait_time’ has incomplete type
struct blkg_stat group_wait_time;
^
block/bfq.h:677:19: error: field ‘idle_time’ has incomplete type
struct blkg_stat idle_time;
^
block/bfq.h:679:19: error: field ‘empty_time’ has incomplete type
struct blkg_stat empty_time;
^
In file included from block/bfq-iosched.c:173:0:
block/bfq-cgroup.c: In function ‘bfqg_stats_update_group_wait_time’:
block/bfq-cgroup.c:54:3: error: implicit declaration of function ‘blkg_stat_add’ [-Werror=implicit-function-declaration]
blkg_stat_add(&stats->group_wait_time,
^
block/bfq-cgroup.c: In function ‘bfqg_stats_set_start_empty_time’:
block/bfq-cgroup.c:97:2: error: implicit declaration of function ‘blkg_rwstat_total’ [-Werror=implicit-function-declaration]
if (blkg_rwstat_total(&stats->queued))
^
In file included from block/bfq-iosched.c:173:0:
block/bfq-cgroup.c: In function ‘bfqg_parent’:
block/bfq-cgroup.c:176:45: error: ‘struct blkcg_gq’ has no member named ‘parent’
struct blkcg_gq *pblkg = bfqg_to_blkg(bfqg)->parent;
^
In file included from block/bfq-iosched.c:173:0:
block/bfq-cgroup.c: In function ‘bfqg_stats_update_io_add’:
block/bfq-cgroup.c:209:2: error: implicit declaration of function ‘blkg_rwstat_add’ [-Werror=implicit-function-declaration]
blkg_rwstat_add(&bfqg->stats.queued, rw, 1);
^
block/bfq-cgroup.c: In function ‘bfqg_stats_reset’:
block/bfq-cgroup.c:253:2: error: implicit declaration of function ‘blkg_rwstat_reset’ [-Werror=implicit-function-declaration]
blkg_rwstat_reset(&stats->service_bytes);
^
block/bfq-cgroup.c:258:2: error: implicit declaration of function ‘blkg_stat_reset’ [-Werror=implicit-function-declaration]
blkg_stat_reset(&stats->time);
^
block/bfq-cgroup.c: In function ‘bfqg_stats_merge’:
block/bfq-cgroup.c:275:2: error: implicit declaration of function ‘blkg_rwstat_merge’ [-Werror=implicit-function-declaration]
blkg_rwstat_merge(&to->service_bytes, &from->service_bytes);
^
block/bfq-cgroup.c:280:2: error: implicit declaration of function ‘blkg_stat_merge’ [-Werror=implicit-function-declaration]
blkg_stat_merge(&from->time, &from->time);
^
block/bfq-cgroup.c: In function ‘bfqg_stats_xfer_dead’:
block/bfq-cgroup.c:304:32: error: ‘struct blkcg_gq’ has no member named ‘q’
lockdep_assert_held(bfqg_to_blkg(bfqg)->q->queue_lock);
^
block/bfq-cgroup.c: In function ‘bfqg_stats_init’:
block/bfq-cgroup.c:333:2: error: implicit declaration of function ‘blkg_rwstat_init’ [-Werror=implicit-function-declaration]
blkg_rwstat_init(&stats->service_bytes);
^
block/bfq-cgroup.c:340:2: error: implicit declaration of function ‘blkg_stat_init’ [-Werror=implicit-function-declaration]
blkg_stat_init(&stats->sectors);
^
block/bfq-cgroup.c: In function ‘blkcg_to_bfqgd’:
block/bfq-cgroup.c:359:2: error: implicit declaration of function ‘blkcg_to_cpd’ [-Werror=implicit-function-declaration]
return cpd_to_bfqgd(blkcg_to_cpd(blkcg, &blkcg_policy_bfq));
^
block/bfq-cgroup.c:359:22: warning: passing argument 1 of ‘cpd_to_bfqgd’ makes pointer from integer without a cast
return cpd_to_bfqgd(blkcg_to_cpd(blkcg, &blkcg_policy_bfq));
^
block/bfq-cgroup.c:352:31: note: expected ‘struct blkcg_policy_data *’ but argument is of type ‘int’
static struct bfq_group_data *cpd_to_bfqgd(struct blkcg_policy_data *cpd)
^
block/bfq-cgroup.c: In function ‘bfq_cpd_init’:
block/bfq-cgroup.c:365:21: error: ‘const struct blkcg’ has no member named ‘pd’
cpd_to_bfqgd(blkcg->pd[blkcg_policy_bfq.plid]);
^
block/bfq-cgroup.c:365:42: error: ‘struct blkcg_policy’ has no member named ‘plid’
cpd_to_bfqgd(blkcg->pd[blkcg_policy_bfq.plid]);
^
block/bfq-cgroup.c: In function ‘bfq_pd_init’:
block/bfq-cgroup.c:373:30: error: ‘struct blkcg_gq’ has no member named ‘q’
struct bfq_data *bfqd = blkg->q->elevator->elevator_data;
^
block/bfq-cgroup.c:375:48: error: ‘struct blkcg_gq’ has no member named ‘blkcg’
struct bfq_group_data *d = blkcg_to_bfqgd(blkg->blkcg);
^
block/bfq-cgroup.c: In function ‘bfqg_stat_pd_recursive_sum’:
block/bfq-cgroup.c:404:2: error: implicit declaration of function ‘blkg_stat_recursive_sum’ [-Werror=implicit-function-declaration]
sum += blkg_stat_recursive_sum(pd, off);
^
block/bfq-cgroup.c: At top level:
block/bfq-cgroup.c:410:27: error: return type is an incomplete type
static struct blkg_rwstat bfqg_rwstat_pd_recursive_sum(struct blkg_policy_data *pd,
^
block/bfq-cgroup.c: In function ‘bfqg_rwstat_pd_recursive_sum’:
block/bfq-cgroup.c:413:21: error: storage size of ‘a’ isn’t known
struct blkg_rwstat a, b;
^
block/bfq-cgroup.c:413:24: error: storage size of ‘b’ isn’t known
struct blkg_rwstat a, b;
^
block/bfq-cgroup.c:415:2: error: implicit declaration of function ‘blkg_rwstat_recursive_sum’ [-Werror=implicit-function-declaration]
a = blkg_rwstat_recursive_sum(pd, off);
^
block/bfq-cgroup.c:418:2: warning: ‘return’ with a value, in function returning void
return a;
^
block/bfq-cgroup.c:413:24: warning: unused variable ‘b’ [-Wunused-variable]
struct blkg_rwstat a, b;
^
block/bfq-cgroup.c:413:21: warning: unused variable ‘a’ [-Wunused-variable]
struct blkg_rwstat a, b;
^
In file included from block/bfq-iosched.c:173:0:
block/bfq-cgroup.c: In function ‘bfq_find_alloc_group’:
block/bfq-cgroup.c:453:16: error: ‘blkcg_root’ undeclared (first use in this function)
if (blkcg == &blkcg_root) {
^
block/bfq-cgroup.c:453:16: note: each undeclared identifier is reported only once for each function it appears in
block/bfq-cgroup.c:458:3: error: implicit declaration of function ‘blkg_lookup_create’ [-Werror=implicit-function-declaration]
blkg = blkg_lookup_create(blkcg, q);
^
block/bfq-cgroup.c:458:8: warning: assignment makes pointer from integer without a cast
blkg = blkg_lookup_create(blkcg, q);
^
In file included from block/bfq-iosched.c:173:0:
block/bfq-cgroup.c: In function ‘bfq_bic_update_cgroup’:
block/bfq-cgroup.c:601:12: error: ‘struct blkcg’ has no member named ‘css’
id = blkcg->css.serial_nr;
^
In file included from block/bfq-iosched.c:173:0:
block/bfq-cgroup.c: In function ‘bfqio_cgroup_weight_read’:
block/bfq-cgroup.c:779:9: error: implicit declaration of function ‘css_to_blkcg’ [-Werror=implicit-function-declaration]
struct blkcg *blkcg = css_to_blkcg(css);
^
block/bfq-cgroup.c:779:24: warning: initialization makes pointer from integer without a cast
struct blkcg *blkcg = css_to_blkcg(css);
^
block/bfq-cgroup.c:783:22: error: ‘struct blkcg’ has no member named ‘lock’
spin_lock_irq(&blkcg->lock);
^
block/bfq-cgroup.c:785:24: error: ‘struct blkcg’ has no member named ‘lock’
spin_unlock_irq(&blkcg->lock);
^
block/bfq-cgroup.c: In function ‘bfqio_cgroup_weight_write’:
block/bfq-cgroup.c:794:24: warning: initialization makes pointer from integer without a cast
struct blkcg *blkcg = css_to_blkcg(css);
^
block/bfq-cgroup.c:803:22: error: ‘struct blkcg’ has no member named ‘lock’
spin_lock_irq(&blkcg->lock);
^
block/bfq-cgroup.c:805:31: error: ‘struct blkcg’ has no member named ‘blkg_list’
hlist_for_each_entry(blkg, &blkcg->blkg_list, blkcg_node) {
^
block/bfq-cgroup.c:805:70: error: ‘struct blkcg’ has no member named ‘blkg_list’
hlist_for_each_entry(blkg, &blkcg->blkg_list, blkcg_node) {
^
block/bfq-cgroup.c:805:141: error: ‘struct blkcg_gq’ has no member named ‘blkcg_node’
hlist_for_each_entry(blkg, &blkcg->blkg_list, blkcg_node) {
^
block/bfq-cgroup.c:805:166: warning: initialization makes pointer from integer without a cast
hlist_for_each_entry(blkg, &blkcg->blkg_list, blkcg_node) {
^
block/bfq-cgroup.c:805:215: error: ‘struct blkcg_gq’ has no member named ‘blkcg_node’
hlist_for_each_entry(blkg, &blkcg->blkg_list, blkcg_node) {
^
In file included from block/bfq-iosched.c:173:0:
block/bfq-cgroup.c:805:316: error: ‘struct blkcg_gq’ has no member named ‘blkcg_node’
hlist_for_each_entry(blkg, &blkcg->blkg_list, blkcg_node) {
^
block/bfq-cgroup.c:805:352: error: ‘struct blkcg_gq’ has no member named ‘blkcg_node’
hlist_for_each_entry(blkg, &blkcg->blkg_list, blkcg_node) {
^
block/bfq-cgroup.c:805:421: error: ‘struct blkcg_gq’ has no member named ‘blkcg_node’
hlist_for_each_entry(blkg, &blkcg->blkg_list, blkcg_node) {
^
block/bfq-cgroup.c:805:446: warning: initialization makes pointer from integer without a cast
hlist_for_each_entry(blkg, &blkcg->blkg_list, blkcg_node) {
^
block/bfq-cgroup.c:805:495: error: ‘struct blkcg_gq’ has no member named ‘blkcg_node’
hlist_for_each_entry(blkg, &blkcg->blkg_list, blkcg_node) {
^
In file included from block/bfq-iosched.c:173:0:
block/bfq-cgroup.c:836:24: error: ‘struct blkcg’ has no member named ‘lock’
spin_unlock_irq(&blkcg->lock);
^
block/bfq-cgroup.c: In function ‘bfqg_print_stat’:
block/bfq-cgroup.c:843:2: error: implicit declaration of function ‘blkcg_print_blkgs’ [-Werror=implicit-function-declaration]
blkcg_print_blkgs(sf, css_to_blkcg(seq_css(sf)), blkg_prfill_stat,
^
block/bfq-cgroup.c:843:51: error: ‘blkg_prfill_stat’ undeclared (first use in this function)
blkcg_print_blkgs(sf, css_to_blkcg(seq_css(sf)), blkg_prfill_stat,
^
block/bfq-cgroup.c: In function ‘bfqg_print_rwstat’:
block/bfq-cgroup.c:850:51: error: ‘blkg_prfill_rwstat’ undeclared (first use in this function)
blkcg_print_blkgs(sf, css_to_blkcg(seq_css(sf)), blkg_prfill_rwstat,
^
block/bfq-cgroup.c: In function ‘bfqg_prfill_stat_recursive’:
block/bfq-cgroup.c:860:2: error: implicit declaration of function ‘__blkg_prfill_u64’ [-Werror=implicit-function-declaration]
return __blkg_prfill_u64(sf, pd, sum);
^
block/bfq-cgroup.c: In function ‘bfqg_prfill_rwstat_recursive’:
block/bfq-cgroup.c:866:9: error: variable ‘sum’ has initializer but incomplete type
struct blkg_rwstat sum = bfqg_rwstat_pd_recursive_sum(pd, off);
^
block/bfq-cgroup.c:866:21: error: storage size of ‘sum’ isn’t known
struct blkg_rwstat sum = bfqg_rwstat_pd_recursive_sum(pd, off);
^
block/bfq-cgroup.c:868:2: error: implicit declaration of function ‘__blkg_prfill_rwstat’ [-Werror=implicit-function-declaration]
return __blkg_prfill_rwstat(sf, pd, &sum);
^
block/bfq-cgroup.c:866:21: warning: unused variable ‘sum’ [-Wunused-variable]
struct blkg_rwstat sum = bfqg_rwstat_pd_recursive_sum(pd, off);
^
block/bfq-cgroup.c: In function ‘bfqg_prfill_avg_queue_size’:
block/bfq-cgroup.c:891:2: error: implicit declaration of function ‘blkg_stat_read’ [-Werror=implicit-function-declaration]
u64 samples = blkg_stat_read(&bfqg->stats.avg_queue_size_samples);
^
block/bfq-cgroup.c: In function ‘bfq_create_group_hierarchy’:
block/bfq-cgroup.c:919:40: error: ‘struct request_queue’ has no member named ‘root_blkg’
return blkg_to_bfqg(bfqd->queue->root_blkg);
^
block/bfq-cgroup.c: At top level:
block/bfq-cgroup.c:1044:8: error: unknown field ‘pd_size’ specified in initializer
.pd_size = sizeof(struct bfq_group),
^
block/bfq-cgroup.c:1044:33: warning: excess elements in struct initializer
.pd_size = sizeof(struct bfq_group),
^
block/bfq-cgroup.c:1044:33: warning: (near initialization for ‘blkcg_policy_bfq’)
block/bfq-cgroup.c:1045:8: error: unknown field ‘cpd_size’ specified in initializer
.cpd_size = sizeof(struct bfq_group_data),
^
block/bfq-cgroup.c:1045:34: warning: excess elements in struct initializer
.cpd_size = sizeof(struct bfq_group_data),
^
block/bfq-cgroup.c:1045:34: warning: (near initialization for ‘blkcg_policy_bfq’)
block/bfq-cgroup.c:1046:8: error: unknown field ‘cftypes’ specified in initializer
.cftypes = bfqio_files,
^
block/bfq-cgroup.c:1046:8: warning: excess elements in struct initializer
block/bfq-cgroup.c:1046:8: warning: (near initialization for ‘blkcg_policy_bfq’)
block/bfq-cgroup.c:1047:8: error: unknown field ‘pd_init_fn’ specified in initializer
.pd_init_fn = bfq_pd_init,
^
block/bfq-cgroup.c:1047:8: warning: excess elements in struct initializer
block/bfq-cgroup.c:1047:8: warning: (near initialization for ‘blkcg_policy_bfq’)
block/bfq-cgroup.c:1048:8: error: unknown field ‘cpd_init_fn’ specified in initializer
.cpd_init_fn = bfq_cpd_init,
^
block/bfq-cgroup.c:1048:8: warning: excess elements in struct initializer
block/bfq-cgroup.c:1048:8: warning: (near initialization for ‘blkcg_policy_bfq’)
block/bfq-cgroup.c:1049:8: error: unknown field ‘pd_offline_fn’ specified in initializer
.pd_offline_fn = bfq_pd_offline,
^
block/bfq-cgroup.c:1049:8: warning: excess elements in struct initializer
block/bfq-cgroup.c:1049:8: warning: (near initialization for ‘blkcg_policy_bfq’)
block/bfq-cgroup.c:1050:8: error: unknown field ‘pd_reset_stats_fn’ specified in initializer
.pd_reset_stats_fn = bfq_pd_reset_stats,
^
block/bfq-cgroup.c:1050:8: warning: excess elements in struct initializer
block/bfq-cgroup.c:1050:8: warning: (near initialization for ‘blkcg_policy_bfq’)
block/bfq-cgroup.c: In function ‘bfq_create_group_hierarchy’:
block/bfq-cgroup.c:920:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
cc1: some warnings being treated as errors
scripts/Makefile.build:258: recipe for target 'block/bfq-iosched.o' failed
make[1]: *** [block/bfq-iosched.o] Error 1
Makefile:949: recipe for target 'block' failed
make: *** [block] Error 2
make: *** Waiting for unfinished jobs....
Metadata
Metadata
Assignees
Labels
No labels
Activity
heftig commentedon Nov 3, 2015
Seems to be a Kconfig issue - BFQ_GROUP_IOSCHED needs to depend on BLK_CGROUP. Disable the former or enable the latter.
Please also report this to the BFQ authors at https://groups.google.com/forum/#!forum/bfq-iosched.
HID: i2c-hid: fix OOB write in i2c_hid_set_or_send_report()
HID: i2c-hid: fix OOB write in i2c_hid_set_or_send_report()
usb: gadget: fix spinlock dead lock in gadgetfs
Staging: wilc1000: Fix kernel Oops on opening the device
nsh: fix infinite loop
tipc: fix lockdep warning when reinitilaizing sockets
usbnet: ipheth: fix potential recvmsg bug and recvmsg bug 2
dccp: fool proof ccid_hc_[rt]x_parse_options()
dccp: fool proof ccid_hc_[rt]x_parse_options()
net: ip6_gre: fix possible NULL pointer dereference in ip6erspan_set_…
xfs: Set xfs_buf's b_ops member when zeroing bitmap/summary files
virtio_net: fix wrong buf address calculation when using xdp
RDMA/srp: Set scmnd->result only when scmnd is not NULL
5 remaining items
fs/ntfs3: Validate resident attribute name
btrfs: fix race between quota disable and quota assign ioctls
net: stmmac: fix call trace when stmmac_xdp_xmit() is invoked
mptcp: fix disconnect vs accept race
mlxbf_gige: call request_irq() after NAPI initialized
mlxbf_gige: call request_irq() after NAPI initialized
dma-mapping: benchmark: fix node id validation
dma-mapping: benchmark: fix node id validation
riscv: rewrite __kernel_map_pages() to fix sleeping in invalid context
ACPICA: Apply pack(1) to union aml_resource
cifs: Fix null-ptr-deref by static initializing global lock
RDMA/rxe: Fix race condition in QP timer handlers
RDMA/rxe: Fix race condition in QP timer handlers
net: macb: Use dev_consume_skb_any() to free TX SKBs
net: macb: Use dev_consume_skb_any() to free TX SKBs