Hi Josef, FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/josef/btrfs-next.git blk-qos head: 6389939532e7f4a0d8f19f9efc8a4936f8368d29 commit: 4ece201cfafab298cd89083567403a53f0971635 [2/13] block: add bi_blkg to the bio for cgroups config: sparc64-defconfig (attached as .config) compiler: sparc64-linux-gnu-gcc (Debian 7.2.0-11) 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 4ece201cfafab298cd89083567403a53f0971635 # save the attached .config to linux build tree make.cross ARCH=sparc64 All errors (new ones prefixed by >>): In file included from include/linux/blkdev.h:21:0, from include/linux/backing-dev.h:15, from include/linux/nfs_fs_sb.h:6, from include/linux/nfs_fs.h:39, from arch/sparc/kernel/sys_sparc32.c:25: include/linux/bio.h:521:55: error: 'struct blkcg_gq' declared inside parameter list will not be visible outside of this definition or declaration [-Werror] static int bio_associate_blkg(struct bio *bio, struct blkcg_gq *blkg) { return 0; } ^~~~~~~~ >> include/linux/bio.h:521:12: error: 'bio_associate_blkg' defined but not used >> [-Werror=unused-function] static int bio_associate_blkg(struct bio *bio, struct blkcg_gq *blkg) { return 0; } ^~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors vim +/bio_associate_blkg +521 include/linux/bio.h 506 507 #define bio_dev(bio) \ 508 disk_devt((bio)->bi_disk) 509 510 #define bio_devname(bio, buf) \ 511 __bdevname(bio_dev(bio), (buf)) 512 513 #ifdef CONFIG_BLK_CGROUP 514 int bio_associate_blkcg(struct bio *bio, struct cgroup_subsys_state *blkcg_css); 515 int bio_associate_blkg(struct bio *bio, struct blkcg_gq *blkg); 516 void bio_disassociate_task(struct bio *bio); 517 void bio_clone_blkcg_association(struct bio *dst, struct bio *src); 518 #else /* CONFIG_BLK_CGROUP */ 519 static inline int bio_associate_blkcg(struct bio *bio, 520 struct cgroup_subsys_state *blkcg_css) { return 0; } > 521 static int bio_associate_blkg(struct bio *bio, struct blkcg_gq *blkg) { > return 0; } 522 static inline void bio_disassociate_task(struct bio *bio) { } 523 static inline void bio_clone_blkcg_association(struct bio *dst, 524 struct bio *src) { } 525 #endif /* CONFIG_BLK_CGROUP */ 526 --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
.config.gz
Description: application/gzip