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

From: Stephen Rothwell <[email-masked]>
Date: Mon, 17 Feb 2020 13:00:46 +1100

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")

-- 
Cheers,
Stephen Rothwell