* [linux-next:master 6882/11721] include/linux/page-flags.h:488:1: warning: unused parameter 'folio'
@ 2021-09-03 23:27 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-09-03 23:27 UTC (permalink / raw)
To: Matthew Wilcox (Oracle)
Cc: llvm, kbuild-all, Linux Memory Management List,
Christoph Hellwig, William Kucharski, David Howells
[-- Attachment #1: Type: text/plain, Size: 34132 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: 14c6345e6e6ca0570f3897214f24748ef6009761
commit: ee6d3ffc2a2d68456e9edcc51f6ad5ecbea529d7 [6882/11721] mm: Add folio flag manipulation functions
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=ee6d3ffc2a2d68456e9edcc51f6ad5ecbea529d7
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 ee6d3ffc2a2d68456e9edcc51f6ad5ecbea529d7
# 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/uprobes.h:161:42: warning: unused parameter 'offset' [-Wunused-parameter]
uprobe_apply(struct inode *inode, loff_t offset, struct uprobe_consumer *uc, bool add)
^
include/linux/uprobes.h:161:74: warning: unused parameter 'uc' [-Wunused-parameter]
uprobe_apply(struct inode *inode, loff_t offset, struct uprobe_consumer *uc, bool add)
^
include/linux/uprobes.h:161:83: warning: unused parameter 'add' [-Wunused-parameter]
uprobe_apply(struct inode *inode, loff_t offset, struct uprobe_consumer *uc, bool add)
^
include/linux/uprobes.h:166:33: warning: unused parameter 'inode' [-Wunused-parameter]
uprobe_unregister(struct inode *inode, loff_t offset, struct uprobe_consumer *uc)
^
include/linux/uprobes.h:166:47: warning: unused parameter 'offset' [-Wunused-parameter]
uprobe_unregister(struct inode *inode, loff_t offset, struct uprobe_consumer *uc)
^
include/linux/uprobes.h:166:79: warning: unused parameter 'uc' [-Wunused-parameter]
uprobe_unregister(struct inode *inode, loff_t offset, struct uprobe_consumer *uc)
^
include/linux/uprobes.h:169:54: warning: unused parameter 'vma' [-Wunused-parameter]
static inline int uprobe_mmap(struct vm_area_struct *vma)
^
include/linux/uprobes.h:174:38: warning: unused parameter 'vma' [-Wunused-parameter]
uprobe_munmap(struct vm_area_struct *vma, unsigned long start, unsigned long end)
^
include/linux/uprobes.h:174:57: warning: unused parameter 'start' [-Wunused-parameter]
uprobe_munmap(struct vm_area_struct *vma, unsigned long start, unsigned long end)
^
include/linux/uprobes.h:174:78: warning: unused parameter 'end' [-Wunused-parameter]
uprobe_munmap(struct vm_area_struct *vma, unsigned long start, unsigned long end)
^
include/linux/uprobes.h:184:35: warning: unused parameter 'oldmm' [-Wunused-parameter]
uprobe_dup_mmap(struct mm_struct *oldmm, struct mm_struct *newmm)
^
include/linux/uprobes.h:184:60: warning: unused parameter 'newmm' [-Wunused-parameter]
uprobe_dup_mmap(struct mm_struct *oldmm, struct mm_struct *newmm)
^
include/linux/uprobes.h:187:57: warning: unused parameter 'regs' [-Wunused-parameter]
static inline void uprobe_notify_resume(struct pt_regs *regs)
^
include/linux/uprobes.h:194:58: warning: unused parameter 't' [-Wunused-parameter]
static inline void uprobe_free_utask(struct task_struct *t)
^
include/linux/uprobes.h:197:60: warning: unused parameter 't' [-Wunused-parameter]
static inline void uprobe_copy_process(struct task_struct *t, unsigned long flags)
^
include/linux/uprobes.h:197:77: warning: unused parameter 'flags' [-Wunused-parameter]
static inline void uprobe_copy_process(struct task_struct *t, unsigned long flags)
^
include/linux/uprobes.h:200:57: warning: unused parameter 'mm' [-Wunused-parameter]
static inline void uprobe_clear_state(struct mm_struct *mm)
^
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:21:
In file included from include/linux/mm_types.h:16:
include/linux/workqueue.h:215:52: warning: unused parameter 'work' [-Wunused-parameter]
static inline void __init_work(struct work_struct *work, int onstack) { }
^
include/linux/workqueue.h:215:62: warning: unused parameter 'onstack' [-Wunused-parameter]
static inline void __init_work(struct work_struct *work, int onstack) { }
^
include/linux/workqueue.h:216:62: warning: unused parameter 'work' [-Wunused-parameter]
static inline void destroy_work_on_stack(struct work_struct *work) { }
^
include/linux/workqueue.h:217:71: warning: unused parameter 'work' [-Wunused-parameter]
static inline void destroy_delayed_work_on_stack(struct delayed_work *work) { }
^
include/linux/workqueue.h:218:60: warning: unused parameter 'work' [-Wunused-parameter]
static inline unsigned int work_static(struct work_struct *work) { return 0; }
^
include/linux/workqueue.h:630:36: warning: unused parameter 'cpu' [-Wunused-parameter]
static inline long work_on_cpu(int cpu, long (*fn)(void *), void *arg)
^
include/linux/workqueue.h:634:41: warning: unused parameter 'cpu' [-Wunused-parameter]
static inline long work_on_cpu_safe(int cpu, long (*fn)(void *), void *arg)
^
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:22:
include/linux/page-flags.h:237:21: warning: comparison of integers of different signs: 'const unsigned long' and 'long' [-Wsign-compare]
return page->flags == PAGE_POISON_PATTERN;
~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~
>> include/linux/page-flags.h:488:1: warning: unused parameter 'folio' [-Wunused-parameter]
PAGEFLAG_FALSE(SwapCache, swapcache)
^
include/linux/page-flags.h:400:38: note: expanded from macro 'PAGEFLAG_FALSE'
#define PAGEFLAG_FALSE(uname, lname) TESTPAGEFLAG_FALSE(uname, lname) \
^
include/linux/page-flags.h:375:59: note: expanded from macro 'TESTPAGEFLAG_FALSE'
static inline bool folio_test_##lname(const struct folio *folio) { return 0; } \
^
include/linux/page-flags.h:488:1: warning: unused parameter 'page' [-Wunused-parameter]
include/linux/page-flags.h:400:38: note: expanded from macro 'PAGEFLAG_FALSE'
#define PAGEFLAG_FALSE(uname, lname) TESTPAGEFLAG_FALSE(uname, lname) \
^
include/linux/page-flags.h:376:50: note: expanded from macro 'TESTPAGEFLAG_FALSE'
static inline int Page##uname(const struct page *page) { return 0; }
^
>> include/linux/page-flags.h:488:1: warning: unused parameter 'folio' [-Wunused-parameter]
include/linux/page-flags.h:401:2: note: expanded from macro 'PAGEFLAG_FALSE'
SETPAGEFLAG_NOOP(uname, lname) CLEARPAGEFLAG_NOOP(uname, lname)
^
include/linux/page-flags.h:379:52: note: expanded from macro 'SETPAGEFLAG_NOOP'
static inline void folio_set_##lname(struct folio *folio) { } \
^
include/linux/page-flags.h:488:1: warning: unused parameter 'page' [-Wunused-parameter]
include/linux/page-flags.h:401:2: note: expanded from macro 'PAGEFLAG_FALSE'
SETPAGEFLAG_NOOP(uname, lname) CLEARPAGEFLAG_NOOP(uname, lname)
^
include/linux/page-flags.h:380:48: note: expanded from macro 'SETPAGEFLAG_NOOP'
static inline void SetPage##uname(struct page *page) { }
^
>> include/linux/page-flags.h:488:1: warning: unused parameter 'folio' [-Wunused-parameter]
include/linux/page-flags.h:401:33: note: expanded from macro 'PAGEFLAG_FALSE'
SETPAGEFLAG_NOOP(uname, lname) CLEARPAGEFLAG_NOOP(uname, lname)
^
include/linux/page-flags.h:383:54: note: expanded from macro 'CLEARPAGEFLAG_NOOP'
static inline void folio_clear_##lname(struct folio *folio) { } \
^
include/linux/page-flags.h:488:1: warning: unused parameter 'page' [-Wunused-parameter]
include/linux/page-flags.h:401:33: note: expanded from macro 'PAGEFLAG_FALSE'
SETPAGEFLAG_NOOP(uname, lname) CLEARPAGEFLAG_NOOP(uname, lname)
^
include/linux/page-flags.h:384:50: note: expanded from macro 'CLEARPAGEFLAG_NOOP'
static inline void ClearPage##uname(struct page *page) { }
^
include/linux/page-flags.h:507:1: warning: unused parameter 'folio' [-Wunused-parameter]
PAGEFLAG_FALSE(Uncached, uncached)
^
include/linux/page-flags.h:400:38: note: expanded from macro 'PAGEFLAG_FALSE'
#define PAGEFLAG_FALSE(uname, lname) TESTPAGEFLAG_FALSE(uname, lname) \
^
include/linux/page-flags.h:375:59: note: expanded from macro 'TESTPAGEFLAG_FALSE'
static inline bool folio_test_##lname(const struct folio *folio) { return 0; } \
^
include/linux/page-flags.h:507:1: warning: unused parameter 'page' [-Wunused-parameter]
include/linux/page-flags.h:400:38: note: expanded from macro 'PAGEFLAG_FALSE'
#define PAGEFLAG_FALSE(uname, lname) TESTPAGEFLAG_FALSE(uname, lname) \
^
include/linux/page-flags.h:376:50: note: expanded from macro 'TESTPAGEFLAG_FALSE'
static inline int Page##uname(const struct page *page) { return 0; }
^
include/linux/page-flags.h:507:1: warning: unused parameter 'folio' [-Wunused-parameter]
include/linux/page-flags.h:401:2: note: expanded from macro 'PAGEFLAG_FALSE'
SETPAGEFLAG_NOOP(uname, lname) CLEARPAGEFLAG_NOOP(uname, lname)
^
include/linux/page-flags.h:379:52: note: expanded from macro 'SETPAGEFLAG_NOOP'
static inline void folio_set_##lname(struct folio *folio) { } \
^
include/linux/page-flags.h:507:1: warning: unused parameter 'page' [-Wunused-parameter]
include/linux/page-flags.h:401:2: note: expanded from macro 'PAGEFLAG_FALSE'
SETPAGEFLAG_NOOP(uname, lname) CLEARPAGEFLAG_NOOP(uname, lname)
^
include/linux/page-flags.h:380:48: note: expanded from macro 'SETPAGEFLAG_NOOP'
static inline void SetPage##uname(struct page *page) { }
^
include/linux/page-flags.h:507:1: warning: unused parameter 'folio' [-Wunused-parameter]
include/linux/page-flags.h:401:33: note: expanded from macro 'PAGEFLAG_FALSE'
SETPAGEFLAG_NOOP(uname, lname) CLEARPAGEFLAG_NOOP(uname, lname)
^
include/linux/page-flags.h:383:54: note: expanded from macro 'CLEARPAGEFLAG_NOOP'
static inline void folio_clear_##lname(struct folio *folio) { } \
^
include/linux/page-flags.h:507:1: warning: unused parameter 'page' [-Wunused-parameter]
include/linux/page-flags.h:401:33: note: expanded from macro 'PAGEFLAG_FALSE'
SETPAGEFLAG_NOOP(uname, lname) CLEARPAGEFLAG_NOOP(uname, lname)
^
include/linux/page-flags.h:384:50: note: expanded from macro 'CLEARPAGEFLAG_NOOP'
static inline void ClearPage##uname(struct page *page) { }
^
include/linux/page-flags.h:516:1: warning: unused parameter 'folio' [-Wunused-parameter]
PAGEFLAG_FALSE(HWPoison, hwpoison)
^
include/linux/page-flags.h:400:38: note: expanded from macro 'PAGEFLAG_FALSE'
#define PAGEFLAG_FALSE(uname, lname) TESTPAGEFLAG_FALSE(uname, lname) \
^
include/linux/page-flags.h:375:59: note: expanded from macro 'TESTPAGEFLAG_FALSE'
static inline bool folio_test_##lname(const struct folio *folio) { return 0; } \
^
include/linux/page-flags.h:516:1: warning: unused parameter 'page' [-Wunused-parameter]
include/linux/page-flags.h:400:38: note: expanded from macro 'PAGEFLAG_FALSE'
#define PAGEFLAG_FALSE(uname, lname) TESTPAGEFLAG_FALSE(uname, lname) \
^
include/linux/page-flags.h:376:50: note: expanded from macro 'TESTPAGEFLAG_FALSE'
static inline int Page##uname(const struct page *page) { return 0; }
^
include/linux/page-flags.h:516:1: warning: unused parameter 'folio' [-Wunused-parameter]
include/linux/page-flags.h:401:2: note: expanded from macro 'PAGEFLAG_FALSE'
SETPAGEFLAG_NOOP(uname, lname) CLEARPAGEFLAG_NOOP(uname, lname)
^
include/linux/page-flags.h:379:52: note: expanded from macro 'SETPAGEFLAG_NOOP'
static inline void folio_set_##lname(struct folio *folio) { } \
^
include/linux/page-flags.h:516:1: warning: unused parameter 'page' [-Wunused-parameter]
include/linux/page-flags.h:401:2: note: expanded from macro 'PAGEFLAG_FALSE'
SETPAGEFLAG_NOOP(uname, lname) CLEARPAGEFLAG_NOOP(uname, lname)
^
include/linux/page-flags.h:380:48: note: expanded from macro 'SETPAGEFLAG_NOOP'
static inline void SetPage##uname(struct page *page) { }
^
include/linux/page-flags.h:516:1: warning: unused parameter 'folio' [-Wunused-parameter]
include/linux/page-flags.h:401:33: note: expanded from macro 'PAGEFLAG_FALSE'
SETPAGEFLAG_NOOP(uname, lname) CLEARPAGEFLAG_NOOP(uname, lname)
^
include/linux/page-flags.h:383:54: note: expanded from macro 'CLEARPAGEFLAG_NOOP'
static inline void folio_clear_##lname(struct folio *folio) { } \
^
include/linux/page-flags.h:516:1: warning: unused parameter 'page' [-Wunused-parameter]
include/linux/page-flags.h:401:33: note: expanded from macro 'PAGEFLAG_FALSE'
SETPAGEFLAG_NOOP(uname, lname) CLEARPAGEFLAG_NOOP(uname, lname)
^
include/linux/page-flags.h:384:50: note: expanded from macro 'CLEARPAGEFLAG_NOOP'
static inline void ClearPage##uname(struct page *page) { }
--
In file included from include/linux/gfp.h:6:
In file included from include/linux/mmzone.h:21:
In file included from include/linux/mm_types.h:12:
include/linux/completion.h:32:56: warning: unused parameter 'x' [-Wunused-parameter]
static inline void complete_acquire(struct completion *x) {}
^
include/linux/completion.h:33:56: warning: unused parameter 'x' [-Wunused-parameter]
static inline void complete_release(struct completion *x) {}
^
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:21:
In file included from include/linux/mm_types.h:14:
include/linux/uprobes.h:152:31: warning: unused parameter 'inode' [-Wunused-parameter]
uprobe_register(struct inode *inode, loff_t offset, struct uprobe_consumer *uc)
^
include/linux/uprobes.h:152:45: warning: unused parameter 'offset' [-Wunused-parameter]
uprobe_register(struct inode *inode, loff_t offset, struct uprobe_consumer *uc)
^
include/linux/uprobes.h:152:77: warning: unused parameter 'uc' [-Wunused-parameter]
uprobe_register(struct inode *inode, loff_t offset, struct uprobe_consumer *uc)
^
include/linux/uprobes.h:156:56: warning: unused parameter 'inode' [-Wunused-parameter]
static inline int uprobe_register_refctr(struct inode *inode, loff_t offset, loff_t ref_ctr_offset, struct uprobe_consumer *uc)
^
include/linux/uprobes.h:156:70: warning: unused parameter 'offset' [-Wunused-parameter]
static inline int uprobe_register_refctr(struct inode *inode, loff_t offset, loff_t ref_ctr_offset, struct uprobe_consumer *uc)
^
include/linux/uprobes.h:156:85: warning: unused parameter 'ref_ctr_offset' [-Wunused-parameter]
static inline int uprobe_register_refctr(struct inode *inode, loff_t offset, loff_t ref_ctr_offset, struct uprobe_consumer *uc)
^
include/linux/uprobes.h:156:125: warning: unused parameter 'uc' [-Wunused-parameter]
static inline int uprobe_register_refctr(struct inode *inode, loff_t offset, loff_t ref_ctr_offset, struct uprobe_consumer *uc)
^
include/linux/uprobes.h:161:28: warning: unused parameter 'inode' [-Wunused-parameter]
uprobe_apply(struct inode *inode, loff_t offset, struct uprobe_consumer *uc, bool add)
^
include/linux/uprobes.h:161:42: warning: unused parameter 'offset' [-Wunused-parameter]
uprobe_apply(struct inode *inode, loff_t offset, struct uprobe_consumer *uc, bool add)
^
include/linux/uprobes.h:161:74: warning: unused parameter 'uc' [-Wunused-parameter]
uprobe_apply(struct inode *inode, loff_t offset, struct uprobe_consumer *uc, bool add)
^
include/linux/uprobes.h:161:83: warning: unused parameter 'add' [-Wunused-parameter]
uprobe_apply(struct inode *inode, loff_t offset, struct uprobe_consumer *uc, bool add)
^
include/linux/uprobes.h:166:33: warning: unused parameter 'inode' [-Wunused-parameter]
uprobe_unregister(struct inode *inode, loff_t offset, struct uprobe_consumer *uc)
^
include/linux/uprobes.h:166:47: warning: unused parameter 'offset' [-Wunused-parameter]
uprobe_unregister(struct inode *inode, loff_t offset, struct uprobe_consumer *uc)
^
include/linux/uprobes.h:166:79: warning: unused parameter 'uc' [-Wunused-parameter]
uprobe_unregister(struct inode *inode, loff_t offset, struct uprobe_consumer *uc)
^
include/linux/uprobes.h:169:54: warning: unused parameter 'vma' [-Wunused-parameter]
static inline int uprobe_mmap(struct vm_area_struct *vma)
^
include/linux/uprobes.h:174:38: warning: unused parameter 'vma' [-Wunused-parameter]
uprobe_munmap(struct vm_area_struct *vma, unsigned long start, unsigned long end)
^
include/linux/uprobes.h:174:57: warning: unused parameter 'start' [-Wunused-parameter]
uprobe_munmap(struct vm_area_struct *vma, unsigned long start, unsigned long end)
^
include/linux/uprobes.h:174:78: warning: unused parameter 'end' [-Wunused-parameter]
uprobe_munmap(struct vm_area_struct *vma, unsigned long start, unsigned long end)
^
include/linux/uprobes.h:184:35: warning: unused parameter 'oldmm' [-Wunused-parameter]
uprobe_dup_mmap(struct mm_struct *oldmm, struct mm_struct *newmm)
^
include/linux/uprobes.h:184:60: warning: unused parameter 'newmm' [-Wunused-parameter]
uprobe_dup_mmap(struct mm_struct *oldmm, struct mm_struct *newmm)
^
include/linux/uprobes.h:187:57: warning: unused parameter 'regs' [-Wunused-parameter]
static inline void uprobe_notify_resume(struct pt_regs *regs)
^
include/linux/uprobes.h:194:58: warning: unused parameter 't' [-Wunused-parameter]
static inline void uprobe_free_utask(struct task_struct *t)
^
include/linux/uprobes.h:197:60: warning: unused parameter 't' [-Wunused-parameter]
static inline void uprobe_copy_process(struct task_struct *t, unsigned long flags)
^
include/linux/uprobes.h:197:77: warning: unused parameter 'flags' [-Wunused-parameter]
static inline void uprobe_copy_process(struct task_struct *t, unsigned long flags)
^
include/linux/uprobes.h:200:57: warning: unused parameter 'mm' [-Wunused-parameter]
static inline void uprobe_clear_state(struct mm_struct *mm)
^
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:22:
include/linux/page-flags.h:237:21: warning: comparison of integers of different signs: 'const unsigned long' and 'long' [-Wsign-compare]
return page->flags == PAGE_POISON_PATTERN;
~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~
>> include/linux/page-flags.h:488:1: warning: unused parameter 'folio' [-Wunused-parameter]
PAGEFLAG_FALSE(SwapCache, swapcache)
^
include/linux/page-flags.h:400:38: note: expanded from macro 'PAGEFLAG_FALSE'
#define PAGEFLAG_FALSE(uname, lname) TESTPAGEFLAG_FALSE(uname, lname) \
^
include/linux/page-flags.h:375:59: note: expanded from macro 'TESTPAGEFLAG_FALSE'
static inline bool folio_test_##lname(const struct folio *folio) { return 0; } \
^
include/linux/page-flags.h:488:1: warning: unused parameter 'page' [-Wunused-parameter]
include/linux/page-flags.h:400:38: note: expanded from macro 'PAGEFLAG_FALSE'
#define PAGEFLAG_FALSE(uname, lname) TESTPAGEFLAG_FALSE(uname, lname) \
^
include/linux/page-flags.h:376:50: note: expanded from macro 'TESTPAGEFLAG_FALSE'
static inline int Page##uname(const struct page *page) { return 0; }
^
>> include/linux/page-flags.h:488:1: warning: unused parameter 'folio' [-Wunused-parameter]
include/linux/page-flags.h:401:2: note: expanded from macro 'PAGEFLAG_FALSE'
SETPAGEFLAG_NOOP(uname, lname) CLEARPAGEFLAG_NOOP(uname, lname)
^
include/linux/page-flags.h:379:52: note: expanded from macro 'SETPAGEFLAG_NOOP'
static inline void folio_set_##lname(struct folio *folio) { } \
^
include/linux/page-flags.h:488:1: warning: unused parameter 'page' [-Wunused-parameter]
include/linux/page-flags.h:401:2: note: expanded from macro 'PAGEFLAG_FALSE'
SETPAGEFLAG_NOOP(uname, lname) CLEARPAGEFLAG_NOOP(uname, lname)
^
include/linux/page-flags.h:380:48: note: expanded from macro 'SETPAGEFLAG_NOOP'
static inline void SetPage##uname(struct page *page) { }
^
>> include/linux/page-flags.h:488:1: warning: unused parameter 'folio' [-Wunused-parameter]
include/linux/page-flags.h:401:33: note: expanded from macro 'PAGEFLAG_FALSE'
SETPAGEFLAG_NOOP(uname, lname) CLEARPAGEFLAG_NOOP(uname, lname)
^
include/linux/page-flags.h:383:54: note: expanded from macro 'CLEARPAGEFLAG_NOOP'
static inline void folio_clear_##lname(struct folio *folio) { } \
^
include/linux/page-flags.h:488:1: warning: unused parameter 'page' [-Wunused-parameter]
include/linux/page-flags.h:401:33: note: expanded from macro 'PAGEFLAG_FALSE'
SETPAGEFLAG_NOOP(uname, lname) CLEARPAGEFLAG_NOOP(uname, lname)
^
include/linux/page-flags.h:384:50: note: expanded from macro 'CLEARPAGEFLAG_NOOP'
static inline void ClearPage##uname(struct page *page) { }
^
include/linux/page-flags.h:507:1: warning: unused parameter 'folio' [-Wunused-parameter]
PAGEFLAG_FALSE(Uncached, uncached)
^
include/linux/page-flags.h:400:38: note: expanded from macro 'PAGEFLAG_FALSE'
#define PAGEFLAG_FALSE(uname, lname) TESTPAGEFLAG_FALSE(uname, lname) \
^
include/linux/page-flags.h:375:59: note: expanded from macro 'TESTPAGEFLAG_FALSE'
static inline bool folio_test_##lname(const struct folio *folio) { return 0; } \
^
include/linux/page-flags.h:507:1: warning: unused parameter 'page' [-Wunused-parameter]
include/linux/page-flags.h:400:38: note: expanded from macro 'PAGEFLAG_FALSE'
#define PAGEFLAG_FALSE(uname, lname) TESTPAGEFLAG_FALSE(uname, lname) \
^
include/linux/page-flags.h:376:50: note: expanded from macro 'TESTPAGEFLAG_FALSE'
static inline int Page##uname(const struct page *page) { return 0; }
^
include/linux/page-flags.h:507:1: warning: unused parameter 'folio' [-Wunused-parameter]
include/linux/page-flags.h:401:2: note: expanded from macro 'PAGEFLAG_FALSE'
SETPAGEFLAG_NOOP(uname, lname) CLEARPAGEFLAG_NOOP(uname, lname)
^
include/linux/page-flags.h:379:52: note: expanded from macro 'SETPAGEFLAG_NOOP'
static inline void folio_set_##lname(struct folio *folio) { } \
^
include/linux/page-flags.h:507:1: warning: unused parameter 'page' [-Wunused-parameter]
include/linux/page-flags.h:401:2: note: expanded from macro 'PAGEFLAG_FALSE'
SETPAGEFLAG_NOOP(uname, lname) CLEARPAGEFLAG_NOOP(uname, lname)
^
include/linux/page-flags.h:380:48: note: expanded from macro 'SETPAGEFLAG_NOOP'
static inline void SetPage##uname(struct page *page) { }
^
include/linux/page-flags.h:507:1: warning: unused parameter 'folio' [-Wunused-parameter]
include/linux/page-flags.h:401:33: note: expanded from macro 'PAGEFLAG_FALSE'
SETPAGEFLAG_NOOP(uname, lname) CLEARPAGEFLAG_NOOP(uname, lname)
^
include/linux/page-flags.h:383:54: note: expanded from macro 'CLEARPAGEFLAG_NOOP'
static inline void folio_clear_##lname(struct folio *folio) { } \
^
include/linux/page-flags.h:507:1: warning: unused parameter 'page' [-Wunused-parameter]
include/linux/page-flags.h:401:33: note: expanded from macro 'PAGEFLAG_FALSE'
SETPAGEFLAG_NOOP(uname, lname) CLEARPAGEFLAG_NOOP(uname, lname)
^
include/linux/page-flags.h:384:50: note: expanded from macro 'CLEARPAGEFLAG_NOOP'
static inline void ClearPage##uname(struct page *page) { }
^
include/linux/page-flags.h:516:1: warning: unused parameter 'folio' [-Wunused-parameter]
PAGEFLAG_FALSE(HWPoison, hwpoison)
^
include/linux/page-flags.h:400:38: note: expanded from macro 'PAGEFLAG_FALSE'
#define PAGEFLAG_FALSE(uname, lname) TESTPAGEFLAG_FALSE(uname, lname) \
^
include/linux/page-flags.h:375:59: note: expanded from macro 'TESTPAGEFLAG_FALSE'
static inline bool folio_test_##lname(const struct folio *folio) { return 0; } \
^
include/linux/page-flags.h:516:1: warning: unused parameter 'page' [-Wunused-parameter]
include/linux/page-flags.h:400:38: note: expanded from macro 'PAGEFLAG_FALSE'
#define PAGEFLAG_FALSE(uname, lname) TESTPAGEFLAG_FALSE(uname, lname) \
^
include/linux/page-flags.h:376:50: note: expanded from macro 'TESTPAGEFLAG_FALSE'
static inline int Page##uname(const struct page *page) { return 0; }
^
include/linux/page-flags.h:516:1: warning: unused parameter 'folio' [-Wunused-parameter]
include/linux/page-flags.h:401:2: note: expanded from macro 'PAGEFLAG_FALSE'
SETPAGEFLAG_NOOP(uname, lname) CLEARPAGEFLAG_NOOP(uname, lname)
^
include/linux/page-flags.h:379:52: note: expanded from macro 'SETPAGEFLAG_NOOP'
static inline void folio_set_##lname(struct folio *folio) { } \
^
include/linux/page-flags.h:516:1: warning: unused parameter 'page' [-Wunused-parameter]
include/linux/page-flags.h:401:2: note: expanded from macro 'PAGEFLAG_FALSE'
SETPAGEFLAG_NOOP(uname, lname) CLEARPAGEFLAG_NOOP(uname, lname)
^
include/linux/page-flags.h:380:48: note: expanded from macro 'SETPAGEFLAG_NOOP'
static inline void SetPage##uname(struct page *page) { }
^
include/linux/page-flags.h:516:1: warning: unused parameter 'folio' [-Wunused-parameter]
include/linux/page-flags.h:401:33: note: expanded from macro 'PAGEFLAG_FALSE'
SETPAGEFLAG_NOOP(uname, lname) CLEARPAGEFLAG_NOOP(uname, lname)
^
include/linux/page-flags.h:383:54: note: expanded from macro 'CLEARPAGEFLAG_NOOP'
static inline void folio_clear_##lname(struct folio *folio) { } \
^
include/linux/page-flags.h:516:1: warning: unused parameter 'page' [-Wunused-parameter]
include/linux/page-flags.h:401:33: note: expanded from macro 'PAGEFLAG_FALSE'
SETPAGEFLAG_NOOP(uname, lname) CLEARPAGEFLAG_NOOP(uname, lname)
^
include/linux/page-flags.h:384:50: note: expanded from macro 'CLEARPAGEFLAG_NOOP'
static inline void ClearPage##uname(struct page *page) { }
..
vim +/folio +488 include/linux/page-flags.h
484
485 SETPAGEFLAG(SwapCache, swapcache, PF_NO_TAIL)
486 CLEARPAGEFLAG(SwapCache, swapcache, PF_NO_TAIL)
487 #else
> 488 PAGEFLAG_FALSE(SwapCache, swapcache)
489 #endif
490
---
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: 35864 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-09-03 23:28 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-03 23:27 [linux-next:master 6882/11721] include/linux/page-flags.h:488:1: warning: unused parameter 'folio' kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox