* [krzk-github:for-next/defconfig-cleanup-io-sched-and-others-v2-rebased 2183/2430] include/linux/hugetlb_cgroup.h:146:21: warning: 'struct file_region' declared inside parameter list will not be visible outside of this definition or declaration
@ 2020-02-18 10:54 kbuild test robot
0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2020-02-18 10:54 UTC (permalink / raw)
To: Mina Almasry; +Cc: kbuild-all, Andrew Morton, Linux Memory Management List
[-- Attachment #1: Type: text/plain, Size: 3665 bytes --]
tree: https://github.com/krzk/linux for-next/defconfig-cleanup-io-sched-and-others-v2-rebased
head: 819576ed2e648eb1a63ef082e7babd44fceee084
commit: 8818186983610773dc88f613b8636392efd54635 [2183/2430] hugetlb_cgroup: add accounting for shared 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 8818186983610773dc88f613b8636392efd54635
# 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@intel.com>
All warnings (new ones prefixed by >>):
In file included from mm/migrate.c:39:0:
>> include/linux/hugetlb_cgroup.h:146:21: warning: 'struct file_region' declared inside parameter list will not be visible outside of this definition or declaration
struct file_region *rg,
^~~~~~~~~~~
include/linux/hugetlb_cgroup.h:145:63: warning: 'struct resv_map' declared inside parameter list will not be visible outside of this definition or declaration
static inline void hugetlb_cgroup_uncharge_file_region(struct resv_map *resv,
^~~~~~~~
include/linux/hugetlb_cgroup.h:233: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 +146 include/linux/hugetlb_cgroup.h
112
113 extern int hugetlb_cgroup_charge_cgroup(int idx, unsigned long nr_pages,
114 struct hugetlb_cgroup **ptr);
115 extern int hugetlb_cgroup_charge_cgroup_rsvd(int idx, unsigned long nr_pages,
116 struct hugetlb_cgroup **ptr);
117 extern void hugetlb_cgroup_commit_charge(int idx, unsigned long nr_pages,
118 struct hugetlb_cgroup *h_cg,
119 struct page *page);
120 extern void hugetlb_cgroup_commit_charge_rsvd(int idx, unsigned long nr_pages,
121 struct hugetlb_cgroup *h_cg,
122 struct page *page);
123 extern void hugetlb_cgroup_uncharge_page(int idx, unsigned long nr_pages,
124 struct page *page);
125 extern void hugetlb_cgroup_uncharge_page_rsvd(int idx, unsigned long nr_pages,
126 struct page *page);
127
128 extern void hugetlb_cgroup_uncharge_cgroup(int idx, unsigned long nr_pages,
129 struct hugetlb_cgroup *h_cg);
130 extern void hugetlb_cgroup_uncharge_cgroup_rsvd(int idx, unsigned long nr_pages,
131 struct hugetlb_cgroup *h_cg);
132 extern void hugetlb_cgroup_uncharge_counter(struct resv_map *resv,
133 unsigned long start,
134 unsigned long end);
135
136 extern void hugetlb_cgroup_uncharge_file_region(struct resv_map *resv,
137 struct file_region *rg,
138 unsigned long nr_pages);
139
140 extern void hugetlb_cgroup_file_init(void) __init;
141 extern void hugetlb_cgroup_migrate(struct page *oldhpage,
142 struct page *newhpage);
143
144 #else
145 static inline void hugetlb_cgroup_uncharge_file_region(struct resv_map *resv,
> 146 struct file_region *rg,
147 unsigned long nr_pages)
148 {
149 }
150
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 7290 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-02-18 10:54 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-18 10:54 [krzk-github:for-next/defconfig-cleanup-io-sched-and-others-v2-rebased 2183/2430] include/linux/hugetlb_cgroup.h:146:21: warning: 'struct file_region' declared inside parameter list will not be visible outside of this definition or declaration kbuild test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox