[cgroup:btrfs-blkcg-updates 2/8] include/linux/writeback.h:103:9: error: 'blkcg_root_css' undeclared

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup.git btrfs-blkcg-updates
head:   128ddd26f41a8fc4efdca041f134113adeee9a34
commit: a934428451c685ca89e6eed931bb0527efe462ef [2/8] blkcg, writeback: Implement wbc_blkcg_css()
config: i386-randconfig-x009-201923 (attached as .config)
compiler: gcc-7 (Debian 7.3.0-1) 7.3.0
reproduce:
        git checkout a934428451c685ca89e6eed931bb0527efe462ef
        # save the attached .config to linux build tree
        make ARCH=i386 

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

Note: the cgroup/btrfs-blkcg-updates HEAD 128ddd26f41a8fc4efdca041f134113adeee9a34 builds fine.
      It only hurts bisectibility.

All errors (new ones prefixed by >>):

   In file included from include/linux/memcontrol.h:22:0,
                    from include/linux/swap.h:9,
                    from include/linux/suspend.h:5,
                    from arch/x86/kernel/asm-offsets.c:13:
   include/linux/writeback.h: In function 'wbc_blkcg_css':
>> include/linux/writeback.h:103:9: error: 'blkcg_root_css' undeclared (first use in this function)
     return blkcg_root_css;
            ^~~~~~~~~~~~~~
   include/linux/writeback.h:103:9: note: each undeclared identifier is reported only once for each function it appears in
   make[2]: *** [arch/x86/kernel/asm-offsets.s] Error 1
   make[2]: Target '__build' not remade because of errors.
   make[1]: *** [prepare0] Error 2
   make[1]: Target 'prepare' not remade because of errors.
   make: *** [sub-make] Error 2

vim +/blkcg_root_css +103 include/linux/writeback.h

    95	
    96	static inline struct cgroup_subsys_state *
    97	wbc_blkcg_css(struct writeback_control *wbc)
    98	{
    99	#ifdef CONFIG_CGROUP_WRITEBACK
   100		if (wbc->wb)
   101			return wbc->wb->blkcg_css;
   102	#endif
 > 103		return blkcg_root_css;
   104	}
   105	

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]     [Monitors]

  Powered by Linux