tree: https://git.kernel.org/pub/scm/linux/kernel/git/josef/btrfs-next.git current-work head: 055b23681aedfe6c6a9da010a57b3d6d9167f882 commit: 055b23681aedfe6c6a9da010a57b3d6d9167f882 [2/2] current-work config: xtensa-allyesconfig (attached as .config) compiler: xtensa-linux-gcc (GCC) 7.2.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross git checkout 055b23681aedfe6c6a9da010a57b3d6d9167f882 # save the attached .config to linux build tree make.cross ARCH=xtensa
All error/warnings (new ones prefixed by >>):
In file included from block/cfq-iosched.c:20:0:
>> block/blk-wbt.h:113:8: error: redefinition of 'struct rq_qos'
struct rq_qos {
^~~~~~
block/blk-wbt.h:88:8: note: originally defined here
struct rq_qos {
^~~~~~
--
In file included from block/blk-wbt.c:27:0:
>> block/blk-wbt.h:113:8: error: redefinition of 'struct rq_qos'
struct rq_qos {
^~~~~~
block/blk-wbt.h:88:8: note: originally defined here
struct rq_qos {
^~~~~~
block/blk-wbt.c: In function '__wbt_done':
>> block/blk-wbt.c:123:9: error: 'struct rq_wb' has no member named 'wc'
if (rwb->wc && !wb_recent_wait(rwb))
^~
block/blk-wbt.c: In function 'wbt_done':
>> block/blk-wbt.c:158:26: error: 'struct rq_wb' has no member named 'last_comp'
wb_timestamp(rwb, &rwb->last_comp);
^~
block/blk-wbt.c: In function 'calc_max_depth':
>> block/blk-wbt.c:181:6: error: 'rwb' undeclared (first use in this function);
>> did you mean 'rmb'?
if (rwb->queue_depth == 1) {
^~~
rmb
block/blk-wbt.c:181:6: note: each undeclared identifier is reported only
once for each function it appears in
block/blk-wbt.c: In function 'rwb_trace_step':
>> block/blk-wbt.c:308:32: error: 'struct rq_wb' has no member named
>> 'scale_step'; did you mean 'enable_state'?
trace_wbt_step(bdi, msg, rwb->scale_step, rwb->cur_win_nsec,
^~~~~~~~~~
enable_state
>> block/blk-wbt.c:308:47: error: 'struct rq_wb' has no member named
>> 'cur_win_nsec'
trace_wbt_step(bdi, msg, rwb->scale_step, rwb->cur_win_nsec,
^~
>> block/blk-wbt.c:309:45: error: 'struct rq_wb' has no member named 'wb_max';
>> did you mean 'wb_normal'?
rwb->wb_background, rwb->wb_normal, rwb->wb_max);
^~~~~~
wb_normal
block/blk-wbt.c: In function 'scale_up':
>> block/blk-wbt.c:323:20: error: implicit declaration of function
>> 'calc_wb_limits'; did you mean 'task_rlimit'?
>> [-Werror=implicit-function-declaration]
rqd->scaled_max = calc_wb_limits(rwb);
^~~~~~~~~~~~~~
task_rlimit
block/blk-wbt.c:323:35: error: 'rwb' undeclared (first use in this
function); did you mean 'rmb'?
rqd->scaled_max = calc_wb_limits(rwb);
^~~
rmb
block/blk-wbt.c: In function 'scale_down':
>> block/blk-wbt.c:352:2: error: implicit declaration of function
>> 'rqd_trace_step'; did you mean 'rwb_trace_step'?
>> [-Werror=implicit-function-declaration]
rqd_trace_step(rqd, "step down");
^~~~~~~~~~~~~~
rwb_trace_step
block/blk-wbt.c: In function 'rwb_arm_timer':
block/blk-wbt.c:357:11: error: 'struct rq_wb' has no member named
'scale_step'; did you mean 'enable_state'?
if (rwb->scale_step > 0) {
^~~~~~~~~~
enable_state
block/blk-wbt.c:364:6: error: 'struct rq_wb' has no member named
'cur_win_nsec'
rwb->cur_win_nsec = div_u64(rwb->win_nsec << 4,
^~
>> block/blk-wbt.c:364:34: error: 'struct rq_wb' has no member named 'win_nsec'
rwb->cur_win_nsec = div_u64(rwb->win_nsec << 4,
^~
block/blk-wbt.c:365:21: error: 'struct rq_wb' has no member named
'scale_step'; did you mean 'enable_state'?
int_sqrt((rwb->scale_step + 1) << 8));
^~~~~~~~~~
enable_state
block/blk-wbt.c:371:6: error: 'struct rq_wb' has no member named
'cur_win_nsec'
rwb->cur_win_nsec = rwb->win_nsec;
^~
block/blk-wbt.c:371:26: error: 'struct rq_wb' has no member named 'win_nsec'
rwb->cur_win_nsec = rwb->win_nsec;
^~
>> block/blk-wbt.c:374:29: error: 'struct rq_wb' has no member named 'cb'
blk_stat_activate_nsecs(rwb->cb, rwb->cur_win_nsec);
^~
block/blk-wbt.c:374:38: error: 'struct rq_wb' has no member named
'cur_win_nsec'
blk_stat_activate_nsecs(rwb->cb, rwb->cur_win_nsec);
^~
block/blk-wbt.c: In function 'wb_timer_fn':
block/blk-wbt.c:386:61: error: 'struct rq_wb' has no member named
'scale_step'; did you mean 'enable_state'?
trace_wbt_timer(rwb->queue->backing_dev_info, status, rwb->scale_step,
^~~~~~~~~~
enable_state
>> block/blk-wbt.c:396:14: error: passing argument 1 of 'scale_down' from
>> incompatible pointer type [-Werror=incompatible-pointer-types]
scale_down(rwb, true);
^~~
block/blk-wbt.c:334:13: note: expected 'struct rq_depth *' but argument is
of type 'struct rq_wb *'
static void scale_down(struct rq_depth *rqd, bool hard_throttle)
^~~~~~~~~~
>> block/blk-wbt.c:399:12: error: passing argument 1 of 'scale_up' from
>> incompatible pointer type [-Werror=incompatible-pointer-types]
scale_up(rwb);
^~~
block/blk-wbt.c:312:13: note: expected 'struct rq_depth *' but argument is
of type 'struct rq_wb *'
static void scale_up(struct rq_depth *rqd)
^~~~~~~~
block/blk-wbt.c:408:12: error: passing argument 1 of 'scale_up' from
incompatible pointer type [-Werror=incompatible-pointer-types]
scale_up(rwb);
^~~
block/blk-wbt.c:312:13: note: expected 'struct rq_depth *' but argument is
of type 'struct rq_wb *'
static void scale_up(struct rq_depth *rqd)
^~~~~~~~
>> block/blk-wbt.c:412:12: error: 'struct rq_wb' has no member named
>> 'unknown_cnt'
if (++rwb->unknown_cnt < RWB_UNKNOWN_BUMP)
^~
block/blk-wbt.c:419:12: error: 'struct rq_wb' has no member named
'scale_step'; did you mean 'enable_state'?
if (rwb->scale_step > 0) {
^~~~~~~~~~
enable_state
block/blk-wbt.c:421:13: error: passing argument 1 of 'scale_up' from
incompatible pointer type [-Werror=incompatible-pointer-types]
scale_up(rwb);
^~~
block/blk-wbt.c:312:13: note: expected 'struct rq_depth *' but argument is
of type 'struct rq_wb *'
static void scale_up(struct rq_depth *rqd)
^~~~~~~~
block/blk-wbt.c:422:19: error: 'struct rq_wb' has no member named
'scale_step'; did you mean 'enable_state'?
} else if (rwb->scale_step < 0)
^~~~~~~~~~
enable_state
block/blk-wbt.c:423:15: error: passing argument 1 of 'scale_down' from
incompatible pointer type [-Werror=incompatible-pointer-types]
scale_down(rwb, false);
^~~
block/blk-wbt.c:334:13: note: expected 'struct rq_depth *' but argument is
of type 'struct rq_wb *'
static void scale_down(struct rq_depth *rqd, bool hard_throttle)
^~~~~~~~~~
block/blk-wbt.c:445:11: error: 'struct rq_wb' has no member named
'scale_step'; did you mean 'enable_state'?
if (rwb->scale_step || inflight)
^~~~~~~~~~
enable_state
block/blk-wbt.c: In function 'wbt_update_limits':
block/blk-wbt.c:451:7: error: 'struct rq_wb' has no member named
'scale_step'; did you mean 'enable_state'?
rwb->scale_step = 0;
^~~~~~~~~~
enable_state
>> block/blk-wbt.c:452:5: error: 'struct rq_wb' has no member named 'scaled_max'
rwb->scaled_max = false;
^~
In file included from include/linux/irqflags.h:15:0,
from include/asm-generic/bitops/atomic.h:6,
from arch/xtensa/include/asm/bitops.h:222,
from include/linux/bitops.h:38,
from include/linux/kernel.h:11,
from block/blk-wbt.c:21:
block/blk-wbt.c: In function 'close_io':
>> block/blk-wbt.c:462:31: error: 'struct rq_wb' has no member named
>> 'last_issue'; did you mean 'sync_issue'?
return time_before(now, rwb->last_issue + HZ / 10) ||
^
include/linux/typecheck.h:11:9: note: in definition of macro 'typecheck'
typeof(x) __dummy2; \
^
>> include/linux/jiffies.h:106:26: note: in expansion of macro 'time_after'
#define time_before(a,b) time_after(b,a)
^~~~~~~~~~
>> block/blk-wbt.c:462:9: note: in expansion of macro 'time_before'
return time_before(now, rwb->last_issue + HZ / 10) ||
^~~~~~~~~~~
>> include/linux/typecheck.h:12:18: warning: comparison of distinct pointer
>> types lacks a cast
(void)(&__dummy == &__dummy2); \
^
include/linux/jiffies.h:103:3: note: in expansion of macro 'typecheck'
(typecheck(unsigned long, a) && \
^~~~~~~~~
>> include/linux/jiffies.h:106:26: note: in expansion of macro 'time_after'
#define time_before(a,b) time_after(b,a)
^~~~~~~~~~
--
In file included from block/blk-sysfs.c:18:0:
>> block/blk-wbt.h:113:8: error: redefinition of 'struct rq_qos'
struct rq_qos {
^~~~~~
block/blk-wbt.h:88:8: note: originally defined here
struct rq_qos {
^~~~~~
block/blk-sysfs.c: In function 'queue_wb_lat_show':
block/blk-sysfs.c:432:49: error: 'struct rq_wb' has no member named
'min_lat_nsec'
return sprintf(page, "%llu\n", div_u64(q->rq_wb->min_lat_nsec, 1000));
^~
block/blk-sysfs.c: In function 'queue_wb_lat_store':
block/blk-sysfs.c:457:6: error: 'struct rq_wb' has no member named
'min_lat_nsec'
rwb->min_lat_nsec = wbt_default_latency_nsec(q);
^~
block/blk-sysfs.c:459:6: error: 'struct rq_wb' has no member named
'min_lat_nsec'
rwb->min_lat_nsec = val * 1000ULL;
^~
block/blk-sysfs.c: In function 'queue_wb_lat_show':
block/blk-sysfs.c:433:1: warning: control reaches end of non-void function
[-Wreturn-type]
}
^
vim +113 block/blk-wbt.h
112
> 113 struct rq_qos {
114 bool (*throttle_request)(struct rq_qos *rqos);
115 struct rq_qos *next;
116 };
117
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
.config.gz
Description: application/gzip
