All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-next:master 10023/11721] include/linux/memory_hotplug.h:312:26: warning: unused parameter 'group'
@ 2021-09-06  3:47 kernel test robot
  2021-09-06 10:35 ` David Hildenbrand
  0 siblings, 1 reply; 3+ messages in thread
From: kernel test robot @ 2021-09-06  3:47 UTC (permalink / raw)
  To: David Hildenbrand
  Cc: llvm, kbuild-all, Linux Memory Management List, Andrew Morton

[-- Attachment #1: Type: text/plain, Size: 28823 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   14c6345e6e6ca0570f3897214f24748ef6009761
commit: 62e87f2086b027716b05ecc66f33b5c19983690d [10023/11721] mm/memory_hotplug: track present pages in memory groups
config: i386-randconfig-r002-20210903 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 1104e3258b5064e7110cc297e2cec60ac9acfc0a)
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=62e87f2086b027716b05ecc66f33b5c19983690d
        git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
        git fetch --no-tags linux-next master
        git checkout 62e87f2086b027716b05ecc66f33b5c19983690d
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=i386 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All warnings (new ones prefixed by >>):

   ^
   include/linux/page-flags.h:308:50: note: expanded from macro 'TESTPAGEFLAG_FALSE'
   static inline int Page##uname(const struct page *page) { return 0; }
                                                    ^
   include/linux/page-flags.h:702:1: warning: unused parameter 'page' [-Wunused-parameter]
   PAGEFLAG_FALSE(DoubleMap)
   ^
   include/linux/page-flags.h:325:31: note: expanded from macro 'PAGEFLAG_FALSE'
   #define PAGEFLAG_FALSE(uname) TESTPAGEFLAG_FALSE(uname)                 \
                                 ^
   include/linux/page-flags.h:308:50: note: expanded from macro 'TESTPAGEFLAG_FALSE'
   static inline int Page##uname(const struct page *page) { return 0; }
                                                    ^
   include/linux/page-flags.h:702:1: warning: unused parameter 'page' [-Wunused-parameter]
   include/linux/page-flags.h:326:2: note: expanded from macro 'PAGEFLAG_FALSE'
           SETPAGEFLAG_NOOP(uname) CLEARPAGEFLAG_NOOP(uname)
           ^
   include/linux/page-flags.h:311:48: note: expanded from macro 'SETPAGEFLAG_NOOP'
   static inline void SetPage##uname(struct page *page) {  }
                                                  ^
   include/linux/page-flags.h:702:1: warning: unused parameter 'page' [-Wunused-parameter]
   include/linux/page-flags.h:326:26: note: expanded from macro 'PAGEFLAG_FALSE'
           SETPAGEFLAG_NOOP(uname) CLEARPAGEFLAG_NOOP(uname)
                                   ^
   include/linux/page-flags.h:314:50: note: expanded from macro 'CLEARPAGEFLAG_NOOP'
   static inline void ClearPage##uname(struct page *page) {  }
                                                    ^
   include/linux/page-flags.h:703:2: warning: unused parameter 'page' [-Wunused-parameter]
           TESTSCFLAG_FALSE(DoubleMap)
           ^
   include/linux/page-flags.h:329:2: note: expanded from macro 'TESTSCFLAG_FALSE'
           TESTSETFLAG_FALSE(uname) TESTCLEARFLAG_FALSE(uname)
           ^
   include/linux/page-flags.h:320:51: note: expanded from macro 'TESTSETFLAG_FALSE'
   static inline int TestSetPage##uname(struct page *page) { return 0; }
                                                     ^
   include/linux/page-flags.h:703:2: warning: unused parameter 'page' [-Wunused-parameter]
   include/linux/page-flags.h:329:27: note: expanded from macro 'TESTSCFLAG_FALSE'
           TESTSETFLAG_FALSE(uname) TESTCLEARFLAG_FALSE(uname)
                                    ^
   include/linux/page-flags.h:323:53: note: expanded from macro 'TESTCLEARFLAG_FALSE'
   static inline int TestClearPage##uname(struct page *page) { return 0; }
                                                       ^
   In file included from drivers/gpu/drm/i915/i915_drv.c:30:
   In file included from include/linux/acpi.h:13:
   In file included from include/linux/irqdomain.h:35:
   In file included from include/linux/of.h:17:
   In file included from include/linux/kobject.h:20:
   In file included from include/linux/sysfs.h:16:
   In file included from include/linux/kernfs.h:13:
   In file included from include/linux/idr.h:15:
   In file included from include/linux/radix-tree.h:19:
   In file included from include/linux/xarray.h:14:
   In file included from include/linux/gfp.h:6:
   In file included from include/linux/mmzone.h:927:
   include/linux/memory_hotplug.h:235:56: warning: unused parameter 'zone' [-Wunused-parameter]
   static inline unsigned zone_span_seqbegin(struct zone *zone)
                                                          ^
   include/linux/memory_hotplug.h:239:51: warning: unused parameter 'zone' [-Wunused-parameter]
   static inline int zone_span_seqretry(struct zone *zone, unsigned iv)
                                                     ^
   include/linux/memory_hotplug.h:239:66: warning: unused parameter 'iv' [-Wunused-parameter]
   static inline int zone_span_seqretry(struct zone *zone, unsigned iv)
                                                                    ^
   include/linux/memory_hotplug.h:243:53: warning: unused parameter 'zone' [-Wunused-parameter]
   static inline void zone_span_writelock(struct zone *zone) {}
                                                       ^
   include/linux/memory_hotplug.h:244:55: warning: unused parameter 'zone' [-Wunused-parameter]
   static inline void zone_span_writeunlock(struct zone *zone) {}
                                                         ^
   include/linux/memory_hotplug.h:245:51: warning: unused parameter 'zone' [-Wunused-parameter]
   static inline void zone_seqlock_init(struct zone *zone) {}
                                                     ^
   include/linux/memory_hotplug.h:247:39: warning: unused parameter 'nid' [-Wunused-parameter]
   static inline int try_online_node(int nid)
                                         ^
   include/linux/memory_hotplug.h:294:58: warning: unused parameter 'p' [-Wunused-parameter]
   static inline void pgdat_resize_lock(struct pglist_data *p, unsigned long *f) {}
                                                            ^
   include/linux/memory_hotplug.h:294:76: warning: unused parameter 'f' [-Wunused-parameter]
   static inline void pgdat_resize_lock(struct pglist_data *p, unsigned long *f) {}
                                                                              ^
   include/linux/memory_hotplug.h:295:60: warning: unused parameter 'p' [-Wunused-parameter]
   static inline void pgdat_resize_unlock(struct pglist_data *p, unsigned long *f) {}
                                                              ^
   include/linux/memory_hotplug.h:295:78: warning: unused parameter 'f' [-Wunused-parameter]
   static inline void pgdat_resize_unlock(struct pglist_data *p, unsigned long *f) {}
                                                                                ^
   include/linux/memory_hotplug.h:296:58: warning: unused parameter 'pgdat' [-Wunused-parameter]
   static inline void pgdat_resize_init(struct pglist_data *pgdat) {}
                                                            ^
   include/linux/memory_hotplug.h:309:41: warning: unused parameter 'nid' [-Wunused-parameter]
   static inline void try_offline_node(int nid) {}
                                           ^
   include/linux/memory_hotplug.h:311:47: warning: unused parameter 'start_pfn' [-Wunused-parameter]
   static inline int offline_pages(unsigned long start_pfn, unsigned long nr_pages,
                                                 ^
   include/linux/memory_hotplug.h:311:72: warning: unused parameter 'nr_pages' [-Wunused-parameter]
   static inline int offline_pages(unsigned long start_pfn, unsigned long nr_pages,
                                                                          ^
>> include/linux/memory_hotplug.h:312:26: warning: unused parameter 'group' [-Wunused-parameter]
                                   struct memory_group *group)
                                                        ^
   include/linux/memory_hotplug.h:317:37: warning: unused parameter 'start' [-Wunused-parameter]
   static inline int remove_memory(u64 start, u64 size)
                                       ^
   include/linux/memory_hotplug.h:317:48: warning: unused parameter 'size' [-Wunused-parameter]
   static inline int remove_memory(u64 start, u64 size)
                                                  ^
   include/linux/memory_hotplug.h:322:40: warning: unused parameter 'start' [-Wunused-parameter]
   static inline void __remove_memory(u64 start, u64 size) {}
                                          ^
   include/linux/memory_hotplug.h:322:51: warning: unused parameter 'size' [-Wunused-parameter]
   static inline void __remove_memory(u64 start, u64 size) {}
                                                     ^
   In file included from drivers/gpu/drm/i915/i915_drv.c:30:
   In file included from include/linux/acpi.h:13:
   In file included from include/linux/irqdomain.h:35:
   In file included from include/linux/of.h:17:
   In file included from include/linux/kobject.h:20:
   In file included from include/linux/sysfs.h:16:
   In file included from include/linux/kernfs.h:13:
   In file included from include/linux/idr.h:15:
   In file included from include/linux/radix-tree.h:19:
   In file included from include/linux/xarray.h:14:
   In file included from include/linux/gfp.h:6:
   include/linux/mmzone.h:980:53: warning: unused parameter 'zone' [-Wunused-parameter]
   static inline bool zone_is_zone_device(struct zone *zone)
                                                       ^
   include/linux/mmzone.h:1014:44: warning: unused parameter 'zone' [-Wunused-parameter]
   static inline int zone_to_nid(struct zone *zone)
                                              ^
   include/linux/mmzone.h:1019:46: warning: unused parameter 'zone' [-Wunused-parameter]
   static inline void zone_set_nid(struct zone *zone, int nid) {}
                                                ^
   include/linux/mmzone.h:1019:56: warning: unused parameter 'nid' [-Wunused-parameter]
   static inline void zone_set_nid(struct zone *zone, int nid) {}
                                                          ^
   include/linux/mmzone.h:1075:49: warning: unused parameter 'nid' [-Wunused-parameter]
   static inline struct pglist_data *NODE_DATA(int nid)
                                                   ^
   include/linux/mmzone.h:1157:44: warning: comparison of integers of different signs: 'int' and 'enum zone_type' [-Wsign-compare]
           if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
                                ~~~~~~~~~~~~~~~~~~~~ ^  ~~~~~~~~~~~~~~~
   include/linux/compiler.h:77:40: note: expanded from macro 'likely'
   # define likely(x)      __builtin_expect(!!(x), 1)
                                               ^
   In file included from drivers/gpu/drm/i915/i915_drv.c:30:
   In file included from include/linux/acpi.h:13:
   In file included from include/linux/irqdomain.h:35:
   In file included from include/linux/of.h:17:
   In file included from include/linux/kobject.h:20:
   In file included from include/linux/sysfs.h:16:
   In file included from include/linux/kernfs.h:13:
   In file included from include/linux/idr.h:15:
   In file included from include/linux/radix-tree.h:19:
   In file included from include/linux/xarray.h:14:
   In file included from include/linux/gfp.h:6:
   include/linux/mmzone.h:1451:57: warning: unused parameter 'ms' [-Wunused-parameter]
   static inline int pfn_section_valid(struct mem_section *ms, unsigned long pfn)
                                                           ^
   include/linux/mmzone.h:1451:75: warning: unused parameter 'pfn' [-Wunused-parameter]
   static inline int pfn_section_valid(struct mem_section *ms, unsigned long pfn)
                                                                             ^
   In file included from drivers/gpu/drm/i915/i915_drv.c:30:
   In file included from include/linux/acpi.h:13:
   In file included from include/linux/irqdomain.h:35:
   In file included from include/linux/of.h:17:
   In file included from include/linux/kobject.h:20:
   In file included from include/linux/sysfs.h:16:
   In file included from include/linux/kernfs.h:13:
   In file included from include/linux/idr.h:15:
   In file included from include/linux/radix-tree.h:19:
   In file included from include/linux/xarray.h:14:
   In file included from include/linux/gfp.h:9:
   In file included from include/linux/topology.h:36:
   arch/x86/include/asm/topology.h:94:41: warning: unused parameter 'cpu' [-Wunused-parameter]
   static inline int early_cpu_to_node(int cpu)
                                           ^
   arch/x86/include/asm/topology.h:144:42: warning: unused parameter 'apicid' [-Wunused-parameter]
   topology_update_package_map(unsigned int apicid, unsigned int cpu) { return 0; }
                                            ^
   arch/x86/include/asm/topology.h:144:63: warning: unused parameter 'cpu' [-Wunused-parameter]
   topology_update_package_map(unsigned int apicid, unsigned int cpu) { return 0; }
                                                                 ^
   arch/x86/include/asm/topology.h:146:38: warning: unused parameter 'dieid' [-Wunused-parameter]
   topology_update_die_map(unsigned int dieid, unsigned int cpu) { return 0; }
                                        ^
   arch/x86/include/asm/topology.h:146:58: warning: unused parameter 'cpu' [-Wunused-parameter]
   topology_update_die_map(unsigned int dieid, unsigned int cpu) { return 0; }
                                                            ^
   arch/x86/include/asm/topology.h:147:61: warning: unused parameter 'pkg' [-Wunused-parameter]
   static inline int topology_phys_to_logical_pkg(unsigned int pkg) { return 0; }
                                                               ^
   arch/x86/include/asm/topology.h:148:61: warning: unused parameter 'die' [-Wunused-parameter]
   static inline int topology_phys_to_logical_die(unsigned int die,
                                                               ^
   arch/x86/include/asm/topology.h:149:16: warning: unused parameter 'cpu' [-Wunused-parameter]
                   unsigned int cpu) { return 0; }
                                ^
   arch/x86/include/asm/topology.h:152:60: warning: unused parameter 'cpu' [-Wunused-parameter]
--
   ^
   include/linux/page-flags.h:308:50: note: expanded from macro 'TESTPAGEFLAG_FALSE'
   static inline int Page##uname(const struct page *page) { return 0; }
                                                    ^
   include/linux/page-flags.h:701:1: warning: unused parameter 'page' [-Wunused-parameter]
   TESTPAGEFLAG_FALSE(TransTail)
   ^
   include/linux/page-flags.h:308:50: note: expanded from macro 'TESTPAGEFLAG_FALSE'
   static inline int Page##uname(const struct page *page) { return 0; }
                                                    ^
   include/linux/page-flags.h:702:1: warning: unused parameter 'page' [-Wunused-parameter]
   PAGEFLAG_FALSE(DoubleMap)
   ^
   include/linux/page-flags.h:325:31: note: expanded from macro 'PAGEFLAG_FALSE'
   #define PAGEFLAG_FALSE(uname) TESTPAGEFLAG_FALSE(uname)                 \
                                 ^
   include/linux/page-flags.h:308:50: note: expanded from macro 'TESTPAGEFLAG_FALSE'
   static inline int Page##uname(const struct page *page) { return 0; }
                                                    ^
   include/linux/page-flags.h:702:1: warning: unused parameter 'page' [-Wunused-parameter]
   include/linux/page-flags.h:326:2: note: expanded from macro 'PAGEFLAG_FALSE'
           SETPAGEFLAG_NOOP(uname) CLEARPAGEFLAG_NOOP(uname)
           ^
   include/linux/page-flags.h:311:48: note: expanded from macro 'SETPAGEFLAG_NOOP'
   static inline void SetPage##uname(struct page *page) {  }
                                                  ^
   include/linux/page-flags.h:702:1: warning: unused parameter 'page' [-Wunused-parameter]
   include/linux/page-flags.h:326:26: note: expanded from macro 'PAGEFLAG_FALSE'
           SETPAGEFLAG_NOOP(uname) CLEARPAGEFLAG_NOOP(uname)
                                   ^
   include/linux/page-flags.h:314:50: note: expanded from macro 'CLEARPAGEFLAG_NOOP'
   static inline void ClearPage##uname(struct page *page) {  }
                                                    ^
   include/linux/page-flags.h:703:2: warning: unused parameter 'page' [-Wunused-parameter]
           TESTSCFLAG_FALSE(DoubleMap)
           ^
   include/linux/page-flags.h:329:2: note: expanded from macro 'TESTSCFLAG_FALSE'
           TESTSETFLAG_FALSE(uname) TESTCLEARFLAG_FALSE(uname)
           ^
   include/linux/page-flags.h:320:51: note: expanded from macro 'TESTSETFLAG_FALSE'
   static inline int TestSetPage##uname(struct page *page) { return 0; }
                                                     ^
   include/linux/page-flags.h:703:2: warning: unused parameter 'page' [-Wunused-parameter]
   include/linux/page-flags.h:329:27: note: expanded from macro 'TESTSCFLAG_FALSE'
           TESTSETFLAG_FALSE(uname) TESTCLEARFLAG_FALSE(uname)
                                    ^
   include/linux/page-flags.h:323:53: note: expanded from macro 'TESTCLEARFLAG_FALSE'
   static inline int TestClearPage##uname(struct page *page) { return 0; }
                                                       ^
   In file included from drivers/gpu/drm/i915/i915_config.c:6:
   In file included from drivers/gpu/drm/i915/i915_drv.h:38:
   In file included from include/linux/io-mapping.h:10:
   In file included from include/linux/slab.h:15:
   In file included from include/linux/gfp.h:6:
   In file included from include/linux/mmzone.h:927:
   include/linux/memory_hotplug.h:235:56: warning: unused parameter 'zone' [-Wunused-parameter]
   static inline unsigned zone_span_seqbegin(struct zone *zone)
                                                          ^
   include/linux/memory_hotplug.h:239:51: warning: unused parameter 'zone' [-Wunused-parameter]
   static inline int zone_span_seqretry(struct zone *zone, unsigned iv)
                                                     ^
   include/linux/memory_hotplug.h:239:66: warning: unused parameter 'iv' [-Wunused-parameter]
   static inline int zone_span_seqretry(struct zone *zone, unsigned iv)
                                                                    ^
   include/linux/memory_hotplug.h:243:53: warning: unused parameter 'zone' [-Wunused-parameter]
   static inline void zone_span_writelock(struct zone *zone) {}
                                                       ^
   include/linux/memory_hotplug.h:244:55: warning: unused parameter 'zone' [-Wunused-parameter]
   static inline void zone_span_writeunlock(struct zone *zone) {}
                                                         ^
   include/linux/memory_hotplug.h:245:51: warning: unused parameter 'zone' [-Wunused-parameter]
   static inline void zone_seqlock_init(struct zone *zone) {}
                                                     ^
   include/linux/memory_hotplug.h:247:39: warning: unused parameter 'nid' [-Wunused-parameter]
   static inline int try_online_node(int nid)
                                         ^
   include/linux/memory_hotplug.h:294:58: warning: unused parameter 'p' [-Wunused-parameter]
   static inline void pgdat_resize_lock(struct pglist_data *p, unsigned long *f) {}
                                                            ^
   include/linux/memory_hotplug.h:294:76: warning: unused parameter 'f' [-Wunused-parameter]
   static inline void pgdat_resize_lock(struct pglist_data *p, unsigned long *f) {}
                                                                              ^
   include/linux/memory_hotplug.h:295:60: warning: unused parameter 'p' [-Wunused-parameter]
   static inline void pgdat_resize_unlock(struct pglist_data *p, unsigned long *f) {}
                                                              ^
   include/linux/memory_hotplug.h:295:78: warning: unused parameter 'f' [-Wunused-parameter]
   static inline void pgdat_resize_unlock(struct pglist_data *p, unsigned long *f) {}
                                                                                ^
   include/linux/memory_hotplug.h:296:58: warning: unused parameter 'pgdat' [-Wunused-parameter]
   static inline void pgdat_resize_init(struct pglist_data *pgdat) {}
                                                            ^
   include/linux/memory_hotplug.h:309:41: warning: unused parameter 'nid' [-Wunused-parameter]
   static inline void try_offline_node(int nid) {}
                                           ^
   include/linux/memory_hotplug.h:311:47: warning: unused parameter 'start_pfn' [-Wunused-parameter]
   static inline int offline_pages(unsigned long start_pfn, unsigned long nr_pages,
                                                 ^
   include/linux/memory_hotplug.h:311:72: warning: unused parameter 'nr_pages' [-Wunused-parameter]
   static inline int offline_pages(unsigned long start_pfn, unsigned long nr_pages,
                                                                          ^
>> include/linux/memory_hotplug.h:312:26: warning: unused parameter 'group' [-Wunused-parameter]
                                   struct memory_group *group)
                                                        ^
   include/linux/memory_hotplug.h:317:37: warning: unused parameter 'start' [-Wunused-parameter]
   static inline int remove_memory(u64 start, u64 size)
                                       ^
   include/linux/memory_hotplug.h:317:48: warning: unused parameter 'size' [-Wunused-parameter]
   static inline int remove_memory(u64 start, u64 size)
                                                  ^
   include/linux/memory_hotplug.h:322:40: warning: unused parameter 'start' [-Wunused-parameter]
   static inline void __remove_memory(u64 start, u64 size) {}
                                          ^
   include/linux/memory_hotplug.h:322:51: warning: unused parameter 'size' [-Wunused-parameter]
   static inline void __remove_memory(u64 start, u64 size) {}
                                                     ^
   In file included from drivers/gpu/drm/i915/i915_config.c:6:
   In file included from drivers/gpu/drm/i915/i915_drv.h:38:
   In file included from include/linux/io-mapping.h:10:
   In file included from include/linux/slab.h:15:
   In file included from include/linux/gfp.h:6:
   include/linux/mmzone.h:980:53: warning: unused parameter 'zone' [-Wunused-parameter]
   static inline bool zone_is_zone_device(struct zone *zone)
                                                       ^
   include/linux/mmzone.h:1014:44: warning: unused parameter 'zone' [-Wunused-parameter]
   static inline int zone_to_nid(struct zone *zone)
                                              ^
   include/linux/mmzone.h:1019:46: warning: unused parameter 'zone' [-Wunused-parameter]
   static inline void zone_set_nid(struct zone *zone, int nid) {}
                                                ^
   include/linux/mmzone.h:1019:56: warning: unused parameter 'nid' [-Wunused-parameter]
   static inline void zone_set_nid(struct zone *zone, int nid) {}
                                                          ^
   include/linux/mmzone.h:1075:49: warning: unused parameter 'nid' [-Wunused-parameter]
   static inline struct pglist_data *NODE_DATA(int nid)
                                                   ^
   include/linux/mmzone.h:1157:44: warning: comparison of integers of different signs: 'int' and 'enum zone_type' [-Wsign-compare]
           if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
                                ~~~~~~~~~~~~~~~~~~~~ ^  ~~~~~~~~~~~~~~~
   include/linux/compiler.h:77:40: note: expanded from macro 'likely'
   # define likely(x)      __builtin_expect(!!(x), 1)
                                               ^
   In file included from drivers/gpu/drm/i915/i915_config.c:6:
   In file included from drivers/gpu/drm/i915/i915_drv.h:38:
   In file included from include/linux/io-mapping.h:10:
   In file included from include/linux/slab.h:15:
   In file included from include/linux/gfp.h:6:
   include/linux/mmzone.h:1451:57: warning: unused parameter 'ms' [-Wunused-parameter]
   static inline int pfn_section_valid(struct mem_section *ms, unsigned long pfn)
                                                           ^
   include/linux/mmzone.h:1451:75: warning: unused parameter 'pfn' [-Wunused-parameter]
   static inline int pfn_section_valid(struct mem_section *ms, unsigned long pfn)
                                                                             ^
   In file included from drivers/gpu/drm/i915/i915_config.c:6:
   In file included from drivers/gpu/drm/i915/i915_drv.h:38:
   In file included from include/linux/io-mapping.h:10:
   In file included from include/linux/slab.h:15:
   In file included from include/linux/gfp.h:9:
   In file included from include/linux/topology.h:36:
   arch/x86/include/asm/topology.h:94:41: warning: unused parameter 'cpu' [-Wunused-parameter]
   static inline int early_cpu_to_node(int cpu)
                                           ^
   arch/x86/include/asm/topology.h:144:42: warning: unused parameter 'apicid' [-Wunused-parameter]
   topology_update_package_map(unsigned int apicid, unsigned int cpu) { return 0; }
                                            ^
   arch/x86/include/asm/topology.h:144:63: warning: unused parameter 'cpu' [-Wunused-parameter]
   topology_update_package_map(unsigned int apicid, unsigned int cpu) { return 0; }
                                                                 ^
   arch/x86/include/asm/topology.h:146:38: warning: unused parameter 'dieid' [-Wunused-parameter]
   topology_update_die_map(unsigned int dieid, unsigned int cpu) { return 0; }
                                        ^
   arch/x86/include/asm/topology.h:146:58: warning: unused parameter 'cpu' [-Wunused-parameter]
   topology_update_die_map(unsigned int dieid, unsigned int cpu) { return 0; }
                                                            ^
   arch/x86/include/asm/topology.h:147:61: warning: unused parameter 'pkg' [-Wunused-parameter]
   static inline int topology_phys_to_logical_pkg(unsigned int pkg) { return 0; }
                                                               ^
   arch/x86/include/asm/topology.h:148:61: warning: unused parameter 'die' [-Wunused-parameter]
   static inline int topology_phys_to_logical_die(unsigned int die,
                                                               ^
   arch/x86/include/asm/topology.h:149:16: warning: unused parameter 'cpu' [-Wunused-parameter]
                   unsigned int cpu) { return 0; }
                                ^
   arch/x86/include/asm/topology.h:152:60: warning: unused parameter 'cpu' [-Wunused-parameter]
   static inline bool topology_is_primary_thread(unsigned int cpu) { return true; }
                                                              ^
   arch/x86/include/asm/topology.h:156:49: warning: unused parameter 'num' [-Wunused-parameter]
   static inline void arch_fix_phys_package_id(int num, u32 slot)
                                                   ^
   arch/x86/include/asm/topology.h:156:58: warning: unused parameter 'slot' [-Wunused-parameter]
   static inline void arch_fix_phys_package_id(int num, u32 slot)
                                                            ^
   arch/x86/include/asm/topology.h:184:49: warning: unused parameter 'prio' [-Wunused-parameter]
   static inline void sched_set_itmt_core_prio(int prio, int core_cpu)
                                                   ^
   arch/x86/include/asm/topology.h:184:59: warning: unused parameter 'core_cpu' [-Wunused-parameter]
   static inline void sched_set_itmt_core_prio(int prio, int core_cpu)
                                                             ^
   arch/x86/include/asm/topology.h:216:49: warning: unused parameter 'turbo_disabled' [-Wunused-parameter]
   static inline void arch_set_max_freq_ratio(bool turbo_disabled)
                                                   ^
   In file included from drivers/gpu/drm/i915/i915_config.c:6:
..


vim +/group +312 include/linux/memory_hotplug.h

   307	
   308	#else
 > 309	static inline void try_offline_node(int nid) {}
   310	
   311	static inline int offline_pages(unsigned long start_pfn, unsigned long nr_pages,
 > 312					struct memory_group *group)
   313	{
   314		return -EINVAL;
   315	}
   316	

---
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: 35855 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-09-06 18:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-06  3:47 [linux-next:master 10023/11721] include/linux/memory_hotplug.h:312:26: warning: unused parameter 'group' kernel test robot
2021-09-06 10:35 ` David Hildenbrand
2021-09-06 18:46   ` Nathan Chancellor

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.