All of lore.kernel.org
 help / color / mirror / Atom feed
* [cgroup:review-blkcg-rstat 4/6] block/bfq-cgroup.c:1288:15: error: 'bfqg_print_rwstat_recursive' undeclared here (not in a function); did you mean 'bfqg_print_rwstat'?
@ 2019-11-07 14:11 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2019-11-07 14:11 UTC (permalink / raw)
  To: kbuild-all

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup.git review-blkcg-rstat
head:   f86f96284bcfa2446930adb116ee42788e43a571
commit: daa8610d87782e3d7885a2c0a4de5687fc158cac [4/6] blk-cgroup: remove now unused blkg_print_stat_{bytes|ios}_recursive()
config: s390-debug_defconfig (attached as .config)
compiler: s390-linux-gcc (GCC) 7.4.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 daa8610d87782e3d7885a2c0a4de5687fc158cac
        # save the attached .config to linux build tree
        GCC_VERSION=7.4.0 make.cross ARCH=s390 

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

   block/bfq-cgroup.c:1245:15: error: 'bfqg_print_rwstat' undeclared here (not in a function); did you mean 'blkg_prfill_rwstat'?
      .seq_show = bfqg_print_rwstat,
                  ^~~~~~~~~~~~~~~~~
                  blkg_prfill_rwstat
>> block/bfq-cgroup.c:1288:15: error: 'bfqg_print_rwstat_recursive' undeclared here (not in a function); did you mean 'bfqg_print_rwstat'?
      .seq_show = bfqg_print_rwstat_recursive,
                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~
                  bfqg_print_rwstat

vim +1288 block/bfq-cgroup.c

ea25da48086d3b Paolo Valente     2017-04-19  1226  
ea25da48086d3b Paolo Valente     2017-04-19  1227  struct cftype bfq_blkcg_legacy_files[] = {
ea25da48086d3b Paolo Valente     2017-04-19  1228  	{
ea25da48086d3b Paolo Valente     2017-04-19  1229  		.name = "bfq.weight",
cf8929885de318 Jens Axboe        2019-06-10  1230  		.flags = CFTYPE_NOT_ON_ROOT,
795fe54c2a8280 Fam Zheng         2019-08-28  1231  		.seq_show = bfq_io_show_weight_legacy,
ea25da48086d3b Paolo Valente     2017-04-19  1232  		.write_u64 = bfq_io_set_weight_legacy,
ea25da48086d3b Paolo Valente     2017-04-19  1233  	},
795fe54c2a8280 Fam Zheng         2019-08-28  1234  	{
795fe54c2a8280 Fam Zheng         2019-08-28  1235  		.name = "bfq.weight_device",
795fe54c2a8280 Fam Zheng         2019-08-28  1236  		.flags = CFTYPE_NOT_ON_ROOT,
795fe54c2a8280 Fam Zheng         2019-08-28  1237  		.seq_show = bfq_io_show_weight,
795fe54c2a8280 Fam Zheng         2019-08-28  1238  		.write = bfq_io_set_weight,
795fe54c2a8280 Fam Zheng         2019-08-28  1239  	},
ea25da48086d3b Paolo Valente     2017-04-19  1240  
ea25da48086d3b Paolo Valente     2017-04-19  1241  	/* statistics, covers only the tasks in the bfqg */
ea25da48086d3b Paolo Valente     2017-04-19  1242  	{
ea25da48086d3b Paolo Valente     2017-04-19  1243  		.name = "bfq.io_service_bytes",
ca1d91e7067951 Tejun Heo         2019-11-06  1244  		.private = offsetof(struct bfq_group, stats.bytes),
ca1d91e7067951 Tejun Heo         2019-11-06 @1245  		.seq_show = bfqg_print_rwstat,
ea25da48086d3b Paolo Valente     2017-04-19  1246  	},
ea25da48086d3b Paolo Valente     2017-04-19  1247  	{
ea25da48086d3b Paolo Valente     2017-04-19  1248  		.name = "bfq.io_serviced",
ca1d91e7067951 Tejun Heo         2019-11-06  1249  		.private = offsetof(struct bfq_group, stats.ios),
ca1d91e7067951 Tejun Heo         2019-11-06  1250  		.seq_show = bfqg_print_rwstat,
ea25da48086d3b Paolo Valente     2017-04-19  1251  	},
8060c47ba853f1 Christoph Hellwig 2019-06-06  1252  #ifdef CONFIG_BFQ_CGROUP_DEBUG
a33801e8b4735b Luca Miccio       2017-11-13  1253  	{
a33801e8b4735b Luca Miccio       2017-11-13  1254  		.name = "bfq.time",
a33801e8b4735b Luca Miccio       2017-11-13  1255  		.private = offsetof(struct bfq_group, stats.time),
a33801e8b4735b Luca Miccio       2017-11-13  1256  		.seq_show = bfqg_print_stat,
a33801e8b4735b Luca Miccio       2017-11-13  1257  	},
a33801e8b4735b Luca Miccio       2017-11-13  1258  	{
a33801e8b4735b Luca Miccio       2017-11-13  1259  		.name = "bfq.sectors",
a33801e8b4735b Luca Miccio       2017-11-13  1260  		.seq_show = bfqg_print_stat_sectors,
a33801e8b4735b Luca Miccio       2017-11-13  1261  	},
ea25da48086d3b Paolo Valente     2017-04-19  1262  	{
ea25da48086d3b Paolo Valente     2017-04-19  1263  		.name = "bfq.io_service_time",
ea25da48086d3b Paolo Valente     2017-04-19  1264  		.private = offsetof(struct bfq_group, stats.service_time),
ea25da48086d3b Paolo Valente     2017-04-19  1265  		.seq_show = bfqg_print_rwstat,
ea25da48086d3b Paolo Valente     2017-04-19  1266  	},
ea25da48086d3b Paolo Valente     2017-04-19  1267  	{
ea25da48086d3b Paolo Valente     2017-04-19  1268  		.name = "bfq.io_wait_time",
ea25da48086d3b Paolo Valente     2017-04-19  1269  		.private = offsetof(struct bfq_group, stats.wait_time),
ea25da48086d3b Paolo Valente     2017-04-19  1270  		.seq_show = bfqg_print_rwstat,
ea25da48086d3b Paolo Valente     2017-04-19  1271  	},
ea25da48086d3b Paolo Valente     2017-04-19  1272  	{
ea25da48086d3b Paolo Valente     2017-04-19  1273  		.name = "bfq.io_merged",
ea25da48086d3b Paolo Valente     2017-04-19  1274  		.private = offsetof(struct bfq_group, stats.merged),
ea25da48086d3b Paolo Valente     2017-04-19  1275  		.seq_show = bfqg_print_rwstat,
ea25da48086d3b Paolo Valente     2017-04-19  1276  	},
ea25da48086d3b Paolo Valente     2017-04-19  1277  	{
ea25da48086d3b Paolo Valente     2017-04-19  1278  		.name = "bfq.io_queued",
ea25da48086d3b Paolo Valente     2017-04-19  1279  		.private = offsetof(struct bfq_group, stats.queued),
ea25da48086d3b Paolo Valente     2017-04-19  1280  		.seq_show = bfqg_print_rwstat,
ea25da48086d3b Paolo Valente     2017-04-19  1281  	},
8060c47ba853f1 Christoph Hellwig 2019-06-06  1282  #endif /* CONFIG_BFQ_CGROUP_DEBUG */
ea25da48086d3b Paolo Valente     2017-04-19  1283  
636b8fe86bede8 Angelo Ruocco     2019-04-08  1284  	/* the same statistics which cover the bfqg and its descendants */
ea25da48086d3b Paolo Valente     2017-04-19  1285  	{
ea25da48086d3b Paolo Valente     2017-04-19  1286  		.name = "bfq.io_service_bytes_recursive",
ca1d91e7067951 Tejun Heo         2019-11-06  1287  		.private = offsetof(struct bfq_group, stats.bytes),
ca1d91e7067951 Tejun Heo         2019-11-06 @1288  		.seq_show = bfqg_print_rwstat_recursive,
ea25da48086d3b Paolo Valente     2017-04-19  1289  	},
ea25da48086d3b Paolo Valente     2017-04-19  1290  	{
ea25da48086d3b Paolo Valente     2017-04-19  1291  		.name = "bfq.io_serviced_recursive",
ca1d91e7067951 Tejun Heo         2019-11-06  1292  		.private = offsetof(struct bfq_group, stats.ios),
ca1d91e7067951 Tejun Heo         2019-11-06  1293  		.seq_show = bfqg_print_rwstat_recursive,
ea25da48086d3b Paolo Valente     2017-04-19  1294  	},
8060c47ba853f1 Christoph Hellwig 2019-06-06  1295  #ifdef CONFIG_BFQ_CGROUP_DEBUG
a33801e8b4735b Luca Miccio       2017-11-13  1296  	{
a33801e8b4735b Luca Miccio       2017-11-13  1297  		.name = "bfq.time_recursive",
a33801e8b4735b Luca Miccio       2017-11-13  1298  		.private = offsetof(struct bfq_group, stats.time),
a33801e8b4735b Luca Miccio       2017-11-13  1299  		.seq_show = bfqg_print_stat_recursive,
a33801e8b4735b Luca Miccio       2017-11-13  1300  	},
a33801e8b4735b Luca Miccio       2017-11-13  1301  	{
a33801e8b4735b Luca Miccio       2017-11-13  1302  		.name = "bfq.sectors_recursive",
a33801e8b4735b Luca Miccio       2017-11-13  1303  		.seq_show = bfqg_print_stat_sectors_recursive,
a33801e8b4735b Luca Miccio       2017-11-13  1304  	},
ea25da48086d3b Paolo Valente     2017-04-19  1305  	{
ea25da48086d3b Paolo Valente     2017-04-19  1306  		.name = "bfq.io_service_time_recursive",
ea25da48086d3b Paolo Valente     2017-04-19  1307  		.private = offsetof(struct bfq_group, stats.service_time),
ea25da48086d3b Paolo Valente     2017-04-19  1308  		.seq_show = bfqg_print_rwstat_recursive,
ea25da48086d3b Paolo Valente     2017-04-19  1309  	},
ea25da48086d3b Paolo Valente     2017-04-19  1310  	{
ea25da48086d3b Paolo Valente     2017-04-19  1311  		.name = "bfq.io_wait_time_recursive",
ea25da48086d3b Paolo Valente     2017-04-19  1312  		.private = offsetof(struct bfq_group, stats.wait_time),
ea25da48086d3b Paolo Valente     2017-04-19  1313  		.seq_show = bfqg_print_rwstat_recursive,
ea25da48086d3b Paolo Valente     2017-04-19  1314  	},
ea25da48086d3b Paolo Valente     2017-04-19  1315  	{
ea25da48086d3b Paolo Valente     2017-04-19  1316  		.name = "bfq.io_merged_recursive",
ea25da48086d3b Paolo Valente     2017-04-19  1317  		.private = offsetof(struct bfq_group, stats.merged),
ea25da48086d3b Paolo Valente     2017-04-19  1318  		.seq_show = bfqg_print_rwstat_recursive,
ea25da48086d3b Paolo Valente     2017-04-19  1319  	},
ea25da48086d3b Paolo Valente     2017-04-19  1320  	{
ea25da48086d3b Paolo Valente     2017-04-19  1321  		.name = "bfq.io_queued_recursive",
ea25da48086d3b Paolo Valente     2017-04-19  1322  		.private = offsetof(struct bfq_group, stats.queued),
ea25da48086d3b Paolo Valente     2017-04-19  1323  		.seq_show = bfqg_print_rwstat_recursive,
ea25da48086d3b Paolo Valente     2017-04-19  1324  	},
ea25da48086d3b Paolo Valente     2017-04-19  1325  	{
ea25da48086d3b Paolo Valente     2017-04-19  1326  		.name = "bfq.avg_queue_size",
ea25da48086d3b Paolo Valente     2017-04-19  1327  		.seq_show = bfqg_print_avg_queue_size,
ea25da48086d3b Paolo Valente     2017-04-19  1328  	},
ea25da48086d3b Paolo Valente     2017-04-19  1329  	{
ea25da48086d3b Paolo Valente     2017-04-19  1330  		.name = "bfq.group_wait_time",
ea25da48086d3b Paolo Valente     2017-04-19  1331  		.private = offsetof(struct bfq_group, stats.group_wait_time),
ea25da48086d3b Paolo Valente     2017-04-19  1332  		.seq_show = bfqg_print_stat,
ea25da48086d3b Paolo Valente     2017-04-19  1333  	},
ea25da48086d3b Paolo Valente     2017-04-19  1334  	{
ea25da48086d3b Paolo Valente     2017-04-19  1335  		.name = "bfq.idle_time",
ea25da48086d3b Paolo Valente     2017-04-19  1336  		.private = offsetof(struct bfq_group, stats.idle_time),
ea25da48086d3b Paolo Valente     2017-04-19  1337  		.seq_show = bfqg_print_stat,
ea25da48086d3b Paolo Valente     2017-04-19  1338  	},
ea25da48086d3b Paolo Valente     2017-04-19  1339  	{
ea25da48086d3b Paolo Valente     2017-04-19  1340  		.name = "bfq.empty_time",
ea25da48086d3b Paolo Valente     2017-04-19  1341  		.private = offsetof(struct bfq_group, stats.empty_time),
ea25da48086d3b Paolo Valente     2017-04-19  1342  		.seq_show = bfqg_print_stat,
ea25da48086d3b Paolo Valente     2017-04-19  1343  	},
ea25da48086d3b Paolo Valente     2017-04-19  1344  	{
ea25da48086d3b Paolo Valente     2017-04-19  1345  		.name = "bfq.dequeue",
ea25da48086d3b Paolo Valente     2017-04-19  1346  		.private = offsetof(struct bfq_group, stats.dequeue),
ea25da48086d3b Paolo Valente     2017-04-19  1347  		.seq_show = bfqg_print_stat,
ea25da48086d3b Paolo Valente     2017-04-19  1348  	},
8060c47ba853f1 Christoph Hellwig 2019-06-06  1349  #endif	/* CONFIG_BFQ_CGROUP_DEBUG */
ea25da48086d3b Paolo Valente     2017-04-19  1350  	{ }	/* terminate */
ea25da48086d3b Paolo Valente     2017-04-19  1351  };
ea25da48086d3b Paolo Valente     2017-04-19  1352  

:::::: The code at line 1288 was first introduced by commit
:::::: ca1d91e70679511777232393542c36736f74ec03 bfq-iosched: stop using blkg->stat_bytes and ->stat_ios

:::::: TO: Tejun Heo <tj@kernel.org>
:::::: CC: Tejun Heo <tj@kernel.org>

---
0-DAY kernel test infrastructure                 Open Source Technology Center
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org Intel Corporation

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-11-07 14:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-07 14:11 [cgroup:review-blkcg-rstat 4/6] block/bfq-cgroup.c:1288:15: error: 'bfqg_print_rwstat_recursive' undeclared here (not in a function); did you mean 'bfqg_print_rwstat'? kbuild test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.