Skip to contentSkip to conversation

linux-next: build warning after merge of the akpm-current tree

DISCUSSION Stephen Rothwell 1 participant 1 message Feb 17, 2020 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

[Also earlier reported by Randy Dunlap]

After merging the akpm-current tree, today's linux-next build (arm multi_v7_defconfig) produced this warning:

In file included from mm/migrate.c:39:
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
146 | 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
145 | 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
233 | static inline void hugetlb_cgroup_uncharge_counter(struct resv_map *resv,
| ^~~~~~~~

Introduced by commits

0b42cb2e47b6 ("hugetlb_cgroup: add reservation accounting for private mappings") 881818698361 ("hugetlb_cgroup: add accounting for shared mappings")

Signature · 2 lines
Cheers,
Stephen Rothwell