[krzk-github:for-next/defconfig-cleanup-io-sched-and-others-v2-rebased 2181/2430] include/linux/hugetlb_cgroup.h:223:59: warning: 'struct resv_map' declared inside parameter list will not be visible outside of this definition or declaration

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

 



tree:   https://github.com/krzk/linux for-next/defconfig-cleanup-io-sched-and-others-v2-rebased
head:   819576ed2e648eb1a63ef082e7babd44fceee084
commit: 0b42cb2e47b62bbde45d719c527ada311d373da7 [2181/2430] hugetlb_cgroup: add reservation accounting for private mappings
config: m68k-m5475evb_defconfig (attached as .config)
compiler: m68k-linux-gcc (GCC) 7.5.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 0b42cb2e47b62bbde45d719c527ada311d373da7
        # save the attached .config to linux build tree
        GCC_VERSION=7.5.0 make.cross ARCH=m68k 

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

All warnings (new ones prefixed by >>):

   In file included from mm/migrate.c:39:0:
>> include/linux/hugetlb_cgroup.h:223:59: warning: 'struct resv_map' declared inside parameter list will not be visible outside of this definition or declaration
    static inline void hugetlb_cgroup_uncharge_counter(struct resv_map *resv,
                                                              ^~~~~~~~

vim +223 include/linux/hugetlb_cgroup.h

   222	
 > 223	static inline void hugetlb_cgroup_uncharge_counter(struct resv_map *resv,
   224							   unsigned long start,
   225							   unsigned long end)
   226	{
   227	}
   228	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip


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

  Powered by Linux