WRAP arch/arm/include/generated/asm/altp2m.h WRAP arch/arm/include/generated/asm/device.h WRAP arch/arm/include/generated/asm/hardirq.h WRAP arch/arm/include/generated/asm/iocap.h WRAP arch/arm/include/generated/asm/paging.h WRAP arch/arm/include/generated/asm/percpu.h WRAP arch/arm/include/generated/asm/random.h WRAP arch/arm/include/generated/asm/softirq.h WRAP arch/arm/include/generated/asm/vm_event.h HOSTCC tools/symbols BANNER .banner UPD include/xen/compile.h Xen 4.19-unstable CPP include/hypercall-defs.i CHK include/headers.chk CHK include/headers99.chk CHK include/headers++.chk GEN include/xen/hypercall-defs.h make[1]: 'include'을(를) 위해 할 일이 없습니다. gcc -MMD -MP -MF ./.asm-offsets.s.d -g -O0 -Wextra -Wno-error=unused-parameter -Wno-error=sign-compare -Wno-error=empty-body -Wno-error=old-style-declaration -Wno-error=type-limits -DBUILD_ID -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wno-unused-but-set-variable -Wno-unused-local-typedefs -O1 -fno-omit-frame-pointer -nostdinc -fno-builtin -fno-common -Werror -Wredundant-decls -Wwrite-strings -Wno-pointer-arith -Wdeclaration-after-statement -Wuninitialized -Wvla -Winit-self -pipe -D__XEN__ -include ./include/xen/config.h -ffunction-sections -fdata-sections -g -mcpu=generic -mgeneral-regs-only -mno-outline-atomics -I./include -I./arch/arm/include -I./arch/arm/include/generated -fno-pie -fno-stack-protector -fno-exceptions -fno-asynchronous-unwind-tables -Wnested-externs -S -g0 -o asm-offsets.s.new -MQ asm-offsets.s arch/arm/arm64/asm-offsets.c In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/sched.h:6, from arch/arm/arm64/asm-offsets.c:9: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/rwlock.h:6, from ./include/xen/sched.h:7: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/domain.h:5, from ./include/xen/sched.h:11: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233, from ./arch/arm/include/asm/p2m.h:4, from ./arch/arm/include/asm/domain.h:7, from ./include/xen/domain.h:15: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘arch_vcpu_block’: ./arch/arm/include/asm/domain.h:297:49: warning: unused parameter ‘v’ [-Wunused-parameter] 297 | static inline void arch_vcpu_block(struct vcpu *v) {} | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘update_guest_memory_policy’: ./arch/arm/include/asm/domain.h:309:60: warning: unused parameter ‘v’ [-Wunused-parameter] 309 | static inline void update_guest_memory_policy(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h:310:75: warning: unused parameter ‘gmp’ [-Wunused-parameter] 310 | struct guest_memory_policy *gmp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from ./include/xen/sched.h:25: ./include/xen/vpci.h: In function ‘vpci_assign_device’: ./include/xen/vpci.h:278:54: warning: unused parameter ‘pdev’ [-Wunused-parameter] 278 | static inline int vpci_assign_device(struct pci_dev *pdev) | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_deassign_device’: ./include/xen/vpci.h:283:57: warning: unused parameter ‘pdev’ [-Wunused-parameter] 283 | static inline void vpci_deassign_device(struct pci_dev *pdev) { } | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_read’: ./include/xen/vpci.h:287:45: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:287:64: warning: unused parameter ‘reg’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:288:47: warning: unused parameter ‘size’ [-Wunused-parameter] 288 | unsigned int size) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_write’: ./include/xen/vpci.h:294:42: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:294:61: warning: unused parameter ‘reg’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:295:44: warning: unused parameter ‘size’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h:295:59: warning: unused parameter ‘data’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_process_pending’: ./include/xen/vpci.h:300:67: warning: unused parameter ‘v’ [-Wunused-parameter] 300 | static inline bool __must_check vpci_process_pending(struct vcpu *v) | ~~~~~~~~~~~~~^ ./include/xen/sched.h: In function ‘is_pv_32bit_domain’: ./include/xen/sched.h:1131:67: warning: unused parameter ‘d’ [-Wunused-parameter] 1131 | static always_inline bool is_pv_32bit_domain(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ if ! cmp -s asm-offsets.s.new asm-offsets.s; then mv -f asm-offsets.s.new asm-offsets.s; else rm -f asm-offsets.s.new; fi CC xsm/xsm_core.o CC lib/bsearch.o CC common/symbols-dummy.o In file included from xsm/xsm_core.c:16: ./include/xen/param.h: In function ‘no_config_param’: ./include/xen/param.h:193:19: warning: operand of ‘?:’ changes signedness from ‘long int’ to ‘size_t’ {aka ‘long unsigned int’} due to unsignedness of other operand [-Wsign-compare] 193 | int len = e ? ({ ASSERT(e >= s); e - s; }) : strlen(s); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/hypercall.h:9, from xsm/xsm_core.c:18: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ CC lib/ctors.o In file included from ./include/public/domctl.h:21, from ./include/xen/hypercall.h:11: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ CC common/argo.o In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/rwlock.h:6, from ./include/xen/sched.h:7, from ./include/xsm/xsm.h:19, from ./include/xen/hypercall.h:22: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ CC lib/ctype.o In file included from ./include/xen/domain.h:5, from ./include/xen/sched.h:11: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/sched.h:6, from ./include/xen/argo.h:18, from common/argo.c:18: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233, from ./arch/arm/include/asm/p2m.h:4, from ./arch/arm/include/asm/domain.h:7, from ./include/xen/domain.h:15: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ CC lib/find-next-bit.o ./arch/arm/include/asm/domain.h: In function ‘arch_vcpu_block’: ./arch/arm/include/asm/domain.h:297:49: warning: unused parameter ‘v’ [-Wunused-parameter] 297 | static inline void arch_vcpu_block(struct vcpu *v) {} | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘update_guest_memory_policy’: ./arch/arm/include/asm/domain.h:309:60: warning: unused parameter ‘v’ [-Wunused-parameter] 309 | static inline void update_guest_memory_policy(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h:310:75: warning: unused parameter ‘gmp’ [-Wunused-parameter] 310 | struct guest_memory_policy *gmp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/rwlock.h:6, from ./include/xen/sched.h:7: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/sched.h:25: ./include/xen/vpci.h: In function ‘vpci_assign_device’: ./include/xen/vpci.h:278:54: warning: unused parameter ‘pdev’ [-Wunused-parameter] 278 | static inline int vpci_assign_device(struct pci_dev *pdev) | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_deassign_device’: ./include/xen/vpci.h:283:57: warning: unused parameter ‘pdev’ [-Wunused-parameter] 283 | static inline void vpci_deassign_device(struct pci_dev *pdev) { } | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_read’: ./include/xen/vpci.h:287:45: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:287:64: warning: unused parameter ‘reg’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:288:47: warning: unused parameter ‘size’ [-Wunused-parameter] 288 | unsigned int size) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_write’: ./include/xen/vpci.h:294:42: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:294:61: warning: unused parameter ‘reg’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:295:44: warning: unused parameter ‘size’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h:295:59: warning: unused parameter ‘data’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_process_pending’: ./include/xen/vpci.h:300:67: warning: unused parameter ‘v’ [-Wunused-parameter] 300 | static inline bool __must_check vpci_process_pending(struct vcpu *v) | ~~~~~~~~~~~~~^ ./include/xen/sched.h: In function ‘is_pv_32bit_domain’: ./include/xen/sched.h:1131:67: warning: unused parameter ‘d’ [-Wunused-parameter] 1131 | static always_inline bool is_pv_32bit_domain(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ In file included from ./include/xen/domain.h:5, from ./include/xen/sched.h:11: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_domain_create’: ./include/xsm/xsm.h:224:19: warning: unused parameter ‘def’ [-Wunused-parameter] 224 | xsm_default_t def, struct domain *d, uint32_t ssidref) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_getdomaininfo’: ./include/xsm/xsm.h:229:51: warning: unused parameter ‘def’ [-Wunused-parameter] 229 | static inline int xsm_getdomaininfo(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_domctl_scheduler_op’: ./include/xsm/xsm.h:235:19: warning: unused parameter ‘def’ [-Wunused-parameter] 235 | xsm_default_t def, struct domain *d, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_sysctl_scheduler_op’: ./include/xsm/xsm.h:240:57: warning: unused parameter ‘def’ [-Wunused-parameter] 240 | static inline int xsm_sysctl_scheduler_op(xsm_default_t def, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_set_target’: ./include/xsm/xsm.h:246:19: warning: unused parameter ‘def’ [-Wunused-parameter] 246 | xsm_default_t def, struct domain *d, struct domain *e) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_domctl’: ./include/xsm/xsm.h:251:44: warning: unused parameter ‘def’ [-Wunused-parameter] 251 | static inline int xsm_domctl(xsm_default_t def, struct domain *d, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_sysctl’: ./include/xsm/xsm.h:256:44: warning: unused parameter ‘def’ [-Wunused-parameter] 256 | static inline int xsm_sysctl(xsm_default_t def, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_readconsole’: ./include/xsm/xsm.h:261:49: warning: unused parameter ‘def’ [-Wunused-parameter] 261 | static inline int xsm_readconsole(xsm_default_t def, uint32_t clear) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_unbound’: ./include/xsm/xsm.h:267:19: warning: unused parameter ‘def’ [-Wunused-parameter] 267 | xsm_default_t def, struct domain *d1, struct evtchn *chn, domid_t id2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_interdomain’: ./include/xsm/xsm.h:273:19: warning: unused parameter ‘def’ [-Wunused-parameter] 273 | xsm_default_t def, struct domain *d1, struct evtchn *chan1, | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_send’: ./include/xsm/xsm.h:285:19: warning: unused parameter ‘def’ [-Wunused-parameter] 285 | xsm_default_t def, struct domain *d, struct evtchn *chn) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_status’: ./include/xsm/xsm.h:291:19: warning: unused parameter ‘def’ [-Wunused-parameter] 291 | xsm_default_t def, struct domain *d, struct evtchn *chn) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_reset’: ./include/xsm/xsm.h:297:19: warning: unused parameter ‘def’ [-Wunused-parameter] 297 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_mapref’: ./include/xsm/xsm.h:303:19: warning: unused parameter ‘def’ [-Wunused-parameter] 303 | xsm_default_t def, struct domain *d1, struct domain *d2, uint32_t flags) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_unmapref’: ./include/xsm/xsm.h:309:19: warning: unused parameter ‘def’ [-Wunused-parameter] 309 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_setup’: ./include/xsm/xsm.h:315:19: warning: unused parameter ‘def’ [-Wunused-parameter] 315 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_transfer’: ./include/xsm/xsm.h:321:19: warning: unused parameter ‘def’ [-Wunused-parameter] 321 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_copy’: ./include/xsm/xsm.h:327:19: warning: unused parameter ‘def’ [-Wunused-parameter] 327 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_query_size’: ./include/xsm/xsm.h:333:19: warning: unused parameter ‘def’ [-Wunused-parameter] 333 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_init_hardware_domain’: ./include/xsm/xsm.h:366:58: warning: unused parameter ‘def’ [-Wunused-parameter] 366 | static inline int xsm_init_hardware_domain(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_get_pod_target’: ./include/xsm/xsm.h:371:52: warning: unused parameter ‘def’ [-Wunused-parameter] 371 | static inline int xsm_get_pod_target(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_set_pod_target’: ./include/xsm/xsm.h:376:52: warning: unused parameter ‘def’ [-Wunused-parameter] 376 | static inline int xsm_set_pod_target(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_exchange’: ./include/xsm/xsm.h:381:53: warning: unused parameter ‘def’ [-Wunused-parameter] 381 | static inline int xsm_memory_exchange(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_adjust_reservation’: ./include/xsm/xsm.h:387:19: warning: unused parameter ‘def’ [-Wunused-parameter] 387 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_stat_reservation’: ./include/xsm/xsm.h:393:19: warning: unused parameter ‘def’ [-Wunused-parameter] 393 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_pin_page’: ./include/xsm/xsm.h:399:19: warning: unused parameter ‘def’ [-Wunused-parameter] 399 | xsm_default_t def, struct domain *d1, struct domain *d2, | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_add_to_physmap’: ./include/xsm/xsm.h:406:19: warning: unused parameter ‘def’ [-Wunused-parameter] 406 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_remove_from_physmap’: ./include/xsm/xsm.h:412:19: warning: unused parameter ‘def’ [-Wunused-parameter] 412 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_map_gmfn_foreign’: ./include/xsm/xsm.h:418:19: warning: unused parameter ‘def’ [-Wunused-parameter] 418 | xsm_default_t def, struct domain *d, struct domain *t) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_claim_pages’: ./include/xsm/xsm.h:423:49: warning: unused parameter ‘def’ [-Wunused-parameter] 423 | static inline int xsm_claim_pages(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_console_io’: ./include/xsm/xsm.h:428:48: warning: unused parameter ‘def’ [-Wunused-parameter] 428 | static inline int xsm_console_io(xsm_default_t def, struct domain *d, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_profile’: ./include/xsm/xsm.h:433:45: warning: unused parameter ‘def’ [-Wunused-parameter] 433 | static inline int xsm_profile(xsm_default_t def, struct domain *d, int op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_kexec’: ./include/xsm/xsm.h:438:43: warning: unused parameter ‘def’ [-Wunused-parameter] 438 | static inline int xsm_kexec(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_schedop_shutdown’: ./include/xsm/xsm.h:444:19: warning: unused parameter ‘def’ [-Wunused-parameter] 444 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_map_domain_pirq’: ./include/xsm/xsm.h:454:53: warning: unused parameter ‘def’ [-Wunused-parameter] 454 | static inline int xsm_map_domain_pirq(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_map_domain_irq’: ./include/xsm/xsm.h:460:19: warning: unused parameter ‘def’ [-Wunused-parameter] 460 | xsm_default_t def, struct domain *d, int irq, void *data) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_unmap_domain_pirq’: ./include/xsm/xsm.h:465:55: warning: unused parameter ‘def’ [-Wunused-parameter] 465 | static inline int xsm_unmap_domain_pirq(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_unmap_domain_irq’: ./include/xsm/xsm.h:471:19: warning: unused parameter ‘def’ [-Wunused-parameter] 471 | xsm_default_t def, struct domain *d, int irq, void *data) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_bind_pt_irq’: ./include/xsm/xsm.h:477:19: warning: unused parameter ‘def’ [-Wunused-parameter] 477 | xsm_default_t def, struct domain *d, struct xen_domctl_bind_pt_irq *bind) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_unbind_pt_irq’: ./include/xsm/xsm.h:483:19: warning: unused parameter ‘def’ [-Wunused-parameter] 483 | xsm_default_t def, struct domain *d, struct xen_domctl_bind_pt_irq *bind) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_irq_permission’: ./include/xsm/xsm.h:489:19: warning: unused parameter ‘def’ [-Wunused-parameter] 489 | xsm_default_t def, struct domain *d, int pirq, uint8_t allow) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_iomem_permission’: CC drivers/char/console.o ./include/xsm/xsm.h:495:19: warning: unused parameter ‘def’ [-Wunused-parameter] 495 | xsm_default_t def, struct domain *d, uint64_t s, uint64_t e, uint8_t allow) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_iomem_mapping’: ./include/xsm/xsm.h:501:19: warning: unused parameter ‘def’ [-Wunused-parameter] 501 | xsm_default_t def, struct domain *d, uint64_t s, uint64_t e, uint8_t allow) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_pci_config_permission’: ./include/xsm/xsm.h:507:19: warning: unused parameter ‘def’ [-Wunused-parameter] 507 | xsm_default_t def, struct domain *d, uint32_t machine_bdf, uint16_t start, | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_assign_dtdevice’: ./include/xsm/xsm.h:534:19: warning: unused parameter ‘def’ [-Wunused-parameter] 534 | xsm_default_t def, struct domain *d, const char *dtpath) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_deassign_dtdevice’: ./include/xsm/xsm.h:540:19: warning: unused parameter ‘def’ [-Wunused-parameter] 540 | xsm_default_t def, struct domain *d, const char *dtpath) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_plug_pci’: ./include/xsm/xsm.h:547:55: warning: unused parameter ‘def’ [-Wunused-parameter] 547 | static inline int xsm_resource_plug_pci(xsm_default_t def, uint32_t machine_bdf) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_unplug_pci’: ./include/xsm/xsm.h:553:19: warning: unused parameter ‘def’ [-Wunused-parameter] 553 | xsm_default_t def, uint32_t machine_bdf) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_plug_core’: ./include/xsm/xsm.h:558:56: warning: unused parameter ‘def’ [-Wunused-parameter] 558 | static inline int xsm_resource_plug_core(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_unplug_core’: ./include/xsm/xsm.h:563:58: warning: unused parameter ‘def’ [-Wunused-parameter] 563 | static inline int xsm_resource_unplug_core(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_setup_pci’: ./include/xsm/xsm.h:569:19: warning: unused parameter ‘def’ [-Wunused-parameter] 569 | xsm_default_t def, uint32_t machine_bdf) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_setup_gsi’: ./include/xsm/xsm.h:574:56: warning: unused parameter ‘def’ [-Wunused-parameter] 574 | static inline int xsm_resource_setup_gsi(xsm_default_t def, int gsi) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_setup_misc’: ./include/xsm/xsm.h:579:57: warning: unused parameter ‘def’ [-Wunused-parameter] 579 | static inline int xsm_resource_setup_misc(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_page_offline’: ./include/xsm/xsm.h:584:50: warning: unused parameter ‘def’ [-Wunused-parameter] 584 | static inline int xsm_page_offline(xsm_default_t def, uint32_t cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hypfs_op’: ./include/xsm/xsm.h:589:46: warning: unused parameter ‘def’ [-Wunused-parameter] 589 | static inline int xsm_hypfs_op(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hvm_param’: ./include/xsm/xsm.h:607:19: warning: unused parameter ‘def’ [-Wunused-parameter] 607 | xsm_default_t def, struct domain *d, unsigned long op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hvm_param_altp2mhvm’: ./include/xsm/xsm.h:612:57: warning: unused parameter ‘def’ [-Wunused-parameter] 612 | static inline int xsm_hvm_param_altp2mhvm(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hvm_altp2mhvm_op’: ./include/xsm/xsm.h:618:19: warning: unused parameter ‘def’ [-Wunused-parameter] 618 | xsm_default_t def, struct domain *d, uint64_t mode, uint32_t op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_get_vnumainfo’: ./include/xsm/xsm.h:623:51: warning: unused parameter ‘def’ [-Wunused-parameter] 623 | static inline int xsm_get_vnumainfo(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_vm_event_control’: ./include/xsm/xsm.h:629:19: warning: unused parameter ‘def’ [-Wunused-parameter] 629 | xsm_default_t def, struct domain *d, int mode, int op) | ~~~~~~~~~~~~~~^~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233, from ./arch/arm/include/asm/p2m.h:4, from ./arch/arm/include/asm/domain.h:7, from ./include/xen/domain.h:15: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./include/xsm/xsm.h: In function ‘xsm_mem_access’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xsm/xsm.h:635:48: warning: unused parameter ‘def’ [-Wunused-parameter] 635 | static inline int xsm_mem_access(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_platform_op’: ./include/xsm/xsm.h:655:49: warning: unused parameter ‘def’ [-Wunused-parameter] 655 | static inline int xsm_platform_op(xsm_default_t def, uint32_t op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_dm_op’: ./include/xsm/xsm.h:738:43: warning: unused parameter ‘def’ [-Wunused-parameter] 738 | static inline int xsm_dm_op(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_xen_version’: ./include/xsm/xsm.h:743:49: warning: unused parameter ‘def’ [-Wunused-parameter] 743 | static inline int xsm_xen_version(xsm_default_t def, uint32_t op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_domain_resource_map’: ./include/xsm/xsm.h:748:57: warning: unused parameter ‘def’ [-Wunused-parameter] 748 | static inline int xsm_domain_resource_map(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/sched.h:6, from ./include/xen/event.h:12, from drivers/char/console.c:16: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/rwlock.h:6, from ./include/xen/sched.h:7: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ ./arch/arm/include/asm/domain.h: In function ‘arch_vcpu_block’: ./arch/arm/include/asm/domain.h:297:49: warning: unused parameter ‘v’ [-Wunused-parameter] 297 | static inline void arch_vcpu_block(struct vcpu *v) {} | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘update_guest_memory_policy’: ./arch/arm/include/asm/domain.h:309:60: warning: unused parameter ‘v’ [-Wunused-parameter] 309 | static inline void update_guest_memory_policy(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h:310:75: warning: unused parameter ‘gmp’ [-Wunused-parameter] 310 | struct guest_memory_policy *gmp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from ./include/xen/sched.h:25: ./include/xen/vpci.h: In function ‘vpci_assign_device’: ./include/xen/vpci.h:278:54: warning: unused parameter ‘pdev’ [-Wunused-parameter] 278 | static inline int vpci_assign_device(struct pci_dev *pdev) | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_deassign_device’: ./include/xen/vpci.h:283:57: warning: unused parameter ‘pdev’ [-Wunused-parameter] 283 | static inline void vpci_deassign_device(struct pci_dev *pdev) { } | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_read’: ./include/xen/vpci.h:287:45: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:287:64: warning: unused parameter ‘reg’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:288:47: warning: unused parameter ‘size’ [-Wunused-parameter] 288 | unsigned int size) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_write’: ./include/xen/vpci.h:294:42: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:294:61: warning: unused parameter ‘reg’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:295:44: warning: unused parameter ‘size’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h:295:59: warning: unused parameter ‘data’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_process_pending’: ./include/xen/vpci.h:300:67: warning: unused parameter ‘v’ [-Wunused-parameter] 300 | static inline bool __must_check vpci_process_pending(struct vcpu *v) | ~~~~~~~~~~~~~^ In file included from ./include/xen/domain.h:5, from ./include/xen/sched.h:11: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ ./include/xen/sched.h: In function ‘is_pv_32bit_domain’: ./include/xen/sched.h:1131:67: warning: unused parameter ‘d’ [-Wunused-parameter] 1131 | static always_inline bool is_pv_32bit_domain(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233, from ./arch/arm/include/asm/p2m.h:4, from ./arch/arm/include/asm/domain.h:7, from ./include/xen/domain.h:15: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ In file included from common/argo.c:20: ./include/xen/domain_page.h: In function ‘unmap_domain_page_global’: ./include/xen/domain_page.h:71:57: warning: unused parameter ‘va’ [-Wunused-parameter] 71 | static inline void unmap_domain_page_global(const void *va) {}; | ~~~~~~~~~~~~^~ In file included from ./include/xen/event.h:17, from common/argo.c:22: ./arch/arm/include/asm/event.h: In function ‘arch_virq_is_global’: ./arch/arm/include/asm/event.h:50:53: warning: unused parameter ‘virq’ [-Wunused-parameter] 50 | static inline bool arch_virq_is_global(unsigned int virq) | ~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from common/argo.c:26: ./include/xen/param.h: In function ‘no_config_param’: ./include/xen/param.h:193:19: warning: operand of ‘?:’ changes signedness from ‘long int’ to ‘size_t’ {aka ‘long unsigned int’} due to unsignedness of other operand [-Wsign-compare] 193 | int len = e ? ({ ASSERT(e >= s); e - s; }) : strlen(s); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ In file included from common/argo.c:29: ./include/xsm/xsm.h: In function ‘xsm_domain_create’: ./include/xsm/xsm.h:224:19: warning: unused parameter ‘def’ [-Wunused-parameter] 224 | xsm_default_t def, struct domain *d, uint32_t ssidref) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_getdomaininfo’: ./include/xsm/xsm.h:229:51: warning: unused parameter ‘def’ [-Wunused-parameter] 229 | static inline int xsm_getdomaininfo(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_domctl_scheduler_op’: ./include/xsm/xsm.h:235:19: warning: unused parameter ‘def’ [-Wunused-parameter] 235 | xsm_default_t def, struct domain *d, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_sysctl_scheduler_op’: ./include/xsm/xsm.h:240:57: warning: unused parameter ‘def’ [-Wunused-parameter] 240 | static inline int xsm_sysctl_scheduler_op(xsm_default_t def, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_set_target’: ./include/xsm/xsm.h:246:19: warning: unused parameter ‘def’ [-Wunused-parameter] 246 | xsm_default_t def, struct domain *d, struct domain *e) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_domctl’: ./include/xsm/xsm.h:251:44: warning: unused parameter ‘def’ [-Wunused-parameter] 251 | static inline int xsm_domctl(xsm_default_t def, struct domain *d, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_sysctl’: ./include/xsm/xsm.h:256:44: warning: unused parameter ‘def’ [-Wunused-parameter] 256 | static inline int xsm_sysctl(xsm_default_t def, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_readconsole’: ./include/xsm/xsm.h:261:49: warning: unused parameter ‘def’ [-Wunused-parameter] 261 | static inline int xsm_readconsole(xsm_default_t def, uint32_t clear) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./include/xsm/xsm.h: In function ‘xsm_evtchn_unbound’: ./include/xsm/xsm.h:267:19: warning: unused parameter ‘def’ [-Wunused-parameter] 267 | xsm_default_t def, struct domain *d1, struct evtchn *chn, domid_t id2) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./include/xsm/xsm.h: In function ‘xsm_evtchn_interdomain’: ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./include/xsm/xsm.h:273:19: warning: unused parameter ‘def’ [-Wunused-parameter] 273 | xsm_default_t def, struct domain *d1, struct evtchn *chan1, | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_send’: ./include/xsm/xsm.h:285:19: warning: unused parameter ‘def’ [-Wunused-parameter] 285 | xsm_default_t def, struct domain *d, struct evtchn *chn) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_status’: ./include/xsm/xsm.h:291:19: warning: unused parameter ‘def’ [-Wunused-parameter] 291 | xsm_default_t def, struct domain *d, struct evtchn *chn) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_reset’: ./include/xsm/xsm.h:297:19: warning: unused parameter ‘def’ [-Wunused-parameter] 297 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_mapref’: ./include/xsm/xsm.h:303:19: warning: unused parameter ‘def’ [-Wunused-parameter] 303 | xsm_default_t def, struct domain *d1, struct domain *d2, uint32_t flags) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_unmapref’: ./include/xsm/xsm.h:309:19: warning: unused parameter ‘def’ [-Wunused-parameter] 309 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_setup’: ./include/xsm/xsm.h:315:19: warning: unused parameter ‘def’ [-Wunused-parameter] 315 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_transfer’: ./include/xsm/xsm.h:321:19: warning: unused parameter ‘def’ [-Wunused-parameter] 321 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_copy’: ./include/xsm/xsm.h:327:19: warning: unused parameter ‘def’ [-Wunused-parameter] 327 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_query_size’: ./include/xsm/xsm.h:333:19: warning: unused parameter ‘def’ [-Wunused-parameter] 333 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_init_hardware_domain’: ./include/xsm/xsm.h:366:58: warning: unused parameter ‘def’ [-Wunused-parameter] 366 | static inline int xsm_init_hardware_domain(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_get_pod_target’: ./include/xsm/xsm.h:371:52: warning: unused parameter ‘def’ [-Wunused-parameter] 371 | static inline int xsm_get_pod_target(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./include/xsm/xsm.h: In function ‘xsm_set_pod_target’: ./include/xsm/xsm.h:376:52: warning: unused parameter ‘def’ [-Wunused-parameter] 376 | static inline int xsm_set_pod_target(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./include/xsm/xsm.h: In function ‘xsm_memory_exchange’: ./include/xsm/xsm.h:381:53: warning: unused parameter ‘def’ [-Wunused-parameter] 381 | static inline int xsm_memory_exchange(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_adjust_reservation’: ./include/xsm/xsm.h:387:19: warning: unused parameter ‘def’ [-Wunused-parameter] 387 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./include/xsm/xsm.h: In function ‘xsm_memory_stat_reservation’: ./include/xsm/xsm.h:393:19: warning: unused parameter ‘def’ [-Wunused-parameter] 393 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./include/xsm/xsm.h: In function ‘xsm_memory_pin_page’: ./include/xsm/xsm.h:399:19: warning: unused parameter ‘def’ [-Wunused-parameter] 399 | xsm_default_t def, struct domain *d1, struct domain *d2, | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_add_to_physmap’: ./include/xsm/xsm.h:406:19: warning: unused parameter ‘def’ [-Wunused-parameter] 406 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_remove_from_physmap’: ./include/xsm/xsm.h:412:19: warning: unused parameter ‘def’ [-Wunused-parameter] 412 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_map_gmfn_foreign’: ./include/xsm/xsm.h:418:19: warning: unused parameter ‘def’ [-Wunused-parameter] 418 | xsm_default_t def, struct domain *d, struct domain *t) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_claim_pages’: ./include/xsm/xsm.h:423:49: warning: unused parameter ‘def’ [-Wunused-parameter] 423 | static inline int xsm_claim_pages(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_console_io’: ./include/xsm/xsm.h:428:48: warning: unused parameter ‘def’ [-Wunused-parameter] 428 | static inline int xsm_console_io(xsm_default_t def, struct domain *d, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_profile’: ./include/xsm/xsm.h:433:45: warning: unused parameter ‘def’ [-Wunused-parameter] 433 | static inline int xsm_profile(xsm_default_t def, struct domain *d, int op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_kexec’: ./include/xsm/xsm.h:438:43: warning: unused parameter ‘def’ [-Wunused-parameter] 438 | static inline int xsm_kexec(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_schedop_shutdown’: ./include/xsm/xsm.h:444:19: warning: unused parameter ‘def’ [-Wunused-parameter] 444 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_map_domain_pirq’: ./include/xsm/xsm.h:454:53: warning: unused parameter ‘def’ [-Wunused-parameter] 454 | static inline int xsm_map_domain_pirq(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_map_domain_irq’: ./include/xsm/xsm.h:460:19: warning: unused parameter ‘def’ [-Wunused-parameter] 460 | xsm_default_t def, struct domain *d, int irq, void *data) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_unmap_domain_pirq’: ./include/xsm/xsm.h:465:55: warning: unused parameter ‘def’ [-Wunused-parameter] 465 | static inline int xsm_unmap_domain_pirq(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_unmap_domain_irq’: ./include/xsm/xsm.h:471:19: warning: unused parameter ‘def’ [-Wunused-parameter] 471 | xsm_default_t def, struct domain *d, int irq, void *data) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_bind_pt_irq’: ./include/xsm/xsm.h:477:19: warning: unused parameter ‘def’ [-Wunused-parameter] 477 | xsm_default_t def, struct domain *d, struct xen_domctl_bind_pt_irq *bind) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_unbind_pt_irq’: ./include/xsm/xsm.h:483:19: warning: unused parameter ‘def’ [-Wunused-parameter] 483 | xsm_default_t def, struct domain *d, struct xen_domctl_bind_pt_irq *bind) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_irq_permission’: ./include/xsm/xsm.h:489:19: warning: unused parameter ‘def’ [-Wunused-parameter] 489 | xsm_default_t def, struct domain *d, int pirq, uint8_t allow) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_iomem_permission’: ./include/xsm/xsm.h:495:19: warning: unused parameter ‘def’ [-Wunused-parameter] 495 | xsm_default_t def, struct domain *d, uint64_t s, uint64_t e, uint8_t allow) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_iomem_mapping’: ./include/xsm/xsm.h:501:19: warning: unused parameter ‘def’ [-Wunused-parameter] 501 | xsm_default_t def, struct domain *d, uint64_t s, uint64_t e, uint8_t allow) | ~~~~~~~~~~~~~~^~~ CC lib/list-sort.o ./include/xsm/xsm.h: In function ‘xsm_pci_config_permission’: ./include/xsm/xsm.h:507:19: warning: unused parameter ‘def’ [-Wunused-parameter] 507 | xsm_default_t def, struct domain *d, uint32_t machine_bdf, uint16_t start, | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_assign_dtdevice’: ./include/xsm/xsm.h:534:19: warning: unused parameter ‘def’ [-Wunused-parameter] 534 | xsm_default_t def, struct domain *d, const char *dtpath) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_deassign_dtdevice’: ./include/xsm/xsm.h:540:19: warning: unused parameter ‘def’ [-Wunused-parameter] 540 | xsm_default_t def, struct domain *d, const char *dtpath) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_plug_pci’: ./include/xsm/xsm.h:547:55: warning: unused parameter ‘def’ [-Wunused-parameter] 547 | static inline int xsm_resource_plug_pci(xsm_default_t def, uint32_t machine_bdf) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_unplug_pci’: ./include/xsm/xsm.h:553:19: warning: unused parameter ‘def’ [-Wunused-parameter] 553 | xsm_default_t def, uint32_t machine_bdf) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_plug_core’: ./include/xsm/xsm.h:558:56: warning: unused parameter ‘def’ [-Wunused-parameter] 558 | static inline int xsm_resource_plug_core(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_unplug_core’: ./include/xsm/xsm.h:563:58: warning: unused parameter ‘def’ [-Wunused-parameter] 563 | static inline int xsm_resource_unplug_core(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_setup_pci’: ./include/xsm/xsm.h:569:19: warning: unused parameter ‘def’ [-Wunused-parameter] 569 | xsm_default_t def, uint32_t machine_bdf) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_setup_gsi’: ./include/xsm/xsm.h:574:56: warning: unused parameter ‘def’ [-Wunused-parameter] 574 | static inline int xsm_resource_setup_gsi(xsm_default_t def, int gsi) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_setup_misc’: ./include/xsm/xsm.h:579:57: warning: unused parameter ‘def’ [-Wunused-parameter] 579 | static inline int xsm_resource_setup_misc(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_page_offline’: ./include/xsm/xsm.h:584:50: warning: unused parameter ‘def’ [-Wunused-parameter] 584 | static inline int xsm_page_offline(xsm_default_t def, uint32_t cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hypfs_op’: ./include/xsm/xsm.h:589:46: warning: unused parameter ‘def’ [-Wunused-parameter] 589 | static inline int xsm_hypfs_op(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hvm_param’: ./include/xsm/xsm.h:607:19: warning: unused parameter ‘def’ [-Wunused-parameter] 607 | xsm_default_t def, struct domain *d, unsigned long op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hvm_param_altp2mhvm’: ./include/xsm/xsm.h:612:57: warning: unused parameter ‘def’ [-Wunused-parameter] 612 | static inline int xsm_hvm_param_altp2mhvm(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hvm_altp2mhvm_op’: ./include/xsm/xsm.h:618:19: warning: unused parameter ‘def’ [-Wunused-parameter] 618 | xsm_default_t def, struct domain *d, uint64_t mode, uint32_t op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_get_vnumainfo’: ./include/xsm/xsm.h:623:51: warning: unused parameter ‘def’ [-Wunused-parameter] 623 | static inline int xsm_get_vnumainfo(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_vm_event_control’: ./include/xsm/xsm.h:629:19: warning: unused parameter ‘def’ [-Wunused-parameter] 629 | xsm_default_t def, struct domain *d, int mode, int op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_mem_access’: ./include/xsm/xsm.h:635:48: warning: unused parameter ‘def’ [-Wunused-parameter] 635 | static inline int xsm_mem_access(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_platform_op’: ./include/xsm/xsm.h:655:49: warning: unused parameter ‘def’ [-Wunused-parameter] 655 | static inline int xsm_platform_op(xsm_default_t def, uint32_t op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_dm_op’: ./include/xsm/xsm.h:738:43: warning: unused parameter ‘def’ [-Wunused-parameter] 738 | static inline int xsm_dm_op(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_xen_version’: ./include/xsm/xsm.h:743:49: warning: unused parameter ‘def’ [-Wunused-parameter] 743 | static inline int xsm_xen_version(xsm_default_t def, uint32_t op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_domain_resource_map’: ./include/xsm/xsm.h:748:57: warning: unused parameter ‘def’ [-Wunused-parameter] 748 | static inline int xsm_domain_resource_map(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/domain.h: In function ‘arch_vcpu_block’: ./arch/arm/include/asm/domain.h:297:49: warning: unused parameter ‘v’ [-Wunused-parameter] 297 | static inline void arch_vcpu_block(struct vcpu *v) {} | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘update_guest_memory_policy’: ./arch/arm/include/asm/domain.h:309:60: warning: unused parameter ‘v’ [-Wunused-parameter] 309 | static inline void update_guest_memory_policy(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h:310:75: warning: unused parameter ‘gmp’ [-Wunused-parameter] 310 | struct guest_memory_policy *gmp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ common/argo.c: In function ‘ringbuf_insert’: common/argo.c:813:58: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare] 813 | sizeof(struct xen_argo_ring_message_header)) >= sp ) | ^~ common/argo.c:883:22: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] 883 | if ( iov_len > sp ) | ^ In file included from ./include/xen/sched.h:25: ./include/xen/vpci.h: In function ‘vpci_assign_device’: ./include/xen/vpci.h:278:54: warning: unused parameter ‘pdev’ [-Wunused-parameter] 278 | static inline int vpci_assign_device(struct pci_dev *pdev) | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_deassign_device’: ./include/xen/vpci.h:283:57: warning: unused parameter ‘pdev’ [-Wunused-parameter] 283 | static inline void vpci_deassign_device(struct pci_dev *pdev) { } | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_read’: ./include/xen/vpci.h:287:45: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:287:64: warning: unused parameter ‘reg’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:288:47: warning: unused parameter ‘size’ [-Wunused-parameter] 288 | unsigned int size) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_write’: ./include/xen/vpci.h:294:42: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:294:61: warning: unused parameter ‘reg’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:295:44: warning: unused parameter ‘size’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h:295:59: warning: unused parameter ‘data’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_process_pending’: ./include/xen/vpci.h:300:67: warning: unused parameter ‘v’ [-Wunused-parameter] 300 | static inline bool __must_check vpci_process_pending(struct vcpu *v) | ~~~~~~~~~~~~~^ ./include/xen/sched.h: In function ‘is_pv_32bit_domain’: ./include/xen/sched.h:1131:67: warning: unused parameter ‘d’ [-Wunused-parameter] 1131 | static always_inline bool is_pv_32bit_domain(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ In file included from ./include/xen/event.h:17: ./arch/arm/include/asm/event.h: In function ‘arch_virq_is_global’: ./arch/arm/include/asm/event.h:50:53: warning: unused parameter ‘virq’ [-Wunused-parameter] 50 | static inline bool arch_virq_is_global(unsigned int virq) | ~~~~~~~~~~~~~^~~~ In file included from drivers/char/console.c:18: ./include/xen/param.h: In function ‘no_config_param’: ./include/xen/param.h:193:19: warning: operand of ‘?:’ changes signedness from ‘long int’ to ‘size_t’ {aka ‘long unsigned int’} due to unsignedness of other operand [-Wsign-compare] 193 | int len = e ? ({ ASSERT(e >= s); e - s; }) : strlen(s); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from drivers/char/console.c:19: ./include/xen/serial.h: At top level: ./include/xen/serial.h:166:1: warning: ‘inline’ is not at beginning of declaration [-Wold-style-declaration] 166 | static void inline xhci_dbc_uart_init(void) {} | ^~~~~~ In file included from drivers/char/console.c:25: ./include/xen/video.h: In function ‘video_puts’: ./include/xen/video.h:20:43: warning: unused parameter ‘str’ [-Wunused-parameter] 20 | static inline void video_puts(const char *str, size_t nr) {} | ~~~~~~~~~~~~^~~ ./include/xen/video.h:20:55: warning: unused parameter ‘nr’ [-Wunused-parameter] 20 | static inline void video_puts(const char *str, size_t nr) {} | ~~~~~~~^~ In file included from drivers/char/console.c:26: ./include/xen/kexec.h: In function ‘set_kexec_crash_area_size’: ./include/xen/kexec.h:93:50: warning: unused parameter ‘system_ram’ [-Wunused-parameter] 93 | static inline void set_kexec_crash_area_size(u64 system_ram) {} | ~~~~^~~~~~~~~~ common/argo.c: In function ‘sendv’: common/argo.c:2078:26: warning: operand of ‘?:’ changes signedness from ‘int’ to ‘unsigned int’ due to unsignedness of other operand [-Wsign-compare] 2078 | return ( ret < 0 ) ? ret : len; | ^~~ In file included from ././include/xen/config.h:17, from : lib/list-sort.c: In function ‘list_sort’: lib/list-sort.c:142:42: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] 142 | if (unlikely(lev >= ARRAY_SIZE(part)-1)) { | ^~ ./include/xen/compiler.h:21:43: note: in definition of macro ‘unlikely’ 21 | #define unlikely(x) __builtin_expect(!!(x),0) | ^ In file included from ./include/xen/hypercall.h:22, from drivers/char/console.c:30: ./include/xsm/xsm.h: In function ‘xsm_domain_create’: ./include/xsm/xsm.h:224:19: warning: unused parameter ‘def’ [-Wunused-parameter] 224 | xsm_default_t def, struct domain *d, uint32_t ssidref) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_getdomaininfo’: ./include/xsm/xsm.h:229:51: warning: unused parameter ‘def’ [-Wunused-parameter] 229 | static inline int xsm_getdomaininfo(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_domctl_scheduler_op’: ./include/xsm/xsm.h:235:19: warning: unused parameter ‘def’ [-Wunused-parameter] 235 | xsm_default_t def, struct domain *d, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_sysctl_scheduler_op’: ./include/xsm/xsm.h:240:57: warning: unused parameter ‘def’ [-Wunused-parameter] 240 | static inline int xsm_sysctl_scheduler_op(xsm_default_t def, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_set_target’: ./include/xsm/xsm.h:246:19: warning: unused parameter ‘def’ [-Wunused-parameter] 246 | xsm_default_t def, struct domain *d, struct domain *e) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_domctl’: ./include/xsm/xsm.h:251:44: warning: unused parameter ‘def’ [-Wunused-parameter] 251 | static inline int xsm_domctl(xsm_default_t def, struct domain *d, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_sysctl’: ./include/xsm/xsm.h:256:44: warning: unused parameter ‘def’ [-Wunused-parameter] 256 | static inline int xsm_sysctl(xsm_default_t def, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_readconsole’: ./include/xsm/xsm.h:261:49: warning: unused parameter ‘def’ [-Wunused-parameter] 261 | static inline int xsm_readconsole(xsm_default_t def, uint32_t clear) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_unbound’: ./include/xsm/xsm.h:267:19: warning: unused parameter ‘def’ [-Wunused-parameter] 267 | xsm_default_t def, struct domain *d1, struct evtchn *chn, domid_t id2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_interdomain’: ./include/xsm/xsm.h:273:19: warning: unused parameter ‘def’ [-Wunused-parameter] 273 | xsm_default_t def, struct domain *d1, struct evtchn *chan1, | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_send’: ./include/xsm/xsm.h:285:19: warning: unused parameter ‘def’ [-Wunused-parameter] 285 | xsm_default_t def, struct domain *d, struct evtchn *chn) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_status’: ./include/xsm/xsm.h:291:19: warning: unused parameter ‘def’ [-Wunused-parameter] 291 | xsm_default_t def, struct domain *d, struct evtchn *chn) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_reset’: ./include/xsm/xsm.h:297:19: warning: unused parameter ‘def’ [-Wunused-parameter] 297 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_mapref’: ./include/xsm/xsm.h:303:19: warning: unused parameter ‘def’ [-Wunused-parameter] 303 | xsm_default_t def, struct domain *d1, struct domain *d2, uint32_t flags) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_unmapref’: ./include/xsm/xsm.h:309:19: warning: unused parameter ‘def’ [-Wunused-parameter] 309 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_setup’: ./include/xsm/xsm.h:315:19: warning: unused parameter ‘def’ [-Wunused-parameter] 315 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_transfer’: ./include/xsm/xsm.h:321:19: warning: unused parameter ‘def’ [-Wunused-parameter] 321 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_copy’: ./include/xsm/xsm.h:327:19: warning: unused parameter ‘def’ [-Wunused-parameter] 327 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_query_size’: ./include/xsm/xsm.h:333:19: warning: unused parameter ‘def’ [-Wunused-parameter] 333 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_init_hardware_domain’: ./include/xsm/xsm.h:366:58: warning: unused parameter ‘def’ [-Wunused-parameter] 366 | static inline int xsm_init_hardware_domain(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_get_pod_target’: ./include/xsm/xsm.h:371:52: warning: unused parameter ‘def’ [-Wunused-parameter] 371 | static inline int xsm_get_pod_target(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_set_pod_target’: ./include/xsm/xsm.h:376:52: warning: unused parameter ‘def’ [-Wunused-parameter] 376 | static inline int xsm_set_pod_target(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_exchange’: ./include/xsm/xsm.h:381:53: warning: unused parameter ‘def’ [-Wunused-parameter] 381 | static inline int xsm_memory_exchange(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_adjust_reservation’: ./include/xsm/xsm.h:387:19: warning: unused parameter ‘def’ [-Wunused-parameter] 387 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_stat_reservation’: ./include/xsm/xsm.h:393:19: warning: unused parameter ‘def’ [-Wunused-parameter] 393 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_pin_page’: ./include/xsm/xsm.h:399:19: warning: unused parameter ‘def’ [-Wunused-parameter] 399 | xsm_default_t def, struct domain *d1, struct domain *d2, | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_add_to_physmap’: ./include/xsm/xsm.h:406:19: warning: unused parameter ‘def’ [-Wunused-parameter] 406 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_remove_from_physmap’: ./include/xsm/xsm.h:412:19: warning: unused parameter ‘def’ [-Wunused-parameter] 412 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_map_gmfn_foreign’: ./include/xsm/xsm.h:418:19: warning: unused parameter ‘def’ [-Wunused-parameter] 418 | xsm_default_t def, struct domain *d, struct domain *t) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_claim_pages’: ./include/xsm/xsm.h:423:49: warning: unused parameter ‘def’ [-Wunused-parameter] 423 | static inline int xsm_claim_pages(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_console_io’: ./include/xsm/xsm.h:428:48: warning: unused parameter ‘def’ [-Wunused-parameter] 428 | static inline int xsm_console_io(xsm_default_t def, struct domain *d, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_profile’: ./include/xsm/xsm.h:433:45: warning: unused parameter ‘def’ [-Wunused-parameter] 433 | static inline int xsm_profile(xsm_default_t def, struct domain *d, int op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_kexec’: ./include/xsm/xsm.h:438:43: warning: unused parameter ‘def’ [-Wunused-parameter] 438 | static inline int xsm_kexec(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_schedop_shutdown’: ./include/xsm/xsm.h:444:19: warning: unused parameter ‘def’ [-Wunused-parameter] 444 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_map_domain_pirq’: ./include/xsm/xsm.h:454:53: warning: unused parameter ‘def’ [-Wunused-parameter] 454 | static inline int xsm_map_domain_pirq(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_map_domain_irq’: ./include/xsm/xsm.h:460:19: warning: unused parameter ‘def’ [-Wunused-parameter] 460 | xsm_default_t def, struct domain *d, int irq, void *data) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_unmap_domain_pirq’: ./include/xsm/xsm.h:465:55: warning: unused parameter ‘def’ [-Wunused-parameter] 465 | static inline int xsm_unmap_domain_pirq(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_unmap_domain_irq’: ./include/xsm/xsm.h:471:19: warning: unused parameter ‘def’ [-Wunused-parameter] 471 | xsm_default_t def, struct domain *d, int irq, void *data) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_bind_pt_irq’: ./include/xsm/xsm.h:477:19: warning: unused parameter ‘def’ [-Wunused-parameter] 477 | xsm_default_t def, struct domain *d, struct xen_domctl_bind_pt_irq *bind) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_unbind_pt_irq’: ./include/xsm/xsm.h:483:19: warning: unused parameter ‘def’ [-Wunused-parameter] 483 | xsm_default_t def, struct domain *d, struct xen_domctl_bind_pt_irq *bind) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_irq_permission’: ./include/xsm/xsm.h:489:19: warning: unused parameter ‘def’ [-Wunused-parameter] 489 | xsm_default_t def, struct domain *d, int pirq, uint8_t allow) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_iomem_permission’: ./include/xsm/xsm.h:495:19: warning: unused parameter ‘def’ [-Wunused-parameter] 495 | xsm_default_t def, struct domain *d, uint64_t s, uint64_t e, uint8_t allow) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_iomem_mapping’: ./include/xsm/xsm.h:501:19: warning: unused parameter ‘def’ [-Wunused-parameter] 501 | xsm_default_t def, struct domain *d, uint64_t s, uint64_t e, uint8_t allow) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_pci_config_permission’: ./include/xsm/xsm.h:507:19: warning: unused parameter ‘def’ [-Wunused-parameter] 507 | xsm_default_t def, struct domain *d, uint32_t machine_bdf, uint16_t start, | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_assign_dtdevice’: ./include/xsm/xsm.h:534:19: warning: unused parameter ‘def’ [-Wunused-parameter] 534 | xsm_default_t def, struct domain *d, const char *dtpath) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_deassign_dtdevice’: ./include/xsm/xsm.h:540:19: warning: unused parameter ‘def’ [-Wunused-parameter] 540 | xsm_default_t def, struct domain *d, const char *dtpath) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_plug_pci’: ./include/xsm/xsm.h:547:55: warning: unused parameter ‘def’ [-Wunused-parameter] 547 | static inline int xsm_resource_plug_pci(xsm_default_t def, uint32_t machine_bdf) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_unplug_pci’: ./include/xsm/xsm.h:553:19: warning: unused parameter ‘def’ [-Wunused-parameter] 553 | xsm_default_t def, uint32_t machine_bdf) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_plug_core’: ./include/xsm/xsm.h:558:56: warning: unused parameter ‘def’ [-Wunused-parameter] 558 | static inline int xsm_resource_plug_core(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_unplug_core’: ./include/xsm/xsm.h:563:58: warning: unused parameter ‘def’ [-Wunused-parameter] 563 | static inline int xsm_resource_unplug_core(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_setup_pci’: ./include/xsm/xsm.h:569:19: warning: unused parameter ‘def’ [-Wunused-parameter] 569 | xsm_default_t def, uint32_t machine_bdf) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_setup_gsi’: ./include/xsm/xsm.h:574:56: warning: unused parameter ‘def’ [-Wunused-parameter] 574 | static inline int xsm_resource_setup_gsi(xsm_default_t def, int gsi) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_setup_misc’: ./include/xsm/xsm.h:579:57: warning: unused parameter ‘def’ [-Wunused-parameter] 579 | static inline int xsm_resource_setup_misc(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_page_offline’: ./include/xsm/xsm.h:584:50: warning: unused parameter ‘def’ [-Wunused-parameter] 584 | static inline int xsm_page_offline(xsm_default_t def, uint32_t cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hypfs_op’: ./include/xsm/xsm.h:589:46: warning: unused parameter ‘def’ [-Wunused-parameter] 589 | static inline int xsm_hypfs_op(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hvm_param’: ./include/xsm/xsm.h:607:19: warning: unused parameter ‘def’ [-Wunused-parameter] 607 | xsm_default_t def, struct domain *d, unsigned long op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hvm_param_altp2mhvm’: ./include/xsm/xsm.h:612:57: warning: unused parameter ‘def’ [-Wunused-parameter] 612 | static inline int xsm_hvm_param_altp2mhvm(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hvm_altp2mhvm_op’: ./include/xsm/xsm.h:618:19: warning: unused parameter ‘def’ [-Wunused-parameter] 618 | xsm_default_t def, struct domain *d, uint64_t mode, uint32_t op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_get_vnumainfo’: ./include/xsm/xsm.h:623:51: warning: unused parameter ‘def’ [-Wunused-parameter] 623 | static inline int xsm_get_vnumainfo(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_vm_event_control’: ./include/xsm/xsm.h:629:19: warning: unused parameter ‘def’ [-Wunused-parameter] 629 | xsm_default_t def, struct domain *d, int mode, int op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_mem_access’: ./include/xsm/xsm.h:635:48: warning: unused parameter ‘def’ [-Wunused-parameter] 635 | static inline int xsm_mem_access(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_platform_op’: ./include/xsm/xsm.h:655:49: warning: unused parameter ‘def’ [-Wunused-parameter] 655 | static inline int xsm_platform_op(xsm_default_t def, uint32_t op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_dm_op’: ./include/xsm/xsm.h:738:43: warning: unused parameter ‘def’ [-Wunused-parameter] 738 | static inline int xsm_dm_op(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_xen_version’: ./include/xsm/xsm.h:743:49: warning: unused parameter ‘def’ [-Wunused-parameter] 743 | static inline int xsm_xen_version(xsm_default_t def, uint32_t op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_domain_resource_map’: CC xsm/xsm_policy.o ./include/xsm/xsm.h:748:57: warning: unused parameter ‘def’ [-Wunused-parameter] 748 | static inline int xsm_domain_resource_map(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ In file included from drivers/char/console.c:33: ./include/xen/pv_console.h: In function ‘pv_console_set_rx_handler’: ./include/xen/pv_console.h:18:59: warning: unused parameter ‘fn’ [-Wunused-parameter] 18 | static inline void pv_console_set_rx_handler(serial_rx_fn fn) { } | ~~~~~~~~~~~~~^~ ./include/xen/pv_console.h: In function ‘pv_console_puts’: ./include/xen/pv_console.h:20:48: warning: unused parameter ‘buf’ [-Wunused-parameter] 20 | static inline void pv_console_puts(const char *buf, size_t nr) { } | ~~~~~~~~~~~~^~~ ./include/xen/pv_console.h:20:60: warning: unused parameter ‘nr’ [-Wunused-parameter] 20 | static inline void pv_console_puts(const char *buf, size_t nr) { } | ~~~~~~~^~ drivers/char/console.c: In function ‘do_toggle_guest’: drivers/char/console.c:282:62: warning: unused parameter ‘unused’ [-Wunused-parameter] 282 | static void cf_check do_toggle_guest(unsigned char key, bool unused) drivers/char/console.c: In function ‘do_inc_thresh’: drivers/char/console.c:309:60: warning: unused parameter ‘unused’ [-Wunused-parameter] 309 | static void cf_check do_inc_thresh(unsigned char key, bool unused) drivers/char/console.c: In function ‘do_dec_thresh’: drivers/char/console.c:315:60: warning: unused parameter ‘unused’ [-Wunused-parameter] 315 | static void cf_check do_dec_thresh(unsigned char key, bool unused) drivers/char/console.c: In function ‘switch_serial_input’: drivers/char/console.c:500:24: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] 500 | if ( next_rx++ >= max_console_rx ) | ^~ drivers/char/console.c: In function ‘notify_dom0_con_ring’: drivers/char/console.c:605:49: warning: unused parameter ‘unused’ [-Wunused-parameter] 605 | static void cf_check notify_dom0_con_ring(void *unused) | ~~~~~~^~~~~~ drivers/char/console.c: In function ‘__printk_ratelimit’: drivers/char/console.c:1220:15: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare] 1220 | if ( toks > (ratelimit_burst * ratelimit_ms)) | ^ drivers/char/console.c:1222:15: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare] 1222 | if ( toks >= ratelimit_ms ) | ^~ drivers/char/console.c: In function ‘suspend_steal_fn’: drivers/char/console.c:1313:51: warning: unused parameter ‘str’ [-Wunused-parameter] 1313 | static void cf_check suspend_steal_fn(const char *str, size_t nr) { } | ~~~~~~~~~~~~^~~ drivers/char/console.c:1313:63: warning: unused parameter ‘nr’ [-Wunused-parameter] 1313 | static void cf_check suspend_steal_fn(const char *str, size_t nr) { } | ~~~~~~~^~ In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/sched.h:6, from ./include/xsm/xsm.h:19, from xsm/xsm_policy.c:21: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/rwlock.h:6, from ./include/xen/sched.h:7: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/domain.h:5, from ./include/xen/sched.h:11: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233, from ./arch/arm/include/asm/p2m.h:4, from ./arch/arm/include/asm/domain.h:7, from ./include/xen/domain.h:15: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ CC lib/memchr.o ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘arch_vcpu_block’: ./arch/arm/include/asm/domain.h:297:49: warning: unused parameter ‘v’ [-Wunused-parameter] 297 | static inline void arch_vcpu_block(struct vcpu *v) {} | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘update_guest_memory_policy’: ./arch/arm/include/asm/domain.h:309:60: warning: unused parameter ‘v’ [-Wunused-parameter] 309 | static inline void update_guest_memory_policy(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h:310:75: warning: unused parameter ‘gmp’ [-Wunused-parameter] 310 | struct guest_memory_policy *gmp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from ./include/xen/sched.h:25: ./include/xen/vpci.h: In function ‘vpci_assign_device’: ./include/xen/vpci.h:278:54: warning: unused parameter ‘pdev’ [-Wunused-parameter] 278 | static inline int vpci_assign_device(struct pci_dev *pdev) | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_deassign_device’: ./include/xen/vpci.h:283:57: warning: unused parameter ‘pdev’ [-Wunused-parameter] 283 | static inline void vpci_deassign_device(struct pci_dev *pdev) { } | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_read’: ./include/xen/vpci.h:287:45: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:287:64: warning: unused parameter ‘reg’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:288:47: warning: unused parameter ‘size’ [-Wunused-parameter] 288 | unsigned int size) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_write’: ./include/xen/vpci.h:294:42: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:294:61: warning: unused parameter ‘reg’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:295:44: warning: unused parameter ‘size’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h:295:59: warning: unused parameter ‘data’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_process_pending’: ./include/xen/vpci.h:300:67: warning: unused parameter ‘v’ [-Wunused-parameter] 300 | static inline bool __must_check vpci_process_pending(struct vcpu *v) | ~~~~~~~~~~~~~^ ./include/xen/sched.h: In function ‘is_pv_32bit_domain’: ./include/xen/sched.h:1131:67: warning: unused parameter ‘d’ [-Wunused-parameter] 1131 | static always_inline bool is_pv_32bit_domain(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ ./include/xsm/xsm.h: In function ‘xsm_domain_create’: ./include/xsm/xsm.h:224:19: warning: unused parameter ‘def’ [-Wunused-parameter] 224 | xsm_default_t def, struct domain *d, uint32_t ssidref) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_getdomaininfo’: ./include/xsm/xsm.h:229:51: warning: unused parameter ‘def’ [-Wunused-parameter] 229 | static inline int xsm_getdomaininfo(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_domctl_scheduler_op’: ./include/xsm/xsm.h:235:19: warning: unused parameter ‘def’ [-Wunused-parameter] 235 | xsm_default_t def, struct domain *d, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_sysctl_scheduler_op’: ./include/xsm/xsm.h:240:57: warning: unused parameter ‘def’ [-Wunused-parameter] 240 | static inline int xsm_sysctl_scheduler_op(xsm_default_t def, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_set_target’: ./include/xsm/xsm.h:246:19: warning: unused parameter ‘def’ [-Wunused-parameter] 246 | xsm_default_t def, struct domain *d, struct domain *e) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_domctl’: ./include/xsm/xsm.h:251:44: warning: unused parameter ‘def’ [-Wunused-parameter] 251 | static inline int xsm_domctl(xsm_default_t def, struct domain *d, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_sysctl’: ./include/xsm/xsm.h:256:44: warning: unused parameter ‘def’ [-Wunused-parameter] 256 | static inline int xsm_sysctl(xsm_default_t def, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_readconsole’: ./include/xsm/xsm.h:261:49: warning: unused parameter ‘def’ [-Wunused-parameter] 261 | static inline int xsm_readconsole(xsm_default_t def, uint32_t clear) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_unbound’: ./include/xsm/xsm.h:267:19: warning: unused parameter ‘def’ [-Wunused-parameter] 267 | xsm_default_t def, struct domain *d1, struct evtchn *chn, domid_t id2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_interdomain’: ./include/xsm/xsm.h:273:19: warning: unused parameter ‘def’ [-Wunused-parameter] 273 | xsm_default_t def, struct domain *d1, struct evtchn *chan1, | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_send’: ./include/xsm/xsm.h:285:19: warning: unused parameter ‘def’ [-Wunused-parameter] 285 | xsm_default_t def, struct domain *d, struct evtchn *chn) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_status’: ./include/xsm/xsm.h:291:19: warning: unused parameter ‘def’ [-Wunused-parameter] 291 | xsm_default_t def, struct domain *d, struct evtchn *chn) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_reset’: ./include/xsm/xsm.h:297:19: warning: unused parameter ‘def’ [-Wunused-parameter] 297 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_mapref’: ./include/xsm/xsm.h:303:19: warning: unused parameter ‘def’ [-Wunused-parameter] 303 | xsm_default_t def, struct domain *d1, struct domain *d2, uint32_t flags) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_unmapref’: ./include/xsm/xsm.h:309:19: warning: unused parameter ‘def’ [-Wunused-parameter] 309 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_setup’: ./include/xsm/xsm.h:315:19: warning: unused parameter ‘def’ [-Wunused-parameter] 315 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_transfer’: ./include/xsm/xsm.h:321:19: warning: unused parameter ‘def’ [-Wunused-parameter] 321 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_copy’: ./include/xsm/xsm.h:327:19: warning: unused parameter ‘def’ [-Wunused-parameter] 327 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_query_size’: ./include/xsm/xsm.h:333:19: warning: unused parameter ‘def’ [-Wunused-parameter] 333 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_init_hardware_domain’: ./include/xsm/xsm.h:366:58: warning: unused parameter ‘def’ [-Wunused-parameter] 366 | static inline int xsm_init_hardware_domain(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_get_pod_target’: ./include/xsm/xsm.h:371:52: warning: unused parameter ‘def’ [-Wunused-parameter] 371 | static inline int xsm_get_pod_target(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_set_pod_target’: ./include/xsm/xsm.h:376:52: warning: unused parameter ‘def’ [-Wunused-parameter] 376 | static inline int xsm_set_pod_target(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_exchange’: ./include/xsm/xsm.h:381:53: warning: unused parameter ‘def’ [-Wunused-parameter] 381 | static inline int xsm_memory_exchange(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_adjust_reservation’: ./include/xsm/xsm.h:387:19: warning: unused parameter ‘def’ [-Wunused-parameter] 387 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_stat_reservation’: ./include/xsm/xsm.h:393:19: warning: unused parameter ‘def’ [-Wunused-parameter] 393 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_pin_page’: ./include/xsm/xsm.h:399:19: warning: unused parameter ‘def’ [-Wunused-parameter] 399 | xsm_default_t def, struct domain *d1, struct domain *d2, | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_add_to_physmap’: ./include/xsm/xsm.h:406:19: warning: unused parameter ‘def’ [-Wunused-parameter] 406 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_remove_from_physmap’: ./include/xsm/xsm.h:412:19: warning: unused parameter ‘def’ [-Wunused-parameter] 412 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_map_gmfn_foreign’: ./include/xsm/xsm.h:418:19: warning: unused parameter ‘def’ [-Wunused-parameter] 418 | xsm_default_t def, struct domain *d, struct domain *t) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_claim_pages’: ./include/xsm/xsm.h:423:49: warning: unused parameter ‘def’ [-Wunused-parameter] 423 | static inline int xsm_claim_pages(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_console_io’: ./include/xsm/xsm.h:428:48: warning: unused parameter ‘def’ [-Wunused-parameter] 428 | static inline int xsm_console_io(xsm_default_t def, struct domain *d, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_profile’: ./include/xsm/xsm.h:433:45: warning: unused parameter ‘def’ [-Wunused-parameter] 433 | static inline int xsm_profile(xsm_default_t def, struct domain *d, int op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_kexec’: ./include/xsm/xsm.h:438:43: warning: unused parameter ‘def’ [-Wunused-parameter] 438 | static inline int xsm_kexec(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_schedop_shutdown’: ./include/xsm/xsm.h:444:19: warning: unused parameter ‘def’ [-Wunused-parameter] 444 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_map_domain_pirq’: ./include/xsm/xsm.h:454:53: warning: unused parameter ‘def’ [-Wunused-parameter] 454 | static inline int xsm_map_domain_pirq(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_map_domain_irq’: ./include/xsm/xsm.h:460:19: warning: unused parameter ‘def’ [-Wunused-parameter] 460 | xsm_default_t def, struct domain *d, int irq, void *data) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_unmap_domain_pirq’: ./include/xsm/xsm.h:465:55: warning: unused parameter ‘def’ [-Wunused-parameter] 465 | static inline int xsm_unmap_domain_pirq(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_unmap_domain_irq’: ./include/xsm/xsm.h:471:19: warning: unused parameter ‘def’ [-Wunused-parameter] 471 | xsm_default_t def, struct domain *d, int irq, void *data) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_bind_pt_irq’: ./include/xsm/xsm.h:477:19: warning: unused parameter ‘def’ [-Wunused-parameter] 477 | xsm_default_t def, struct domain *d, struct xen_domctl_bind_pt_irq *bind) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_unbind_pt_irq’: ./include/xsm/xsm.h:483:19: warning: unused parameter ‘def’ [-Wunused-parameter] 483 | xsm_default_t def, struct domain *d, struct xen_domctl_bind_pt_irq *bind) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_irq_permission’: ./include/xsm/xsm.h:489:19: warning: unused parameter ‘def’ [-Wunused-parameter] 489 | xsm_default_t def, struct domain *d, int pirq, uint8_t allow) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_iomem_permission’: ./include/xsm/xsm.h:495:19: warning: unused parameter ‘def’ [-Wunused-parameter] 495 | xsm_default_t def, struct domain *d, uint64_t s, uint64_t e, uint8_t allow) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_iomem_mapping’: ./include/xsm/xsm.h:501:19: warning: unused parameter ‘def’ [-Wunused-parameter] 501 | xsm_default_t def, struct domain *d, uint64_t s, uint64_t e, uint8_t allow) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_pci_config_permission’: ./include/xsm/xsm.h:507:19: warning: unused parameter ‘def’ [-Wunused-parameter] 507 | xsm_default_t def, struct domain *d, uint32_t machine_bdf, uint16_t start, | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_assign_dtdevice’: ./include/xsm/xsm.h:534:19: warning: unused parameter ‘def’ [-Wunused-parameter] 534 | xsm_default_t def, struct domain *d, const char *dtpath) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_deassign_dtdevice’: ./include/xsm/xsm.h:540:19: warning: unused parameter ‘def’ [-Wunused-parameter] 540 | xsm_default_t def, struct domain *d, const char *dtpath) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_plug_pci’: ./include/xsm/xsm.h:547:55: warning: unused parameter ‘def’ [-Wunused-parameter] 547 | static inline int xsm_resource_plug_pci(xsm_default_t def, uint32_t machine_bdf) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_unplug_pci’: ./include/xsm/xsm.h:553:19: warning: unused parameter ‘def’ [-Wunused-parameter] 553 | xsm_default_t def, uint32_t machine_bdf) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_plug_core’: ./include/xsm/xsm.h:558:56: warning: unused parameter ‘def’ [-Wunused-parameter] 558 | static inline int xsm_resource_plug_core(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_unplug_core’: ./include/xsm/xsm.h:563:58: warning: unused parameter ‘def’ [-Wunused-parameter] 563 | static inline int xsm_resource_unplug_core(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_setup_pci’: ./include/xsm/xsm.h:569:19: warning: unused parameter ‘def’ [-Wunused-parameter] 569 | xsm_default_t def, uint32_t machine_bdf) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_setup_gsi’: ./include/xsm/xsm.h:574:56: warning: unused parameter ‘def’ [-Wunused-parameter] 574 | static inline int xsm_resource_setup_gsi(xsm_default_t def, int gsi) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_setup_misc’: ./include/xsm/xsm.h:579:57: warning: unused parameter ‘def’ [-Wunused-parameter] 579 | static inline int xsm_resource_setup_misc(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_page_offline’: ./include/xsm/xsm.h:584:50: warning: unused parameter ‘def’ [-Wunused-parameter] 584 | static inline int xsm_page_offline(xsm_default_t def, uint32_t cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hypfs_op’: ./include/xsm/xsm.h:589:46: warning: unused parameter ‘def’ [-Wunused-parameter] 589 | static inline int xsm_hypfs_op(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hvm_param’: ./include/xsm/xsm.h:607:19: warning: unused parameter ‘def’ [-Wunused-parameter] 607 | xsm_default_t def, struct domain *d, unsigned long op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hvm_param_altp2mhvm’: ./include/xsm/xsm.h:612:57: warning: unused parameter ‘def’ [-Wunused-parameter] 612 | static inline int xsm_hvm_param_altp2mhvm(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hvm_altp2mhvm_op’: ./include/xsm/xsm.h:618:19: warning: unused parameter ‘def’ [-Wunused-parameter] 618 | xsm_default_t def, struct domain *d, uint64_t mode, uint32_t op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_get_vnumainfo’: ./include/xsm/xsm.h:623:51: warning: unused parameter ‘def’ [-Wunused-parameter] 623 | static inline int xsm_get_vnumainfo(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_vm_event_control’: ./include/xsm/xsm.h:629:19: warning: unused parameter ‘def’ [-Wunused-parameter] 629 | xsm_default_t def, struct domain *d, int mode, int op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_mem_access’: ./include/xsm/xsm.h:635:48: warning: unused parameter ‘def’ [-Wunused-parameter] 635 | static inline int xsm_mem_access(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_platform_op’: ./include/xsm/xsm.h:655:49: warning: unused parameter ‘def’ [-Wunused-parameter] 655 | static inline int xsm_platform_op(xsm_default_t def, uint32_t op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_dm_op’: ./include/xsm/xsm.h:738:43: warning: unused parameter ‘def’ [-Wunused-parameter] 738 | static inline int xsm_dm_op(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_xen_version’: ./include/xsm/xsm.h:743:49: warning: unused parameter ‘def’ [-Wunused-parameter] 743 | static inline int xsm_xen_version(xsm_default_t def, uint32_t op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_domain_resource_map’: ./include/xsm/xsm.h:748:57: warning: unused parameter ‘def’ [-Wunused-parameter] 748 | static inline int xsm_domain_resource_map(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ CC lib/memchr_inv.o CC lib/memcmp.o CC xsm/dummy.o In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/sched.h:6, from ./include/xsm/dummy.h:21, from xsm/dummy.c:14: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ CC lib/memcpy.o In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/rwlock.h:6, from ./include/xen/sched.h:7: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ CC lib/memmove.o In file included from ./include/xen/domain.h:5, from ./include/xen/sched.h:11: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233, from ./arch/arm/include/asm/p2m.h:4, from ./arch/arm/include/asm/domain.h:7, from ./include/xen/domain.h:15: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘arch_vcpu_block’: ./arch/arm/include/asm/domain.h:297:49: warning: unused parameter ‘v’ [-Wunused-parameter] 297 | static inline void arch_vcpu_block(struct vcpu *v) {} | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘update_guest_memory_policy’: ./arch/arm/include/asm/domain.h:309:60: warning: unused parameter ‘v’ [-Wunused-parameter] 309 | static inline void update_guest_memory_policy(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h:310:75: warning: unused parameter ‘gmp’ [-Wunused-parameter] 310 | struct guest_memory_policy *gmp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ CC lib/memset.o In file included from ./include/xen/sched.h:25: ./include/xen/vpci.h: In function ‘vpci_assign_device’: ./include/xen/vpci.h:278:54: warning: unused parameter ‘pdev’ [-Wunused-parameter] 278 | static inline int vpci_assign_device(struct pci_dev *pdev) | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_deassign_device’: ./include/xen/vpci.h:283:57: warning: unused parameter ‘pdev’ [-Wunused-parameter] 283 | static inline void vpci_deassign_device(struct pci_dev *pdev) { } | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_read’: ./include/xen/vpci.h:287:45: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:287:64: warning: unused parameter ‘reg’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:288:47: warning: unused parameter ‘size’ [-Wunused-parameter] 288 | unsigned int size) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_write’: ./include/xen/vpci.h:294:42: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:294:61: warning: unused parameter ‘reg’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:295:44: warning: unused parameter ‘size’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h:295:59: warning: unused parameter ‘data’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_process_pending’: ./include/xen/vpci.h:300:67: warning: unused parameter ‘v’ [-Wunused-parameter] 300 | static inline bool __must_check vpci_process_pending(struct vcpu *v) | ~~~~~~~~~~~~~^ ./include/xen/sched.h: In function ‘is_pv_32bit_domain’: ./include/xen/sched.h:1131:67: warning: unused parameter ‘d’ [-Wunused-parameter] 1131 | static always_inline bool is_pv_32bit_domain(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ ./include/xsm/dummy.h: In function ‘xsm_security_domaininfo’: ./include/xsm/dummy.h:125:20: warning: unused parameter ‘d’ [-Wunused-parameter] 125 | struct domain *d, struct xen_domctl_getdomaininfo *info) | ~~~~~~~~~~~~~~~^ ./include/xsm/dummy.h:125:56: warning: unused parameter ‘info’ [-Wunused-parameter] 125 | struct domain *d, struct xen_domctl_getdomaininfo *info) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xsm/dummy.h: In function ‘xsm_domain_create’: ./include/xsm/dummy.h:131:48: warning: unused parameter ‘ssidref’ [-Wunused-parameter] 131 | XSM_DEFAULT_ARG struct domain *d, uint32_t ssidref) | ~~~~~~~~~^~~~~~~ ./include/xsm/dummy.h: In function ‘xsm_domctl_scheduler_op’: ./include/xsm/dummy.h:145:43: warning: unused parameter ‘cmd’ [-Wunused-parameter] 145 | XSM_DEFAULT_ARG struct domain *d, int cmd) | ~~~~^~~ ./include/xsm/dummy.h: In function ‘xsm_sysctl_scheduler_op’: ./include/xsm/dummy.h:151:76: warning: unused parameter ‘cmd’ [-Wunused-parameter] 151 | static XSM_INLINE int cf_check xsm_sysctl_scheduler_op(XSM_DEFAULT_ARG int cmd) | ~~~~^~~ ./include/xsm/dummy.h: In function ‘xsm_set_target’: ./include/xsm/dummy.h:158:36: warning: unused parameter ‘d’ [-Wunused-parameter] 158 | XSM_DEFAULT_ARG struct domain *d, struct domain *e) | ~~~~~~~~~~~~~~~^ ./include/xsm/dummy.h:158:54: warning: unused parameter ‘e’ [-Wunused-parameter] 158 | XSM_DEFAULT_ARG struct domain *d, struct domain *e) | ~~~~~~~~~~~~~~~^ ./include/xsm/dummy.h: In function ‘xsm_sysctl’: ./include/xsm/dummy.h:182:63: warning: unused parameter ‘cmd’ [-Wunused-parameter] 182 | static XSM_INLINE int cf_check xsm_sysctl(XSM_DEFAULT_ARG int cmd) | ~~~~^~~ ./include/xsm/dummy.h: In function ‘xsm_readconsole’: ./include/xsm/dummy.h:188:73: warning: unused parameter ‘clear’ [-Wunused-parameter] 188 | static XSM_INLINE int cf_check xsm_readconsole(XSM_DEFAULT_ARG uint32_t clear) | ~~~~~~~~~^~~~~ ./include/xsm/dummy.h: In function ‘xsm_alloc_security_domain’: ./include/xsm/dummy.h:194:73: warning: unused parameter ‘d’ [-Wunused-parameter] 194 | static XSM_INLINE int cf_check xsm_alloc_security_domain(struct domain *d) | ~~~~~~~~~~~~~~~^ ./include/xsm/dummy.h: In function ‘xsm_free_security_domain’: ./include/xsm/dummy.h:199:73: warning: unused parameter ‘d’ [-Wunused-parameter] 199 | static XSM_INLINE void cf_check xsm_free_security_domain(struct domain *d) | ~~~~~~~~~~~~~~~^ ./include/xsm/dummy.h: In function ‘xsm_grant_mapref’: ./include/xsm/dummy.h:205:68: warning: unused parameter ‘flags’ [-Wunused-parameter] 205 | XSM_DEFAULT_ARG struct domain *d1, struct domain *d2, uint32_t flags) | ~~~~~~~~~^~~~~ ./include/xsm/dummy.h: In function ‘xsm_profile’: ./include/xsm/dummy.h:281:43: warning: unused parameter ‘op’ [-Wunused-parameter] 281 | XSM_DEFAULT_ARG struct domain *d, int op) | ~~~~^~ ./include/xsm/dummy.h: In function ‘xsm_memory_pin_page’: ./include/xsm/dummy.h:302:23: warning: unused parameter ‘page’ [-Wunused-parameter] 302 | struct page_info *page) | ~~~~~~~~~~~~~~~~~~^~~~ ./include/xsm/dummy.h: In function ‘xsm_evtchn_unbound’: ./include/xsm/dummy.h:315:54: warning: unused parameter ‘chn’ [-Wunused-parameter] 315 | XSM_DEFAULT_ARG struct domain *d, struct evtchn *chn, domid_t id2) | ~~~~~~~~~~~~~~~^~~ ./include/xsm/dummy.h:315:67: warning: unused parameter ‘id2’ [-Wunused-parameter] 315 | XSM_DEFAULT_ARG struct domain *d, struct evtchn *chn, domid_t id2) | ~~~~~~~~^~~ ./include/xsm/dummy.h: In function ‘xsm_evtchn_interdomain’: ./include/xsm/dummy.h:322:55: warning: unused parameter ‘chan1’ [-Wunused-parameter] 322 | XSM_DEFAULT_ARG struct domain *d1, struct evtchn *chan1, struct domain *d2, | ~~~~~~~~~~~~~~~^~~~~ ./include/xsm/dummy.h:323:20: warning: unused parameter ‘chan2’ [-Wunused-parameter] 323 | struct evtchn *chan2) | ~~~~~~~~~~~~~~~^~~~~ ./include/xsm/dummy.h: In function ‘xsm_evtchn_close_post’: ./include/xsm/dummy.h:329:70: warning: unused parameter ‘chn’ [-Wunused-parameter] 329 | static XSM_INLINE void cf_check xsm_evtchn_close_post(struct evtchn *chn) | ~~~~~~~~~~~~~~~^~~ ./include/xsm/dummy.h: In function ‘xsm_evtchn_send’: ./include/xsm/dummy.h:335:54: warning: unused parameter ‘chn’ [-Wunused-parameter] 335 | XSM_DEFAULT_ARG struct domain *d, struct evtchn *chn) | ~~~~~~~~~~~~~~~^~~ ./include/xsm/dummy.h: In function ‘xsm_evtchn_status’: ./include/xsm/dummy.h:342:54: warning: unused parameter ‘chn’ [-Wunused-parameter] 342 | XSM_DEFAULT_ARG struct domain *d, struct evtchn *chn) | ~~~~~~~~~~~~~~~^~~ ./include/xsm/dummy.h: In function ‘xsm_alloc_security_evtchns’: ./include/xsm/dummy.h:356:19: warning: unused parameter ‘chn’ [-Wunused-parameter] 356 | struct evtchn chn[], unsigned int nr) | ~~~~~~~~~~~~~~^~~~~ ./include/xsm/dummy.h:356:39: warning: unused parameter ‘nr’ [-Wunused-parameter] 356 | struct evtchn chn[], unsigned int nr) | ~~~~~~~~~~~~~^~ ./include/xsm/dummy.h: In function ‘xsm_free_security_evtchns’: ./include/xsm/dummy.h:362:19: warning: unused parameter ‘chn’ [-Wunused-parameter] 362 | struct evtchn chn[], unsigned int nr) | ~~~~~~~~~~~~~~^~~~~ ./include/xsm/dummy.h:362:39: warning: unused parameter ‘nr’ [-Wunused-parameter] 362 | struct evtchn chn[], unsigned int nr) | ~~~~~~~~~~~~~^~ ./include/xsm/dummy.h: In function ‘xsm_show_security_evtchn’: ./include/xsm/dummy.h:368:20: warning: unused parameter ‘d’ [-Wunused-parameter] 368 | struct domain *d, const struct evtchn *chn) | ~~~~~~~~~~~~~~~^ ./include/xsm/dummy.h:368:44: warning: unused parameter ‘chn’ [-Wunused-parameter] 368 | struct domain *d, const struct evtchn *chn) | ~~~~~~~~~~~~~~~~~~~~~^~~ ./include/xsm/dummy.h: In function ‘xsm_assign_dtdevice’: ./include/xsm/dummy.h:427:51: warning: unused parameter ‘dtpath’ [-Wunused-parameter] 427 | XSM_DEFAULT_ARG struct domain *d, const char *dtpath) | ~~~~~~~~~~~~^~~~~~ ./include/xsm/dummy.h: In function ‘xsm_deassign_dtdevice’: ./include/xsm/dummy.h:434:51: warning: unused parameter ‘dtpath’ [-Wunused-parameter] 434 | XSM_DEFAULT_ARG struct domain *d, const char *dtpath) | ~~~~~~~~~~~~^~~~~~ ./include/xsm/dummy.h: In function ‘xsm_resource_plug_pci’: ./include/xsm/dummy.h:455:30: warning: unused parameter ‘machine_bdf’ [-Wunused-parameter] 455 | XSM_DEFAULT_ARG uint32_t machine_bdf) | ~~~~~~~~~^~~~~~~~~~~ ./include/xsm/dummy.h: In function ‘xsm_resource_unplug_pci’: ./include/xsm/dummy.h:462:30: warning: unused parameter ‘machine_bdf’ [-Wunused-parameter] 462 | XSM_DEFAULT_ARG uint32_t machine_bdf) | ~~~~~~~~~^~~~~~~~~~~ ./include/xsm/dummy.h: In function ‘xsm_resource_setup_pci’: ./include/xsm/dummy.h:469:30: warning: unused parameter ‘machine_bdf’ [-Wunused-parameter] 469 | XSM_DEFAULT_ARG uint32_t machine_bdf) | ~~~~~~~~~^~~~~~~~~~~ ./include/xsm/dummy.h: In function ‘xsm_resource_setup_gsi’: ./include/xsm/dummy.h:475:75: warning: unused parameter ‘gsi’ [-Wunused-parameter] 475 | static XSM_INLINE int cf_check xsm_resource_setup_gsi(XSM_DEFAULT_ARG int gsi) | ~~~~^~~ ./include/xsm/dummy.h: In function ‘xsm_page_offline’: ./include/xsm/dummy.h:487:74: warning: unused parameter ‘cmd’ [-Wunused-parameter] 487 | static XSM_INLINE int cf_check xsm_page_offline(XSM_DEFAULT_ARG uint32_t cmd) | ~~~~~~~~~^~~ ./include/xsm/dummy.h: In function ‘xsm_do_xsm_op’: ./include/xsm/dummy.h:499:76: warning: unused parameter ‘op’ [-Wunused-parameter] 499 | static XSM_INLINE long cf_check xsm_do_xsm_op(XEN_GUEST_HANDLE_PARAM(void) op) ./include/xsm/dummy.h: In function ‘xsm_show_irq_sid’: ./include/xsm/dummy.h:511:55: warning: unused parameter ‘irq’ [-Wunused-parameter] 511 | static XSM_INLINE char *cf_check xsm_show_irq_sid(int irq) | ~~~~^~~ ./include/xsm/dummy.h: In function ‘xsm_map_domain_irq’: ./include/xsm/dummy.h:524:43: warning: unused parameter ‘irq’ [-Wunused-parameter] 524 | XSM_DEFAULT_ARG struct domain *d, int irq, const void *data) | ~~~~^~~ ./include/xsm/dummy.h:524:60: warning: unused parameter ‘data’ [-Wunused-parameter] 524 | XSM_DEFAULT_ARG struct domain *d, int irq, const void *data) | ~~~~~~~~~~~~^~~~ ./include/xsm/dummy.h: In function ‘xsm_bind_pt_irq’: ./include/xsm/dummy.h:538:70: warning: unused parameter ‘bind’ [-Wunused-parameter] 538 | XSM_DEFAULT_ARG struct domain *d, struct xen_domctl_bind_pt_irq *bind) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xsm/dummy.h: In function ‘xsm_unbind_pt_irq’: ./include/xsm/dummy.h:545:70: warning: unused parameter ‘bind’ [-Wunused-parameter] 545 | XSM_DEFAULT_ARG struct domain *d, struct xen_domctl_bind_pt_irq *bind) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xsm/dummy.h: In function ‘xsm_unmap_domain_irq’: ./include/xsm/dummy.h:552:43: warning: unused parameter ‘irq’ [-Wunused-parameter] 552 | XSM_DEFAULT_ARG struct domain *d, int irq, const void *data) | ~~~~^~~ ./include/xsm/dummy.h:552:60: warning: unused parameter ‘data’ [-Wunused-parameter] 552 | XSM_DEFAULT_ARG struct domain *d, int irq, const void *data) | ~~~~~~~~~~~~^~~~ ./include/xsm/dummy.h: In function ‘xsm_irq_permission’: ./include/xsm/dummy.h:559:43: warning: unused parameter ‘pirq’ [-Wunused-parameter] 559 | XSM_DEFAULT_ARG struct domain *d, int pirq, uint8_t allow) | ~~~~^~~~ ./include/xsm/dummy.h:559:57: warning: unused parameter ‘allow’ [-Wunused-parameter] 559 | XSM_DEFAULT_ARG struct domain *d, int pirq, uint8_t allow) | ~~~~~~~~^~~~~ ./include/xsm/dummy.h: In function ‘xsm_iomem_permission’: ./include/xsm/dummy.h:566:48: warning: unused parameter ‘s’ [-Wunused-parameter] 566 | XSM_DEFAULT_ARG struct domain *d, uint64_t s, uint64_t e, uint8_t allow) | ~~~~~~~~~^ ./include/xsm/dummy.h:566:60: warning: unused parameter ‘e’ [-Wunused-parameter] 566 | XSM_DEFAULT_ARG struct domain *d, uint64_t s, uint64_t e, uint8_t allow) | ~~~~~~~~~^ ./include/xsm/dummy.h:566:71: warning: unused parameter ‘allow’ [-Wunused-parameter] 566 | XSM_DEFAULT_ARG struct domain *d, uint64_t s, uint64_t e, uint8_t allow) | ~~~~~~~~^~~~~ ./include/xsm/dummy.h: In function ‘xsm_iomem_mapping’: ./include/xsm/dummy.h:573:48: warning: unused parameter ‘s’ [-Wunused-parameter] 573 | XSM_DEFAULT_ARG struct domain *d, uint64_t s, uint64_t e, uint8_t allow) | ~~~~~~~~~^ ./include/xsm/dummy.h:573:60: warning: unused parameter ‘e’ [-Wunused-parameter] 573 | XSM_DEFAULT_ARG struct domain *d, uint64_t s, uint64_t e, uint8_t allow) | ~~~~~~~~~^ ./include/xsm/dummy.h:573:71: warning: unused parameter ‘allow’ [-Wunused-parameter] 573 | XSM_DEFAULT_ARG struct domain *d, uint64_t s, uint64_t e, uint8_t allow) | ~~~~~~~~^~~~~ ./include/xsm/dummy.h: In function ‘xsm_pci_config_permission’: ./include/xsm/dummy.h:580:48: warning: unused parameter ‘machine_bdf’ [-Wunused-parameter] 580 | XSM_DEFAULT_ARG struct domain *d, uint32_t machine_bdf, uint16_t start, | ~~~~~~~~~^~~~~~~~~~~ ./include/xsm/dummy.h:580:70: warning: unused parameter ‘start’ [-Wunused-parameter] 580 | XSM_DEFAULT_ARG struct domain *d, uint32_t machine_bdf, uint16_t start, | ~~~~~~~~~^~~~~ ./include/xsm/dummy.h:581:14: warning: unused parameter ‘end’ [-Wunused-parameter] 581 | uint16_t end, uint8_t access) | ~~~~~~~~~^~~ ./include/xsm/dummy.h:581:27: warning: unused parameter ‘access’ [-Wunused-parameter] 581 | uint16_t end, uint8_t access) | ~~~~~~~~^~~~~~ ./include/xsm/dummy.h: In function ‘xsm_hvm_param’: ./include/xsm/dummy.h:609:53: warning: unused parameter ‘op’ [-Wunused-parameter] 609 | XSM_DEFAULT_ARG struct domain *d, unsigned long op) | ~~~~~~~~~~~~~~^~ ./include/xsm/dummy.h: In function ‘xsm_vm_event_control’: ./include/xsm/dummy.h:643:43: warning: unused parameter ‘mode’ [-Wunused-parameter] 643 | XSM_DEFAULT_ARG struct domain *d, int mode, int op) | ~~~~^~~~ ./include/xsm/dummy.h:643:53: warning: unused parameter ‘op’ [-Wunused-parameter] 643 | XSM_DEFAULT_ARG struct domain *d, int mode, int op) | ~~~~^~ ./include/xsm/dummy.h: In function ‘xsm_platform_op’: ./include/xsm/dummy.h:673:73: warning: unused parameter ‘op’ [-Wunused-parameter] 673 | static XSM_INLINE int cf_check xsm_platform_op(XSM_DEFAULT_ARG uint32_t op) | ~~~~~~~~~^~ ./include/xsm/dummy.h: In function ‘xsm_argo_enable’: ./include/xsm/dummy.h:793:69: warning: unused parameter ‘d’ [-Wunused-parameter] 793 | static XSM_INLINE int cf_check xsm_argo_enable(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ ./include/xsm/dummy.h: In function ‘xsm_argo_register_single_source’: ./include/xsm/dummy.h:799:26: warning: unused parameter ‘d’ [-Wunused-parameter] 799 | const struct domain *d, const struct domain *t) | ~~~~~~~~~~~~~~~~~~~~~^ ./include/xsm/dummy.h:799:50: warning: unused parameter ‘t’ [-Wunused-parameter] 799 | const struct domain *d, const struct domain *t) | ~~~~~~~~~~~~~~~~~~~~~^ ./include/xsm/dummy.h: In function ‘xsm_argo_register_any_source’: ./include/xsm/dummy.h:805:26: warning: unused parameter ‘d’ [-Wunused-parameter] 805 | const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ ./include/xsm/dummy.h: In function ‘xsm_argo_send’: ./include/xsm/dummy.h:811:26: warning: unused parameter ‘d’ [-Wunused-parameter] 811 | const struct domain *d, const struct domain *t) | ~~~~~~~~~~~~~~~~~~~~~^ ./include/xsm/dummy.h:811:50: warning: unused parameter ‘t’ [-Wunused-parameter] 811 | const struct domain *d, const struct domain *t) | ~~~~~~~~~~~~~~~~~~~~~^ CC lib/muldiv64.o CC lib/parse-size.o CC lib/rbtree.o CC drivers/char/ns16550.o CC lib/sort.o In file included from ./include/xen/irq.h:4, from drivers/char/ns16550.c:22: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/rcupdate.h:36, from ./include/xen/irq.h:5: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ CC lib/strcasecmp.o In file included from drivers/char/ns16550.c:23: ./include/xen/param.h: In function ‘no_config_param’: ./include/xen/param.h:193:19: warning: operand of ‘?:’ changes signedness from ‘long int’ to ‘size_t’ {aka ‘long unsigned int’} due to unsignedness of other operand [-Wsign-compare] 193 | int len = e ? ({ ASSERT(e >= s); e - s; }) : strlen(s); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./include/xen/domain.h:5, from ./include/xen/sched.h:11, from drivers/char/ns16550.c:24: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233, from ./arch/arm/include/asm/p2m.h:4, from ./arch/arm/include/asm/domain.h:7, from ./include/xen/domain.h:15: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘arch_vcpu_block’: ./arch/arm/include/asm/domain.h:297:49: warning: unused parameter ‘v’ [-Wunused-parameter] 297 | static inline void arch_vcpu_block(struct vcpu *v) {} | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘update_guest_memory_policy’: ./arch/arm/include/asm/domain.h:309:60: warning: unused parameter ‘v’ [-Wunused-parameter] 309 | static inline void update_guest_memory_policy(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h:310:75: warning: unused parameter ‘gmp’ [-Wunused-parameter] 310 | struct guest_memory_policy *gmp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from ./include/xen/sched.h:25: ./include/xen/vpci.h: In function ‘vpci_assign_device’: ./include/xen/vpci.h:278:54: warning: unused parameter ‘pdev’ [-Wunused-parameter] 278 | static inline int vpci_assign_device(struct pci_dev *pdev) | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_deassign_device’: ./include/xen/vpci.h:283:57: warning: unused parameter ‘pdev’ [-Wunused-parameter] 283 | static inline void vpci_deassign_device(struct pci_dev *pdev) { } | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_read’: ./include/xen/vpci.h:287:45: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:287:64: warning: unused parameter ‘reg’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:288:47: warning: unused parameter ‘size’ [-Wunused-parameter] 288 | unsigned int size) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_write’: ./include/xen/vpci.h:294:42: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:294:61: warning: unused parameter ‘reg’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:295:44: warning: unused parameter ‘size’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h:295:59: warning: unused parameter ‘data’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_process_pending’: ./include/xen/vpci.h:300:67: warning: unused parameter ‘v’ [-Wunused-parameter] 300 | static inline bool __must_check vpci_process_pending(struct vcpu *v) | ~~~~~~~~~~~~~^ ./include/xen/sched.h: In function ‘is_pv_32bit_domain’: ./include/xen/sched.h:1131:67: warning: unused parameter ‘d’ [-Wunused-parameter] 1131 | static always_inline bool is_pv_32bit_domain(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ In file included from drivers/char/ns16550.c:26: ./include/xen/serial.h: At top level: ./include/xen/serial.h:166:1: warning: ‘inline’ is not at beginning of declaration [-Wold-style-declaration] 166 | static void inline xhci_dbc_uart_init(void) {} | ^~~~~~ CC lib/strchr.o drivers/char/ns16550.c: In function ‘ns16550_interrupt’: drivers/char/ns16550.c:178:44: warning: unused parameter ‘irq’ [-Wunused-parameter] 178 | static void cf_check ns16550_interrupt(int irq, void *dev_id) | ~~~~^~~ drivers/char/ns16550.c: In function ‘pci_serial_early_init’: drivers/char/ns16550.c:272:51: warning: unused parameter ‘uart’ [-Wunused-parameter] 272 | static void pci_serial_early_init(struct ns16550 *uart) | ~~~~~~~~~~~~~~~~^~~~ drivers/char/ns16550.c: In function ‘ns16550_init_irq’: drivers/char/ns16550.c:385:66: warning: unused parameter ‘port’ [-Wunused-parameter] 385 | static void __init cf_check ns16550_init_irq(struct serial_port *port) | ~~~~~~~~~~~~~~~~~~~~^~~~ drivers/char/ns16550.c: In function ‘ns16550_endboot’: drivers/char/ns16550.c:586:65: warning: unused parameter ‘port’ [-Wunused-parameter] 586 | static void __init cf_check ns16550_endboot(struct serial_port *port) | ~~~~~~~~~~~~~~~~~~~~^~~~ drivers/char/ns16550.c: In function ‘ns16550_uart_dt_init’: drivers/char/ns16550.c:1758:52: warning: unused parameter ‘data’ [-Wunused-parameter] 1758 | const void *data) | ~~~~~~~~~~~~^~~~ In file included from drivers/char/ns16550.c:1838: ./include/xen/acpi.h: In function ‘acpi_set_cstate_limit’: ./include/xen/acpi.h:192:55: warning: unused parameter ‘new_limit’ [-Wunused-parameter] 192 | static inline void acpi_set_cstate_limit(unsigned int new_limit) { return; } | ~~~~~~~~~~~~~^~~~~~~~~ ./include/xen/acpi.h: In function ‘acpi_set_csubstate_limit’: ./include/xen/acpi.h:194:58: warning: unused parameter ‘new_limit’ [-Wunused-parameter] 194 | static inline void acpi_set_csubstate_limit(unsigned int new_limit) { return; } | ~~~~~~~~~~~~~^~~~~~~~~ drivers/char/ns16550.c: In function ‘ns16550_acpi_uart_init’: drivers/char/ns16550.c:1840:54: warning: unused parameter ‘data’ [-Wunused-parameter] 1840 | static int __init ns16550_acpi_uart_init(const void *data) | ~~~~~~~~~~~~^~~~ CC lib/strcmp.o CC lib/strlcat.o lib/strlcat.c: In function ‘strlcat’: lib/strlcat.c:23:27: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 23 | while ((p - dest) < size) | ^ CC lib/strlcpy.o CC lib/strlen.o CC lib/strncasecmp.o CC xsm/silo.o In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/sched.h:6, from ./include/xsm/dummy.h:21, from xsm/silo.c:21: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ CC lib/strncmp.o In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/rwlock.h:6, from ./include/xen/sched.h:7: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ CC drivers/char/cadence-uart.o In file included from ./include/xen/domain.h:5, from ./include/xen/sched.h:11: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233, from ./arch/arm/include/asm/p2m.h:4, from ./arch/arm/include/asm/domain.h:7, from ./include/xen/domain.h:15: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ CC lib/strnlen.o In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/serial.h:13, from drivers/char/cadence-uart.c:21: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./arch/arm/include/asm/domain.h: In function ‘arch_vcpu_block’: ./arch/arm/include/asm/domain.h:297:49: warning: unused parameter ‘v’ [-Wunused-parameter] 297 | static inline void arch_vcpu_block(struct vcpu *v) {} | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘update_guest_memory_policy’: ./arch/arm/include/asm/domain.h:309:60: warning: unused parameter ‘v’ [-Wunused-parameter] 309 | static inline void update_guest_memory_policy(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h:310:75: warning: unused parameter ‘gmp’ [-Wunused-parameter] 310 | struct guest_memory_policy *gmp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from ./include/xen/sched.h:25: ./include/xen/vpci.h: In function ‘vpci_assign_device’: ./include/xen/serial.h: At top level: ./include/xen/serial.h:166:1: warning: ‘inline’ is not at beginning of declaration [-Wold-style-declaration] 166 | static void inline xhci_dbc_uart_init(void) {} | ^~~~~~ ./include/xen/vpci.h:278:54: warning: unused parameter ‘pdev’ [-Wunused-parameter] 278 | static inline int vpci_assign_device(struct pci_dev *pdev) | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_deassign_device’: ./include/xen/vpci.h:283:57: warning: unused parameter ‘pdev’ [-Wunused-parameter] 283 | static inline void vpci_deassign_device(struct pci_dev *pdev) { } | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_read’: ./include/xen/vpci.h:287:45: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:287:64: warning: unused parameter ‘reg’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:288:47: warning: unused parameter ‘size’ [-Wunused-parameter] 288 | unsigned int size) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_write’: ./include/xen/vpci.h:294:42: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:294:61: warning: unused parameter ‘reg’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:295:44: warning: unused parameter ‘size’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h:295:59: warning: unused parameter ‘data’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_process_pending’: ./include/xen/vpci.h:300:67: warning: unused parameter ‘v’ [-Wunused-parameter] 300 | static inline bool __must_check vpci_process_pending(struct vcpu *v) | ~~~~~~~~~~~~~^ In file included from ./include/xen/irq.h:4, from drivers/char/cadence-uart.c:23: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/irq.h:5: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/sched.h: In function ‘is_pv_32bit_domain’: ./include/xen/sched.h:1131:67: warning: unused parameter ‘d’ [-Wunused-parameter] 1131 | static always_inline bool is_pv_32bit_domain(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ ./include/xsm/dummy.h: In function ‘xsm_security_domaininfo’: ./include/xsm/dummy.h:125:20: warning: unused parameter ‘d’ [-Wunused-parameter] 125 | struct domain *d, struct xen_domctl_getdomaininfo *info) | ~~~~~~~~~~~~~~~^ ./include/xsm/dummy.h:125:56: warning: unused parameter ‘info’ [-Wunused-parameter] 125 | struct domain *d, struct xen_domctl_getdomaininfo *info) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xsm/dummy.h: In function ‘xsm_domain_create’: ./include/xsm/dummy.h:131:48: warning: unused parameter ‘ssidref’ [-Wunused-parameter] 131 | XSM_DEFAULT_ARG struct domain *d, uint32_t ssidref) | ~~~~~~~~~^~~~~~~ ./include/xsm/dummy.h: In function ‘xsm_domctl_scheduler_op’: ./include/xsm/dummy.h:145:43: warning: unused parameter ‘cmd’ [-Wunused-parameter] 145 | XSM_DEFAULT_ARG struct domain *d, int cmd) | ~~~~^~~ ./include/xsm/dummy.h: In function ‘xsm_sysctl_scheduler_op’: ./include/xsm/dummy.h:151:76: warning: unused parameter ‘cmd’ [-Wunused-parameter] 151 | static XSM_INLINE int cf_check xsm_sysctl_scheduler_op(XSM_DEFAULT_ARG int cmd) | ~~~~^~~ ./include/xsm/dummy.h: In function ‘xsm_set_target’: ./include/xsm/dummy.h:158:36: warning: unused parameter ‘d’ [-Wunused-parameter] 158 | XSM_DEFAULT_ARG struct domain *d, struct domain *e) | ~~~~~~~~~~~~~~~^ ./include/xsm/dummy.h:158:54: warning: unused parameter ‘e’ [-Wunused-parameter] 158 | XSM_DEFAULT_ARG struct domain *d, struct domain *e) | ~~~~~~~~~~~~~~~^ ./include/xsm/dummy.h: In function ‘xsm_sysctl’: ./include/xsm/dummy.h:182:63: warning: unused parameter ‘cmd’ [-Wunused-parameter] 182 | static XSM_INLINE int cf_check xsm_sysctl(XSM_DEFAULT_ARG int cmd) | ~~~~^~~ ./include/xsm/dummy.h: In function ‘xsm_readconsole’: ./include/xsm/dummy.h:188:73: warning: unused parameter ‘clear’ [-Wunused-parameter] 188 | static XSM_INLINE int cf_check xsm_readconsole(XSM_DEFAULT_ARG uint32_t clear) | ~~~~~~~~~^~~~~ ./include/xsm/dummy.h: In function ‘xsm_alloc_security_domain’: ./include/xsm/dummy.h:194:73: warning: unused parameter ‘d’ [-Wunused-parameter] 194 | static XSM_INLINE int cf_check xsm_alloc_security_domain(struct domain *d) | ~~~~~~~~~~~~~~~^ ./include/xsm/dummy.h: In function ‘xsm_free_security_domain’: ./include/xsm/dummy.h:199:73: warning: unused parameter ‘d’ [-Wunused-parameter] 199 | static XSM_INLINE void cf_check xsm_free_security_domain(struct domain *d) | ~~~~~~~~~~~~~~~^ ./include/xsm/dummy.h: In function ‘xsm_grant_mapref’: ./include/xsm/dummy.h:205:68: warning: unused parameter ‘flags’ [-Wunused-parameter] 205 | XSM_DEFAULT_ARG struct domain *d1, struct domain *d2, uint32_t flags) | ~~~~~~~~~^~~~~ ./include/xsm/dummy.h: In function ‘xsm_profile’: ./include/xsm/dummy.h:281:43: warning: unused parameter ‘op’ [-Wunused-parameter] 281 | XSM_DEFAULT_ARG struct domain *d, int op) | ~~~~^~ ./include/xsm/dummy.h: In function ‘xsm_memory_pin_page’: ./include/xsm/dummy.h:302:23: warning: unused parameter ‘page’ [-Wunused-parameter] 302 | struct page_info *page) | ~~~~~~~~~~~~~~~~~~^~~~ ./include/xsm/dummy.h: In function ‘xsm_evtchn_unbound’: ./include/xsm/dummy.h:315:54: warning: unused parameter ‘chn’ [-Wunused-parameter] 315 | XSM_DEFAULT_ARG struct domain *d, struct evtchn *chn, domid_t id2) | ~~~~~~~~~~~~~~~^~~ ./include/xsm/dummy.h:315:67: warning: unused parameter ‘id2’ [-Wunused-parameter] 315 | XSM_DEFAULT_ARG struct domain *d, struct evtchn *chn, domid_t id2) | ~~~~~~~~^~~ ./include/xsm/dummy.h: In function ‘xsm_evtchn_interdomain’: ./include/xsm/dummy.h:322:55: warning: unused parameter ‘chan1’ [-Wunused-parameter] 322 | XSM_DEFAULT_ARG struct domain *d1, struct evtchn *chan1, struct domain *d2, | ~~~~~~~~~~~~~~~^~~~~ ./include/xsm/dummy.h:323:20: warning: unused parameter ‘chan2’ [-Wunused-parameter] 323 | struct evtchn *chan2) | ~~~~~~~~~~~~~~~^~~~~ ./include/xsm/dummy.h: In function ‘xsm_evtchn_close_post’: ./include/xsm/dummy.h:329:70: warning: unused parameter ‘chn’ [-Wunused-parameter] 329 | static XSM_INLINE void cf_check xsm_evtchn_close_post(struct evtchn *chn) | ~~~~~~~~~~~~~~~^~~ ./include/xsm/dummy.h: In function ‘xsm_evtchn_send’: ./include/xsm/dummy.h:335:54: warning: unused parameter ‘chn’ [-Wunused-parameter] 335 | XSM_DEFAULT_ARG struct domain *d, struct evtchn *chn) | ~~~~~~~~~~~~~~~^~~ ./include/xsm/dummy.h: In function ‘xsm_evtchn_status’: ./include/xsm/dummy.h:342:54: warning: unused parameter ‘chn’ [-Wunused-parameter] 342 | XSM_DEFAULT_ARG struct domain *d, struct evtchn *chn) | ~~~~~~~~~~~~~~~^~~ ./include/xsm/dummy.h: In function ‘xsm_alloc_security_evtchns’: ./include/xsm/dummy.h:356:19: warning: unused parameter ‘chn’ [-Wunused-parameter] 356 | struct evtchn chn[], unsigned int nr) | ~~~~~~~~~~~~~~^~~~~ ./include/xsm/dummy.h:356:39: warning: unused parameter ‘nr’ [-Wunused-parameter] 356 | struct evtchn chn[], unsigned int nr) | ~~~~~~~~~~~~~^~ ./include/xsm/dummy.h: In function ‘xsm_free_security_evtchns’: ./include/xsm/dummy.h:362:19: warning: unused parameter ‘chn’ [-Wunused-parameter] 362 | struct evtchn chn[], unsigned int nr) | ~~~~~~~~~~~~~~^~~~~ ./include/xsm/dummy.h:362:39: warning: unused parameter ‘nr’ [-Wunused-parameter] 362 | struct evtchn chn[], unsigned int nr) | ~~~~~~~~~~~~~^~ ./include/xsm/dummy.h: In function ‘xsm_show_security_evtchn’: ./include/xsm/dummy.h:368:20: warning: unused parameter ‘d’ [-Wunused-parameter] 368 | struct domain *d, const struct evtchn *chn) | ~~~~~~~~~~~~~~~^ ./include/xsm/dummy.h:368:44: warning: unused parameter ‘chn’ [-Wunused-parameter] 368 | struct domain *d, const struct evtchn *chn) | ~~~~~~~~~~~~~~~~~~~~~^~~ ./include/xsm/dummy.h: In function ‘xsm_assign_dtdevice’: ./include/xsm/dummy.h:427:51: warning: unused parameter ‘dtpath’ [-Wunused-parameter] 427 | XSM_DEFAULT_ARG struct domain *d, const char *dtpath) | ~~~~~~~~~~~~^~~~~~ ./include/xsm/dummy.h: In function ‘xsm_deassign_dtdevice’: ./include/xsm/dummy.h:434:51: warning: unused parameter ‘dtpath’ [-Wunused-parameter] 434 | XSM_DEFAULT_ARG struct domain *d, const char *dtpath) | ~~~~~~~~~~~~^~~~~~ ./include/xsm/dummy.h: In function ‘xsm_resource_plug_pci’: ./include/xsm/dummy.h:455:30: warning: unused parameter ‘machine_bdf’ [-Wunused-parameter] 455 | XSM_DEFAULT_ARG uint32_t machine_bdf) | ~~~~~~~~~^~~~~~~~~~~ ./include/xsm/dummy.h: In function ‘xsm_resource_unplug_pci’: ./include/xsm/dummy.h:462:30: warning: unused parameter ‘machine_bdf’ [-Wunused-parameter] 462 | XSM_DEFAULT_ARG uint32_t machine_bdf) | ~~~~~~~~~^~~~~~~~~~~ ./include/xsm/dummy.h: In function ‘xsm_resource_setup_pci’: ./include/xsm/dummy.h:469:30: warning: unused parameter ‘machine_bdf’ [-Wunused-parameter] 469 | XSM_DEFAULT_ARG uint32_t machine_bdf) | ~~~~~~~~~^~~~~~~~~~~ ./include/xsm/dummy.h: In function ‘xsm_resource_setup_gsi’: ./include/xsm/dummy.h:475:75: warning: unused parameter ‘gsi’ [-Wunused-parameter] 475 | static XSM_INLINE int cf_check xsm_resource_setup_gsi(XSM_DEFAULT_ARG int gsi) | ~~~~^~~ ./include/xsm/dummy.h: In function ‘xsm_page_offline’: ./include/xsm/dummy.h:487:74: warning: unused parameter ‘cmd’ [-Wunused-parameter] 487 | static XSM_INLINE int cf_check xsm_page_offline(XSM_DEFAULT_ARG uint32_t cmd) | ~~~~~~~~~^~~ ./include/xsm/dummy.h: In function ‘xsm_do_xsm_op’: ./include/xsm/dummy.h:499:76: warning: unused parameter ‘op’ [-Wunused-parameter] 499 | static XSM_INLINE long cf_check xsm_do_xsm_op(XEN_GUEST_HANDLE_PARAM(void) op) ./include/xsm/dummy.h: In function ‘xsm_show_irq_sid’: ./include/xsm/dummy.h:511:55: warning: unused parameter ‘irq’ [-Wunused-parameter] 511 | static XSM_INLINE char *cf_check xsm_show_irq_sid(int irq) | ~~~~^~~ ./include/xsm/dummy.h: In function ‘xsm_map_domain_irq’: In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233, from drivers/char/cadence-uart.c:27: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xsm/dummy.h:524:43: warning: unused parameter ‘irq’ [-Wunused-parameter] 524 | XSM_DEFAULT_ARG struct domain *d, int irq, const void *data) | ~~~~^~~ ./include/xsm/dummy.h:524:60: warning: unused parameter ‘data’ [-Wunused-parameter] 524 | XSM_DEFAULT_ARG struct domain *d, int irq, const void *data) | ~~~~~~~~~~~~^~~~ ./include/xsm/dummy.h: In function ‘xsm_bind_pt_irq’: ./include/xsm/dummy.h:538:70: warning: unused parameter ‘bind’ [-Wunused-parameter] 538 | XSM_DEFAULT_ARG struct domain *d, struct xen_domctl_bind_pt_irq *bind) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xsm/dummy.h: In function ‘xsm_unbind_pt_irq’: ./include/xsm/dummy.h:545:70: warning: unused parameter ‘bind’ [-Wunused-parameter] 545 | XSM_DEFAULT_ARG struct domain *d, struct xen_domctl_bind_pt_irq *bind) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xsm/dummy.h: In function ‘xsm_unmap_domain_irq’: ./include/xsm/dummy.h:552:43: warning: unused parameter ‘irq’ [-Wunused-parameter] 552 | XSM_DEFAULT_ARG struct domain *d, int irq, const void *data) | ~~~~^~~ ./include/xsm/dummy.h:552:60: warning: unused parameter ‘data’ [-Wunused-parameter] 552 | XSM_DEFAULT_ARG struct domain *d, int irq, const void *data) | ~~~~~~~~~~~~^~~~ ./include/xsm/dummy.h: In function ‘xsm_irq_permission’: ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xsm/dummy.h:559:43: warning: unused parameter ‘pirq’ [-Wunused-parameter] 559 | XSM_DEFAULT_ARG struct domain *d, int pirq, uint8_t allow) | ~~~~^~~~ ./include/xsm/dummy.h:559:57: warning: unused parameter ‘allow’ [-Wunused-parameter] 559 | XSM_DEFAULT_ARG struct domain *d, int pirq, uint8_t allow) | ~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ ./include/xsm/dummy.h: In function ‘xsm_iomem_permission’: ./include/xsm/dummy.h:566:48: warning: unused parameter ‘s’ [-Wunused-parameter] 566 | XSM_DEFAULT_ARG struct domain *d, uint64_t s, uint64_t e, uint8_t allow) | ~~~~~~~~~^ ./include/xsm/dummy.h:566:60: warning: unused parameter ‘e’ [-Wunused-parameter] 566 | XSM_DEFAULT_ARG struct domain *d, uint64_t s, uint64_t e, uint8_t allow) | ~~~~~~~~~^ ./include/xsm/dummy.h:566:71: warning: unused parameter ‘allow’ [-Wunused-parameter] 566 | XSM_DEFAULT_ARG struct domain *d, uint64_t s, uint64_t e, uint8_t allow) | ~~~~~~~~^~~~~ ./include/xsm/dummy.h: In function ‘xsm_iomem_mapping’: ./include/xsm/dummy.h:573:48: warning: unused parameter ‘s’ [-Wunused-parameter] 573 | XSM_DEFAULT_ARG struct domain *d, uint64_t s, uint64_t e, uint8_t allow) | ~~~~~~~~~^ ./include/xsm/dummy.h:573:60: warning: unused parameter ‘e’ [-Wunused-parameter] 573 | XSM_DEFAULT_ARG struct domain *d, uint64_t s, uint64_t e, uint8_t allow) | ~~~~~~~~~^ ./include/xsm/dummy.h:573:71: warning: unused parameter ‘allow’ [-Wunused-parameter] 573 | XSM_DEFAULT_ARG struct domain *d, uint64_t s, uint64_t e, uint8_t allow) | ~~~~~~~~^~~~~ ./include/xsm/dummy.h: In function ‘xsm_pci_config_permission’: drivers/char/cadence-uart.c: In function ‘cuart_interrupt’: drivers/char/cadence-uart.c:43:33: warning: unused parameter ‘irq’ [-Wunused-parameter] 43 | static void cuart_interrupt(int irq, void *data) | ~~~~^~~ ./include/xsm/dummy.h:580:48: warning: unused parameter ‘machine_bdf’ [-Wunused-parameter] 580 | XSM_DEFAULT_ARG struct domain *d, uint32_t machine_bdf, uint16_t start, | ~~~~~~~~~^~~~~~~~~~~ drivers/char/cadence-uart.c: In function ‘cuart_irq’: drivers/char/cadence-uart.c:123:44: warning: operand of ‘?:’ changes signedness from ‘int’ to ‘unsigned int’ due to unsignedness of other operand [-Wsign-compare] 123 | return ( (uart->irq > 0) ? uart->irq : -1 ); | ^~ ./include/xsm/dummy.h:580:70: warning: unused parameter ‘start’ [-Wunused-parameter] 580 | XSM_DEFAULT_ARG struct domain *d, uint32_t machine_bdf, uint16_t start, | ~~~~~~~~~^~~~~ ./include/xsm/dummy.h:581:14: warning: unused parameter ‘end’ [-Wunused-parameter] 581 | uint16_t end, uint8_t access) | ~~~~~~~~~^~~ ./include/xsm/dummy.h:581:27: warning: unused parameter ‘access’ [-Wunused-parameter] 581 | uint16_t end, uint8_t access) | ~~~~~~~~^~~~~~ ./include/xsm/dummy.h: In function ‘xsm_hvm_param’: ./include/xsm/dummy.h:609:53: warning: unused parameter ‘op’ [-Wunused-parameter] 609 | XSM_DEFAULT_ARG struct domain *d, unsigned long op) | ~~~~~~~~~~~~~~^~ ./include/xsm/dummy.h: In function ‘xsm_vm_event_control’: ./include/xsm/dummy.h:643:43: warning: unused parameter ‘mode’ [-Wunused-parameter] 643 | XSM_DEFAULT_ARG struct domain *d, int mode, int op) | ~~~~^~~~ ./include/xsm/dummy.h:643:53: warning: unused parameter ‘op’ [-Wunused-parameter] 643 | XSM_DEFAULT_ARG struct domain *d, int mode, int op) | ~~~~^~ ./include/xsm/dummy.h: In function ‘xsm_platform_op’: ./include/xsm/dummy.h:673:73: warning: unused parameter ‘op’ [-Wunused-parameter] 673 | static XSM_INLINE int cf_check xsm_platform_op(XSM_DEFAULT_ARG uint32_t op) | ~~~~~~~~~^~ ./include/xsm/dummy.h: In function ‘xsm_argo_enable’: ./include/xsm/dummy.h:793:69: warning: unused parameter ‘d’ [-Wunused-parameter] 793 | static XSM_INLINE int cf_check xsm_argo_enable(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ ./include/xsm/dummy.h: In function ‘xsm_argo_register_single_source’: ./include/xsm/dummy.h:799:26: warning: unused parameter ‘d’ [-Wunused-parameter] 799 | const struct domain *d, const struct domain *t) | ~~~~~~~~~~~~~~~~~~~~~^ ./include/xsm/dummy.h:799:50: warning: unused parameter ‘t’ [-Wunused-parameter] 799 | const struct domain *d, const struct domain *t) | ~~~~~~~~~~~~~~~~~~~~~^ ./include/xsm/dummy.h: In function ‘xsm_argo_register_any_source’: ./include/xsm/dummy.h:805:26: warning: unused parameter ‘d’ [-Wunused-parameter] 805 | const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ ./include/xsm/dummy.h: In function ‘xsm_argo_send’: ./include/xsm/dummy.h:811:26: warning: unused parameter ‘d’ [-Wunused-parameter] 811 | const struct domain *d, const struct domain *t) | ~~~~~~~~~~~~~~~~~~~~~^ ./include/xsm/dummy.h:811:50: warning: unused parameter ‘t’ [-Wunused-parameter] 811 | const struct domain *d, const struct domain *t) | ~~~~~~~~~~~~~~~~~~~~~^ CC lib/strpbrk.o CC lib/strrchr.o CC drivers/char/pl011.o In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/serial.h:13, from drivers/char/pl011.c:21: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/xen/serial.h: At top level: ./include/xen/serial.h:166:1: warning: ‘inline’ is not at beginning of declaration [-Wold-style-declaration] 166 | static void inline xhci_dbc_uart_init(void) {} | ^~~~~~ CC lib/strsep.o In file included from ./include/xen/irq.h:4, from drivers/char/pl011.c:23: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/irq.h:5: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233, from drivers/char/pl011.c:27: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ drivers/char/pl011.c: In function ‘pl011_interrupt’: drivers/char/pl011.c:85:33: warning: unused parameter ‘irq’ [-Wunused-parameter] 85 | static void pl011_interrupt(int irq, void *data) | ~~~~^~~ drivers/char/pl011.c: In function ‘pl011_irq’: drivers/char/pl011.c:198:43: warning: operand of ‘?:’ changes signedness from ‘int’ to ‘unsigned int’ due to unsignedness of other operand [-Wsign-compare] 198 | return ((uart->irq > 0) ? uart->irq : -1); | ^~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7, from ./arch/arm/include/asm/setup.h:5, from ./arch/arm/include/asm/acpi.h:25, from ./include/acpi/platform/aclinux.h:58, from ./include/acpi/platform/acenv.h:142, from ./include/acpi/acpi.h:56, from ./include/xen/acpi.h:57, from drivers/char/pl011.c:338: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ CC lib/strspn.o ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ MKFLASK xsm/flask/include/flask.h ./include/xen/acpi.h: In function ‘acpi_set_cstate_limit’: ./include/xen/acpi.h:192:55: warning: unused parameter ‘new_limit’ [-Wunused-parameter] 192 | static inline void acpi_set_cstate_limit(unsigned int new_limit) { return; } | ~~~~~~~~~~~~~^~~~~~~~~ ./include/xen/acpi.h: In function ‘acpi_set_csubstate_limit’: ./include/xen/acpi.h:194:58: warning: unused parameter ‘new_limit’ [-Wunused-parameter] 194 | static inline void acpi_set_csubstate_limit(unsigned int new_limit) { return; } | ~~~~~~~~~~~~~^~~~~~~~~ drivers/char/pl011.c: In function ‘pl011_acpi_uart_init’: drivers/char/pl011.c:340:52: warning: unused parameter ‘data’ [-Wunused-parameter] 340 | static int __init pl011_acpi_uart_init(const void *data) | ~~~~~~~~~~~~^~~~ MKACCESS VECTOR xsm/flask/include/av_perm_to_string.h CC xsm/flask/avc.o CC lib/strstr.o In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from xsm/flask/avc.c:23: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/rwlock.h:6, from ./include/xen/sched.h:7, from xsm/flask/avc.c:26: ./include/xen/cpumask.h: In function ‘cpumask_last’: CC lib/strtol.o ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/domain.h:5, from ./include/xen/sched.h:11: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233, from ./arch/arm/include/asm/p2m.h:4, from ./arch/arm/include/asm/domain.h:7, from ./include/xen/domain.h:15: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ CC lib/strtoll.o ./arch/arm/include/asm/domain.h: In function ‘arch_vcpu_block’: ./arch/arm/include/asm/domain.h:297:49: warning: unused parameter ‘v’ [-Wunused-parameter] 297 | static inline void arch_vcpu_block(struct vcpu *v) {} | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘update_guest_memory_policy’: ./arch/arm/include/asm/domain.h:309:60: warning: unused parameter ‘v’ [-Wunused-parameter] 309 | static inline void update_guest_memory_policy(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h:310:75: warning: unused parameter ‘gmp’ [-Wunused-parameter] 310 | struct guest_memory_policy *gmp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from ./include/xen/sched.h:25: ./include/xen/vpci.h: In function ‘vpci_assign_device’: ./include/xen/vpci.h:278:54: warning: unused parameter ‘pdev’ [-Wunused-parameter] 278 | static inline int vpci_assign_device(struct pci_dev *pdev) | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_deassign_device’: ./include/xen/vpci.h:283:57: warning: unused parameter ‘pdev’ [-Wunused-parameter] 283 | static inline void vpci_deassign_device(struct pci_dev *pdev) { } | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_read’: ./include/xen/vpci.h:287:45: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:287:64: warning: unused parameter ‘reg’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:288:47: warning: unused parameter ‘size’ [-Wunused-parameter] 288 | unsigned int size) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_write’: ./include/xen/vpci.h:294:42: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:294:61: warning: unused parameter ‘reg’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:295:44: warning: unused parameter ‘size’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h:295:59: warning: unused parameter ‘data’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_process_pending’: ./include/xen/vpci.h:300:67: warning: unused parameter ‘v’ [-Wunused-parameter] 300 | static inline bool __must_check vpci_process_pending(struct vcpu *v) | ~~~~~~~~~~~~~^ ./include/xen/sched.h: In function ‘is_pv_32bit_domain’: ./include/xen/sched.h:1131:67: warning: unused parameter ‘d’ [-Wunused-parameter] 1131 | static always_inline bool is_pv_32bit_domain(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ xsm/flask/avc.c: In function ‘avc_printk’: xsm/flask/avc.c:126:12: warning: comparison of integer expressions of different signedness: ‘int’ and ‘u32’ {aka ‘unsigned int’} [-Wsign-compare] 126 | if ( i < buf->free ) | ^ xsm/flask/avc.c: In function ‘avc_dump_av’: xsm/flask/avc.c:167:15: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] 167 | while ( i < sizeof(av) * 8 ) | ^ xsm/flask/avc.c:171:30: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] 171 | for ( i2 = 0; i2 < ARRAY_SIZE(av_perm_to_string); i2++ ) | ^ xsm/flask/avc.c:174:51: warning: comparison of integer expressions of different signedness: ‘u32’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 174 | (av_perm_to_string[i2].value == perm) ) | ^~ xsm/flask/avc.c:177:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] 177 | if ( i2 < ARRAY_SIZE(av_perm_to_string) ) | ^ xsm/flask/avc.c: In function ‘avc_alloc_node’: xsm/flask/avc.c:358:47: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 358 | if ( atomic_read(&avc_cache.active_nodes) > avc_cache_threshold ) | ^ xsm/flask/avc.c: In function ‘avc_latest_notif_update’: xsm/flask/avc.c:435:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘u32’ {aka ‘unsigned int’} [-Wsign-compare] 435 | if ( seqno < avc_cache.latest_notif ) | ^ xsm/flask/avc.c:444:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘u32’ {aka ‘unsigned int’} [-Wsign-compare] 444 | if ( seqno > avc_cache.latest_notif ) | ^ CC lib/strtoul.o CC lib/strtoull.o CC lib/built_in.o AR lib/lib.a CC drivers/char/meson-uart.o In file included from ./include/xen/irq.h:4, from drivers/char/meson-uart.c:22: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/rcupdate.h:36, from ./include/xen/irq.h:5: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233, from drivers/char/meson-uart.c:23: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from drivers/char/meson-uart.c:24: ./include/xen/serial.h: At top level: ./include/xen/serial.h:166:1: warning: ‘inline’ is not at beginning of declaration [-Wold-style-declaration] 166 | static void inline xhci_dbc_uart_init(void) {} | ^~~~~~ drivers/char/meson-uart.c: In function ‘meson_uart_interrupt’: drivers/char/meson-uart.c:64:38: warning: unused parameter ‘irq’ [-Wunused-parameter] 64 | static void meson_uart_interrupt(int irq, void *data) | ~~~~^~~ LDS arch/arm/xen.lds CC drivers/char/mvebu-uart.o In file included from ./include/xen/irq.h:4, from drivers/char/mvebu-uart.c:22: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/rcupdate.h:36, from ./include/xen/irq.h:5: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233, from drivers/char/mvebu-uart.c:23: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from drivers/char/mvebu-uart.c:24: ./include/xen/serial.h: At top level: ./include/xen/serial.h:166:1: warning: ‘inline’ is not at beginning of declaration [-Wold-style-declaration] 166 | static void inline xhci_dbc_uart_init(void) {} | ^~~~~~ drivers/char/mvebu-uart.c: In function ‘mvebu3700_uart_interrupt’: drivers/char/mvebu-uart.c:70:42: warning: unused parameter ‘irq’ [-Wunused-parameter] 70 | static void mvebu3700_uart_interrupt(int irq, void *data) | ~~~~^~~ CC arch/arm/arm64/lib/memcpy.o CC xsm/flask/hooks.o CC arch/arm/arm64/lib/memcmp.o In file included from ./include/xen/irq.h:4, from xsm/flask/hooks.c:12: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: CC common/bitmap.o ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/rcupdate.h:36, from ./include/xen/irq.h:5: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ CC arch/arm/arm64/lib/memmove.o In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ CC drivers/char/omap-uart.o ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ CC arch/arm/arm64/lib/memset.o In file included from common/bitmap.c:12: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/sched.h:6, from ./arch/arm/include/asm/guest_access.h:5, from ./include/xen/guest_access.h:10, from common/bitmap.c:13: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/serial.h:13, from drivers/char/omap-uart.c:14: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./include/xen/domain.h:5, from ./include/xen/sched.h:11, from xsm/flask/hooks.c:14: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233, from ./arch/arm/include/asm/p2m.h:4, from ./arch/arm/include/asm/domain.h:7, from ./include/xen/domain.h:15: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ ./include/xen/serial.h: At top level: ./include/xen/serial.h:166:1: warning: ‘inline’ is not at beginning of declaration [-Wold-style-declaration] 166 | static void inline xhci_dbc_uart_init(void) {} | ^~~~~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ In file included from ./include/xen/domain.h:5, from ./include/xen/sched.h:11: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ In file included from ./include/xen/irq.h:4, from drivers/char/omap-uart.c:16: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/irq.h:5: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233, from ./arch/arm/include/asm/p2m.h:4, from ./arch/arm/include/asm/domain.h:7, from ./include/xen/domain.h:15: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘arch_vcpu_block’: ./arch/arm/include/asm/domain.h:297:49: warning: unused parameter ‘v’ [-Wunused-parameter] 297 | static inline void arch_vcpu_block(struct vcpu *v) {} | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘update_guest_memory_policy’: ./arch/arm/include/asm/domain.h:309:60: warning: unused parameter ‘v’ [-Wunused-parameter] 309 | static inline void update_guest_memory_policy(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h:310:75: warning: unused parameter ‘gmp’ [-Wunused-parameter] 310 | struct guest_memory_policy *gmp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ CC arch/arm/arm64/lib/memchr.o In file included from ./include/xen/sched.h:25: ./include/xen/vpci.h: In function ‘vpci_assign_device’: ./include/xen/vpci.h:278:54: warning: unused parameter ‘pdev’ [-Wunused-parameter] 278 | static inline int vpci_assign_device(struct pci_dev *pdev) | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_deassign_device’: ./include/xen/vpci.h:283:57: warning: unused parameter ‘pdev’ [-Wunused-parameter] 283 | static inline void vpci_deassign_device(struct pci_dev *pdev) { } | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_read’: ./include/xen/vpci.h:287:45: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:287:64: warning: unused parameter ‘reg’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:288:47: warning: unused parameter ‘size’ [-Wunused-parameter] 288 | unsigned int size) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_write’: ./include/xen/vpci.h:294:42: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:294:61: warning: unused parameter ‘reg’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:295:44: warning: unused parameter ‘size’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h:295:59: warning: unused parameter ‘data’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~^~~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233, from drivers/char/omap-uart.c:20: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/vpci.h: In function ‘vpci_process_pending’: ./include/xen/vpci.h:300:67: warning: unused parameter ‘v’ [-Wunused-parameter] 300 | static inline bool __must_check vpci_process_pending(struct vcpu *v) | ~~~~~~~~~~~~~^ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ ./arch/arm/include/asm/domain.h: In function ‘arch_vcpu_block’: ./arch/arm/include/asm/domain.h:297:49: warning: unused parameter ‘v’ [-Wunused-parameter] 297 | static inline void arch_vcpu_block(struct vcpu *v) {} | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘update_guest_memory_policy’: ./arch/arm/include/asm/domain.h:309:60: warning: unused parameter ‘v’ [-Wunused-parameter] 309 | static inline void update_guest_memory_policy(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h:310:75: warning: unused parameter ‘gmp’ [-Wunused-parameter] 310 | struct guest_memory_policy *gmp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ drivers/char/omap-uart.c: In function ‘omap_uart_interrupt’: drivers/char/omap-uart.c:63:37: warning: unused parameter ‘irq’ [-Wunused-parameter] 63 | static void omap_uart_interrupt(int irq, void *data) | ~~~~^~~ ./include/xen/sched.h: In function ‘is_pv_32bit_domain’: ./include/xen/sched.h:1131:67: warning: unused parameter ‘d’ [-Wunused-parameter] 1131 | static always_inline bool is_pv_32bit_domain(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ In file included from ./include/xen/sched.h:25: ./include/xen/vpci.h: In function ‘vpci_assign_device’: In file included from ././include/xen/config.h:17, from : drivers/char/omap-uart.c: In function ‘omap_uart_tx_ready’: ./include/xen/vpci.h:278:54: warning: unused parameter ‘pdev’ [-Wunused-parameter] 278 | static inline int vpci_assign_device(struct pci_dev *pdev) | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_deassign_device’: ./include/xen/vpci.h:283:57: warning: unused parameter ‘pdev’ [-Wunused-parameter] 283 | static inline void vpci_deassign_device(struct pci_dev *pdev) { } | ~~~~~~~~~~~~~~~~^~~~ drivers/char/omap-uart.c:261:17: warning: comparison is always true due to limited range of data type [-Wtype-limits] 261 | ASSERT( cnt >= 0 && cnt <= uart->fifo_size ); | ^~ ./include/xen/compiler.h:21:43: note: in definition of macro ‘unlikely’ 21 | #define unlikely(x) __builtin_expect(!!(x),0) | ^ drivers/char/omap-uart.c:261:5: note: in expansion of macro ‘ASSERT’ 261 | ASSERT( cnt >= 0 && cnt <= uart->fifo_size ); | ^~~~~~ ./include/xen/vpci.h: In function ‘vpci_read’: ./include/xen/vpci.h:287:45: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:287:64: warning: unused parameter ‘reg’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:288:47: warning: unused parameter ‘size’ [-Wunused-parameter] 288 | unsigned int size) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_write’: ./include/xen/vpci.h:294:42: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:294:61: warning: unused parameter ‘reg’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:295:44: warning: unused parameter ‘size’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h:295:59: warning: unused parameter ‘data’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~^~~~ drivers/char/omap-uart.c: In function ‘omap_uart_irq’: ./include/xen/vpci.h: In function ‘vpci_process_pending’: drivers/char/omap-uart.c:288:43: warning: operand of ‘?:’ changes signedness from ‘int’ to ‘unsigned int’ due to unsignedness of other operand [-Wsign-compare] 288 | return ((uart->irq > 0) ? uart->irq : -1); | ^~ ./include/xen/vpci.h:300:67: warning: unused parameter ‘v’ [-Wunused-parameter] 300 | static inline bool __must_check vpci_process_pending(struct vcpu *v) | ~~~~~~~~~~~~~^ In file included from xsm/flask/hooks.c:17: ./include/xsm/xsm.h: In function ‘xsm_domain_create’: ./include/xsm/xsm.h:224:19: warning: unused parameter ‘def’ [-Wunused-parameter] 224 | xsm_default_t def, struct domain *d, uint32_t ssidref) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_getdomaininfo’: ./include/xsm/xsm.h:229:51: warning: unused parameter ‘def’ [-Wunused-parameter] 229 | static inline int xsm_getdomaininfo(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_domctl_scheduler_op’: ./include/xsm/xsm.h:235:19: warning: unused parameter ‘def’ [-Wunused-parameter] 235 | xsm_default_t def, struct domain *d, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_sysctl_scheduler_op’: ./include/xsm/xsm.h:240:57: warning: unused parameter ‘def’ [-Wunused-parameter] 240 | static inline int xsm_sysctl_scheduler_op(xsm_default_t def, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_set_target’: ./include/xsm/xsm.h:246:19: warning: unused parameter ‘def’ [-Wunused-parameter] 246 | xsm_default_t def, struct domain *d, struct domain *e) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_domctl’: ./include/xsm/xsm.h:251:44: warning: unused parameter ‘def’ [-Wunused-parameter] 251 | static inline int xsm_domctl(xsm_default_t def, struct domain *d, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_sysctl’: ./include/xsm/xsm.h:256:44: warning: unused parameter ‘def’ [-Wunused-parameter] 256 | static inline int xsm_sysctl(xsm_default_t def, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_readconsole’: ./include/xsm/xsm.h:261:49: warning: unused parameter ‘def’ [-Wunused-parameter] 261 | static inline int xsm_readconsole(xsm_default_t def, uint32_t clear) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_unbound’: ./include/xsm/xsm.h:267:19: warning: unused parameter ‘def’ [-Wunused-parameter] 267 | xsm_default_t def, struct domain *d1, struct evtchn *chn, domid_t id2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_interdomain’: ./include/xsm/xsm.h:273:19: warning: unused parameter ‘def’ [-Wunused-parameter] 273 | xsm_default_t def, struct domain *d1, struct evtchn *chan1, | ~~~~~~~~~~~~~~^~~ ./include/xen/sched.h: In function ‘is_pv_32bit_domain’: ./include/xsm/xsm.h: In function ‘xsm_evtchn_send’: ./include/xen/sched.h:1131:67: warning: unused parameter ‘d’ [-Wunused-parameter] 1131 | static always_inline bool is_pv_32bit_domain(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ ./include/xsm/xsm.h:285:19: warning: unused parameter ‘def’ [-Wunused-parameter] 285 | xsm_default_t def, struct domain *d, struct evtchn *chn) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_status’: ./include/xsm/xsm.h:291:19: warning: unused parameter ‘def’ [-Wunused-parameter] 291 | xsm_default_t def, struct domain *d, struct evtchn *chn) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_reset’: ./include/xsm/xsm.h:297:19: warning: unused parameter ‘def’ [-Wunused-parameter] 297 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_mapref’: ./include/xsm/xsm.h:303:19: warning: unused parameter ‘def’ [-Wunused-parameter] 303 | xsm_default_t def, struct domain *d1, struct domain *d2, uint32_t flags) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_unmapref’: ./include/xsm/xsm.h:309:19: warning: unused parameter ‘def’ [-Wunused-parameter] 309 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_setup’: ./include/xsm/xsm.h:315:19: warning: unused parameter ‘def’ [-Wunused-parameter] 315 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_transfer’: ./include/xsm/xsm.h:321:19: warning: unused parameter ‘def’ [-Wunused-parameter] 321 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_copy’: ./include/xsm/xsm.h:327:19: warning: unused parameter ‘def’ [-Wunused-parameter] 327 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_query_size’: ./include/xsm/xsm.h:333:19: warning: unused parameter ‘def’ [-Wunused-parameter] 333 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_init_hardware_domain’: ./include/xsm/xsm.h:366:58: warning: unused parameter ‘def’ [-Wunused-parameter] 366 | static inline int xsm_init_hardware_domain(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_get_pod_target’: ./include/xsm/xsm.h:371:52: warning: unused parameter ‘def’ [-Wunused-parameter] 371 | static inline int xsm_get_pod_target(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_set_pod_target’: ./include/xsm/xsm.h:376:52: warning: unused parameter ‘def’ [-Wunused-parameter] 376 | static inline int xsm_set_pod_target(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_exchange’: ./include/xsm/xsm.h:381:53: warning: unused parameter ‘def’ [-Wunused-parameter] 381 | static inline int xsm_memory_exchange(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_adjust_reservation’: ./include/xsm/xsm.h:387:19: warning: unused parameter ‘def’ [-Wunused-parameter] 387 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_stat_reservation’: ./include/xsm/xsm.h:393:19: warning: unused parameter ‘def’ [-Wunused-parameter] 393 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_pin_page’: ./include/xsm/xsm.h:399:19: warning: unused parameter ‘def’ [-Wunused-parameter] 399 | xsm_default_t def, struct domain *d1, struct domain *d2, | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_add_to_physmap’: ./include/xsm/xsm.h:406:19: warning: unused parameter ‘def’ [-Wunused-parameter] 406 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_remove_from_physmap’: ./include/xsm/xsm.h:412:19: warning: unused parameter ‘def’ [-Wunused-parameter] 412 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_map_gmfn_foreign’: ./include/xsm/xsm.h:418:19: warning: unused parameter ‘def’ [-Wunused-parameter] 418 | xsm_default_t def, struct domain *d, struct domain *t) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_claim_pages’: ./include/xsm/xsm.h:423:49: warning: unused parameter ‘def’ [-Wunused-parameter] 423 | static inline int xsm_claim_pages(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_console_io’: ./include/xsm/xsm.h:428:48: warning: unused parameter ‘def’ [-Wunused-parameter] 428 | static inline int xsm_console_io(xsm_default_t def, struct domain *d, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_profile’: ./include/xsm/xsm.h:433:45: warning: unused parameter ‘def’ [-Wunused-parameter] 433 | static inline int xsm_profile(xsm_default_t def, struct domain *d, int op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_kexec’: ./include/xsm/xsm.h:438:43: warning: unused parameter ‘def’ [-Wunused-parameter] 438 | static inline int xsm_kexec(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_schedop_shutdown’: ./include/xsm/xsm.h:444:19: warning: unused parameter ‘def’ [-Wunused-parameter] 444 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_map_domain_pirq’: ./include/xsm/xsm.h:454:53: warning: unused parameter ‘def’ [-Wunused-parameter] 454 | static inline int xsm_map_domain_pirq(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_map_domain_irq’: ./include/xsm/xsm.h:460:19: warning: unused parameter ‘def’ [-Wunused-parameter] 460 | xsm_default_t def, struct domain *d, int irq, void *data) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_unmap_domain_pirq’: ./include/xsm/xsm.h:465:55: warning: unused parameter ‘def’ [-Wunused-parameter] 465 | static inline int xsm_unmap_domain_pirq(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_unmap_domain_irq’: ./include/xsm/xsm.h:471:19: warning: unused parameter ‘def’ [-Wunused-parameter] 471 | xsm_default_t def, struct domain *d, int irq, void *data) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_bind_pt_irq’: ./include/xsm/xsm.h:477:19: warning: unused parameter ‘def’ [-Wunused-parameter] 477 | xsm_default_t def, struct domain *d, struct xen_domctl_bind_pt_irq *bind) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_unbind_pt_irq’: ./include/xsm/xsm.h:483:19: warning: unused parameter ‘def’ [-Wunused-parameter] 483 | xsm_default_t def, struct domain *d, struct xen_domctl_bind_pt_irq *bind) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_irq_permission’: ./include/xsm/xsm.h:489:19: warning: unused parameter ‘def’ [-Wunused-parameter] 489 | xsm_default_t def, struct domain *d, int pirq, uint8_t allow) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_iomem_permission’: ./include/xsm/xsm.h:495:19: warning: unused parameter ‘def’ [-Wunused-parameter] 495 | xsm_default_t def, struct domain *d, uint64_t s, uint64_t e, uint8_t allow) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_iomem_mapping’: ./include/xsm/xsm.h:501:19: warning: unused parameter ‘def’ [-Wunused-parameter] 501 | xsm_default_t def, struct domain *d, uint64_t s, uint64_t e, uint8_t allow) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_pci_config_permission’: ./include/xsm/xsm.h:507:19: warning: unused parameter ‘def’ [-Wunused-parameter] 507 | xsm_default_t def, struct domain *d, uint32_t machine_bdf, uint16_t start, | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_assign_dtdevice’: ./include/xsm/xsm.h:534:19: warning: unused parameter ‘def’ [-Wunused-parameter] 534 | xsm_default_t def, struct domain *d, const char *dtpath) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_deassign_dtdevice’: ./include/xsm/xsm.h:540:19: warning: unused parameter ‘def’ [-Wunused-parameter] 540 | xsm_default_t def, struct domain *d, const char *dtpath) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_plug_pci’: ./include/xsm/xsm.h:547:55: warning: unused parameter ‘def’ [-Wunused-parameter] 547 | static inline int xsm_resource_plug_pci(xsm_default_t def, uint32_t machine_bdf) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_unplug_pci’: ./include/xsm/xsm.h:553:19: warning: unused parameter ‘def’ [-Wunused-parameter] 553 | xsm_default_t def, uint32_t machine_bdf) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_plug_core’: ./include/xsm/xsm.h:558:56: warning: unused parameter ‘def’ [-Wunused-parameter] 558 | static inline int xsm_resource_plug_core(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_unplug_core’: ./include/xsm/xsm.h:563:58: warning: unused parameter ‘def’ [-Wunused-parameter] 563 | static inline int xsm_resource_unplug_core(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_setup_pci’: ./include/xsm/xsm.h:569:19: warning: unused parameter ‘def’ [-Wunused-parameter] 569 | xsm_default_t def, uint32_t machine_bdf) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_setup_gsi’: ./include/xsm/xsm.h:574:56: warning: unused parameter ‘def’ [-Wunused-parameter] 574 | static inline int xsm_resource_setup_gsi(xsm_default_t def, int gsi) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_setup_misc’: ./include/xsm/xsm.h:579:57: warning: unused parameter ‘def’ [-Wunused-parameter] 579 | static inline int xsm_resource_setup_misc(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_page_offline’: ./include/xsm/xsm.h:584:50: warning: unused parameter ‘def’ [-Wunused-parameter] 584 | static inline int xsm_page_offline(xsm_default_t def, uint32_t cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hypfs_op’: ./include/xsm/xsm.h:589:46: warning: unused parameter ‘def’ [-Wunused-parameter] 589 | static inline int xsm_hypfs_op(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hvm_param’: ./include/xsm/xsm.h:607:19: warning: unused parameter ‘def’ [-Wunused-parameter] 607 | xsm_default_t def, struct domain *d, unsigned long op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hvm_param_altp2mhvm’: ./include/xsm/xsm.h:612:57: warning: unused parameter ‘def’ [-Wunused-parameter] 612 | static inline int xsm_hvm_param_altp2mhvm(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hvm_altp2mhvm_op’: ./include/xsm/xsm.h:618:19: warning: unused parameter ‘def’ [-Wunused-parameter] 618 | xsm_default_t def, struct domain *d, uint64_t mode, uint32_t op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_get_vnumainfo’: ./include/xsm/xsm.h:623:51: warning: unused parameter ‘def’ [-Wunused-parameter] 623 | static inline int xsm_get_vnumainfo(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_vm_event_control’: ./include/xsm/xsm.h:629:19: warning: unused parameter ‘def’ [-Wunused-parameter] 629 | xsm_default_t def, struct domain *d, int mode, int op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_mem_access’: ./include/xsm/xsm.h:635:48: warning: unused parameter ‘def’ [-Wunused-parameter] 635 | static inline int xsm_mem_access(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_platform_op’: ./include/xsm/xsm.h:655:49: warning: unused parameter ‘def’ [-Wunused-parameter] 655 | static inline int xsm_platform_op(xsm_default_t def, uint32_t op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_dm_op’: ./include/xsm/xsm.h:738:43: warning: unused parameter ‘def’ [-Wunused-parameter] 738 | static inline int xsm_dm_op(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_xen_version’: ./include/xsm/xsm.h:743:49: warning: unused parameter ‘def’ [-Wunused-parameter] 743 | static inline int xsm_xen_version(xsm_default_t def, uint32_t op) | ~~~~~~~~~~~~~~^~~ CC arch/arm/arm64/lib/clear_page.o ./include/xsm/xsm.h: In function ‘xsm_domain_resource_map’: ./include/xsm/xsm.h:748:57: warning: unused parameter ‘def’ [-Wunused-parameter] 748 | static inline int xsm_domain_resource_map(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ In file included from xsm/flask/hooks.c:22: ./include/xen/xenoprof.h: In function ‘acquire_pmu_ownership’: ./include/xen/xenoprof.h:39:45: warning: unused parameter ‘pmu_ownership’ [-Wunused-parameter] 39 | static inline int acquire_pmu_ownership(int pmu_ownership) | ~~~~^~~~~~~~~~~~~ ./include/xen/xenoprof.h: In function ‘release_pmu_ownership’: ./include/xen/xenoprof.h:44:46: warning: unused parameter ‘pmu_ownership’ [-Wunused-parameter] 44 | static inline void release_pmu_ownership(int pmu_ownership) | ~~~~^~~~~~~~~~~~~ xsm/flask/hooks.c: In function ‘get_irq_sid’: xsm/flask/hooks.c:116:14: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 116 | if ( irq >= nr_irqs || irq < 0 ) | ^~ xsm/flask/hooks.c: In function ‘flask_show_security_evtchn’: xsm/flask/hooks.c:384:20: warning: unused parameter ‘d’ [-Wunused-parameter] 384 | struct domain *d, const struct evtchn *chn) | ~~~~~~~~~~~~~~~^ xsm/flask/hooks.c: In function ‘flask_memory_pin_page’: xsm/flask/hooks.c:479:61: warning: unused parameter ‘page’ [-Wunused-parameter] 479 | struct domain *d1, struct domain *d2, struct page_info *page) | ~~~~~~~~~~~~~~~~~~^~~~ xsm/flask/hooks.c: In function ‘flask_map_domain_msi’: xsm/flask/hooks.c:952:20: warning: unused parameter ‘d’ [-Wunused-parameter] 952 | struct domain *d, int irq, const void *data, uint32_t *sid, | ~~~~~~~~~~~~~~~^ xsm/flask/hooks.c:952:27: warning: unused parameter ‘irq’ [-Wunused-parameter] 952 | struct domain *d, int irq, const void *data, uint32_t *sid, | ~~~~^~~ xsm/flask/hooks.c:952:44: warning: unused parameter ‘data’ [-Wunused-parameter] 952 | struct domain *d, int irq, const void *data, uint32_t *sid, | ~~~~~~~~~~~~^~~~ xsm/flask/hooks.c:952:60: warning: unused parameter ‘sid’ [-Wunused-parameter] 952 | struct domain *d, int irq, const void *data, uint32_t *sid, | ~~~~~~~~~~^~~ xsm/flask/hooks.c:953:28: warning: unused parameter ‘ad’ [-Wunused-parameter] 953 | struct avc_audit_data *ad) | ~~~~~~~~~~~~~~~~~~~~~~~^~ xsm/flask/hooks.c: In function ‘flask_unmap_domain_msi’: xsm/flask/hooks.c:1019:20: warning: unused parameter ‘d’ [-Wunused-parameter] 1019 | struct domain *d, int irq, const void *data, uint32_t *sid, | ~~~~~~~~~~~~~~~^ xsm/flask/hooks.c:1019:27: warning: unused parameter ‘irq’ [-Wunused-parameter] 1019 | struct domain *d, int irq, const void *data, uint32_t *sid, | ~~~~^~~ xsm/flask/hooks.c:1019:44: warning: unused parameter ‘data’ [-Wunused-parameter] 1019 | struct domain *d, int irq, const void *data, uint32_t *sid, | ~~~~~~~~~~~~^~~~ xsm/flask/hooks.c:1019:60: warning: unused parameter ‘sid’ [-Wunused-parameter] 1019 | struct domain *d, int irq, const void *data, uint32_t *sid, | ~~~~~~~~~~^~~ xsm/flask/hooks.c:1020:28: warning: unused parameter ‘ad’ [-Wunused-parameter] 1020 | struct avc_audit_data *ad) | ~~~~~~~~~~~~~~~~~~~~~~~^~ xsm/flask/hooks.c: In function ‘flask_unbind_pt_irq’: xsm/flask/hooks.c:1082:54: warning: unused parameter ‘bind’ [-Wunused-parameter] 1082 | struct domain *d, struct xen_domctl_bind_pt_irq *bind) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ xsm/flask/hooks.c: In function ‘flask_irq_permission’: xsm/flask/hooks.c:1088:27: warning: unused parameter ‘pirq’ [-Wunused-parameter] 1088 | struct domain *d, int pirq, uint8_t access) | ~~~~^~~~ CC arch/arm/arm64/lib/bitops.o xsm/flask/hooks.c: In function ‘flask_vm_event_control’: xsm/flask/hooks.c:1336:66: warning: unused parameter ‘mode’ [-Wunused-parameter] 1336 | static int cf_check flask_vm_event_control(struct domain *d, int mode, int op) | ~~~~^~~~ xsm/flask/hooks.c:1336:76: warning: unused parameter ‘op’ [-Wunused-parameter] 1336 | static int cf_check flask_vm_event_control(struct domain *d, int mode, int op) | ~~~~^~ CC arch/arm/arm64/lib/strchr.o CC drivers/char/scif-uart.o CC arch/arm/arm64/lib/strcmp.o In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/serial.h:13, from drivers/char/scif-uart.c:23: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/xen/serial.h: At top level: ./include/xen/serial.h:166:1: warning: ‘inline’ is not at beginning of declaration [-Wold-style-declaration] 166 | static void inline xhci_dbc_uart_init(void) {} | ^~~~~~ CC arch/arm/arm64/lib/strlen.o In file included from ./include/xen/irq.h:4, from drivers/char/scif-uart.c:25: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/irq.h:5: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233, from drivers/char/scif-uart.c:26: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ drivers/char/scif-uart.c: In function ‘scif_uart_interrupt’: drivers/char/scif-uart.c:105:37: warning: unused parameter ‘irq’ [-Wunused-parameter] 105 | static void scif_uart_interrupt(int irq, void *data) | ~~~~^~~ CC arch/arm/arm64/lib/strncmp.o drivers/char/scif-uart.c: In function ‘scif_uart_irq’: drivers/char/scif-uart.c:250:43: warning: operand of ‘?:’ changes signedness from ‘int’ to ‘unsigned int’ due to unsignedness of other operand [-Wsign-compare] 250 | return ((uart->irq > 0) ? uart->irq : -1); | ^~ CC arch/arm/arm64/lib/strnlen.o CC arch/arm/arm64/lib/strrchr.o BINFILE common/config_data.S gzip -n -c .config >common/config.gz LD arch/arm/arm64/lib/built_in.o CC common/cpu.o In file included from common/cpu.c:1: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/cpu.h:5, from common/cpu.c:2: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./include/xen/domain.h:5, from ./include/xen/sched.h:11, from ./include/xen/event.h:12, from common/cpu.c:3: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233, from ./arch/arm/include/asm/p2m.h:4, from ./arch/arm/include/asm/domain.h:7, from ./include/xen/domain.h:15: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ CC arch/arm/arm64/mmu/head.o ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘arch_vcpu_block’: ./arch/arm/include/asm/domain.h:297:49: warning: unused parameter ‘v’ [-Wunused-parameter] 297 | static inline void arch_vcpu_block(struct vcpu *v) {} | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘update_guest_memory_policy’: ./arch/arm/include/asm/domain.h:309:60: warning: unused parameter ‘v’ [-Wunused-parameter] 309 | static inline void update_guest_memory_policy(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h:310:75: warning: unused parameter ‘gmp’ [-Wunused-parameter] 310 | struct guest_memory_policy *gmp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from ./include/xen/sched.h:25: ./include/xen/vpci.h: In function ‘vpci_assign_device’: ./include/xen/vpci.h:278:54: warning: unused parameter ‘pdev’ [-Wunused-parameter] 278 | static inline int vpci_assign_device(struct pci_dev *pdev) | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_deassign_device’: ./include/xen/vpci.h:283:57: warning: unused parameter ‘pdev’ [-Wunused-parameter] 283 | static inline void vpci_deassign_device(struct pci_dev *pdev) { } | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_read’: ./include/xen/vpci.h:287:45: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:287:64: warning: unused parameter ‘reg’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:288:47: warning: unused parameter ‘size’ [-Wunused-parameter] 288 | unsigned int size) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_write’: ./include/xen/vpci.h:294:42: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:294:61: warning: unused parameter ‘reg’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:295:44: warning: unused parameter ‘size’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h:295:59: warning: unused parameter ‘data’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_process_pending’: ./include/xen/vpci.h:300:67: warning: unused parameter ‘v’ [-Wunused-parameter] 300 | static inline bool __must_check vpci_process_pending(struct vcpu *v) | ~~~~~~~~~~~~~^ ./include/xen/sched.h: In function ‘is_pv_32bit_domain’: ./include/xen/sched.h:1131:67: warning: unused parameter ‘d’ [-Wunused-parameter] 1131 | static always_inline bool is_pv_32bit_domain(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ In file included from ./include/xen/event.h:17: ./arch/arm/include/asm/event.h: In function ‘arch_virq_is_global’: ./arch/arm/include/asm/event.h:50:53: warning: unused parameter ‘virq’ [-Wunused-parameter] 50 | static inline bool arch_virq_is_global(unsigned int virq) | ~~~~~~~~~~~~~^~~~ CC arch/arm/arm64/mmu/mm.o common/cpu.c: In function ‘_take_cpu_down’: common/cpu.c:92:43: warning: unused parameter ‘unused’ [-Wunused-parameter] 92 | static void cf_check _take_cpu_down(void *unused) | ~~~~~~^~~~~~ common/cpu.c: In function ‘disable_nonboot_cpus’: ./include/xen/cpumask.h:375:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 375 | (cpu) < nr_cpu_ids; \ | ^ ./include/xen/cpumask.h:459:36: note: in expansion of macro ‘for_each_cpu’ 459 | #define for_each_online_cpu(cpu) for_each_cpu(cpu, &cpu_online_map) | ^~~~~~~~~~~~ common/cpu.c:199:5: note: in expansion of macro ‘for_each_online_cpu’ 199 | for_each_online_cpu ( cpu ) | ^~~~~~~~~~~~~~~~~~~ common/cpu.c: In function ‘enable_nonboot_cpus’: ./include/xen/cpumask.h:375:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 375 | (cpu) < nr_cpu_ids; \ | ^ ./include/xen/cpumask.h:460:36: note: in expansion of macro ‘for_each_cpu’ 460 | #define for_each_present_cpu(cpu) for_each_cpu(cpu, &cpu_present_map) | ^~~~~~~~~~~~ common/cpu.c:224:5: note: in expansion of macro ‘for_each_present_cpu’ 224 | for_each_present_cpu ( cpu ) | ^~~~~~~~~~~~~~~~~~~~ ./include/xen/cpumask.h:375:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 375 | (cpu) < nr_cpu_ids; \ | ^ common/cpu.c:239:5: note: in expansion of macro ‘for_each_cpu’ 239 | for_each_cpu ( cpu, &frozen_cpus ) | ^~~~~~~~~~~~ In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/mm.h:69, from arch/arm/arm64/mmu/mm.c:4: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/perfc.h:7, from ./include/xen/mm.h:70: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5, from ./arch/arm/include/asm/setup.h:5, from arch/arm/arm64/mmu/mm.c:7: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ CC drivers/char/imx-lpuart.o In file included from ./arch/arm/include/asm/kernel.h:10, from ./arch/arm/include/asm/static-memory.h:7, from arch/arm/arm64/mmu/mm.c:8: ./arch/arm/include/asm/domain.h: In function ‘arch_vcpu_block’: ./arch/arm/include/asm/domain.h:297:49: warning: unused parameter ‘v’ [-Wunused-parameter] 297 | static inline void arch_vcpu_block(struct vcpu *v) {} | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘update_guest_memory_policy’: ./arch/arm/include/asm/domain.h:309:60: warning: unused parameter ‘v’ [-Wunused-parameter] 309 | static inline void update_guest_memory_policy(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h:310:75: warning: unused parameter ‘gmp’ [-Wunused-parameter] 310 | struct guest_memory_policy *gmp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from ./include/xen/irq.h:4, from drivers/char/imx-lpuart.c:22: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/rcupdate.h:36, from ./include/xen/irq.h:5: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233, from drivers/char/imx-lpuart.c:23: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from drivers/char/imx-lpuart.c:24: ./include/xen/serial.h: At top level: ./include/xen/serial.h:166:1: warning: ‘inline’ is not at beginning of declaration [-Wold-style-declaration] 166 | static void inline xhci_dbc_uart_init(void) {} | ^~~~~~ drivers/char/imx-lpuart.c: In function ‘imx_lpuart_interrupt’: drivers/char/imx-lpuart.c:39:38: warning: unused parameter ‘irq’ [-Wunused-parameter] 39 | static void imx_lpuart_interrupt(int irq, void *data) | ~~~~^~~ drivers/char/imx-lpuart.c: In function ‘imx_lpuart_irq’: drivers/char/imx-lpuart.c:141:43: warning: operand of ‘?:’ changes signedness from ‘int’ to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare] 141 | return ((uart->irq > 0) ? uart->irq : -1); | ^~ CC xsm/flask/flask_op.o CC common/debugtrace.o In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/sched.h:6, from ./include/xen/event.h:12, from xsm/flask/flask_op.c:12: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/cpu.h:5, from common/debugtrace.c:9: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/rwlock.h:6, from ./include/xen/sched.h:7: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./include/xen/domain.h:5, from ./include/xen/sched.h:11: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233, from ./arch/arm/include/asm/p2m.h:4, from ./arch/arm/include/asm/domain.h:7, from ./include/xen/domain.h:15: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/perfc.h:7, from ./include/xen/mm.h:70, from common/debugtrace.c:13: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./arch/arm/include/asm/domain.h: In function ‘arch_vcpu_block’: ./arch/arm/include/asm/domain.h:297:49: warning: unused parameter ‘v’ [-Wunused-parameter] 297 | static inline void arch_vcpu_block(struct vcpu *v) {} | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘update_guest_memory_policy’: ./arch/arm/include/asm/domain.h:309:60: warning: unused parameter ‘v’ [-Wunused-parameter] 309 | static inline void update_guest_memory_policy(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h:310:75: warning: unused parameter ‘gmp’ [-Wunused-parameter] 310 | struct guest_memory_policy *gmp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from common/debugtrace.c:14: ./include/xen/param.h: In function ‘no_config_param’: ./include/xen/param.h:193:19: warning: operand of ‘?:’ changes signedness from ‘long int’ to ‘size_t’ {aka ‘long unsigned int’} due to unsignedness of other operand [-Wsign-compare] 193 | int len = e ? ({ ASSERT(e >= s); e - s; }) : strlen(s); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from common/debugtrace.c:16: ./include/xen/serial.h: At top level: ./include/xen/serial.h:166:1: warning: ‘inline’ is not at beginning of declaration [-Wold-style-declaration] 166 | static void inline xhci_dbc_uart_init(void) {} | ^~~~~~ In file included from ./include/xen/sched.h:25: ./include/xen/vpci.h: In function ‘vpci_assign_device’: ./include/xen/vpci.h:278:54: warning: unused parameter ‘pdev’ [-Wunused-parameter] 278 | static inline int vpci_assign_device(struct pci_dev *pdev) | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_deassign_device’: ./include/xen/vpci.h:283:57: warning: unused parameter ‘pdev’ [-Wunused-parameter] 283 | static inline void vpci_deassign_device(struct pci_dev *pdev) { } | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_read’: ./include/xen/vpci.h:287:45: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:287:64: warning: unused parameter ‘reg’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:288:47: warning: unused parameter ‘size’ [-Wunused-parameter] 288 | unsigned int size) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_write’: ./include/xen/vpci.h:294:42: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:294:61: warning: unused parameter ‘reg’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:295:44: warning: unused parameter ‘size’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h:295:59: warning: unused parameter ‘data’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_process_pending’: ./include/xen/vpci.h:300:67: warning: unused parameter ‘v’ [-Wunused-parameter] 300 | static inline bool __must_check vpci_process_pending(struct vcpu *v) | ~~~~~~~~~~~~~^ common/debugtrace.c: In function ‘debugtrace_key’: common/debugtrace.c:236:51: warning: unused parameter ‘key’ [-Wunused-parameter] 236 | static void cf_check debugtrace_key(unsigned char key) | ~~~~~~~~~~~~~~^~~ common/debugtrace.c: In function ‘debugtrace_cpu_callback’: common/debugtrace.c:267:28: warning: unused parameter ‘nfb’ [-Wunused-parameter] 267 | struct notifier_block *nfb, unsigned long action, void *hcpu) | ~~~~~~~~~~~~~~~~~~~~~~~^~~ common/debugtrace.c: At top level: common/debugtrace.c:305:1: warning: ‘static’ is not at beginning of declaration [-Wold-style-declaration] 305 | __initcall(debugtrace_init); | ^~~~~~~~~~ ./include/xen/sched.h: In function ‘is_pv_32bit_domain’: ./include/xen/sched.h:1131:67: warning: unused parameter ‘d’ [-Wunused-parameter] 1131 | static always_inline bool is_pv_32bit_domain(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ In file included from ./include/xen/event.h:17: ./arch/arm/include/asm/event.h: In function ‘arch_virq_is_global’: ./arch/arm/include/asm/event.h:50:53: warning: unused parameter ‘virq’ [-Wunused-parameter] 50 | static inline bool arch_virq_is_global(unsigned int virq) | ~~~~~~~~~~~~~^~~~ In file included from xsm/flask/flask_op.c:13: ./include/xsm/xsm.h: In function ‘xsm_domain_create’: ./include/xsm/xsm.h:224:19: warning: unused parameter ‘def’ [-Wunused-parameter] 224 | xsm_default_t def, struct domain *d, uint32_t ssidref) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_getdomaininfo’: ./include/xsm/xsm.h:229:51: warning: unused parameter ‘def’ [-Wunused-parameter] 229 | static inline int xsm_getdomaininfo(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_domctl_scheduler_op’: ./include/xsm/xsm.h:235:19: warning: unused parameter ‘def’ [-Wunused-parameter] 235 | xsm_default_t def, struct domain *d, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_sysctl_scheduler_op’: ./include/xsm/xsm.h:240:57: warning: unused parameter ‘def’ [-Wunused-parameter] 240 | static inline int xsm_sysctl_scheduler_op(xsm_default_t def, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_set_target’: ./include/xsm/xsm.h:246:19: warning: unused parameter ‘def’ [-Wunused-parameter] 246 | xsm_default_t def, struct domain *d, struct domain *e) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_domctl’: ./include/xsm/xsm.h:251:44: warning: unused parameter ‘def’ [-Wunused-parameter] 251 | static inline int xsm_domctl(xsm_default_t def, struct domain *d, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_sysctl’: ./include/xsm/xsm.h:256:44: warning: unused parameter ‘def’ [-Wunused-parameter] 256 | static inline int xsm_sysctl(xsm_default_t def, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_readconsole’: ./include/xsm/xsm.h:261:49: warning: unused parameter ‘def’ [-Wunused-parameter] 261 | static inline int xsm_readconsole(xsm_default_t def, uint32_t clear) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_unbound’: ./include/xsm/xsm.h:267:19: warning: unused parameter ‘def’ [-Wunused-parameter] 267 | xsm_default_t def, struct domain *d1, struct evtchn *chn, domid_t id2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_interdomain’: ./include/xsm/xsm.h:273:19: warning: unused parameter ‘def’ [-Wunused-parameter] 273 | xsm_default_t def, struct domain *d1, struct evtchn *chan1, | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_send’: ./include/xsm/xsm.h:285:19: warning: unused parameter ‘def’ [-Wunused-parameter] 285 | xsm_default_t def, struct domain *d, struct evtchn *chn) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_status’: ./include/xsm/xsm.h:291:19: warning: unused parameter ‘def’ [-Wunused-parameter] 291 | xsm_default_t def, struct domain *d, struct evtchn *chn) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_reset’: ./include/xsm/xsm.h:297:19: warning: unused parameter ‘def’ [-Wunused-parameter] 297 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_mapref’: ./include/xsm/xsm.h:303:19: warning: unused parameter ‘def’ [-Wunused-parameter] 303 | xsm_default_t def, struct domain *d1, struct domain *d2, uint32_t flags) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_unmapref’: ./include/xsm/xsm.h:309:19: warning: unused parameter ‘def’ [-Wunused-parameter] 309 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_setup’: ./include/xsm/xsm.h:315:19: warning: unused parameter ‘def’ [-Wunused-parameter] 315 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_transfer’: ./include/xsm/xsm.h:321:19: warning: unused parameter ‘def’ [-Wunused-parameter] 321 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_copy’: ./include/xsm/xsm.h:327:19: warning: unused parameter ‘def’ [-Wunused-parameter] 327 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_query_size’: ./include/xsm/xsm.h:333:19: warning: unused parameter ‘def’ [-Wunused-parameter] 333 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_init_hardware_domain’: ./include/xsm/xsm.h:366:58: warning: unused parameter ‘def’ [-Wunused-parameter] 366 | static inline int xsm_init_hardware_domain(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_get_pod_target’: ./include/xsm/xsm.h:371:52: warning: unused parameter ‘def’ [-Wunused-parameter] 371 | static inline int xsm_get_pod_target(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_set_pod_target’: ./include/xsm/xsm.h:376:52: warning: unused parameter ‘def’ [-Wunused-parameter] 376 | static inline int xsm_set_pod_target(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_exchange’: ./include/xsm/xsm.h:381:53: warning: unused parameter ‘def’ [-Wunused-parameter] 381 | static inline int xsm_memory_exchange(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_adjust_reservation’: ./include/xsm/xsm.h:387:19: warning: unused parameter ‘def’ [-Wunused-parameter] 387 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_stat_reservation’: ./include/xsm/xsm.h:393:19: warning: unused parameter ‘def’ [-Wunused-parameter] 393 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_pin_page’: ./include/xsm/xsm.h:399:19: warning: unused parameter ‘def’ [-Wunused-parameter] 399 | xsm_default_t def, struct domain *d1, struct domain *d2, | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_add_to_physmap’: ./include/xsm/xsm.h:406:19: warning: unused parameter ‘def’ [-Wunused-parameter] 406 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_remove_from_physmap’: ./include/xsm/xsm.h:412:19: warning: unused parameter ‘def’ [-Wunused-parameter] 412 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_map_gmfn_foreign’: ./include/xsm/xsm.h:418:19: warning: unused parameter ‘def’ [-Wunused-parameter] 418 | xsm_default_t def, struct domain *d, struct domain *t) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_claim_pages’: ./include/xsm/xsm.h:423:49: warning: unused parameter ‘def’ [-Wunused-parameter] 423 | static inline int xsm_claim_pages(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_console_io’: ./include/xsm/xsm.h:428:48: warning: unused parameter ‘def’ [-Wunused-parameter] 428 | static inline int xsm_console_io(xsm_default_t def, struct domain *d, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_profile’: ./include/xsm/xsm.h:433:45: warning: unused parameter ‘def’ [-Wunused-parameter] 433 | static inline int xsm_profile(xsm_default_t def, struct domain *d, int op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_kexec’: ./include/xsm/xsm.h:438:43: warning: unused parameter ‘def’ [-Wunused-parameter] 438 | static inline int xsm_kexec(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_schedop_shutdown’: ./include/xsm/xsm.h:444:19: warning: unused parameter ‘def’ [-Wunused-parameter] 444 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_map_domain_pirq’: ./include/xsm/xsm.h:454:53: warning: unused parameter ‘def’ [-Wunused-parameter] 454 | static inline int xsm_map_domain_pirq(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_map_domain_irq’: ./include/xsm/xsm.h:460:19: warning: unused parameter ‘def’ [-Wunused-parameter] 460 | xsm_default_t def, struct domain *d, int irq, void *data) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_unmap_domain_pirq’: ./include/xsm/xsm.h:465:55: warning: unused parameter ‘def’ [-Wunused-parameter] 465 | static inline int xsm_unmap_domain_pirq(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_unmap_domain_irq’: ./include/xsm/xsm.h:471:19: warning: unused parameter ‘def’ [-Wunused-parameter] 471 | xsm_default_t def, struct domain *d, int irq, void *data) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_bind_pt_irq’: ./include/xsm/xsm.h:477:19: warning: unused parameter ‘def’ [-Wunused-parameter] 477 | xsm_default_t def, struct domain *d, struct xen_domctl_bind_pt_irq *bind) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_unbind_pt_irq’: ./include/xsm/xsm.h:483:19: warning: unused parameter ‘def’ [-Wunused-parameter] 483 | xsm_default_t def, struct domain *d, struct xen_domctl_bind_pt_irq *bind) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_irq_permission’: ./include/xsm/xsm.h:489:19: warning: unused parameter ‘def’ [-Wunused-parameter] 489 | xsm_default_t def, struct domain *d, int pirq, uint8_t allow) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_iomem_permission’: ./include/xsm/xsm.h:495:19: warning: unused parameter ‘def’ [-Wunused-parameter] 495 | xsm_default_t def, struct domain *d, uint64_t s, uint64_t e, uint8_t allow) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_iomem_mapping’: ./include/xsm/xsm.h:501:19: warning: unused parameter ‘def’ [-Wunused-parameter] 501 | xsm_default_t def, struct domain *d, uint64_t s, uint64_t e, uint8_t allow) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_pci_config_permission’: ./include/xsm/xsm.h:507:19: warning: unused parameter ‘def’ [-Wunused-parameter] 507 | xsm_default_t def, struct domain *d, uint32_t machine_bdf, uint16_t start, | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_assign_dtdevice’: ./include/xsm/xsm.h:534:19: warning: unused parameter ‘def’ [-Wunused-parameter] 534 | xsm_default_t def, struct domain *d, const char *dtpath) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_deassign_dtdevice’: ./include/xsm/xsm.h:540:19: warning: unused parameter ‘def’ [-Wunused-parameter] 540 | xsm_default_t def, struct domain *d, const char *dtpath) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_plug_pci’: ./include/xsm/xsm.h:547:55: warning: unused parameter ‘def’ [-Wunused-parameter] 547 | static inline int xsm_resource_plug_pci(xsm_default_t def, uint32_t machine_bdf) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_unplug_pci’: ./include/xsm/xsm.h:553:19: warning: unused parameter ‘def’ [-Wunused-parameter] 553 | xsm_default_t def, uint32_t machine_bdf) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_plug_core’: ./include/xsm/xsm.h:558:56: warning: unused parameter ‘def’ [-Wunused-parameter] 558 | static inline int xsm_resource_plug_core(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_unplug_core’: ./include/xsm/xsm.h:563:58: warning: unused parameter ‘def’ [-Wunused-parameter] 563 | static inline int xsm_resource_unplug_core(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_setup_pci’: ./include/xsm/xsm.h:569:19: warning: unused parameter ‘def’ [-Wunused-parameter] 569 | xsm_default_t def, uint32_t machine_bdf) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_setup_gsi’: ./include/xsm/xsm.h:574:56: warning: unused parameter ‘def’ [-Wunused-parameter] 574 | static inline int xsm_resource_setup_gsi(xsm_default_t def, int gsi) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_setup_misc’: ./include/xsm/xsm.h:579:57: warning: unused parameter ‘def’ [-Wunused-parameter] 579 | static inline int xsm_resource_setup_misc(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_page_offline’: ./include/xsm/xsm.h:584:50: warning: unused parameter ‘def’ [-Wunused-parameter] 584 | static inline int xsm_page_offline(xsm_default_t def, uint32_t cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hypfs_op’: ./include/xsm/xsm.h:589:46: warning: unused parameter ‘def’ [-Wunused-parameter] 589 | static inline int xsm_hypfs_op(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hvm_param’: ./include/xsm/xsm.h:607:19: warning: unused parameter ‘def’ [-Wunused-parameter] 607 | xsm_default_t def, struct domain *d, unsigned long op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hvm_param_altp2mhvm’: ./include/xsm/xsm.h:612:57: warning: unused parameter ‘def’ [-Wunused-parameter] 612 | static inline int xsm_hvm_param_altp2mhvm(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hvm_altp2mhvm_op’: ./include/xsm/xsm.h:618:19: warning: unused parameter ‘def’ [-Wunused-parameter] 618 | xsm_default_t def, struct domain *d, uint64_t mode, uint32_t op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_get_vnumainfo’: ./include/xsm/xsm.h:623:51: warning: unused parameter ‘def’ [-Wunused-parameter] 623 | static inline int xsm_get_vnumainfo(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_vm_event_control’: ./include/xsm/xsm.h:629:19: warning: unused parameter ‘def’ [-Wunused-parameter] 629 | xsm_default_t def, struct domain *d, int mode, int op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_mem_access’: ./include/xsm/xsm.h:635:48: warning: unused parameter ‘def’ [-Wunused-parameter] 635 | static inline int xsm_mem_access(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_platform_op’: ./include/xsm/xsm.h:655:49: warning: unused parameter ‘def’ [-Wunused-parameter] 655 | static inline int xsm_platform_op(xsm_default_t def, uint32_t op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_dm_op’: LD arch/arm/arm64/mmu/built_in.o ./include/xsm/xsm.h:738:43: warning: unused parameter ‘def’ [-Wunused-parameter] 738 | static inline int xsm_dm_op(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_xen_version’: ./include/xsm/xsm.h:743:49: warning: unused parameter ‘def’ [-Wunused-parameter] 743 | static inline int xsm_xen_version(xsm_default_t def, uint32_t op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_domain_resource_map’: ./include/xsm/xsm.h:748:57: warning: unused parameter ‘def’ [-Wunused-parameter] 748 | static inline int xsm_domain_resource_map(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ In file included from xsm/flask/flask_op.c:16: ./include/xen/param.h: In function ‘no_config_param’: ./include/xen/param.h:193:19: warning: operand of ‘?:’ changes signedness from ‘long int’ to ‘size_t’ {aka ‘long unsigned int’} due to unsignedness of other operand [-Wsign-compare] 193 | int len = e ? ({ ASSERT(e >= s); e - s; }) : strlen(s); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC arch/arm/arm64/cache.o xsm/flask/flask_op.c: In function ‘flask_security_resolve_bool’: xsm/flask/flask_op.c:247:23: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 247 | if ( arg->bool_id != -1 ) | ^~ xsm/flask/flask_op.c: In function ‘flask_security_set_bool’: xsm/flask/flask_op.c:285:27: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 285 | if ( arg->bool_id >= num ) | ^~ xsm/flask/flask_op.c:305:34: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 305 | if ( !rv && arg->bool_id >= bool_num ) | ^~ CC arch/arm/arm64/cpufeature.o In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from arch/arm/arm64/cpufeature.c:75: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from arch/arm/arm64/cpufeature.c:77: ./arch/arm/include/asm/arm64/cpufeature.h: In function ‘cpuid_feature_extract_field_width’: ./arch/arm/include/asm/arm64/cpufeature.h:80:17: warning: operand of ‘?:’ changes signedness from ‘int’ to ‘unsigned int’ due to unsignedness of other operand [-Wsign-compare] 80 | cpuid_feature_extract_signed_field_width(features, field, width) : | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC drivers/char/arm-uart.o In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/current.h:8, from ./include/asm-generic/percpu.h:8, from ./arch/arm/include/generated/asm/percpu.h:1, from ./include/xen/percpu.h:30, from ./include/xen/rwlock.h:4, from ./include/xen/device_tree.h:22, from ./include/asm-generic/device.h:42, from ./arch/arm/include/generated/asm/device.h:1, from drivers/char/arm-uart.c:20: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/rwlock.h:6: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43, from ./include/xen/rwlock.h:7: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from drivers/char/arm-uart.c:24: ./include/xen/param.h: In function ‘no_config_param’: ./include/xen/param.h:193:19: warning: operand of ‘?:’ changes signedness from ‘long int’ to ‘size_t’ {aka ‘long unsigned int’} due to unsignedness of other operand [-Wsign-compare] 193 | int len = e ? ({ ASSERT(e >= s); e - s; }) : strlen(s); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from drivers/char/arm-uart.c:25: ./include/xen/serial.h: At top level: ./include/xen/serial.h:166:1: warning: ‘inline’ is not at beginning of declaration [-Wold-style-declaration] 166 | static void inline xhci_dbc_uart_init(void) {} | ^~~~~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233, from ./arch/arm/include/asm/p2m.h:4, from ./arch/arm/include/asm/setup.h:5, from ./arch/arm/include/asm/acpi.h:25, from ./include/acpi/platform/aclinux.h:58, from ./include/acpi/platform/acenv.h:142, from ./include/acpi/acpi.h:56, from ./include/xen/acpi.h:57, from drivers/char/arm-uart.c:27: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./include/xen/acpi.h: In function ‘acpi_set_cstate_limit’: ./include/xen/acpi.h:192:55: warning: unused parameter ‘new_limit’ [-Wunused-parameter] 192 | static inline void acpi_set_cstate_limit(unsigned int new_limit) { return; } | ~~~~~~~~~~~~~^~~~~~~~~ ./include/xen/acpi.h: In function ‘acpi_set_csubstate_limit’: ./include/xen/acpi.h:194:58: warning: unused parameter ‘new_limit’ [-Wunused-parameter] 194 | static inline void acpi_set_csubstate_limit(unsigned int new_limit) { return; } | ~~~~~~~~~~~~~^~~~~~~~~ CC common/device_tree.o CC drivers/char/serial.o In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/sched.h:6, from ./arch/arm/include/asm/guest_access.h:5, from ./include/xen/guest_access.h:10, from common/device_tree.c:15: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/mm.h:69, from drivers/char/serial.c:11: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/rwlock.h:6, from ./include/xen/sched.h:7: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./include/xen/domain.h:5, from ./include/xen/sched.h:11: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233, from ./arch/arm/include/asm/p2m.h:4, from ./arch/arm/include/asm/domain.h:7, from ./include/xen/domain.h:15: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/perfc.h:7, from ./include/xen/mm.h:70: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ CC arch/arm/arm64/bpi.o In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/domain.h: In function ‘arch_vcpu_block’: ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./arch/arm/include/asm/domain.h:297:49: warning: unused parameter ‘v’ [-Wunused-parameter] 297 | static inline void arch_vcpu_block(struct vcpu *v) {} | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘update_guest_memory_policy’: ./arch/arm/include/asm/domain.h:309:60: warning: unused parameter ‘v’ [-Wunused-parameter] 309 | static inline void update_guest_memory_policy(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h:310:75: warning: unused parameter ‘gmp’ [-Wunused-parameter] 310 | struct guest_memory_policy *gmp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from ./include/xen/sched.h:25: ./include/xen/vpci.h: In function ‘vpci_assign_device’: ./include/xen/vpci.h:278:54: warning: unused parameter ‘pdev’ [-Wunused-parameter] 278 | static inline int vpci_assign_device(struct pci_dev *pdev) | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_deassign_device’: ./include/xen/vpci.h:283:57: warning: unused parameter ‘pdev’ [-Wunused-parameter] 283 | static inline void vpci_deassign_device(struct pci_dev *pdev) { } | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_read’: ./include/xen/vpci.h:287:45: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:287:64: warning: unused parameter ‘reg’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:288:47: warning: unused parameter ‘size’ [-Wunused-parameter] 288 | unsigned int size) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_write’: ./include/xen/vpci.h:294:42: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:294:61: warning: unused parameter ‘reg’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:295:44: warning: unused parameter ‘size’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h:295:59: warning: unused parameter ‘data’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_process_pending’: ./include/xen/vpci.h:300:67: warning: unused parameter ‘v’ [-Wunused-parameter] 300 | static inline bool __must_check vpci_process_pending(struct vcpu *v) | ~~~~~~~~~~~~~^ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/sched.h: In function ‘is_pv_32bit_domain’: ./include/xen/sched.h:1131:67: warning: unused parameter ‘d’ [-Wunused-parameter] 1131 | static always_inline bool is_pv_32bit_domain(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from drivers/char/serial.c:12: ./include/xen/param.h: In function ‘no_config_param’: ./include/xen/param.h:193:19: warning: operand of ‘?:’ changes signedness from ‘long int’ to ‘size_t’ {aka ‘long unsigned int’} due to unsignedness of other operand [-Wsign-compare] 193 | int len = e ? ({ ASSERT(e >= s); e - s; }) : strlen(s); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from drivers/char/serial.c:13: ./include/xen/serial.h: At top level: ./include/xen/serial.h:166:1: warning: ‘inline’ is not at beginning of declaration [-Wold-style-declaration] 166 | static void inline xhci_dbc_uart_init(void) {} | ^~~~~~ drivers/char/serial.c: In function ‘serial_init_preirq’: drivers/char/serial.c:445:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] 445 | for ( i = 0; i < ARRAY_SIZE(com); i++ ) | ^ drivers/char/serial.c: In function ‘serial_init_postirq’: drivers/char/serial.c:462:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] 462 | for ( i = 0; i < ARRAY_SIZE(com); i++ ) | ^ common/device_tree.c: In function ‘dt_bus_default_get_flags’: common/device_tree.c:620:60: warning: unused parameter ‘addr’ [-Wunused-parameter] 620 | static unsigned int dt_bus_default_get_flags(const __be32 *addr) | ~~~~~~~~~~~~~~^~~~ drivers/char/serial.c: In function ‘serial_endboot’: common/device_tree.c: In function ‘dt_bus_pci_count_cells’: common/device_tree.c:653:65: warning: unused parameter ‘np’ [-Wunused-parameter] 653 | static void dt_bus_pci_count_cells(const struct dt_device_node *np, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ common/device_tree.c: In function ‘dt_match_bus’: common/device_tree.c:744:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] 744 | for ( i = 0; i < ARRAY_SIZE(dt_busses); i++ ) | ^ drivers/char/serial.c:475:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] 475 | for ( i = 0; i < ARRAY_SIZE(com); i++ ) | ^ common/device_tree.c: In function ‘dt_get_address’: drivers/char/serial.c: In function ‘serial_irq’: common/device_tree.c:781:24: warning: comparison of integer expressions of different signedness: ‘u32’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 781 | for ( i = 0; psize >= onesize; psize -= onesize, prop += onesize, i++ ) | ^~ drivers/char/serial.c:482:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] 482 | if ( (idx >= 0) && (idx < ARRAY_SIZE(com)) && | ^ common/device_tree.c:783:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 783 | if ( i == index ) | ^~ drivers/char/serial.c: In function ‘serial_vuart_info’: common/device_tree.c: In function ‘dt_translate_one’: drivers/char/serial.c:491:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] 491 | if ( (idx >= 0) && (idx < ARRAY_SIZE(com)) && | ^ common/device_tree.c:825:18: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] 825 | for ( ; rlen >= rone; rlen -= rone, ranges += rone ) | ^~ drivers/char/serial.c: In function ‘serial_suspend’: drivers/char/serial.c:501:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] 501 | for ( i = 0; i < ARRAY_SIZE(com); i++ ) | ^ drivers/char/serial.c: In function ‘serial_resume’: drivers/char/serial.c:509:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] 509 | for ( i = 0; i < ARRAY_SIZE(com); i++ ) | ^ common/device_tree.c: In function ‘dt_for_each_range’: common/device_tree.c:1060:18: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] 1060 | for ( ; rlen >= rone; rlen -= rone, ranges += rone ) | ^~ common/device_tree.c: In function ‘dt_for_each_irq_map’: common/device_tree.c:1326:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘u32’ {aka ‘unsigned int’} [-Wsign-compare] 1326 | for ( i = 0; i < pintsize; i++ ) | ^ CC arch/arm/arm64/domctl.o common/device_tree.c: In function ‘dt_irq_map_raw’: common/device_tree.c:1459:28: warning: comparison of integer expressions of different signedness: ‘int’ and ‘u32’ {aka ‘unsigned int’} [-Wsign-compare] 1459 | for ( i = 0; i < intsize; i++ ) | ^ common/device_tree.c:1496:28: warning: comparison of integer expressions of different signedness: ‘int’ and ‘u32’ {aka ‘unsigned int’} [-Wsign-compare] 1496 | for ( i = 0; i < addrsize && match; ++i ) | ^ common/device_tree.c:1501:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘u32’ {aka ‘unsigned int’} [-Wsign-compare] 1501 | for ( ; i < (addrsize + intsize) && match; ++i ) | ^ common/device_tree.c: In function ‘__dt_parse_phandle_with_args’: common/device_tree.c:1785:32: warning: comparison of integer expressions of different signedness: ‘int’ and ‘u32’ {aka ‘unsigned int’} [-Wsign-compare] 1785 | for ( i = 0; i < count; i++ ) | ^ In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/sched.h:6, from arch/arm/arm64/domctl.c:10: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/rwlock.h:6, from ./include/xen/sched.h:7: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ CC xsm/flask/ss/ebitmap.o In file included from ./include/xen/domain.h:5, from ./include/xen/sched.h:11: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233, from ./arch/arm/include/asm/p2m.h:4, from ./arch/arm/include/asm/domain.h:7, from ./include/xen/domain.h:15: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from xsm/flask/ss/ebitmap.c:16: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/domain.h: In function ‘arch_vcpu_block’: ./arch/arm/include/asm/domain.h:297:49: warning: unused parameter ‘v’ [-Wunused-parameter] 297 | static inline void arch_vcpu_block(struct vcpu *v) {} | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘update_guest_memory_policy’: ./arch/arm/include/asm/domain.h:309:60: warning: unused parameter ‘v’ [-Wunused-parameter] 309 | static inline void update_guest_memory_policy(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h:310:75: warning: unused parameter ‘gmp’ [-Wunused-parameter] 310 | struct guest_memory_policy *gmp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from ./include/xen/sched.h:25: ./include/xen/vpci.h: In function ‘vpci_assign_device’: ./include/xen/vpci.h:278:54: warning: unused parameter ‘pdev’ [-Wunused-parameter] 278 | static inline int vpci_assign_device(struct pci_dev *pdev) | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_deassign_device’: ./include/xen/vpci.h:283:57: warning: unused parameter ‘pdev’ [-Wunused-parameter] 283 | static inline void vpci_deassign_device(struct pci_dev *pdev) { } | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_read’: ./include/xen/vpci.h:287:45: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:287:64: warning: unused parameter ‘reg’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:288:47: warning: unused parameter ‘size’ [-Wunused-parameter] 288 | unsigned int size) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_write’: ./include/xen/vpci.h:294:42: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:294:61: warning: unused parameter ‘reg’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:295:44: warning: unused parameter ‘size’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~~~~~^~~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/xen/vpci.h:295:59: warning: unused parameter ‘data’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_process_pending’: ./include/xen/vpci.h:300:67: warning: unused parameter ‘v’ [-Wunused-parameter] 300 | static inline bool __must_check vpci_process_pending(struct vcpu *v) | ~~~~~~~~~~~~~^ ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/xen/sched.h: In function ‘is_pv_32bit_domain’: ./include/xen/sched.h:1131:67: warning: unused parameter ‘d’ [-Wunused-parameter] 1131 | static always_inline bool is_pv_32bit_domain(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ In file included from ./include/xen/hypercall.h:22, from arch/arm/arm64/domctl.c:11: ./include/xsm/xsm.h: In function ‘xsm_domain_create’: ./include/xsm/xsm.h:224:19: warning: unused parameter ‘def’ [-Wunused-parameter] 224 | xsm_default_t def, struct domain *d, uint32_t ssidref) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_getdomaininfo’: ./include/xsm/xsm.h:229:51: warning: unused parameter ‘def’ [-Wunused-parameter] 229 | static inline int xsm_getdomaininfo(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_domctl_scheduler_op’: ./include/xsm/xsm.h:235:19: warning: unused parameter ‘def’ [-Wunused-parameter] 235 | xsm_default_t def, struct domain *d, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_sysctl_scheduler_op’: ./include/xsm/xsm.h:240:57: warning: unused parameter ‘def’ [-Wunused-parameter] 240 | static inline int xsm_sysctl_scheduler_op(xsm_default_t def, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_set_target’: ./include/xsm/xsm.h:246:19: warning: unused parameter ‘def’ [-Wunused-parameter] 246 | xsm_default_t def, struct domain *d, struct domain *e) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_domctl’: ./include/xsm/xsm.h:251:44: warning: unused parameter ‘def’ [-Wunused-parameter] 251 | static inline int xsm_domctl(xsm_default_t def, struct domain *d, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_sysctl’: ./include/xsm/xsm.h:256:44: warning: unused parameter ‘def’ [-Wunused-parameter] 256 | static inline int xsm_sysctl(xsm_default_t def, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_readconsole’: ./include/xsm/xsm.h:261:49: warning: unused parameter ‘def’ [-Wunused-parameter] 261 | static inline int xsm_readconsole(xsm_default_t def, uint32_t clear) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_unbound’: ./include/xsm/xsm.h:267:19: warning: unused parameter ‘def’ [-Wunused-parameter] 267 | xsm_default_t def, struct domain *d1, struct evtchn *chn, domid_t id2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_interdomain’: ./include/xsm/xsm.h:273:19: warning: unused parameter ‘def’ [-Wunused-parameter] 273 | xsm_default_t def, struct domain *d1, struct evtchn *chan1, | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_send’: ./include/xsm/xsm.h:285:19: warning: unused parameter ‘def’ [-Wunused-parameter] 285 | xsm_default_t def, struct domain *d, struct evtchn *chn) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_status’: ./include/xsm/xsm.h:291:19: warning: unused parameter ‘def’ [-Wunused-parameter] 291 | xsm_default_t def, struct domain *d, struct evtchn *chn) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_reset’: ./include/xsm/xsm.h:297:19: warning: unused parameter ‘def’ [-Wunused-parameter] 297 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_mapref’: ./include/xsm/xsm.h:303:19: warning: unused parameter ‘def’ [-Wunused-parameter] 303 | xsm_default_t def, struct domain *d1, struct domain *d2, uint32_t flags) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_unmapref’: ./include/xsm/xsm.h:309:19: warning: unused parameter ‘def’ [-Wunused-parameter] 309 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_setup’: ./include/xsm/xsm.h:315:19: warning: unused parameter ‘def’ [-Wunused-parameter] 315 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_transfer’: ./include/xsm/xsm.h:321:19: warning: unused parameter ‘def’ [-Wunused-parameter] 321 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_copy’: ./include/xsm/xsm.h:327:19: warning: unused parameter ‘def’ [-Wunused-parameter] 327 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_query_size’: ./include/xsm/xsm.h:333:19: warning: unused parameter ‘def’ [-Wunused-parameter] 333 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_init_hardware_domain’: ./include/xsm/xsm.h:366:58: warning: unused parameter ‘def’ [-Wunused-parameter] 366 | static inline int xsm_init_hardware_domain(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_get_pod_target’: ./include/xsm/xsm.h:371:52: warning: unused parameter ‘def’ [-Wunused-parameter] 371 | static inline int xsm_get_pod_target(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_set_pod_target’: ./include/xsm/xsm.h:376:52: warning: unused parameter ‘def’ [-Wunused-parameter] 376 | static inline int xsm_set_pod_target(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_exchange’: ./include/xsm/xsm.h:381:53: warning: unused parameter ‘def’ [-Wunused-parameter] 381 | static inline int xsm_memory_exchange(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_adjust_reservation’: ./include/xsm/xsm.h:387:19: warning: unused parameter ‘def’ [-Wunused-parameter] 387 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_stat_reservation’: ./include/xsm/xsm.h:393:19: warning: unused parameter ‘def’ [-Wunused-parameter] 393 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_pin_page’: ./include/xsm/xsm.h:399:19: warning: unused parameter ‘def’ [-Wunused-parameter] 399 | xsm_default_t def, struct domain *d1, struct domain *d2, | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_add_to_physmap’: ./include/xsm/xsm.h:406:19: warning: unused parameter ‘def’ [-Wunused-parameter] 406 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_remove_from_physmap’: ./include/xsm/xsm.h:412:19: warning: unused parameter ‘def’ [-Wunused-parameter] 412 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_map_gmfn_foreign’: ./include/xsm/xsm.h:418:19: warning: unused parameter ‘def’ [-Wunused-parameter] 418 | xsm_default_t def, struct domain *d, struct domain *t) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_claim_pages’: ./include/xsm/xsm.h:423:49: warning: unused parameter ‘def’ [-Wunused-parameter] 423 | static inline int xsm_claim_pages(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_console_io’: ./include/xsm/xsm.h:428:48: warning: unused parameter ‘def’ [-Wunused-parameter] 428 | static inline int xsm_console_io(xsm_default_t def, struct domain *d, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_profile’: ./include/xsm/xsm.h:433:45: warning: unused parameter ‘def’ [-Wunused-parameter] 433 | static inline int xsm_profile(xsm_default_t def, struct domain *d, int op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_kexec’: ./include/xsm/xsm.h:438:43: warning: unused parameter ‘def’ [-Wunused-parameter] 438 | static inline int xsm_kexec(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_schedop_shutdown’: ./include/xsm/xsm.h:444:19: warning: unused parameter ‘def’ [-Wunused-parameter] 444 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_map_domain_pirq’: ./include/xsm/xsm.h:454:53: warning: unused parameter ‘def’ [-Wunused-parameter] 454 | static inline int xsm_map_domain_pirq(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_map_domain_irq’: ./include/xsm/xsm.h:460:19: warning: unused parameter ‘def’ [-Wunused-parameter] 460 | xsm_default_t def, struct domain *d, int irq, void *data) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_unmap_domain_pirq’: ./include/xsm/xsm.h:465:55: warning: unused parameter ‘def’ [-Wunused-parameter] 465 | static inline int xsm_unmap_domain_pirq(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_unmap_domain_irq’: ./include/xsm/xsm.h:471:19: warning: unused parameter ‘def’ [-Wunused-parameter] 471 | xsm_default_t def, struct domain *d, int irq, void *data) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_bind_pt_irq’: ./include/xsm/xsm.h:477:19: warning: unused parameter ‘def’ [-Wunused-parameter] 477 | xsm_default_t def, struct domain *d, struct xen_domctl_bind_pt_irq *bind) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_unbind_pt_irq’: ./include/xsm/xsm.h:483:19: warning: unused parameter ‘def’ [-Wunused-parameter] 483 | xsm_default_t def, struct domain *d, struct xen_domctl_bind_pt_irq *bind) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_irq_permission’: ./include/xsm/xsm.h:489:19: warning: unused parameter ‘def’ [-Wunused-parameter] 489 | xsm_default_t def, struct domain *d, int pirq, uint8_t allow) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_iomem_permission’: ./include/xsm/xsm.h:495:19: warning: unused parameter ‘def’ [-Wunused-parameter] 495 | xsm_default_t def, struct domain *d, uint64_t s, uint64_t e, uint8_t allow) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_iomem_mapping’: ./include/xsm/xsm.h:501:19: warning: unused parameter ‘def’ [-Wunused-parameter] 501 | xsm_default_t def, struct domain *d, uint64_t s, uint64_t e, uint8_t allow) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_pci_config_permission’: ./include/xsm/xsm.h:507:19: warning: unused parameter ‘def’ [-Wunused-parameter] 507 | xsm_default_t def, struct domain *d, uint32_t machine_bdf, uint16_t start, | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_assign_dtdevice’: ./include/xsm/xsm.h:534:19: warning: unused parameter ‘def’ [-Wunused-parameter] 534 | xsm_default_t def, struct domain *d, const char *dtpath) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_deassign_dtdevice’: ./include/xsm/xsm.h:540:19: warning: unused parameter ‘def’ [-Wunused-parameter] 540 | xsm_default_t def, struct domain *d, const char *dtpath) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_plug_pci’: ./include/xsm/xsm.h:547:55: warning: unused parameter ‘def’ [-Wunused-parameter] 547 | static inline int xsm_resource_plug_pci(xsm_default_t def, uint32_t machine_bdf) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_unplug_pci’: ./include/xsm/xsm.h:553:19: warning: unused parameter ‘def’ [-Wunused-parameter] 553 | xsm_default_t def, uint32_t machine_bdf) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_plug_core’: ./include/xsm/xsm.h:558:56: warning: unused parameter ‘def’ [-Wunused-parameter] 558 | static inline int xsm_resource_plug_core(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_unplug_core’: ./include/xsm/xsm.h:563:58: warning: unused parameter ‘def’ [-Wunused-parameter] 563 | static inline int xsm_resource_unplug_core(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_setup_pci’: ./include/xsm/xsm.h:569:19: warning: unused parameter ‘def’ [-Wunused-parameter] 569 | xsm_default_t def, uint32_t machine_bdf) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_setup_gsi’: ./include/xsm/xsm.h:574:56: warning: unused parameter ‘def’ [-Wunused-parameter] 574 | static inline int xsm_resource_setup_gsi(xsm_default_t def, int gsi) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_setup_misc’: ./include/xsm/xsm.h:579:57: warning: unused parameter ‘def’ [-Wunused-parameter] 579 | static inline int xsm_resource_setup_misc(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_page_offline’: ./include/xsm/xsm.h:584:50: warning: unused parameter ‘def’ [-Wunused-parameter] 584 | static inline int xsm_page_offline(xsm_default_t def, uint32_t cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hypfs_op’: ./include/xsm/xsm.h:589:46: warning: unused parameter ‘def’ [-Wunused-parameter] 589 | static inline int xsm_hypfs_op(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hvm_param’: ./include/xsm/xsm.h:607:19: warning: unused parameter ‘def’ [-Wunused-parameter] 607 | xsm_default_t def, struct domain *d, unsigned long op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hvm_param_altp2mhvm’: ./include/xsm/xsm.h:612:57: warning: unused parameter ‘def’ [-Wunused-parameter] 612 | static inline int xsm_hvm_param_altp2mhvm(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hvm_altp2mhvm_op’: ./include/xsm/xsm.h:618:19: warning: unused parameter ‘def’ [-Wunused-parameter] 618 | xsm_default_t def, struct domain *d, uint64_t mode, uint32_t op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_get_vnumainfo’: ./include/xsm/xsm.h:623:51: warning: unused parameter ‘def’ [-Wunused-parameter] 623 | static inline int xsm_get_vnumainfo(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_vm_event_control’: ./include/xsm/xsm.h:629:19: warning: unused parameter ‘def’ [-Wunused-parameter] 629 | xsm_default_t def, struct domain *d, int mode, int op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_mem_access’: ./include/xsm/xsm.h:635:48: warning: unused parameter ‘def’ [-Wunused-parameter] 635 | static inline int xsm_mem_access(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_platform_op’: ./include/xsm/xsm.h:655:49: warning: unused parameter ‘def’ [-Wunused-parameter] 655 | static inline int xsm_platform_op(xsm_default_t def, uint32_t op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_dm_op’: ./include/xsm/xsm.h:738:43: warning: unused parameter ‘def’ [-Wunused-parameter] 738 | static inline int xsm_dm_op(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_xen_version’: ./include/xsm/xsm.h:743:49: warning: unused parameter ‘def’ [-Wunused-parameter] 743 | static inline int xsm_xen_version(xsm_default_t def, uint32_t op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_domain_resource_map’: ./include/xsm/xsm.h:748:57: warning: unused parameter ‘def’ [-Wunused-parameter] 748 | static inline int xsm_domain_resource_map(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ xsm/flask/ss/ebitmap.c: In function ‘ebitmap_contains’: xsm/flask/ss/ebitmap.c:93:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] 93 | for ( i = 0; i < EBITMAP_UNIT_NUMS; i++ ) | ^ arch/arm/arm64/domctl.c: In function ‘subarch_do_domctl’: arch/arm/arm64/domctl.c:55:61: warning: unused parameter ‘u_domctl’ [-Wunused-parameter] 55 | XEN_GUEST_HANDLE_PARAM(xen_domctl_t) u_domctl) xsm/flask/ss/ebitmap.c: In function ‘ebitmap_read’: xsm/flask/ss/ebitmap.c:261:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘u32’ {aka ‘unsigned int’} [-Wsign-compare] 261 | for ( i = 0; i < count; i++ ) | ^ CC arch/arm/arm64/domain.o In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/sched.h:6, from arch/arm/arm64/domain.c:1: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/rwlock.h:6, from ./include/xen/sched.h:7: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/domain.h:5, from ./include/xen/sched.h:11: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233, from ./arch/arm/include/asm/p2m.h:4, from ./arch/arm/include/asm/domain.h:7, from ./include/xen/domain.h:15: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘arch_vcpu_block’: ./arch/arm/include/asm/domain.h:297:49: warning: unused parameter ‘v’ [-Wunused-parameter] 297 | static inline void arch_vcpu_block(struct vcpu *v) {} | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘update_guest_memory_policy’: ./arch/arm/include/asm/domain.h:309:60: warning: unused parameter ‘v’ [-Wunused-parameter] 309 | static inline void update_guest_memory_policy(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h:310:75: warning: unused parameter ‘gmp’ [-Wunused-parameter] 310 | struct guest_memory_policy *gmp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from ./include/xen/sched.h:25: ./include/xen/vpci.h: In function ‘vpci_assign_device’: ./include/xen/vpci.h:278:54: warning: unused parameter ‘pdev’ [-Wunused-parameter] 278 | static inline int vpci_assign_device(struct pci_dev *pdev) | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_deassign_device’: ./include/xen/vpci.h:283:57: warning: unused parameter ‘pdev’ [-Wunused-parameter] 283 | static inline void vpci_deassign_device(struct pci_dev *pdev) { } | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_read’: ./include/xen/vpci.h:287:45: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:287:64: warning: unused parameter ‘reg’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:288:47: warning: unused parameter ‘size’ [-Wunused-parameter] 288 | unsigned int size) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_write’: ./include/xen/vpci.h:294:42: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:294:61: warning: unused parameter ‘reg’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:295:44: warning: unused parameter ‘size’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h:295:59: warning: unused parameter ‘data’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_process_pending’: ./include/xen/vpci.h:300:67: warning: unused parameter ‘v’ [-Wunused-parameter] 300 | static inline bool __must_check vpci_process_pending(struct vcpu *v) | ~~~~~~~~~~~~~^ ./include/xen/sched.h: In function ‘is_pv_32bit_domain’: ./include/xen/sched.h:1131:67: warning: unused parameter ‘d’ [-Wunused-parameter] 1131 | static always_inline bool is_pv_32bit_domain(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ CC xsm/flask/ss/hashtab.o CC xsm/flask/ss/symtab.o xsm/flask/ss/symtab.c: In function ‘symcmp’: xsm/flask/ss/symtab.c:30:21: warning: unused parameter ‘h’ [-Wunused-parameter] 30 | struct hashtab *h, const void *key1, const void *key2) | ~~~~~~~~~~~~~~~~^ LD drivers/char/built_in.o CC xsm/flask/ss/sidtab.o In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from xsm/flask/ss/sidtab.c:12: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ CC arch/arm/arm64/entry.o CC arch/arm/arm64/head.o CC drivers/passthrough/arm/iommu.o CC arch/arm/arm64/insn.o In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/current.h:8, from ./include/asm-generic/percpu.h:8, from ./arch/arm/include/generated/asm/percpu.h:1, from ./include/xen/percpu.h:30, from ./include/xen/rwlock.h:4, from ./include/xen/device_tree.h:22, from drivers/passthrough/arm/iommu.c:18: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/rwlock.h:6: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43, from ./include/xen/rwlock.h:7: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./include/xen/irq.h:5, from ./include/xen/pci.h:13, from ./include/xen/iommu.h:25, from drivers/passthrough/arm/iommu.c:19: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/pci.h:14: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ drivers/passthrough/arm/iommu.c: In function ‘arch_iommu_check_autotranslated_hwdom’: drivers/passthrough/arm/iommu.c:120:72: warning: unused parameter ‘d’ [-Wunused-parameter] 120 | void __hwdom_init arch_iommu_check_autotranslated_hwdom(struct domain *d) | ~~~~~~~~~~~~~~~^ drivers/passthrough/arm/iommu.c: In function ‘arch_iommu_domain_destroy’: drivers/passthrough/arm/iommu.c:131:47: warning: unused parameter ‘d’ [-Wunused-parameter] 131 | void arch_iommu_domain_destroy(struct domain *d) | ~~~~~~~~~~~~~~~^ drivers/passthrough/arm/iommu.c: In function ‘arch_iommu_hwdom_init’: drivers/passthrough/arm/iommu.c:135:56: warning: unused parameter ‘d’ [-Wunused-parameter] 135 | void __hwdom_init arch_iommu_hwdom_init(struct domain *d) | ~~~~~~~~~~~~~~~^ drivers/passthrough/arm/iommu.c: In function ‘arch_iommu_use_permitted’: drivers/passthrough/arm/iommu.c:150:52: warning: unused parameter ‘d’ [-Wunused-parameter] 150 | bool arch_iommu_use_permitted(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ CC arch/arm/arm64/livepatch.o CC xsm/flask/ss/avtab.o CC drivers/passthrough/arm/iommu_helpers.o In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from xsm/flask/ss/sidtab.h:14, from xsm/flask/ss/policydb.h:31, from xsm/flask/ss/avtab.c:29: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/livepatch.h:17, from arch/arm/arm64/livepatch.c:9: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ xsm/flask/ss/avtab.c: In function ‘avtab_insert_node’: xsm/flask/ss/avtab.c:38:51: warning: unused parameter ‘cur’ [-Wunused-parameter] 38 | struct avtab_node * prev, struct avtab_node * cur, struct avtab_key *key, | ~~~~~~~~~~~~~~~~~~~~^~~ In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/mm.h:69, from arch/arm/arm64/livepatch.c:10: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ xsm/flask/ss/avtab.c: In function ‘avtab_destroy’: xsm/flask/ss/avtab.c:240:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘u32’ {aka ‘unsigned int’} [-Wsign-compare] 240 | for ( i = 0; i < h->nslot; i++ ) | ^ xsm/flask/ss/avtab.c: In function ‘avtab_alloc’: xsm/flask/ss/avtab.c:290:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘u32’ {aka ‘unsigned int’} [-Wsign-compare] 290 | for ( i = 0; i < nslot; i++ ) | ^ xsm/flask/ss/avtab.c: In function ‘avtab_hash_eval’: xsm/flask/ss/avtab.c:309:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘u32’ {aka ‘unsigned int’} [-Wsign-compare] 309 | for ( i = 0; i < h->nslot; i++ ) | ^ xsm/flask/ss/avtab.c: In function ‘avtab_read_item’: xsm/flask/ss/avtab.c:416:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] 416 | for ( i = 0; i < sizeof(spec_order)/sizeof(u16); i++ ) | ^ xsm/flask/ss/avtab.c:458:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] 458 | for ( i = 0; i < ARRAY_SIZE(spec_order); i++ ) | ^ xsm/flask/ss/avtab.c: In function ‘avtab_insertf’: xsm/flask/ss/avtab.c:486:72: warning: unused parameter ‘p’ [-Wunused-parameter] 486 | struct avtab *a, struct avtab_key *k, struct avtab_datum *d, void *p) | ~~~~~~^ In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/pci.h:12, from ./include/xen/iommu.h:25, from drivers/passthrough/arm/iommu_helpers.c:26: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/perfc.h:7, from ./include/xen/mm.h:70: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ In file included from ./include/xen/irq.h:4, from ./include/xen/pci.h:13: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/irq.h:5: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ arch/arm/arm64/livepatch.c: In function ‘arch_livepatch_symbol_deny’: arch/arm/arm64/livepatch.c:83:61: warning: unused parameter ‘elf’ [-Wunused-parameter] 83 | bool arch_livepatch_symbol_deny(const struct livepatch_elf *elf, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ arch/arm/arm64/livepatch.c:84:65: warning: unused parameter ‘sym’ [-Wunused-parameter] 84 | const struct livepatch_elf_sym *sym) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ arch/arm/arm64/livepatch.c: In function ‘arch_livepatch_perform_rel’: arch/arm/arm64/livepatch.c:234:54: warning: unused parameter ‘elf’ [-Wunused-parameter] 234 | int arch_livepatch_perform_rel(struct livepatch_elf *elf, | ~~~~~~~~~~~~~~~~~~~~~~^~~ arch/arm/arm64/livepatch.c:235:64: warning: unused parameter ‘base’ [-Wunused-parameter] 235 | const struct livepatch_elf_sec *base, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ arch/arm/arm64/livepatch.c:236:64: warning: unused parameter ‘rela’ [-Wunused-parameter] 236 | const struct livepatch_elf_sec *rela) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/pci.h:14: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233, from ./arch/arm/include/asm/p2m.h:4, from ./arch/arm/include/asm/domain.h:7, from ./include/xen/domain.h:15, from ./include/xen/sched.h:11, from drivers/passthrough/arm/iommu_helpers.c:28: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘arch_vcpu_block’: ./arch/arm/include/asm/domain.h:297:49: warning: unused parameter ‘v’ [-Wunused-parameter] 297 | static inline void arch_vcpu_block(struct vcpu *v) {} | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘update_guest_memory_policy’: ./arch/arm/include/asm/domain.h:309:60: warning: unused parameter ‘v’ [-Wunused-parameter] 309 | static inline void update_guest_memory_policy(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h:310:75: warning: unused parameter ‘gmp’ [-Wunused-parameter] 310 | struct guest_memory_policy *gmp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from ./include/xen/sched.h:25: ./include/xen/vpci.h: In function ‘vpci_assign_device’: ./include/xen/vpci.h:278:54: warning: unused parameter ‘pdev’ [-Wunused-parameter] 278 | static inline int vpci_assign_device(struct pci_dev *pdev) | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_deassign_device’: ./include/xen/vpci.h:283:57: warning: unused parameter ‘pdev’ [-Wunused-parameter] 283 | static inline void vpci_deassign_device(struct pci_dev *pdev) { } | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_read’: ./include/xen/vpci.h:287:45: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:287:64: warning: unused parameter ‘reg’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:288:47: warning: unused parameter ‘size’ [-Wunused-parameter] 288 | unsigned int size) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_write’: ./include/xen/vpci.h:294:42: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:294:61: warning: unused parameter ‘reg’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:295:44: warning: unused parameter ‘size’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h:295:59: warning: unused parameter ‘data’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_process_pending’: ./include/xen/vpci.h:300:67: warning: unused parameter ‘v’ [-Wunused-parameter] 300 | static inline bool __must_check vpci_process_pending(struct vcpu *v) | ~~~~~~~~~~~~~^ ./include/xen/sched.h: In function ‘is_pv_32bit_domain’: ./include/xen/sched.h:1131:67: warning: unused parameter ‘d’ [-Wunused-parameter] 1131 | static always_inline bool is_pv_32bit_domain(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ drivers/passthrough/arm/iommu_helpers.c: In function ‘arm_iommu_map_page’: drivers/passthrough/arm/iommu_helpers.c:35:51: warning: unused parameter ‘flush_flags’ [-Wunused-parameter] 35 | unsigned int *flush_flags) | ~~~~~~~~~~~~~~^~~~~~~~~~~ drivers/passthrough/arm/iommu_helpers.c: In function ‘arm_iommu_unmap_page’: drivers/passthrough/arm/iommu_helpers.c:67:53: warning: unused parameter ‘flush_flags’ [-Wunused-parameter] 67 | unsigned int *flush_flags) | ~~~~~~~~~~~~~~^~~~~~~~~~~ CC drivers/passthrough/arm/iommu_fwspec.o In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/pci.h:12, from ./include/xen/iommu.h:25, from drivers/passthrough/arm/iommu_fwspec.c:26: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./include/xen/irq.h:4, from ./include/xen/pci.h:13: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/irq.h:5: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ CC common/dm.o In file included from ./include/xen/pci.h:14: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/sched.h:6, from ./arch/arm/include/asm/guest_access.h:5, from ./include/xen/guest_access.h:10, from common/dm.c:18: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/rwlock.h:6, from ./include/xen/sched.h:7: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/domain.h:5, from ./include/xen/sched.h:11: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ CC drivers/passthrough/arm/smmu.o In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233, from ./arch/arm/include/asm/p2m.h:4, from ./arch/arm/include/asm/domain.h:7, from ./include/xen/domain.h:15: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘arch_vcpu_block’: ./arch/arm/include/asm/domain.h:297:49: warning: unused parameter ‘v’ [-Wunused-parameter] 297 | static inline void arch_vcpu_block(struct vcpu *v) {} | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘update_guest_memory_policy’: ./arch/arm/include/asm/domain.h:309:60: warning: unused parameter ‘v’ [-Wunused-parameter] 309 | static inline void update_guest_memory_policy(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h:310:75: warning: unused parameter ‘gmp’ [-Wunused-parameter] 310 | struct guest_memory_policy *gmp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from ./include/xen/sched.h:25: ./include/xen/vpci.h: In function ‘vpci_assign_device’: ./include/xen/vpci.h:278:54: warning: unused parameter ‘pdev’ [-Wunused-parameter] 278 | static inline int vpci_assign_device(struct pci_dev *pdev) | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_deassign_device’: ./include/xen/vpci.h:283:57: warning: unused parameter ‘pdev’ [-Wunused-parameter] 283 | static inline void vpci_deassign_device(struct pci_dev *pdev) { } | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_read’: ./include/xen/vpci.h:287:45: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:287:64: warning: unused parameter ‘reg’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:288:47: warning: unused parameter ‘size’ [-Wunused-parameter] 288 | unsigned int size) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_write’: ./include/xen/vpci.h:294:42: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:294:61: warning: unused parameter ‘reg’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:295:44: warning: unused parameter ‘size’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h:295:59: warning: unused parameter ‘data’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_process_pending’: ./include/xen/vpci.h:300:67: warning: unused parameter ‘v’ [-Wunused-parameter] 300 | static inline bool __must_check vpci_process_pending(struct vcpu *v) | ~~~~~~~~~~~~~^ In file included from ./include/xen/irq.h:4, from drivers/passthrough/arm/smmu.c:44: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ ./include/xen/sched.h: In function ‘is_pv_32bit_domain’: ./include/xen/sched.h:1131:67: warning: unused parameter ‘d’ [-Wunused-parameter] 1131 | static always_inline bool is_pv_32bit_domain(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/rcupdate.h:36, from ./include/xen/irq.h:5: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./include/xen/hypercall.h:22, from common/dm.c:19: ./include/xsm/xsm.h: In function ‘xsm_domain_create’: ./include/xsm/xsm.h:224:19: warning: unused parameter ‘def’ [-Wunused-parameter] 224 | xsm_default_t def, struct domain *d, uint32_t ssidref) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_getdomaininfo’: ./include/xsm/xsm.h:229:51: warning: unused parameter ‘def’ [-Wunused-parameter] 229 | static inline int xsm_getdomaininfo(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_domctl_scheduler_op’: ./include/xsm/xsm.h:235:19: warning: unused parameter ‘def’ [-Wunused-parameter] 235 | xsm_default_t def, struct domain *d, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_sysctl_scheduler_op’: ./include/xsm/xsm.h:240:57: warning: unused parameter ‘def’ [-Wunused-parameter] 240 | static inline int xsm_sysctl_scheduler_op(xsm_default_t def, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_set_target’: ./include/xsm/xsm.h:246:19: warning: unused parameter ‘def’ [-Wunused-parameter] 246 | xsm_default_t def, struct domain *d, struct domain *e) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_domctl’: ./include/xsm/xsm.h:251:44: warning: unused parameter ‘def’ [-Wunused-parameter] 251 | static inline int xsm_domctl(xsm_default_t def, struct domain *d, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_sysctl’: ./include/xsm/xsm.h:256:44: warning: unused parameter ‘def’ [-Wunused-parameter] 256 | static inline int xsm_sysctl(xsm_default_t def, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_readconsole’: ./include/xsm/xsm.h:261:49: warning: unused parameter ‘def’ [-Wunused-parameter] 261 | static inline int xsm_readconsole(xsm_default_t def, uint32_t clear) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_unbound’: ./include/xsm/xsm.h:267:19: warning: unused parameter ‘def’ [-Wunused-parameter] 267 | xsm_default_t def, struct domain *d1, struct evtchn *chn, domid_t id2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_interdomain’: ./include/xsm/xsm.h:273:19: warning: unused parameter ‘def’ [-Wunused-parameter] 273 | xsm_default_t def, struct domain *d1, struct evtchn *chan1, | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_send’: ./include/xsm/xsm.h:285:19: warning: unused parameter ‘def’ [-Wunused-parameter] 285 | xsm_default_t def, struct domain *d, struct evtchn *chn) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_status’: ./include/xsm/xsm.h:291:19: warning: unused parameter ‘def’ [-Wunused-parameter] 291 | xsm_default_t def, struct domain *d, struct evtchn *chn) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_reset’: ./include/xsm/xsm.h:297:19: warning: unused parameter ‘def’ [-Wunused-parameter] 297 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_mapref’: ./include/xsm/xsm.h:303:19: warning: unused parameter ‘def’ [-Wunused-parameter] 303 | xsm_default_t def, struct domain *d1, struct domain *d2, uint32_t flags) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_unmapref’: ./include/xsm/xsm.h:309:19: warning: unused parameter ‘def’ [-Wunused-parameter] 309 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_setup’: ./include/xsm/xsm.h:315:19: warning: unused parameter ‘def’ [-Wunused-parameter] 315 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_transfer’: ./include/xsm/xsm.h:321:19: warning: unused parameter ‘def’ [-Wunused-parameter] 321 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_copy’: ./include/xsm/xsm.h:327:19: warning: unused parameter ‘def’ [-Wunused-parameter] 327 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_query_size’: ./include/xsm/xsm.h:333:19: warning: unused parameter ‘def’ [-Wunused-parameter] 333 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_init_hardware_domain’: ./include/xsm/xsm.h:366:58: warning: unused parameter ‘def’ [-Wunused-parameter] 366 | static inline int xsm_init_hardware_domain(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_get_pod_target’: ./include/xsm/xsm.h:371:52: warning: unused parameter ‘def’ [-Wunused-parameter] 371 | static inline int xsm_get_pod_target(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_set_pod_target’: ./include/xsm/xsm.h:376:52: warning: unused parameter ‘def’ [-Wunused-parameter] 376 | static inline int xsm_set_pod_target(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_exchange’: ./include/xsm/xsm.h:381:53: warning: unused parameter ‘def’ [-Wunused-parameter] 381 | static inline int xsm_memory_exchange(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_adjust_reservation’: ./include/xsm/xsm.h:387:19: warning: unused parameter ‘def’ [-Wunused-parameter] 387 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_stat_reservation’: ./include/xsm/xsm.h:393:19: warning: unused parameter ‘def’ [-Wunused-parameter] 393 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_pin_page’: ./include/xsm/xsm.h:399:19: warning: unused parameter ‘def’ [-Wunused-parameter] 399 | xsm_default_t def, struct domain *d1, struct domain *d2, | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_add_to_physmap’: ./include/xsm/xsm.h:406:19: warning: unused parameter ‘def’ [-Wunused-parameter] 406 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_remove_from_physmap’: ./include/xsm/xsm.h:412:19: warning: unused parameter ‘def’ [-Wunused-parameter] 412 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_map_gmfn_foreign’: ./include/xsm/xsm.h:418:19: warning: unused parameter ‘def’ [-Wunused-parameter] 418 | xsm_default_t def, struct domain *d, struct domain *t) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_claim_pages’: ./include/xsm/xsm.h:423:49: warning: unused parameter ‘def’ [-Wunused-parameter] 423 | static inline int xsm_claim_pages(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_console_io’: ./include/xsm/xsm.h:428:48: warning: unused parameter ‘def’ [-Wunused-parameter] 428 | static inline int xsm_console_io(xsm_default_t def, struct domain *d, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_profile’: ./include/xsm/xsm.h:433:45: warning: unused parameter ‘def’ [-Wunused-parameter] 433 | static inline int xsm_profile(xsm_default_t def, struct domain *d, int op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_kexec’: ./include/xsm/xsm.h:438:43: warning: unused parameter ‘def’ [-Wunused-parameter] 438 | static inline int xsm_kexec(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_schedop_shutdown’: ./include/xsm/xsm.h:444:19: warning: unused parameter ‘def’ [-Wunused-parameter] 444 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_map_domain_pirq’: In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/xsm/xsm.h:454:53: warning: unused parameter ‘def’ [-Wunused-parameter] 454 | static inline int xsm_map_domain_pirq(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/xsm/xsm.h: In function ‘xsm_map_domain_irq’: ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/xsm/xsm.h:460:19: warning: unused parameter ‘def’ [-Wunused-parameter] 460 | xsm_default_t def, struct domain *d, int irq, void *data) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_unmap_domain_pirq’: ./include/xsm/xsm.h:465:55: warning: unused parameter ‘def’ [-Wunused-parameter] 465 | static inline int xsm_unmap_domain_pirq(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_unmap_domain_irq’: ./include/xsm/xsm.h:471:19: warning: unused parameter ‘def’ [-Wunused-parameter] 471 | xsm_default_t def, struct domain *d, int irq, void *data) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_bind_pt_irq’: ./include/xsm/xsm.h:477:19: warning: unused parameter ‘def’ [-Wunused-parameter] 477 | xsm_default_t def, struct domain *d, struct xen_domctl_bind_pt_irq *bind) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_unbind_pt_irq’: ./include/xsm/xsm.h:483:19: warning: unused parameter ‘def’ [-Wunused-parameter] 483 | xsm_default_t def, struct domain *d, struct xen_domctl_bind_pt_irq *bind) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_irq_permission’: ./include/xsm/xsm.h:489:19: warning: unused parameter ‘def’ [-Wunused-parameter] 489 | xsm_default_t def, struct domain *d, int pirq, uint8_t allow) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_iomem_permission’: ./include/xsm/xsm.h:495:19: warning: unused parameter ‘def’ [-Wunused-parameter] 495 | xsm_default_t def, struct domain *d, uint64_t s, uint64_t e, uint8_t allow) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_iomem_mapping’: ./include/xsm/xsm.h:501:19: warning: unused parameter ‘def’ [-Wunused-parameter] 501 | xsm_default_t def, struct domain *d, uint64_t s, uint64_t e, uint8_t allow) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_pci_config_permission’: ./include/xsm/xsm.h:507:19: warning: unused parameter ‘def’ [-Wunused-parameter] 507 | xsm_default_t def, struct domain *d, uint32_t machine_bdf, uint16_t start, | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_assign_dtdevice’: ./include/xsm/xsm.h:534:19: warning: unused parameter ‘def’ [-Wunused-parameter] 534 | xsm_default_t def, struct domain *d, const char *dtpath) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_deassign_dtdevice’: ./include/xsm/xsm.h:540:19: warning: unused parameter ‘def’ [-Wunused-parameter] 540 | xsm_default_t def, struct domain *d, const char *dtpath) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_plug_pci’: ./include/xsm/xsm.h:547:55: warning: unused parameter ‘def’ [-Wunused-parameter] 547 | static inline int xsm_resource_plug_pci(xsm_default_t def, uint32_t machine_bdf) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_unplug_pci’: ./include/xsm/xsm.h:553:19: warning: unused parameter ‘def’ [-Wunused-parameter] 553 | xsm_default_t def, uint32_t machine_bdf) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_plug_core’: ./include/xsm/xsm.h:558:56: warning: unused parameter ‘def’ [-Wunused-parameter] 558 | static inline int xsm_resource_plug_core(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_unplug_core’: ./include/xsm/xsm.h:563:58: warning: unused parameter ‘def’ [-Wunused-parameter] 563 | static inline int xsm_resource_unplug_core(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_setup_pci’: ./include/xsm/xsm.h:569:19: warning: unused parameter ‘def’ [-Wunused-parameter] 569 | xsm_default_t def, uint32_t machine_bdf) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_setup_gsi’: ./include/xsm/xsm.h:574:56: warning: unused parameter ‘def’ [-Wunused-parameter] 574 | static inline int xsm_resource_setup_gsi(xsm_default_t def, int gsi) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_setup_misc’: ./include/xsm/xsm.h:579:57: warning: unused parameter ‘def’ [-Wunused-parameter] 579 | static inline int xsm_resource_setup_misc(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_page_offline’: ./include/xsm/xsm.h:584:50: warning: unused parameter ‘def’ [-Wunused-parameter] 584 | static inline int xsm_page_offline(xsm_default_t def, uint32_t cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hypfs_op’: ./include/xsm/xsm.h:589:46: warning: unused parameter ‘def’ [-Wunused-parameter] 589 | static inline int xsm_hypfs_op(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hvm_param’: ./include/xsm/xsm.h:607:19: warning: unused parameter ‘def’ [-Wunused-parameter] 607 | xsm_default_t def, struct domain *d, unsigned long op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hvm_param_altp2mhvm’: ./include/xsm/xsm.h:612:57: warning: unused parameter ‘def’ [-Wunused-parameter] 612 | static inline int xsm_hvm_param_altp2mhvm(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hvm_altp2mhvm_op’: ./include/xsm/xsm.h:618:19: warning: unused parameter ‘def’ [-Wunused-parameter] 618 | xsm_default_t def, struct domain *d, uint64_t mode, uint32_t op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_get_vnumainfo’: ./include/xsm/xsm.h:623:51: warning: unused parameter ‘def’ [-Wunused-parameter] 623 | static inline int xsm_get_vnumainfo(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_vm_event_control’: ./include/xsm/xsm.h:629:19: warning: unused parameter ‘def’ [-Wunused-parameter] 629 | xsm_default_t def, struct domain *d, int mode, int op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_mem_access’: ./include/xsm/xsm.h:635:48: warning: unused parameter ‘def’ [-Wunused-parameter] 635 | static inline int xsm_mem_access(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_platform_op’: ./include/xsm/xsm.h:655:49: warning: unused parameter ‘def’ [-Wunused-parameter] 655 | static inline int xsm_platform_op(xsm_default_t def, uint32_t op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_dm_op’: ./include/xsm/xsm.h:738:43: warning: unused parameter ‘def’ [-Wunused-parameter] 738 | static inline int xsm_dm_op(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_xen_version’: ./include/xsm/xsm.h:743:49: warning: unused parameter ‘def’ [-Wunused-parameter] 743 | static inline int xsm_xen_version(xsm_default_t def, uint32_t op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_domain_resource_map’: ./include/xsm/xsm.h:748:57: warning: unused parameter ‘def’ [-Wunused-parameter] 748 | static inline int xsm_domain_resource_map(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233, from drivers/passthrough/arm/smmu.c:47: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from ./include/xen/domain.h:5, from ./include/xen/sched.h:11, from drivers/passthrough/arm/smmu.c:50: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7, from ./arch/arm/include/asm/domain.h:7, from ./include/xen/domain.h:15: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ CC common/domain.o CC arch/arm/arm64/smc.o ./arch/arm/include/asm/domain.h: In function ‘arch_vcpu_block’: ./arch/arm/include/asm/domain.h:297:49: warning: unused parameter ‘v’ [-Wunused-parameter] 297 | static inline void arch_vcpu_block(struct vcpu *v) {} | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘update_guest_memory_policy’: ./arch/arm/include/asm/domain.h:309:60: warning: unused parameter ‘v’ [-Wunused-parameter] 309 | static inline void update_guest_memory_policy(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h:310:75: warning: unused parameter ‘gmp’ [-Wunused-parameter] 310 | struct guest_memory_policy *gmp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from ./include/xen/sched.h:25: ./include/xen/vpci.h: In function ‘vpci_assign_device’: ./include/xen/vpci.h:278:54: warning: unused parameter ‘pdev’ [-Wunused-parameter] 278 | static inline int vpci_assign_device(struct pci_dev *pdev) | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_deassign_device’: ./include/xen/vpci.h:283:57: warning: unused parameter ‘pdev’ [-Wunused-parameter] 283 | static inline void vpci_deassign_device(struct pci_dev *pdev) { } | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_read’: ./include/xen/vpci.h:287:45: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:287:64: warning: unused parameter ‘reg’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:288:47: warning: unused parameter ‘size’ [-Wunused-parameter] 288 | unsigned int size) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_write’: ./include/xen/vpci.h:294:42: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:294:61: warning: unused parameter ‘reg’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:295:44: warning: unused parameter ‘size’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h:295:59: warning: unused parameter ‘data’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_process_pending’: ./include/xen/vpci.h:300:67: warning: unused parameter ‘v’ [-Wunused-parameter] 300 | static inline bool __must_check vpci_process_pending(struct vcpu *v) | ~~~~~~~~~~~~~^ In file included from common/domain.c:12: ./include/xen/param.h: In function ‘no_config_param’: ./include/xen/param.h:193:19: warning: operand of ‘?:’ changes signedness from ‘long int’ to ‘size_t’ {aka ‘long unsigned int’} due to unsignedness of other operand [-Wsign-compare] 193 | int len = e ? ({ ASSERT(e >= s); e - s; }) : strlen(s); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./include/xen/sched.h: In function ‘is_pv_32bit_domain’: ./include/xen/sched.h:1131:67: warning: unused parameter ‘d’ [-Wunused-parameter] 1131 | static always_inline bool is_pv_32bit_domain(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ drivers/passthrough/arm/smmu.c: In function ‘pci_for_each_dma_alias’: drivers/passthrough/arm/smmu.c:191:58: warning: unused parameter ‘pdev’ [-Wunused-parameter] 191 | static inline int pci_for_each_dma_alias(struct pci_dev *pdev, | ~~~~~~~~~~~~~~~~^~~~ drivers/passthrough/arm/smmu.c:192:48: warning: unused parameter ‘fn’ [-Wunused-parameter] 192 | int (*fn) (struct pci_dev *pdev, | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ 193 | u16 alias, void *data), | ~~~~~~~~~~~~~~~~~~~~~~ drivers/passthrough/arm/smmu.c:194:48: warning: unused parameter ‘data’ [-Wunused-parameter] 194 | void *data) | ~~~~~~^~~~ drivers/passthrough/arm/smmu.c: In function ‘arm_smmu_dt_add_device_legacy’: drivers/passthrough/arm/smmu.c:854:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 854 | for (i = 0; i < fwspec->num_ids; ++i) { | ^ drivers/passthrough/arm/smmu.c: In function ‘register_smmu_master’: drivers/passthrough/arm/smmu.c:894:48: warning: unused parameter ‘dev’ [-Wunused-parameter] 894 | struct device *dev, | ~~~~~~~~~~~~~~~^~~ drivers/passthrough/arm/smmu.c: In function ‘arm_smmu_dt_remove_device_generic’: drivers/passthrough/arm/smmu.c:920:49: warning: unused parameter ‘devfn’ [-Wunused-parameter] 920 | static int arm_smmu_dt_remove_device_generic(u8 devfn, struct device *dev) | ~~~^~~~~ drivers/passthrough/arm/smmu.c: In function ‘arm_smmu_dt_add_device_generic’: drivers/passthrough/arm/smmu.c:936:46: warning: unused parameter ‘devfn’ [-Wunused-parameter] 936 | static int arm_smmu_dt_add_device_generic(u8 devfn, struct device *dev) | ~~~^~~~~ In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/sched.h:6, from common/domain.c:13: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ drivers/passthrough/arm/smmu.c: In function ‘arm_smmu_context_fault’: drivers/passthrough/arm/smmu.c:1042:47: warning: unused parameter ‘irq’ [-Wunused-parameter] 1042 | static irqreturn_t arm_smmu_context_fault(int irq, void *dev) | ~~~~^~~ drivers/passthrough/arm/smmu.c: In function ‘arm_smmu_global_fault’: drivers/passthrough/arm/smmu.c:1075:46: warning: unused parameter ‘irq’ [-Wunused-parameter] 1075 | static irqreturn_t arm_smmu_global_fault(int irq, void *dev) | ~~~~^~~ In file included from ././include/xen/config.h:17, from : drivers/passthrough/arm/smmu.c: In function ‘arm_smmu_init_domain_context’: ./include/xen/err.h:17:38: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] 17 | #define IS_ERR_VALUE(x) unlikely((x) >= (unsigned long)-MAX_ERRNO) | ^~ ./include/xen/compiler.h:21:43: note: in definition of macro ‘unlikely’ 21 | #define unlikely(x) __builtin_expect(!!(x),0) | ^ drivers/passthrough/arm/smmu.c:1379:13: note: in expansion of macro ‘IS_ERR_VALUE’ 1379 | if (IS_ERR_VALUE(ret)) | ^~~~~~~~~~~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/xen/err.h:17:38: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] 17 | #define IS_ERR_VALUE(x) unlikely((x) >= (unsigned long)-MAX_ERRNO) | ^~ ./include/xen/compiler.h:21:43: note: in definition of macro ‘unlikely’ 21 | #define unlikely(x) __builtin_expect(!!(x),0) | ^ drivers/passthrough/arm/smmu.c:1397:13: note: in expansion of macro ‘IS_ERR_VALUE’ 1397 | if (IS_ERR_VALUE(ret)) { | ^~~~~~~~~~~~ drivers/passthrough/arm/smmu.c: In function ‘arm_smmu_find_sme’: drivers/passthrough/arm/smmu.c:1567:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘u32’ {aka ‘unsigned int’} [-Wsign-compare] 1567 | for (i = 0; i < smmu->num_mapping_groups; ++i) { | ^ drivers/passthrough/arm/smmu.c: In function ‘arm_smmu_master_alloc_smes’: drivers/passthrough/arm/smmu.c:630:49: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 630 | for (i = 0; idx = (cfg)->smendx[i], (i) < (num); ++(i)) | ^ drivers/passthrough/arm/smmu.c:1621:9: note: in expansion of macro ‘for_each_cfg_sme’ 1621 | for_each_cfg_sme(cfg, i, idx, fwspec->num_ids) { | ^~~~~~~~~~~~~~~~ drivers/passthrough/arm/smmu.c:630:49: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 630 | for (i = 0; idx = (cfg)->smendx[i], (i) < (num); ++(i)) | ^ drivers/passthrough/arm/smmu.c:1642:9: note: in expansion of macro ‘for_each_cfg_sme’ 1642 | for_each_cfg_sme(cfg, i, idx, fwspec->num_ids) { | ^~~~~~~~~~~~~~~~ drivers/passthrough/arm/smmu.c: In function ‘arm_smmu_domain_add_master’: drivers/passthrough/arm/smmu.c:630:49: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 630 | for (i = 0; idx = (cfg)->smendx[i], (i) < (num); ++(i)) | ^ drivers/passthrough/arm/smmu.c:1668:9: note: in expansion of macro ‘for_each_cfg_sme’ 1668 | for_each_cfg_sme(cfg, i, idx, fwspec->num_ids) { | ^~~~~~~~~~~~~~~~ drivers/passthrough/arm/smmu.c: In function ‘arm_smmu_attach_dev’: ./include/xen/err.h:17:38: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] 17 | #define IS_ERR_VALUE(x) unlikely((x) >= (unsigned long)-MAX_ERRNO) | ^~ ./include/xen/compiler.h:21:43: note: in definition of macro ‘unlikely’ 21 | #define unlikely(x) __builtin_expect(!!(x),0) | ^ drivers/passthrough/arm/smmu.c:1721:21: note: in expansion of macro ‘IS_ERR_VALUE’ 1721 | if (IS_ERR_VALUE(ret)) | ^~~~~~~~~~~~ drivers/passthrough/arm/smmu.c: In function ‘__arm_smmu_get_pci_sid’: drivers/passthrough/arm/smmu.c:2066:51: warning: unused parameter ‘pdev’ [-Wunused-parameter] 2066 | static int __arm_smmu_get_pci_sid(struct pci_dev *pdev, u16 alias, void *data) | ~~~~~~~~~~~~~~~~^~~~ drivers/passthrough/arm/smmu.c: In function ‘arm_smmu_device_reset’: drivers/passthrough/arm/smmu.c:2213:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘u32’ {aka ‘unsigned int’} [-Wsign-compare] 2213 | for (i = 0; i < smmu->num_mapping_groups; ++i) | ^ drivers/passthrough/arm/smmu.c:2217:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘u32’ {aka ‘unsigned int’} [-Wsign-compare] 2217 | for (i = 0; i < smmu->num_context_banks; ++i) { | ^ drivers/passthrough/arm/smmu.c: In function ‘arm_smmu_device_cfg_probe’: In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/rwlock.h:6, from ./include/xen/sched.h:7: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ drivers/passthrough/arm/smmu.c:2365:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] 2365 | for (i = 0; i < size; i++) | ^ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ drivers/passthrough/arm/smmu.c: In function ‘arm_smmu_device_dt_probe’: drivers/passthrough/arm/smmu.c:2498:30: warning: comparison of integer expressions of different signedness: ‘int’ and ‘u32’ {aka ‘unsigned int’} [-Wsign-compare] 2498 | if (num_irqs > smmu->num_global_irqs) | ^ drivers/passthrough/arm/smmu.c:2559:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘u32’ {aka ‘unsigned int’} [-Wsign-compare] 2559 | for (i = 0; i < smmu->num_global_irqs; ++i) { | ^ drivers/passthrough/arm/smmu.c: In function ‘arm_smmu_iotlb_flush’: In file included from ./include/xen/domain.h:5, from ./include/xen/sched.h:11: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ drivers/passthrough/arm/smmu.c:2709:70: warning: unused parameter ‘dfn’ [-Wunused-parameter] 2709 | static int __must_check arm_smmu_iotlb_flush(struct domain *d, dfn_t dfn, | ~~~~~~^~~ drivers/passthrough/arm/smmu.c:2710:60: warning: unused parameter ‘page_count’ [-Wunused-parameter] 2710 | unsigned long page_count, | ~~~~~~~~~~~~~~^~~~~~~~~~ drivers/passthrough/arm/smmu.c: In function ‘arm_smmu_assign_dev’: drivers/passthrough/arm/smmu.c:2769:53: warning: unused parameter ‘devfn’ [-Wunused-parameter] 2769 | static int arm_smmu_assign_dev(struct domain *d, u8 devfn, | ~~~^~~~~ drivers/passthrough/arm/smmu.c:2770:56: warning: unused parameter ‘flag’ [-Wunused-parameter] 2770 | struct device *dev, u32 flag) | ~~~~^~~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233, from ./arch/arm/include/asm/p2m.h:4, from ./arch/arm/include/asm/domain.h:7, from ./include/xen/domain.h:15: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ drivers/passthrough/arm/smmu.c: In function ‘arm_smmu_dt_init’: ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ drivers/passthrough/arm/smmu.c:2946:48: warning: unused parameter ‘data’ [-Wunused-parameter] 2946 | const void *data) | ~~~~~~~~~~~~^~~~ CC arch/arm/arm64/smpboot.o In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ CC xsm/flask/ss/policydb.o ./arch/arm/include/asm/domain.h: In function ‘arch_vcpu_block’: ./arch/arm/include/asm/domain.h:297:49: warning: unused parameter ‘v’ [-Wunused-parameter] 297 | static inline void arch_vcpu_block(struct vcpu *v) {} | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘update_guest_memory_policy’: ./arch/arm/include/asm/domain.h:309:60: warning: unused parameter ‘v’ [-Wunused-parameter] 309 | static inline void update_guest_memory_policy(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h:310:75: warning: unused parameter ‘gmp’ [-Wunused-parameter] 310 | struct guest_memory_policy *gmp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from ./include/xen/sched.h:25: ./include/xen/vpci.h: In function ‘vpci_assign_device’: ./include/xen/vpci.h:278:54: warning: unused parameter ‘pdev’ [-Wunused-parameter] 278 | static inline int vpci_assign_device(struct pci_dev *pdev) | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_deassign_device’: ./include/xen/vpci.h:283:57: warning: unused parameter ‘pdev’ [-Wunused-parameter] 283 | static inline void vpci_deassign_device(struct pci_dev *pdev) { } | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_read’: ./include/xen/vpci.h:287:45: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:287:64: warning: unused parameter ‘reg’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:288:47: warning: unused parameter ‘size’ [-Wunused-parameter] 288 | unsigned int size) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_write’: ./include/xen/vpci.h:294:42: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:294:61: warning: unused parameter ‘reg’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:295:44: warning: unused parameter ‘size’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h:295:59: warning: unused parameter ‘data’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_process_pending’: ./include/xen/vpci.h:300:67: warning: unused parameter ‘v’ [-Wunused-parameter] 300 | static inline bool __must_check vpci_process_pending(struct vcpu *v) | ~~~~~~~~~~~~~^ ./include/xen/sched.h: In function ‘is_pv_32bit_domain’: ./include/xen/sched.h:1131:67: warning: unused parameter ‘d’ [-Wunused-parameter] 1131 | static always_inline bool is_pv_32bit_domain(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ In file included from ./include/xen/event.h:17, from common/domain.c:16: ./arch/arm/include/asm/event.h: In function ‘arch_virq_is_global’: ./arch/arm/include/asm/event.h:50:53: warning: unused parameter ‘virq’ [-Wunused-parameter] 50 | static inline bool arch_virq_is_global(unsigned int virq) | ~~~~~~~~~~~~~^~~~ In file included from ./arch/arm/include/generated/asm/vm_event.h:1, from ./include/xen/vm_event.h:28, from common/domain.c:17: ./include/asm-generic/vm_event.h: In function ‘vm_event_init_domain’: ./include/asm-generic/vm_event.h:14:55: warning: unused parameter ‘d’ [-Wunused-parameter] 14 | static inline int vm_event_init_domain(struct domain *d) | ~~~~~~~~~~~~~~~^ ./include/asm-generic/vm_event.h: In function ‘vm_event_toggle_singlestep’: ./include/asm-generic/vm_event.h:25:62: warning: unused parameter ‘d’ [-Wunused-parameter] 25 | static inline void vm_event_toggle_singlestep(struct domain *d, struct vcpu *v, | ~~~~~~~~~~~~~~~^ ./include/asm-generic/vm_event.h:25:78: warning: unused parameter ‘v’ [-Wunused-parameter] 25 | static inline void vm_event_toggle_singlestep(struct domain *d, struct vcpu *v, | ~~~~~~~~~~~~~^ ./include/asm-generic/vm_event.h:26:68: warning: unused parameter ‘rsp’ [-Wunused-parameter] 26 | vm_event_response_t *rsp) | ~~~~~~~~~~~~~~~~~~~~~^~~ ./include/asm-generic/vm_event.h: In function ‘vm_event_register_write_resume’: ./include/asm-generic/vm_event.h:32:50: warning: unused parameter ‘v’ [-Wunused-parameter] 32 | void vm_event_register_write_resume(struct vcpu *v, vm_event_response_t *rsp) | ~~~~~~~~~~~~~^ ./include/asm-generic/vm_event.h:32:74: warning: unused parameter ‘rsp’ [-Wunused-parameter] 32 | void vm_event_register_write_resume(struct vcpu *v, vm_event_response_t *rsp) | ~~~~~~~~~~~~~~~~~~~~~^~~ ./include/asm-generic/vm_event.h: In function ‘vm_event_emulate_check’: ./include/asm-generic/vm_event.h:38:42: warning: unused parameter ‘v’ [-Wunused-parameter] 38 | void vm_event_emulate_check(struct vcpu *v, vm_event_response_t *rsp) | ~~~~~~~~~~~~~^ ./include/asm-generic/vm_event.h:38:66: warning: unused parameter ‘rsp’ [-Wunused-parameter] 38 | void vm_event_emulate_check(struct vcpu *v, vm_event_response_t *rsp) | ~~~~~~~~~~~~~~~~~~~~~^~~ ./include/asm-generic/vm_event.h: In function ‘vm_event_sync_event’: ./include/asm-generic/vm_event.h:44:39: warning: unused parameter ‘v’ [-Wunused-parameter] 44 | void vm_event_sync_event(struct vcpu *v, bool value) | ~~~~~~~~~~~~~^ ./include/asm-generic/vm_event.h:44:47: warning: unused parameter ‘value’ [-Wunused-parameter] 44 | void vm_event_sync_event(struct vcpu *v, bool value) ./include/asm-generic/vm_event.h: In function ‘vm_event_reset_vmtrace’: ./include/asm-generic/vm_event.h:50:42: warning: unused parameter ‘v’ [-Wunused-parameter] 50 | void vm_event_reset_vmtrace(struct vcpu *v) | ~~~~~~~~~~~~~^ In file included from common/domain.c:22: ./include/xen/domain_page.h: In function ‘unmap_domain_page_global’: ./include/xen/domain_page.h:71:57: warning: unused parameter ‘va’ [-Wunused-parameter] 71 | static inline void unmap_domain_page_global(const void *va) {}; | ~~~~~~~~~~~~^~ In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/acpi/platform/aclinux.h:54, from ./include/acpi/platform/acenv.h:142, from ./include/acpi/acpi.h:56, from ./include/xen/acpi.h:57, from arch/arm/arm64/smpboot.c:1: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./include/xen/hypercall.h:22, from common/domain.c:25: ./include/xsm/xsm.h: In function ‘xsm_domain_create’: ./include/xsm/xsm.h:224:19: warning: unused parameter ‘def’ [-Wunused-parameter] 224 | xsm_default_t def, struct domain *d, uint32_t ssidref) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_getdomaininfo’: ./include/xsm/xsm.h:229:51: warning: unused parameter ‘def’ [-Wunused-parameter] 229 | static inline int xsm_getdomaininfo(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_domctl_scheduler_op’: ./include/xsm/xsm.h:235:19: warning: unused parameter ‘def’ [-Wunused-parameter] 235 | xsm_default_t def, struct domain *d, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_sysctl_scheduler_op’: ./include/xsm/xsm.h:240:57: warning: unused parameter ‘def’ [-Wunused-parameter] 240 | static inline int xsm_sysctl_scheduler_op(xsm_default_t def, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_set_target’: ./include/xsm/xsm.h:246:19: warning: unused parameter ‘def’ [-Wunused-parameter] 246 | xsm_default_t def, struct domain *d, struct domain *e) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_domctl’: ./include/xsm/xsm.h:251:44: warning: unused parameter ‘def’ [-Wunused-parameter] 251 | static inline int xsm_domctl(xsm_default_t def, struct domain *d, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_sysctl’: ./include/xsm/xsm.h:256:44: warning: unused parameter ‘def’ [-Wunused-parameter] 256 | static inline int xsm_sysctl(xsm_default_t def, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_readconsole’: ./include/xsm/xsm.h:261:49: warning: unused parameter ‘def’ [-Wunused-parameter] 261 | static inline int xsm_readconsole(xsm_default_t def, uint32_t clear) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_unbound’: ./include/xsm/xsm.h:267:19: warning: unused parameter ‘def’ [-Wunused-parameter] 267 | xsm_default_t def, struct domain *d1, struct evtchn *chn, domid_t id2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_interdomain’: ./include/xsm/xsm.h:273:19: warning: unused parameter ‘def’ [-Wunused-parameter] 273 | xsm_default_t def, struct domain *d1, struct evtchn *chan1, | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_send’: ./include/xsm/xsm.h:285:19: warning: unused parameter ‘def’ [-Wunused-parameter] 285 | xsm_default_t def, struct domain *d, struct evtchn *chn) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_status’: ./include/xsm/xsm.h:291:19: warning: unused parameter ‘def’ [-Wunused-parameter] 291 | xsm_default_t def, struct domain *d, struct evtchn *chn) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_reset’: ./include/xsm/xsm.h:297:19: warning: unused parameter ‘def’ [-Wunused-parameter] 297 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_mapref’: ./include/xsm/xsm.h:303:19: warning: unused parameter ‘def’ [-Wunused-parameter] 303 | xsm_default_t def, struct domain *d1, struct domain *d2, uint32_t flags) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_unmapref’: ./include/xsm/xsm.h:309:19: warning: unused parameter ‘def’ [-Wunused-parameter] 309 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_setup’: ./include/xsm/xsm.h:315:19: warning: unused parameter ‘def’ [-Wunused-parameter] 315 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_transfer’: ./include/xsm/xsm.h:321:19: warning: unused parameter ‘def’ [-Wunused-parameter] 321 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_copy’: ./include/xsm/xsm.h:327:19: warning: unused parameter ‘def’ [-Wunused-parameter] 327 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_query_size’: ./include/xsm/xsm.h:333:19: warning: unused parameter ‘def’ [-Wunused-parameter] 333 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_init_hardware_domain’: ./include/xsm/xsm.h:366:58: warning: unused parameter ‘def’ [-Wunused-parameter] 366 | static inline int xsm_init_hardware_domain(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_get_pod_target’: ./include/xsm/xsm.h:371:52: warning: unused parameter ‘def’ [-Wunused-parameter] 371 | static inline int xsm_get_pod_target(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_set_pod_target’: ./include/xsm/xsm.h:376:52: warning: unused parameter ‘def’ [-Wunused-parameter] 376 | static inline int xsm_set_pod_target(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_exchange’: ./include/xsm/xsm.h:381:53: warning: unused parameter ‘def’ [-Wunused-parameter] 381 | static inline int xsm_memory_exchange(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_adjust_reservation’: ./include/xsm/xsm.h:387:19: warning: unused parameter ‘def’ [-Wunused-parameter] 387 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_stat_reservation’: ./include/xsm/xsm.h:393:19: warning: unused parameter ‘def’ [-Wunused-parameter] 393 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_pin_page’: ./include/xsm/xsm.h:399:19: warning: unused parameter ‘def’ [-Wunused-parameter] 399 | xsm_default_t def, struct domain *d1, struct domain *d2, | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_add_to_physmap’: ./include/xsm/xsm.h:406:19: warning: unused parameter ‘def’ [-Wunused-parameter] 406 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_remove_from_physmap’: ./include/xsm/xsm.h:412:19: warning: unused parameter ‘def’ [-Wunused-parameter] 412 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_map_gmfn_foreign’: ./include/xsm/xsm.h:418:19: warning: unused parameter ‘def’ [-Wunused-parameter] 418 | xsm_default_t def, struct domain *d, struct domain *t) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_claim_pages’: ./include/xsm/xsm.h:423:49: warning: unused parameter ‘def’ [-Wunused-parameter] 423 | static inline int xsm_claim_pages(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_console_io’: ./include/xsm/xsm.h:428:48: warning: unused parameter ‘def’ [-Wunused-parameter] 428 | static inline int xsm_console_io(xsm_default_t def, struct domain *d, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_profile’: ./include/xsm/xsm.h:433:45: warning: unused parameter ‘def’ [-Wunused-parameter] 433 | static inline int xsm_profile(xsm_default_t def, struct domain *d, int op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_kexec’: ./include/xsm/xsm.h:438:43: warning: unused parameter ‘def’ [-Wunused-parameter] 438 | static inline int xsm_kexec(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_schedop_shutdown’: ./include/xsm/xsm.h:444:19: warning: unused parameter ‘def’ [-Wunused-parameter] 444 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_map_domain_pirq’: ./include/xsm/xsm.h:454:53: warning: unused parameter ‘def’ [-Wunused-parameter] 454 | static inline int xsm_map_domain_pirq(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_map_domain_irq’: ./include/xsm/xsm.h:460:19: warning: unused parameter ‘def’ [-Wunused-parameter] 460 | xsm_default_t def, struct domain *d, int irq, void *data) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_unmap_domain_pirq’: ./include/xsm/xsm.h:465:55: warning: unused parameter ‘def’ [-Wunused-parameter] 465 | static inline int xsm_unmap_domain_pirq(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_unmap_domain_irq’: ./include/xsm/xsm.h:471:19: warning: unused parameter ‘def’ [-Wunused-parameter] 471 | xsm_default_t def, struct domain *d, int irq, void *data) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_bind_pt_irq’: ./include/xsm/xsm.h:477:19: warning: unused parameter ‘def’ [-Wunused-parameter] 477 | xsm_default_t def, struct domain *d, struct xen_domctl_bind_pt_irq *bind) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_unbind_pt_irq’: ./include/xsm/xsm.h:483:19: warning: unused parameter ‘def’ [-Wunused-parameter] 483 | xsm_default_t def, struct domain *d, struct xen_domctl_bind_pt_irq *bind) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_irq_permission’: ./include/xsm/xsm.h:489:19: warning: unused parameter ‘def’ [-Wunused-parameter] 489 | xsm_default_t def, struct domain *d, int pirq, uint8_t allow) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_iomem_permission’: ./include/xsm/xsm.h:495:19: warning: unused parameter ‘def’ [-Wunused-parameter] 495 | xsm_default_t def, struct domain *d, uint64_t s, uint64_t e, uint8_t allow) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_iomem_mapping’: ./include/xsm/xsm.h:501:19: warning: unused parameter ‘def’ [-Wunused-parameter] 501 | xsm_default_t def, struct domain *d, uint64_t s, uint64_t e, uint8_t allow) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_pci_config_permission’: ./include/xsm/xsm.h:507:19: warning: unused parameter ‘def’ [-Wunused-parameter] 507 | xsm_default_t def, struct domain *d, uint32_t machine_bdf, uint16_t start, | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_assign_dtdevice’: ./include/xsm/xsm.h:534:19: warning: unused parameter ‘def’ [-Wunused-parameter] 534 | xsm_default_t def, struct domain *d, const char *dtpath) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_deassign_dtdevice’: ./include/xsm/xsm.h:540:19: warning: unused parameter ‘def’ [-Wunused-parameter] 540 | xsm_default_t def, struct domain *d, const char *dtpath) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_plug_pci’: ./include/xsm/xsm.h:547:55: warning: unused parameter ‘def’ [-Wunused-parameter] 547 | static inline int xsm_resource_plug_pci(xsm_default_t def, uint32_t machine_bdf) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_unplug_pci’: ./include/xsm/xsm.h:553:19: warning: unused parameter ‘def’ [-Wunused-parameter] 553 | xsm_default_t def, uint32_t machine_bdf) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_plug_core’: In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/xsm/xsm.h:558:56: warning: unused parameter ‘def’ [-Wunused-parameter] 558 | static inline int xsm_resource_plug_core(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_unplug_core’: ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/xsm/xsm.h:563:58: warning: unused parameter ‘def’ [-Wunused-parameter] 563 | static inline int xsm_resource_unplug_core(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_setup_pci’: ./include/xsm/xsm.h:569:19: warning: unused parameter ‘def’ [-Wunused-parameter] 569 | xsm_default_t def, uint32_t machine_bdf) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_setup_gsi’: ./include/xsm/xsm.h:574:56: warning: unused parameter ‘def’ [-Wunused-parameter] 574 | static inline int xsm_resource_setup_gsi(xsm_default_t def, int gsi) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_setup_misc’: ./include/xsm/xsm.h:579:57: warning: unused parameter ‘def’ [-Wunused-parameter] 579 | static inline int xsm_resource_setup_misc(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_page_offline’: ./include/xsm/xsm.h:584:50: warning: unused parameter ‘def’ [-Wunused-parameter] 584 | static inline int xsm_page_offline(xsm_default_t def, uint32_t cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hypfs_op’: ./include/xsm/xsm.h:589:46: warning: unused parameter ‘def’ [-Wunused-parameter] 589 | static inline int xsm_hypfs_op(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hvm_param’: ./include/xsm/xsm.h:607:19: warning: unused parameter ‘def’ [-Wunused-parameter] 607 | xsm_default_t def, struct domain *d, unsigned long op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hvm_param_altp2mhvm’: ./include/xsm/xsm.h:612:57: warning: unused parameter ‘def’ [-Wunused-parameter] 612 | static inline int xsm_hvm_param_altp2mhvm(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hvm_altp2mhvm_op’: ./include/xsm/xsm.h:618:19: warning: unused parameter ‘def’ [-Wunused-parameter] 618 | xsm_default_t def, struct domain *d, uint64_t mode, uint32_t op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_get_vnumainfo’: ./include/xsm/xsm.h:623:51: warning: unused parameter ‘def’ [-Wunused-parameter] 623 | static inline int xsm_get_vnumainfo(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_vm_event_control’: ./include/xsm/xsm.h:629:19: warning: unused parameter ‘def’ [-Wunused-parameter] 629 | xsm_default_t def, struct domain *d, int mode, int op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_mem_access’: ./include/xsm/xsm.h:635:48: warning: unused parameter ‘def’ [-Wunused-parameter] 635 | static inline int xsm_mem_access(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_platform_op’: ./include/xsm/xsm.h:655:49: warning: unused parameter ‘def’ [-Wunused-parameter] 655 | static inline int xsm_platform_op(xsm_default_t def, uint32_t op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_dm_op’: ./include/xsm/xsm.h:738:43: warning: unused parameter ‘def’ [-Wunused-parameter] 738 | static inline int xsm_dm_op(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_xen_version’: ./include/xsm/xsm.h:743:49: warning: unused parameter ‘def’ [-Wunused-parameter] 743 | static inline int xsm_xen_version(xsm_default_t def, uint32_t op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_domain_resource_map’: ./include/xsm/xsm.h:748:57: warning: unused parameter ‘def’ [-Wunused-parameter] 748 | static inline int xsm_domain_resource_map(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ In file included from ./include/xen/grant_table.h:31, from common/domain.c:32: ./arch/arm/include/asm/grant_table.h: In function ‘gnttab_mark_dirty’: ./arch/arm/include/asm/grant_table.h:20:53: warning: unused parameter ‘d’ [-Wunused-parameter] 20 | static inline void gnttab_mark_dirty(struct domain *d, mfn_t mfn) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/grant_table.h:20:62: warning: unused parameter ‘mfn’ [-Wunused-parameter] 20 | static inline void gnttab_mark_dirty(struct domain *d, mfn_t mfn) | ~~~~~~^~~ ./arch/arm/include/asm/grant_table.h: In function ‘gnttab_host_mapping_get_page_type’: ./arch/arm/include/asm/grant_table.h:27:59: warning: unused parameter ‘ro’ [-Wunused-parameter] 27 | static inline bool gnttab_host_mapping_get_page_type(bool ro, ./arch/arm/include/asm/grant_table.h:28:75: warning: unused parameter ‘ld’ [-Wunused-parameter] 28 | const struct domain *ld, | ~~~~~~~~~~~~~~~~~~~~~^~ ./arch/arm/include/asm/grant_table.h:29:75: warning: unused parameter ‘rd’ [-Wunused-parameter] 29 | const struct domain *rd) | ~~~~~~~~~~~~~~~~~~~~~^~ ./arch/arm/include/asm/grant_table.h: In function ‘gnttab_release_host_mappings’: ./arch/arm/include/asm/grant_table.h:34:70: warning: unused parameter ‘d’ [-Wunused-parameter] 34 | static inline bool gnttab_release_host_mappings(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ In file included from common/domain.c:33: ./include/xen/xenoprof.h: In function ‘acquire_pmu_ownership’: ./include/xen/xenoprof.h:39:45: warning: unused parameter ‘pmu_ownership’ [-Wunused-parameter] 39 | static inline int acquire_pmu_ownership(int pmu_ownership) | ~~~~^~~~~~~~~~~~~ ./include/xen/xenoprof.h: In function ‘release_pmu_ownership’: ./include/xen/xenoprof.h:44:46: warning: unused parameter ‘pmu_ownership’ [-Wunused-parameter] 44 | static inline void release_pmu_ownership(int pmu_ownership) | ~~~~^~~~~~~~~~~~~ common/domain.c: In function ‘late_hwdom_init’: common/domain.c:306:43: warning: unused parameter ‘d’ [-Wunused-parameter] 306 | static int late_hwdom_init(struct domain *d) | ~~~~~~~~~~~~~~~^ In file included from ././include/xen/config.h:17, from : common/domain.c: In function ‘_domain_destroy’: common/domain.c:494:36: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 494 | BUG_ON(atomic_read(&d->refcnt) != DOMAIN_DESTROYED); | ^~ ./include/xen/compiler.h:21:43: note: in definition of macro ‘unlikely’ 21 | #define unlikely(x) __builtin_expect(!!(x),0) | ^ common/domain.c:494:5: note: in expansion of macro ‘BUG_ON’ 494 | BUG_ON(atomic_read(&d->refcnt) != DOMAIN_DESTROYED); | ^~~~~~ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/perfc.h:7, from ./include/xen/mm.h:70, from ./arch/arm/include/asm/p2m.h:4, from ./arch/arm/include/asm/setup.h:5, from ./arch/arm/include/asm/acpi.h:25, from ./include/acpi/platform/aclinux.h:58: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ common/domain.c: In function ‘common_vcpu_op’: In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ common/domain.c:1864:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 1864 | if ( v->vcpu_id != vcpuid && !test_bit(_VPF_down, &v->pause_flags) ) | ^~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ common/domain.c:1934:33: warning: comparison of integer expressions of different signedness: ‘uint64_t’ {aka ‘long unsigned int’} and ‘long int’ [-Wsign-compare] 1934 | if ( set.timeout_abs_ns < NOW() ) | ^ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from xsm/flask/ss/sidtab.h:14, from xsm/flask/ss/policydb.h:31, from xsm/flask/ss/policydb.c:36: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ ./include/xen/acpi.h: In function ‘acpi_set_cstate_limit’: ./include/xen/acpi.h:192:55: warning: unused parameter ‘new_limit’ [-Wunused-parameter] 192 | static inline void acpi_set_cstate_limit(unsigned int new_limit) { return; } | ~~~~~~~~~~~~~^~~~~~~~~ ./include/xen/acpi.h: In function ‘acpi_set_csubstate_limit’: ./include/xen/acpi.h:194:58: warning: unused parameter ‘new_limit’ [-Wunused-parameter] 194 | static inline void acpi_set_csubstate_limit(unsigned int new_limit) { return; } | ~~~~~~~~~~~~~^~~~~~~~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ xsm/flask/ss/policydb.c: In function ‘policydb_lookup_compat’: xsm/flask/ss/policydb.c:157:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] 157 | for ( i = 0; i < sizeof(policydb_compat)/sizeof(*info); i++ ) | ^ xsm/flask/ss/policydb.c: In function ‘common_index’: xsm/flask/ss/policydb.c:263:40: warning: unused parameter ‘key’ [-Wunused-parameter] 263 | static int cf_check common_index(void *key, void *datum, void *datap) | ~~~~~~^~~ xsm/flask/ss/policydb.c:263:51: warning: unused parameter ‘datum’ [-Wunused-parameter] 263 | static int cf_check common_index(void *key, void *datum, void *datap) | ~~~~~~^~~~~ xsm/flask/ss/policydb.c:263:64: warning: unused parameter ‘datap’ [-Wunused-parameter] 263 | static int cf_check common_index(void *key, void *datum, void *datap) | ~~~~~~^~~~~ xsm/flask/ss/policydb.c: In function ‘perm_destroy’: xsm/flask/ss/policydb.c:512:64: warning: unused parameter ‘p’ [-Wunused-parameter] 512 | static int cf_check perm_destroy(void *key, void *datum, void *p) | ~~~~~~^ xsm/flask/ss/policydb.c: In function ‘common_destroy’: xsm/flask/ss/policydb.c:519:66: warning: unused parameter ‘p’ [-Wunused-parameter] 519 | static int cf_check common_destroy(void *key, void *datum, void *p) | ~~~~~~^ xsm/flask/ss/policydb.c: In function ‘class_destroy’: xsm/flask/ss/policydb.c:531:65: warning: unused parameter ‘p’ [-Wunused-parameter] 531 | static int cf_check class_destroy(void *key, void *datum, void *p) | ~~~~~~^ xsm/flask/ss/policydb.c: In function ‘role_destroy’: xsm/flask/ss/policydb.c:578:64: warning: unused parameter ‘p’ [-Wunused-parameter] 578 | static int cf_check role_destroy(void *key, void *datum, void *p) | ~~~~~~^ xsm/flask/ss/policydb.c: In function ‘type_destroy’: xsm/flask/ss/policydb.c:590:64: warning: unused parameter ‘p’ [-Wunused-parameter] 590 | static int cf_check type_destroy(void *key, void *datum, void *p) | ~~~~~~^ xsm/flask/ss/policydb.c: In function ‘user_destroy’: xsm/flask/ss/policydb.c:597:64: warning: unused parameter ‘p’ [-Wunused-parameter] 597 | static int cf_check user_destroy(void *key, void *datum, void *p) | ~~~~~~^ xsm/flask/ss/policydb.c: In function ‘sens_destroy’: xsm/flask/ss/policydb.c:611:64: warning: unused parameter ‘p’ [-Wunused-parameter] 611 | static int cf_check sens_destroy(void *key, void *datum, void *p) | ~~~~~~^ xsm/flask/ss/policydb.c: In function ‘cat_destroy’: xsm/flask/ss/policydb.c:623:63: warning: unused parameter ‘p’ [-Wunused-parameter] 623 | static int cf_check cat_destroy(void *key, void *datum, void *p) | ~~~~~~^ xsm/flask/ss/policydb.c: In function ‘policydb_destroy’: xsm/flask/ss/policydb.c:723:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘u32’ {aka ‘unsigned int’} [-Wsign-compare] 723 | for ( i = 0; i < p->p_types.nprim; i++ ) | ^ xsm/flask/ss/policydb.c: In function ‘perm_read’: xsm/flask/ss/policydb.c:952:39: warning: unused parameter ‘p’ [-Wunused-parameter] 952 | static int perm_read(struct policydb *p, struct hashtab *h, void *fp) | ~~~~~~~~~~~~~~~~~^ xsm/flask/ss/policydb.c: In function ‘common_read’: xsm/flask/ss/policydb.c:1034:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘u32’ {aka ‘unsigned int’} [-Wsign-compare] 1034 | for ( i = 0; i < nel; i++ ) | ^ xsm/flask/ss/policydb.c: In function ‘read_cons_helper’: xsm/flask/ss/policydb.c:1083:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘u32’ {aka ‘unsigned int’} [-Wsign-compare] 1083 | for ( j = 0; j < nexpr; j++ ) | ^ xsm/flask/ss/policydb.c: In function ‘class_read’: xsm/flask/ss/policydb.c:1205:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘u32’ {aka ‘unsigned int’} [-Wsign-compare] 1205 | for ( i = 0; i < nel; i++ ) | ^ xsm/flask/ss/policydb.c: In function ‘sens_read’: xsm/flask/ss/policydb.c:1485:48: warning: unused parameter ‘p’ [-Wunused-parameter] 1485 | static int cf_check sens_read(struct policydb *p, struct hashtab *h, void *fp) | ~~~~~~~~~~~~~~~~~^ xsm/flask/ss/policydb.c: In function ‘cat_read’: xsm/flask/ss/policydb.c:1540:47: warning: unused parameter ‘p’ [-Wunused-parameter] 1540 | static int cf_check cat_read(struct policydb *p, struct hashtab *h, void *fp) | ~~~~~~~~~~~~~~~~~^ xsm/flask/ss/policydb.c: In function ‘policydb_read’: xsm/flask/ss/policydb.c:1868:30: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] 1868 | if ( le32_to_cpu(buf[2]) != info->sym_num || | ^~ xsm/flask/ss/policydb.c:1869:30: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] 1869 | le32_to_cpu(buf[3]) != info->ocon_num ) | ^~ xsm/flask/ss/policydb.c:1885:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘u32’ {aka ‘unsigned int’} [-Wsign-compare] 1885 | for ( j = 0; j < nel; j++ ) | ^ xsm/flask/ss/policydb.c:1911:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘u32’ {aka ‘unsigned int’} [-Wsign-compare] 1911 | for ( i = 0; i < nel; i++ ) | ^ xsm/flask/ss/policydb.c:1947:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘u32’ {aka ‘unsigned int’} [-Wsign-compare] 1947 | for ( i = 0; i < nel; i++ ) | ^ xsm/flask/ss/policydb.c:2003:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘u32’ {aka ‘unsigned int’} [-Wsign-compare] 2003 | for ( j = 0; j < nel; j++ ) | ^ xsm/flask/ss/policydb.c:2175:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘u32’ {aka ‘unsigned int’} [-Wsign-compare] 2175 | for ( i = 0; i < nel; i++ ) | ^ xsm/flask/ss/policydb.c:2223:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘u32’ {aka ‘unsigned int’} [-Wsign-compare] 2223 | for ( i = 0; i < p->p_types.nprim; i++ ) | ^ CC arch/arm/arm64/sve.o In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/sched.h:6, from ./arch/arm/include/asm/arm64/sve.h:11, from arch/arm/arm64/sve.c:10: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/rwlock.h:6, from ./include/xen/sched.h:7: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/domain.h:5, from ./include/xen/sched.h:11: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233, from ./arch/arm/include/asm/p2m.h:4, from ./arch/arm/include/asm/domain.h:7, from ./include/xen/domain.h:15: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘arch_vcpu_block’: ./arch/arm/include/asm/domain.h:297:49: warning: unused parameter ‘v’ [-Wunused-parameter] 297 | static inline void arch_vcpu_block(struct vcpu *v) {} | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘update_guest_memory_policy’: ./arch/arm/include/asm/domain.h:309:60: warning: unused parameter ‘v’ [-Wunused-parameter] 309 | static inline void update_guest_memory_policy(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h:310:75: warning: unused parameter ‘gmp’ [-Wunused-parameter] 310 | struct guest_memory_policy *gmp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from ./include/xen/sched.h:25: ./include/xen/vpci.h: In function ‘vpci_assign_device’: ./include/xen/vpci.h:278:54: warning: unused parameter ‘pdev’ [-Wunused-parameter] 278 | static inline int vpci_assign_device(struct pci_dev *pdev) | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_deassign_device’: ./include/xen/vpci.h:283:57: warning: unused parameter ‘pdev’ [-Wunused-parameter] 283 | static inline void vpci_deassign_device(struct pci_dev *pdev) { } | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_read’: ./include/xen/vpci.h:287:45: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:287:64: warning: unused parameter ‘reg’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:288:47: warning: unused parameter ‘size’ [-Wunused-parameter] 288 | unsigned int size) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_write’: ./include/xen/vpci.h:294:42: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:294:61: warning: unused parameter ‘reg’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:295:44: warning: unused parameter ‘size’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h:295:59: warning: unused parameter ‘data’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_process_pending’: ./include/xen/vpci.h:300:67: warning: unused parameter ‘v’ [-Wunused-parameter] 300 | static inline bool __must_check vpci_process_pending(struct vcpu *v) | ~~~~~~~~~~~~~^ ./include/xen/sched.h: In function ‘is_pv_32bit_domain’: ./include/xen/sched.h:1131:67: warning: unused parameter ‘d’ [-Wunused-parameter] 1131 | static always_inline bool is_pv_32bit_domain(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ CC arch/arm/arm64/sve-asm.o CC arch/arm/arm64/traps.o In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/sched.h:6, from arch/arm/arm64/traps.c:20: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/rwlock.h:6, from ./include/xen/sched.h:7: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/domain.h:5, from ./include/xen/sched.h:11: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233, from ./arch/arm/include/asm/p2m.h:4, from ./arch/arm/include/asm/domain.h:7, from ./include/xen/domain.h:15: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘arch_vcpu_block’: ./arch/arm/include/asm/domain.h:297:49: warning: unused parameter ‘v’ [-Wunused-parameter] 297 | static inline void arch_vcpu_block(struct vcpu *v) {} | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘update_guest_memory_policy’: ./arch/arm/include/asm/domain.h:309:60: warning: unused parameter ‘v’ [-Wunused-parameter] 309 | static inline void update_guest_memory_policy(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h:310:75: warning: unused parameter ‘gmp’ [-Wunused-parameter] 310 | struct guest_memory_policy *gmp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from ./include/xen/sched.h:25: ./include/xen/vpci.h: In function ‘vpci_assign_device’: ./include/xen/vpci.h:278:54: warning: unused parameter ‘pdev’ [-Wunused-parameter] 278 | static inline int vpci_assign_device(struct pci_dev *pdev) | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_deassign_device’: ./include/xen/vpci.h:283:57: warning: unused parameter ‘pdev’ [-Wunused-parameter] 283 | static inline void vpci_deassign_device(struct pci_dev *pdev) { } | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_read’: ./include/xen/vpci.h:287:45: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:287:64: warning: unused parameter ‘reg’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:288:47: warning: unused parameter ‘size’ [-Wunused-parameter] 288 | unsigned int size) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_write’: ./include/xen/vpci.h:294:42: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:294:61: warning: unused parameter ‘reg’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:295:44: warning: unused parameter ‘size’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h:295:59: warning: unused parameter ‘data’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_process_pending’: ./include/xen/vpci.h:300:67: warning: unused parameter ‘v’ [-Wunused-parameter] 300 | static inline bool __must_check vpci_process_pending(struct vcpu *v) | ~~~~~~~~~~~~~^ ./include/xen/sched.h: In function ‘is_pv_32bit_domain’: ./include/xen/sched.h:1131:67: warning: unused parameter ‘d’ [-Wunused-parameter] 1131 | static always_inline bool is_pv_32bit_domain(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ CC arch/arm/arm64/vfp.o In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/sched.h:6, from arch/arm/arm64/vfp.c:1: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/rwlock.h:6, from ./include/xen/sched.h:7: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/domain.h:5, from ./include/xen/sched.h:11: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233, from ./arch/arm/include/asm/p2m.h:4, from ./arch/arm/include/asm/domain.h:7, from ./include/xen/domain.h:15: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘arch_vcpu_block’: ./arch/arm/include/asm/domain.h:297:49: warning: unused parameter ‘v’ [-Wunused-parameter] 297 | static inline void arch_vcpu_block(struct vcpu *v) {} | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘update_guest_memory_policy’: ./arch/arm/include/asm/domain.h:309:60: warning: unused parameter ‘v’ [-Wunused-parameter] 309 | static inline void update_guest_memory_policy(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h:310:75: warning: unused parameter ‘gmp’ [-Wunused-parameter] 310 | struct guest_memory_policy *gmp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from ./include/xen/sched.h:25: ./include/xen/vpci.h: In function ‘vpci_assign_device’: ./include/xen/vpci.h:278:54: warning: unused parameter ‘pdev’ [-Wunused-parameter] 278 | static inline int vpci_assign_device(struct pci_dev *pdev) | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_deassign_device’: ./include/xen/vpci.h:283:57: warning: unused parameter ‘pdev’ [-Wunused-parameter] 283 | static inline void vpci_deassign_device(struct pci_dev *pdev) { } | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_read’: ./include/xen/vpci.h:287:45: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:287:64: warning: unused parameter ‘reg’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:288:47: warning: unused parameter ‘size’ [-Wunused-parameter] 288 | unsigned int size) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_write’: ./include/xen/vpci.h:294:42: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:294:61: warning: unused parameter ‘reg’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:295:44: warning: unused parameter ‘size’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h:295:59: warning: unused parameter ‘data’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_process_pending’: ./include/xen/vpci.h:300:67: warning: unused parameter ‘v’ [-Wunused-parameter] 300 | static inline bool __must_check vpci_process_pending(struct vcpu *v) | ~~~~~~~~~~~~~^ ./include/xen/sched.h: In function ‘is_pv_32bit_domain’: ./include/xen/sched.h:1131:67: warning: unused parameter ‘d’ [-Wunused-parameter] 1131 | static always_inline bool is_pv_32bit_domain(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ CC arch/arm/arm64/vsysreg.o In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/sched.h:6, from arch/arm/arm64/vsysreg.c:19: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/rwlock.h:6, from ./include/xen/sched.h:7: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/domain.h:5, from ./include/xen/sched.h:11: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233, from ./arch/arm/include/asm/p2m.h:4, from ./arch/arm/include/asm/domain.h:7, from ./include/xen/domain.h:15: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘arch_vcpu_block’: ./arch/arm/include/asm/domain.h:297:49: warning: unused parameter ‘v’ [-Wunused-parameter] 297 | static inline void arch_vcpu_block(struct vcpu *v) {} | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘update_guest_memory_policy’: ./arch/arm/include/asm/domain.h:309:60: warning: unused parameter ‘v’ [-Wunused-parameter] 309 | static inline void update_guest_memory_policy(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h:310:75: warning: unused parameter ‘gmp’ [-Wunused-parameter] 310 | struct guest_memory_policy *gmp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from ./include/xen/sched.h:25: ./include/xen/vpci.h: In function ‘vpci_assign_device’: ./include/xen/vpci.h:278:54: warning: unused parameter ‘pdev’ [-Wunused-parameter] 278 | static inline int vpci_assign_device(struct pci_dev *pdev) | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_deassign_device’: ./include/xen/vpci.h:283:57: warning: unused parameter ‘pdev’ [-Wunused-parameter] 283 | static inline void vpci_deassign_device(struct pci_dev *pdev) { } | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_read’: ./include/xen/vpci.h:287:45: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:287:64: warning: unused parameter ‘reg’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:288:47: warning: unused parameter ‘size’ [-Wunused-parameter] 288 | unsigned int size) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_write’: ./include/xen/vpci.h:294:42: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:294:61: warning: unused parameter ‘reg’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:295:44: warning: unused parameter ‘size’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h:295:59: warning: unused parameter ‘data’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_process_pending’: ./include/xen/vpci.h:300:67: warning: unused parameter ‘v’ [-Wunused-parameter] 300 | static inline bool __must_check vpci_process_pending(struct vcpu *v) | ~~~~~~~~~~~~~^ ./include/xen/sched.h: In function ‘is_pv_32bit_domain’: ./include/xen/sched.h:1131:67: warning: unused parameter ‘d’ [-Wunused-parameter] 1131 | static always_inline bool is_pv_32bit_domain(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ In file included from arch/arm/arm64/vsysreg.c:21: ./arch/arm/include/asm/arm64/cpufeature.h: In function ‘cpuid_feature_extract_field_width’: ./arch/arm/include/asm/arm64/cpufeature.h:80:17: warning: operand of ‘?:’ changes signedness from ‘int’ to ‘unsigned int’ due to unsignedness of other operand [-Wsign-compare] 80 | cpuid_feature_extract_signed_field_width(features, field, width) : | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ arch/arm/arm64/vsysreg.c: In function ‘vreg_emulate_SCTLR_EL1’: arch/arm/arm64/vsysreg.c:36:54: warning: unused parameter ‘regs’ [-Wunused-parameter] 36 | static bool vreg_emulate_##reg(struct cpu_user_regs *regs, \ | ~~~~~~~~~~~~~~~~~~~~~~^~~~ arch/arm/arm64/vsysreg.c:51:1: note: in expansion of macro ‘TVM_REG’ 51 | TVM_REG(SCTLR_EL1) | ^~~~~~~ arch/arm/arm64/vsysreg.c: In function ‘vreg_emulate_TTBR0_EL1’: arch/arm/arm64/vsysreg.c:36:54: warning: unused parameter ‘regs’ [-Wunused-parameter] 36 | static bool vreg_emulate_##reg(struct cpu_user_regs *regs, \ | ~~~~~~~~~~~~~~~~~~~~~~^~~~ arch/arm/arm64/vsysreg.c:52:1: note: in expansion of macro ‘TVM_REG’ 52 | TVM_REG(TTBR0_EL1) | ^~~~~~~ arch/arm/arm64/vsysreg.c: In function ‘vreg_emulate_TTBR1_EL1’: arch/arm/arm64/vsysreg.c:36:54: warning: unused parameter ‘regs’ [-Wunused-parameter] 36 | static bool vreg_emulate_##reg(struct cpu_user_regs *regs, \ | ~~~~~~~~~~~~~~~~~~~~~~^~~~ arch/arm/arm64/vsysreg.c:53:1: note: in expansion of macro ‘TVM_REG’ 53 | TVM_REG(TTBR1_EL1) | ^~~~~~~ arch/arm/arm64/vsysreg.c: In function ‘vreg_emulate_TCR_EL1’: arch/arm/arm64/vsysreg.c:36:54: warning: unused parameter ‘regs’ [-Wunused-parameter] 36 | static bool vreg_emulate_##reg(struct cpu_user_regs *regs, \ | ~~~~~~~~~~~~~~~~~~~~~~^~~~ arch/arm/arm64/vsysreg.c:54:1: note: in expansion of macro ‘TVM_REG’ 54 | TVM_REG(TCR_EL1) | ^~~~~~~ arch/arm/arm64/vsysreg.c: In function ‘vreg_emulate_ESR_EL1’: arch/arm/arm64/vsysreg.c:36:54: warning: unused parameter ‘regs’ [-Wunused-parameter] 36 | static bool vreg_emulate_##reg(struct cpu_user_regs *regs, \ | ~~~~~~~~~~~~~~~~~~~~~~^~~~ arch/arm/arm64/vsysreg.c:55:1: note: in expansion of macro ‘TVM_REG’ 55 | TVM_REG(ESR_EL1) | ^~~~~~~ arch/arm/arm64/vsysreg.c: In function ‘vreg_emulate_FAR_EL1’: arch/arm/arm64/vsysreg.c:36:54: warning: unused parameter ‘regs’ [-Wunused-parameter] 36 | static bool vreg_emulate_##reg(struct cpu_user_regs *regs, \ | ~~~~~~~~~~~~~~~~~~~~~~^~~~ arch/arm/arm64/vsysreg.c:56:1: note: in expansion of macro ‘TVM_REG’ 56 | TVM_REG(FAR_EL1) | ^~~~~~~ arch/arm/arm64/vsysreg.c: In function ‘vreg_emulate_AFSR0_EL1’: arch/arm/arm64/vsysreg.c:36:54: warning: unused parameter ‘regs’ [-Wunused-parameter] 36 | static bool vreg_emulate_##reg(struct cpu_user_regs *regs, \ | ~~~~~~~~~~~~~~~~~~~~~~^~~~ arch/arm/arm64/vsysreg.c:57:1: note: in expansion of macro ‘TVM_REG’ 57 | TVM_REG(AFSR0_EL1) | ^~~~~~~ arch/arm/arm64/vsysreg.c: In function ‘vreg_emulate_AFSR1_EL1’: arch/arm/arm64/vsysreg.c:36:54: warning: unused parameter ‘regs’ [-Wunused-parameter] 36 | static bool vreg_emulate_##reg(struct cpu_user_regs *regs, \ | ~~~~~~~~~~~~~~~~~~~~~~^~~~ arch/arm/arm64/vsysreg.c:58:1: note: in expansion of macro ‘TVM_REG’ 58 | TVM_REG(AFSR1_EL1) | ^~~~~~~ arch/arm/arm64/vsysreg.c: In function ‘vreg_emulate_MAIR_EL1’: arch/arm/arm64/vsysreg.c:36:54: warning: unused parameter ‘regs’ [-Wunused-parameter] 36 | static bool vreg_emulate_##reg(struct cpu_user_regs *regs, \ | ~~~~~~~~~~~~~~~~~~~~~~^~~~ arch/arm/arm64/vsysreg.c:59:1: note: in expansion of macro ‘TVM_REG’ 59 | TVM_REG(MAIR_EL1) | ^~~~~~~ arch/arm/arm64/vsysreg.c: In function ‘vreg_emulate_AMAIR_EL1’: arch/arm/arm64/vsysreg.c:36:54: warning: unused parameter ‘regs’ [-Wunused-parameter] 36 | static bool vreg_emulate_##reg(struct cpu_user_regs *regs, \ | ~~~~~~~~~~~~~~~~~~~~~~^~~~ arch/arm/arm64/vsysreg.c:60:1: note: in expansion of macro ‘TVM_REG’ 60 | TVM_REG(AMAIR_EL1) | ^~~~~~~ arch/arm/arm64/vsysreg.c: In function ‘vreg_emulate_CONTEXTIDR_EL1’: arch/arm/arm64/vsysreg.c:36:54: warning: unused parameter ‘regs’ [-Wunused-parameter] 36 | static bool vreg_emulate_##reg(struct cpu_user_regs *regs, \ | ~~~~~~~~~~~~~~~~~~~~~~^~~~ arch/arm/arm64/vsysreg.c:61:1: note: in expansion of macro ‘TVM_REG’ 61 | TVM_REG(CONTEXTIDR_EL1) | ^~~~~~~ LD arch/arm/arm64/built_in.o CC common/dt-overlay.o In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/sched.h:6, from ./arch/arm/include/asm/domain_build.h:4, from common/dt-overlay.c:11: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/rwlock.h:6, from ./include/xen/sched.h:7: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ CC arch/arm/mmu/p2m.o In file included from ./include/xen/domain.h:5, from ./include/xen/sched.h:11: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233, from ./arch/arm/include/asm/p2m.h:4, from ./arch/arm/include/asm/domain.h:7, from ./include/xen/domain.h:15: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ CC drivers/passthrough/arm/ipmmu-vmsa.o In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/cpu.h:5, from arch/arm/mmu/p2m.c:2: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./arch/arm/include/asm/domain.h: In function ‘arch_vcpu_block’: ./arch/arm/include/asm/domain.h:297:49: warning: unused parameter ‘v’ [-Wunused-parameter] 297 | static inline void arch_vcpu_block(struct vcpu *v) {} | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘update_guest_memory_policy’: ./arch/arm/include/asm/domain.h:309:60: warning: unused parameter ‘v’ [-Wunused-parameter] 309 | static inline void update_guest_memory_policy(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h:310:75: warning: unused parameter ‘gmp’ [-Wunused-parameter] 310 | struct guest_memory_policy *gmp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from ./include/xen/sched.h:25: ./include/xen/vpci.h: In function ‘vpci_assign_device’: ./include/xen/vpci.h:278:54: warning: unused parameter ‘pdev’ [-Wunused-parameter] 278 | static inline int vpci_assign_device(struct pci_dev *pdev) | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_deassign_device’: ./include/xen/vpci.h:283:57: warning: unused parameter ‘pdev’ [-Wunused-parameter] 283 | static inline void vpci_deassign_device(struct pci_dev *pdev) { } | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_read’: ./include/xen/vpci.h:287:45: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:287:64: warning: unused parameter ‘reg’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:288:47: warning: unused parameter ‘size’ [-Wunused-parameter] 288 | unsigned int size) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_write’: ./include/xen/vpci.h:294:42: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/perfc.h:7, from ./include/xen/mm.h:70, from ./include/xen/domain_page.h:12, from arch/arm/mmu/p2m.c:3: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/vpci.h:294:61: warning: unused parameter ‘reg’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/pci.h:12, from ./include/xen/iommu.h:25, from drivers/passthrough/arm/ipmmu-vmsa.c:42: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:295:44: warning: unused parameter ‘size’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h:295:59: warning: unused parameter ‘data’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_process_pending’: ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h:300:67: warning: unused parameter ‘v’ [-Wunused-parameter] 300 | static inline bool __must_check vpci_process_pending(struct vcpu *v) | ~~~~~~~~~~~~~^ ./include/xen/sched.h: In function ‘is_pv_32bit_domain’: ./include/xen/sched.h:1131:67: warning: unused parameter ‘d’ [-Wunused-parameter] 1131 | static always_inline bool is_pv_32bit_domain(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ ./include/xen/domain_page.h: In function ‘unmap_domain_page_global’: ./include/xen/domain_page.h:71:57: warning: unused parameter ‘va’ [-Wunused-parameter] 71 | static inline void unmap_domain_page_global(const void *va) {}; | ~~~~~~~~~~~~^~ In file included from ./include/xen/domain.h:5, from ./include/xen/sched.h:11, from ./include/xen/ioreq.h:22, from arch/arm/mmu/p2m.c:4: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5, from ./arch/arm/include/asm/domain.h:7, from ./include/xen/domain.h:15: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ In file included from ./include/xen/irq.h:4, from ./include/xen/pci.h:13: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/irq.h:5: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./arch/arm/include/asm/domain.h: In function ‘arch_vcpu_block’: ./arch/arm/include/asm/domain.h:297:49: warning: unused parameter ‘v’ [-Wunused-parameter] 297 | static inline void arch_vcpu_block(struct vcpu *v) {} | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘update_guest_memory_policy’: ./arch/arm/include/asm/domain.h:309:60: warning: unused parameter ‘v’ [-Wunused-parameter] 309 | static inline void update_guest_memory_policy(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h:310:75: warning: unused parameter ‘gmp’ [-Wunused-parameter] 310 | struct guest_memory_policy *gmp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from ./include/xen/sched.h:25: ./include/xen/vpci.h: In function ‘vpci_assign_device’: ./include/xen/vpci.h:278:54: warning: unused parameter ‘pdev’ [-Wunused-parameter] 278 | static inline int vpci_assign_device(struct pci_dev *pdev) | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_deassign_device’: ./include/xen/vpci.h:283:57: warning: unused parameter ‘pdev’ [-Wunused-parameter] 283 | static inline void vpci_deassign_device(struct pci_dev *pdev) { } | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_read’: ./include/xen/vpci.h:287:45: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:287:64: warning: unused parameter ‘reg’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:288:47: warning: unused parameter ‘size’ [-Wunused-parameter] 288 | unsigned int size) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_write’: ./include/xen/vpci.h:294:42: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:294:61: warning: unused parameter ‘reg’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:295:44: warning: unused parameter ‘size’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h:295:59: warning: unused parameter ‘data’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_process_pending’: ./include/xen/vpci.h:300:67: warning: unused parameter ‘v’ [-Wunused-parameter] 300 | static inline bool __must_check vpci_process_pending(struct vcpu *v) | ~~~~~~~~~~~~~^ In file included from ./include/xen/pci.h:14: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ ./include/xen/sched.h: In function ‘is_pv_32bit_domain’: ./include/xen/sched.h:1131:67: warning: unused parameter ‘d’ [-Wunused-parameter] 1131 | static always_inline bool is_pv_32bit_domain(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ In file included from arch/arm/mmu/p2m.c:10: ./arch/arm/include/asm/event.h: In function ‘arch_virq_is_global’: ./arch/arm/include/asm/event.h:50:53: warning: unused parameter ‘virq’ [-Wunused-parameter] 50 | static inline bool arch_virq_is_global(unsigned int virq) | ~~~~~~~~~~~~~^~~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233, from drivers/passthrough/arm/ipmmu-vmsa.c:46: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ In file included from ./include/xen/lib.h:4, from ./arch/arm/include/asm/cpufeature.h:85: arch/arm/mmu/p2m.c: In function ‘p2m_get_entry’: arch/arm/mmu/p2m.c:462:29: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare] 462 | BUILD_BUG_ON(THIRD_MASK != PAGE_MASK); | ^~ ./include/xen/macros.h:46:48: note: in definition of macro ‘BUILD_BUG_ON’ 46 | #define BUILD_BUG_ON(cond) ({ _Static_assert(!(cond), "!(" #cond ")"); }) | ^~~~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7, from ./arch/arm/include/asm/domain.h:7, from ./include/xen/domain.h:15, from ./include/xen/sched.h:11, from drivers/passthrough/arm/ipmmu-vmsa.c:47: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ arch/arm/mmu/p2m.c: In function ‘setup_virt_paging_one’: arch/arm/mmu/p2m.c:1640:41: warning: unused parameter ‘data’ [-Wunused-parameter] 1640 | static void setup_virt_paging_one(void *data) | ~~~~~~^~~~ ./arch/arm/include/asm/domain.h: In function ‘arch_vcpu_block’: arch/arm/mmu/p2m.c: In function ‘cpu_virt_paging_callback’: ./arch/arm/include/asm/domain.h:297:49: warning: unused parameter ‘v’ [-Wunused-parameter] 297 | static inline void arch_vcpu_block(struct vcpu *v) {} | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘update_guest_memory_policy’: ./arch/arm/include/asm/domain.h:309:60: warning: unused parameter ‘v’ [-Wunused-parameter] 309 | static inline void update_guest_memory_policy(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h:310:75: warning: unused parameter ‘gmp’ [-Wunused-parameter] 310 | struct guest_memory_policy *gmp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ arch/arm/mmu/p2m.c:1790:60: warning: unused parameter ‘nfb’ [-Wunused-parameter] 1790 | static int cpu_virt_paging_callback(struct notifier_block *nfb, | ~~~~~~~~~~~~~~~~~~~~~~~^~~ arch/arm/mmu/p2m.c:1792:43: warning: unused parameter ‘hcpu’ [-Wunused-parameter] 1792 | void *hcpu) | ~~~~~~^~~~ arch/arm/mmu/p2m.c: At top level: arch/arm/mmu/p2m.c:1826:1: warning: ‘static’ is not at beginning of declaration [-Wold-style-declaration] 1826 | __initcall(cpu_virt_paging_init); | ^~~~~~~~~~ In file included from ./include/xen/sched.h:25: ./include/xen/vpci.h: In function ‘vpci_assign_device’: ./include/xen/vpci.h:278:54: warning: unused parameter ‘pdev’ [-Wunused-parameter] 278 | static inline int vpci_assign_device(struct pci_dev *pdev) | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_deassign_device’: ./include/xen/vpci.h:283:57: warning: unused parameter ‘pdev’ [-Wunused-parameter] 283 | static inline void vpci_deassign_device(struct pci_dev *pdev) { } | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_read’: ./include/xen/vpci.h:287:45: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:287:64: warning: unused parameter ‘reg’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:288:47: warning: unused parameter ‘size’ [-Wunused-parameter] 288 | unsigned int size) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_write’: ./include/xen/vpci.h:294:42: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:294:61: warning: unused parameter ‘reg’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:295:44: warning: unused parameter ‘size’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h:295:59: warning: unused parameter ‘data’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_process_pending’: ./include/xen/vpci.h:300:67: warning: unused parameter ‘v’ [-Wunused-parameter] 300 | static inline bool __must_check vpci_process_pending(struct vcpu *v) | ~~~~~~~~~~~~~^ ./include/xen/sched.h: In function ‘is_pv_32bit_domain’: ./include/xen/sched.h:1131:67: warning: unused parameter ‘d’ [-Wunused-parameter] 1131 | static always_inline bool is_pv_32bit_domain(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ drivers/passthrough/arm/ipmmu-vmsa.c: In function ‘ipmmu_domain_allocate_context’: drivers/passthrough/arm/ipmmu-vmsa.c:509:14: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 509 | if ( ret != mmu->num_ctx ) | ^~ drivers/passthrough/arm/ipmmu-vmsa.c: In function ‘ipmmu_irq’: drivers/passthrough/arm/ipmmu-vmsa.c:645:27: warning: unused parameter ‘irq’ [-Wunused-parameter] 645 | static void ipmmu_irq(int irq, void *dev) | ~~~~^~~ drivers/passthrough/arm/ipmmu-vmsa.c: In function ‘ipmmu_iotlb_flush’: drivers/passthrough/arm/ipmmu-vmsa.c:1003:67: warning: unused parameter ‘dfn’ [-Wunused-parameter] 1003 | static int __must_check ipmmu_iotlb_flush(struct domain *d, dfn_t dfn, | ~~~~~~^~~ drivers/passthrough/arm/ipmmu-vmsa.c:1004:57: warning: unused parameter ‘page_count’ [-Wunused-parameter] 1004 | unsigned long page_count, | ~~~~~~~~~~~~~~^~~~~~~~~~ drivers/passthrough/arm/ipmmu-vmsa.c: In function ‘ipmmu_assign_device’: drivers/passthrough/arm/ipmmu-vmsa.c:1118:53: warning: unused parameter ‘devfn’ [-Wunused-parameter] 1118 | static int ipmmu_assign_device(struct domain *d, u8 devfn, struct device *dev, | ~~~^~~~~ drivers/passthrough/arm/ipmmu-vmsa.c:1119:41: warning: unused parameter ‘flag’ [-Wunused-parameter] 1119 | uint32_t flag) | ~~~~~~~~~^~~~ drivers/passthrough/arm/ipmmu-vmsa.c: In function ‘ipmmu_add_device’: drivers/passthrough/arm/ipmmu-vmsa.c:1283:32: warning: unused parameter ‘devfn’ [-Wunused-parameter] 1283 | static int ipmmu_add_device(u8 devfn, struct device *dev) | ~~~^~~~~ drivers/passthrough/arm/ipmmu-vmsa.c: In function ‘ipmmu_init’: drivers/passthrough/arm/ipmmu-vmsa.c:1367:71: warning: unused parameter ‘data’ [-Wunused-parameter] 1367 | static __init int ipmmu_init(struct dt_device_node *node, const void *data) | ~~~~~~~~~~~~^~~~ CC xsm/flask/ss/services.o In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from xsm/flask/ss/services.c:42: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/rwlock.h:6, from xsm/flask/ss/services.c:43: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ xsm/flask/ss/services.c: In function ‘validate_classes’: xsm/flask/ss/services.c:1181:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘u32’ {aka ‘unsigned int’} [-Wsign-compare] 1181 | for ( i = 1; i < kdefs->cts_len; i++ ) | ^ xsm/flask/ss/services.c:1186:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘u32’ {aka ‘unsigned int’} [-Wsign-compare] 1186 | if ( i > p->p_classes.nprim ) | ^ xsm/flask/ss/services.c:1202:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘u32’ {aka ‘unsigned int’} [-Wsign-compare] 1202 | for ( i = 0; i < kdefs->av_pts_len; i++ ) | ^ xsm/flask/ss/services.c: In function ‘convert_context’: xsm/flask/ss/services.c:1279:41: warning: unused parameter ‘key’ [-Wunused-parameter] 1279 | static int cf_check convert_context(u32 key, struct context *c, void *p) | ~~~~^~~ xsm/flask/ss/services.c: In function ‘security_find_bool’: xsm/flask/ss/services.c:1767:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘u32’ {aka ‘unsigned int’} [-Wsign-compare] 1767 | for ( i = 0; i < policydb.p_bools.nprim; i++ ) | ^ CC common/event_2l.o In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/sched.h:6, from ./include/xen/event.h:12, from common/event_channel.h:3, from common/event_2l.c:10: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/rwlock.h:6, from ./include/xen/sched.h:7: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/domain.h:5, from ./include/xen/sched.h:11: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233, from ./arch/arm/include/asm/p2m.h:4, from ./arch/arm/include/asm/domain.h:7, from ./include/xen/domain.h:15: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘arch_vcpu_block’: ./arch/arm/include/asm/domain.h:297:49: warning: unused parameter ‘v’ [-Wunused-parameter] 297 | static inline void arch_vcpu_block(struct vcpu *v) {} | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘update_guest_memory_policy’: ./arch/arm/include/asm/domain.h:309:60: warning: unused parameter ‘v’ [-Wunused-parameter] 309 | static inline void update_guest_memory_policy(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h:310:75: warning: unused parameter ‘gmp’ [-Wunused-parameter] 310 | struct guest_memory_policy *gmp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from ./include/xen/sched.h:25: ./include/xen/vpci.h: In function ‘vpci_assign_device’: ./include/xen/vpci.h:278:54: warning: unused parameter ‘pdev’ [-Wunused-parameter] 278 | static inline int vpci_assign_device(struct pci_dev *pdev) | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_deassign_device’: ./include/xen/vpci.h:283:57: warning: unused parameter ‘pdev’ [-Wunused-parameter] 283 | static inline void vpci_deassign_device(struct pci_dev *pdev) { } | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_read’: ./include/xen/vpci.h:287:45: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:287:64: warning: unused parameter ‘reg’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:288:47: warning: unused parameter ‘size’ [-Wunused-parameter] 288 | unsigned int size) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_write’: ./include/xen/vpci.h:294:42: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:294:61: warning: unused parameter ‘reg’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:295:44: warning: unused parameter ‘size’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h:295:59: warning: unused parameter ‘data’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_process_pending’: ./include/xen/vpci.h:300:67: warning: unused parameter ‘v’ [-Wunused-parameter] 300 | static inline bool __must_check vpci_process_pending(struct vcpu *v) | ~~~~~~~~~~~~~^ ./include/xen/sched.h: In function ‘is_pv_32bit_domain’: ./include/xen/sched.h:1131:67: warning: unused parameter ‘d’ [-Wunused-parameter] 1131 | static always_inline bool is_pv_32bit_domain(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ In file included from ./include/xen/event.h:17: ./arch/arm/include/asm/event.h: In function ‘arch_virq_is_global’: ./arch/arm/include/asm/event.h:50:53: warning: unused parameter ‘virq’ [-Wunused-parameter] 50 | static inline bool arch_virq_is_global(unsigned int virq) | ~~~~~~~~~~~~~^~~~ LD drivers/passthrough/arm/built_in.o CC drivers/passthrough/iommu.o In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/sched.h:6, from drivers/passthrough/iommu.c:15: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ CC common/event_channel.o In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/rwlock.h:6, from ./include/xen/sched.h:7: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/sched.h:6, from ./include/xen/event.h:12, from common/event_channel.h:3, from common/event_channel.c:17: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./include/xen/domain.h:5, from ./include/xen/sched.h:11: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233, from ./arch/arm/include/asm/p2m.h:4, from ./arch/arm/include/asm/domain.h:7, from ./include/xen/domain.h:15: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/rwlock.h:6, from ./include/xen/sched.h:7: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ ./arch/arm/include/asm/domain.h: In function ‘arch_vcpu_block’: ./arch/arm/include/asm/domain.h:297:49: warning: unused parameter ‘v’ [-Wunused-parameter] 297 | static inline void arch_vcpu_block(struct vcpu *v) {} | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘update_guest_memory_policy’: ./arch/arm/include/asm/domain.h:309:60: warning: unused parameter ‘v’ [-Wunused-parameter] 309 | static inline void update_guest_memory_policy(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h:310:75: warning: unused parameter ‘gmp’ [-Wunused-parameter] 310 | struct guest_memory_policy *gmp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from ./include/xen/domain.h:5, from ./include/xen/sched.h:11: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ In file included from ./include/xen/sched.h:25: ./include/xen/vpci.h: In function ‘vpci_assign_device’: ./include/xen/vpci.h:278:54: warning: unused parameter ‘pdev’ [-Wunused-parameter] 278 | static inline int vpci_assign_device(struct pci_dev *pdev) | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_deassign_device’: ./include/xen/vpci.h:283:57: warning: unused parameter ‘pdev’ [-Wunused-parameter] 283 | static inline void vpci_deassign_device(struct pci_dev *pdev) { } | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_read’: ./include/xen/vpci.h:287:45: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:287:64: warning: unused parameter ‘reg’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:288:47: warning: unused parameter ‘size’ [-Wunused-parameter] 288 | unsigned int size) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_write’: ./include/xen/vpci.h:294:42: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:294:61: warning: unused parameter ‘reg’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:295:44: warning: unused parameter ‘size’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h:295:59: warning: unused parameter ‘data’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_process_pending’: ./include/xen/vpci.h:300:67: warning: unused parameter ‘v’ [-Wunused-parameter] 300 | static inline bool __must_check vpci_process_pending(struct vcpu *v) | ~~~~~~~~~~~~~^ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233, from ./arch/arm/include/asm/p2m.h:4, from ./arch/arm/include/asm/domain.h:7, from ./include/xen/domain.h:15: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/sched.h: In function ‘is_pv_32bit_domain’: ./include/xen/sched.h:1131:67: warning: unused parameter ‘d’ [-Wunused-parameter] 1131 | static always_inline bool is_pv_32bit_domain(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ In file included from ./include/xen/event.h:17, from drivers/passthrough/iommu.c:19: ./arch/arm/include/asm/event.h: In function ‘arch_virq_is_global’: ./arch/arm/include/asm/event.h:50:53: warning: unused parameter ‘virq’ [-Wunused-parameter] 50 | static inline bool arch_virq_is_global(unsigned int virq) | ~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from drivers/passthrough/iommu.c:20: ./include/xen/param.h: In function ‘no_config_param’: ./include/xen/param.h:193:19: warning: operand of ‘?:’ changes signedness from ‘long int’ to ‘size_t’ {aka ‘long unsigned int’} due to unsignedness of other operand [-Wsign-compare] 193 | int len = e ? ({ ASSERT(e >= s); e - s; }) : strlen(s); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ In file included from drivers/passthrough/iommu.c:23: ./include/xsm/xsm.h: In function ‘xsm_domain_create’: ./include/xsm/xsm.h:224:19: warning: unused parameter ‘def’ [-Wunused-parameter] 224 | xsm_default_t def, struct domain *d, uint32_t ssidref) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_getdomaininfo’: ./include/xsm/xsm.h:229:51: warning: unused parameter ‘def’ [-Wunused-parameter] 229 | static inline int xsm_getdomaininfo(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_domctl_scheduler_op’: ./include/xsm/xsm.h:235:19: warning: unused parameter ‘def’ [-Wunused-parameter] 235 | xsm_default_t def, struct domain *d, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_sysctl_scheduler_op’: ./include/xsm/xsm.h:240:57: warning: unused parameter ‘def’ [-Wunused-parameter] 240 | static inline int xsm_sysctl_scheduler_op(xsm_default_t def, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_set_target’: ./include/xsm/xsm.h:246:19: warning: unused parameter ‘def’ [-Wunused-parameter] 246 | xsm_default_t def, struct domain *d, struct domain *e) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_domctl’: ./include/xsm/xsm.h:251:44: warning: unused parameter ‘def’ [-Wunused-parameter] 251 | static inline int xsm_domctl(xsm_default_t def, struct domain *d, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_sysctl’: ./include/xsm/xsm.h:256:44: warning: unused parameter ‘def’ [-Wunused-parameter] 256 | static inline int xsm_sysctl(xsm_default_t def, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_readconsole’: ./include/xsm/xsm.h:261:49: warning: unused parameter ‘def’ [-Wunused-parameter] 261 | static inline int xsm_readconsole(xsm_default_t def, uint32_t clear) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_unbound’: ./include/xsm/xsm.h:267:19: warning: unused parameter ‘def’ [-Wunused-parameter] 267 | xsm_default_t def, struct domain *d1, struct evtchn *chn, domid_t id2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_interdomain’: ./include/xsm/xsm.h:273:19: warning: unused parameter ‘def’ [-Wunused-parameter] 273 | xsm_default_t def, struct domain *d1, struct evtchn *chan1, | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_send’: ./include/xsm/xsm.h:285:19: warning: unused parameter ‘def’ [-Wunused-parameter] 285 | xsm_default_t def, struct domain *d, struct evtchn *chn) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_status’: ./include/xsm/xsm.h:291:19: warning: unused parameter ‘def’ [-Wunused-parameter] 291 | xsm_default_t def, struct domain *d, struct evtchn *chn) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_reset’: ./include/xsm/xsm.h:297:19: warning: unused parameter ‘def’ [-Wunused-parameter] 297 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_mapref’: ./include/xsm/xsm.h:303:19: warning: unused parameter ‘def’ [-Wunused-parameter] 303 | xsm_default_t def, struct domain *d1, struct domain *d2, uint32_t flags) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_unmapref’: ./include/xsm/xsm.h:309:19: warning: unused parameter ‘def’ [-Wunused-parameter] 309 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_setup’: ./include/xsm/xsm.h:315:19: warning: unused parameter ‘def’ [-Wunused-parameter] 315 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_transfer’: ./include/xsm/xsm.h:321:19: warning: unused parameter ‘def’ [-Wunused-parameter] 321 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_copy’: ./include/xsm/xsm.h:327:19: warning: unused parameter ‘def’ [-Wunused-parameter] 327 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_query_size’: ./include/xsm/xsm.h:333:19: warning: unused parameter ‘def’ [-Wunused-parameter] 333 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_init_hardware_domain’: ./include/xsm/xsm.h:366:58: warning: unused parameter ‘def’ [-Wunused-parameter] 366 | static inline int xsm_init_hardware_domain(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_get_pod_target’: ./include/xsm/xsm.h:371:52: warning: unused parameter ‘def’ [-Wunused-parameter] 371 | static inline int xsm_get_pod_target(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_set_pod_target’: ./include/xsm/xsm.h:376:52: warning: unused parameter ‘def’ [-Wunused-parameter] 376 | static inline int xsm_set_pod_target(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_exchange’: ./include/xsm/xsm.h:381:53: warning: unused parameter ‘def’ [-Wunused-parameter] 381 | static inline int xsm_memory_exchange(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_adjust_reservation’: ./include/xsm/xsm.h:387:19: warning: unused parameter ‘def’ [-Wunused-parameter] 387 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_stat_reservation’: ./include/xsm/xsm.h:393:19: warning: unused parameter ‘def’ [-Wunused-parameter] 393 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_pin_page’: ./include/xsm/xsm.h:399:19: warning: unused parameter ‘def’ [-Wunused-parameter] 399 | xsm_default_t def, struct domain *d1, struct domain *d2, | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_add_to_physmap’: ./include/xsm/xsm.h:406:19: warning: unused parameter ‘def’ [-Wunused-parameter] 406 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_remove_from_physmap’: ./include/xsm/xsm.h:412:19: warning: unused parameter ‘def’ [-Wunused-parameter] 412 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_map_gmfn_foreign’: ./include/xsm/xsm.h:418:19: warning: unused parameter ‘def’ [-Wunused-parameter] 418 | xsm_default_t def, struct domain *d, struct domain *t) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_claim_pages’: ./include/xsm/xsm.h:423:49: warning: unused parameter ‘def’ [-Wunused-parameter] 423 | static inline int xsm_claim_pages(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_console_io’: ./include/xsm/xsm.h:428:48: warning: unused parameter ‘def’ [-Wunused-parameter] 428 | static inline int xsm_console_io(xsm_default_t def, struct domain *d, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_profile’: ./include/xsm/xsm.h:433:45: warning: unused parameter ‘def’ [-Wunused-parameter] 433 | static inline int xsm_profile(xsm_default_t def, struct domain *d, int op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_kexec’: ./include/xsm/xsm.h:438:43: warning: unused parameter ‘def’ [-Wunused-parameter] 438 | static inline int xsm_kexec(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_schedop_shutdown’: ./include/xsm/xsm.h:444:19: warning: unused parameter ‘def’ [-Wunused-parameter] 444 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_map_domain_pirq’: ./include/xsm/xsm.h:454:53: warning: unused parameter ‘def’ [-Wunused-parameter] 454 | static inline int xsm_map_domain_pirq(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_map_domain_irq’: ./include/xsm/xsm.h:460:19: warning: unused parameter ‘def’ [-Wunused-parameter] 460 | xsm_default_t def, struct domain *d, int irq, void *data) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_unmap_domain_pirq’: ./include/xsm/xsm.h:465:55: warning: unused parameter ‘def’ [-Wunused-parameter] 465 | static inline int xsm_unmap_domain_pirq(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_unmap_domain_irq’: ./include/xsm/xsm.h:471:19: warning: unused parameter ‘def’ [-Wunused-parameter] 471 | xsm_default_t def, struct domain *d, int irq, void *data) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_bind_pt_irq’: ./include/xsm/xsm.h:477:19: warning: unused parameter ‘def’ [-Wunused-parameter] 477 | xsm_default_t def, struct domain *d, struct xen_domctl_bind_pt_irq *bind) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./include/xsm/xsm.h: In function ‘xsm_unbind_pt_irq’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./include/xsm/xsm.h:483:19: warning: unused parameter ‘def’ [-Wunused-parameter] 483 | xsm_default_t def, struct domain *d, struct xen_domctl_bind_pt_irq *bind) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_irq_permission’: ./include/xsm/xsm.h:489:19: warning: unused parameter ‘def’ [-Wunused-parameter] 489 | xsm_default_t def, struct domain *d, int pirq, uint8_t allow) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_iomem_permission’: ./include/xsm/xsm.h:495:19: warning: unused parameter ‘def’ [-Wunused-parameter] 495 | xsm_default_t def, struct domain *d, uint64_t s, uint64_t e, uint8_t allow) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./include/xsm/xsm.h: In function ‘xsm_iomem_mapping’: ./include/xsm/xsm.h:501:19: warning: unused parameter ‘def’ [-Wunused-parameter] 501 | xsm_default_t def, struct domain *d, uint64_t s, uint64_t e, uint8_t allow) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_pci_config_permission’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./include/xsm/xsm.h:507:19: warning: unused parameter ‘def’ [-Wunused-parameter] 507 | xsm_default_t def, struct domain *d, uint32_t machine_bdf, uint16_t start, | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_assign_dtdevice’: ./include/xsm/xsm.h:534:19: warning: unused parameter ‘def’ [-Wunused-parameter] 534 | xsm_default_t def, struct domain *d, const char *dtpath) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_deassign_dtdevice’: ./include/xsm/xsm.h:540:19: warning: unused parameter ‘def’ [-Wunused-parameter] 540 | xsm_default_t def, struct domain *d, const char *dtpath) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_plug_pci’: ./include/xsm/xsm.h:547:55: warning: unused parameter ‘def’ [-Wunused-parameter] 547 | static inline int xsm_resource_plug_pci(xsm_default_t def, uint32_t machine_bdf) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_unplug_pci’: ./include/xsm/xsm.h:553:19: warning: unused parameter ‘def’ [-Wunused-parameter] 553 | xsm_default_t def, uint32_t machine_bdf) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_plug_core’: ./include/xsm/xsm.h:558:56: warning: unused parameter ‘def’ [-Wunused-parameter] 558 | static inline int xsm_resource_plug_core(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_unplug_core’: ./include/xsm/xsm.h:563:58: warning: unused parameter ‘def’ [-Wunused-parameter] 563 | static inline int xsm_resource_unplug_core(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_setup_pci’: ./include/xsm/xsm.h:569:19: warning: unused parameter ‘def’ [-Wunused-parameter] 569 | xsm_default_t def, uint32_t machine_bdf) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_setup_gsi’: ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./include/xsm/xsm.h:574:56: warning: unused parameter ‘def’ [-Wunused-parameter] 574 | static inline int xsm_resource_setup_gsi(xsm_default_t def, int gsi) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_setup_misc’: ./include/xsm/xsm.h:579:57: warning: unused parameter ‘def’ [-Wunused-parameter] 579 | static inline int xsm_resource_setup_misc(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_page_offline’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./include/xsm/xsm.h:584:50: warning: unused parameter ‘def’ [-Wunused-parameter] 584 | static inline int xsm_page_offline(xsm_default_t def, uint32_t cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hypfs_op’: ./include/xsm/xsm.h:589:46: warning: unused parameter ‘def’ [-Wunused-parameter] 589 | static inline int xsm_hypfs_op(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hvm_param’: ./include/xsm/xsm.h:607:19: warning: unused parameter ‘def’ [-Wunused-parameter] 607 | xsm_default_t def, struct domain *d, unsigned long op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hvm_param_altp2mhvm’: ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./include/xsm/xsm.h:612:57: warning: unused parameter ‘def’ [-Wunused-parameter] 612 | static inline int xsm_hvm_param_altp2mhvm(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hvm_altp2mhvm_op’: ./include/xsm/xsm.h:618:19: warning: unused parameter ‘def’ [-Wunused-parameter] 618 | xsm_default_t def, struct domain *d, uint64_t mode, uint32_t op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_get_vnumainfo’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./include/xsm/xsm.h:623:51: warning: unused parameter ‘def’ [-Wunused-parameter] 623 | static inline int xsm_get_vnumainfo(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_vm_event_control’: ./include/xsm/xsm.h:629:19: warning: unused parameter ‘def’ [-Wunused-parameter] 629 | xsm_default_t def, struct domain *d, int mode, int op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_mem_access’: ./include/xsm/xsm.h:635:48: warning: unused parameter ‘def’ [-Wunused-parameter] 635 | static inline int xsm_mem_access(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_platform_op’: ./include/xsm/xsm.h:655:49: warning: unused parameter ‘def’ [-Wunused-parameter] 655 | static inline int xsm_platform_op(xsm_default_t def, uint32_t op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_dm_op’: ./include/xsm/xsm.h:738:43: warning: unused parameter ‘def’ [-Wunused-parameter] 738 | static inline int xsm_dm_op(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_xen_version’: ./include/xsm/xsm.h:743:49: warning: unused parameter ‘def’ [-Wunused-parameter] 743 | static inline int xsm_xen_version(xsm_default_t def, uint32_t op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_domain_resource_map’: ./include/xsm/xsm.h:748:57: warning: unused parameter ‘def’ [-Wunused-parameter] 748 | static inline int xsm_domain_resource_map(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ drivers/passthrough/iommu.c: In function ‘iommu_dump_page_tables’: drivers/passthrough/iommu.c:242:59: warning: unused parameter ‘key’ [-Wunused-parameter] 242 | static void cf_check iommu_dump_page_tables(unsigned char key) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/domain.h: In function ‘arch_vcpu_block’: ./arch/arm/include/asm/domain.h:297:49: warning: unused parameter ‘v’ [-Wunused-parameter] 297 | static inline void arch_vcpu_block(struct vcpu *v) {} | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘update_guest_memory_policy’: ./arch/arm/include/asm/domain.h:309:60: warning: unused parameter ‘v’ [-Wunused-parameter] 309 | static inline void update_guest_memory_policy(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h:310:75: warning: unused parameter ‘gmp’ [-Wunused-parameter] 310 | struct guest_memory_policy *gmp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from ./include/xen/sched.h:25: ./include/xen/vpci.h: In function ‘vpci_assign_device’: ./include/xen/vpci.h:278:54: warning: unused parameter ‘pdev’ [-Wunused-parameter] 278 | static inline int vpci_assign_device(struct pci_dev *pdev) | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_deassign_device’: ./include/xen/vpci.h:283:57: warning: unused parameter ‘pdev’ [-Wunused-parameter] 283 | static inline void vpci_deassign_device(struct pci_dev *pdev) { } | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_read’: ./include/xen/vpci.h:287:45: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:287:64: warning: unused parameter ‘reg’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:288:47: warning: unused parameter ‘size’ [-Wunused-parameter] 288 | unsigned int size) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_write’: ./include/xen/vpci.h:294:42: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:294:61: warning: unused parameter ‘reg’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:295:44: warning: unused parameter ‘size’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h:295:59: warning: unused parameter ‘data’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_process_pending’: ./include/xen/vpci.h:300:67: warning: unused parameter ‘v’ [-Wunused-parameter] 300 | static inline bool __must_check vpci_process_pending(struct vcpu *v) | ~~~~~~~~~~~~~^ ./include/xen/sched.h: In function ‘is_pv_32bit_domain’: ./include/xen/sched.h:1131:67: warning: unused parameter ‘d’ [-Wunused-parameter] 1131 | static always_inline bool is_pv_32bit_domain(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ In file included from ./include/xen/event.h:17: ./arch/arm/include/asm/event.h: In function ‘arch_virq_is_global’: ./arch/arm/include/asm/event.h:50:53: warning: unused parameter ‘virq’ [-Wunused-parameter] 50 | static inline bool arch_virq_is_global(unsigned int virq) | ~~~~~~~~~~~~~^~~~ In file included from ./include/xen/hypercall.h:22, from common/event_channel.c:27: ./include/xsm/xsm.h: In function ‘xsm_domain_create’: ./include/xsm/xsm.h:224:19: warning: unused parameter ‘def’ [-Wunused-parameter] 224 | xsm_default_t def, struct domain *d, uint32_t ssidref) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_getdomaininfo’: ./include/xsm/xsm.h:229:51: warning: unused parameter ‘def’ [-Wunused-parameter] 229 | static inline int xsm_getdomaininfo(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_domctl_scheduler_op’: ./include/xsm/xsm.h:235:19: warning: unused parameter ‘def’ [-Wunused-parameter] 235 | xsm_default_t def, struct domain *d, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_sysctl_scheduler_op’: ./include/xsm/xsm.h:240:57: warning: unused parameter ‘def’ [-Wunused-parameter] 240 | static inline int xsm_sysctl_scheduler_op(xsm_default_t def, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_set_target’: ./include/xsm/xsm.h:246:19: warning: unused parameter ‘def’ [-Wunused-parameter] 246 | xsm_default_t def, struct domain *d, struct domain *e) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_domctl’: ./include/xsm/xsm.h:251:44: warning: unused parameter ‘def’ [-Wunused-parameter] 251 | static inline int xsm_domctl(xsm_default_t def, struct domain *d, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_sysctl’: ./include/xsm/xsm.h:256:44: warning: unused parameter ‘def’ [-Wunused-parameter] 256 | static inline int xsm_sysctl(xsm_default_t def, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_readconsole’: ./include/xsm/xsm.h:261:49: warning: unused parameter ‘def’ [-Wunused-parameter] 261 | static inline int xsm_readconsole(xsm_default_t def, uint32_t clear) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_unbound’: ./include/xsm/xsm.h:267:19: warning: unused parameter ‘def’ [-Wunused-parameter] 267 | xsm_default_t def, struct domain *d1, struct evtchn *chn, domid_t id2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_interdomain’: ./include/xsm/xsm.h:273:19: warning: unused parameter ‘def’ [-Wunused-parameter] 273 | xsm_default_t def, struct domain *d1, struct evtchn *chan1, | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_send’: ./include/xsm/xsm.h:285:19: warning: unused parameter ‘def’ [-Wunused-parameter] 285 | xsm_default_t def, struct domain *d, struct evtchn *chn) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_status’: ./include/xsm/xsm.h:291:19: warning: unused parameter ‘def’ [-Wunused-parameter] 291 | xsm_default_t def, struct domain *d, struct evtchn *chn) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_reset’: ./include/xsm/xsm.h:297:19: warning: unused parameter ‘def’ [-Wunused-parameter] 297 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_mapref’: ./include/xsm/xsm.h:303:19: warning: unused parameter ‘def’ [-Wunused-parameter] 303 | xsm_default_t def, struct domain *d1, struct domain *d2, uint32_t flags) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_unmapref’: ./include/xsm/xsm.h:309:19: warning: unused parameter ‘def’ [-Wunused-parameter] 309 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_setup’: ./include/xsm/xsm.h:315:19: warning: unused parameter ‘def’ [-Wunused-parameter] 315 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_transfer’: ./include/xsm/xsm.h:321:19: warning: unused parameter ‘def’ [-Wunused-parameter] 321 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_copy’: ./include/xsm/xsm.h:327:19: warning: unused parameter ‘def’ [-Wunused-parameter] 327 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_query_size’: ./include/xsm/xsm.h:333:19: warning: unused parameter ‘def’ [-Wunused-parameter] 333 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_init_hardware_domain’: ./include/xsm/xsm.h:366:58: warning: unused parameter ‘def’ [-Wunused-parameter] 366 | static inline int xsm_init_hardware_domain(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_get_pod_target’: ./include/xsm/xsm.h:371:52: warning: unused parameter ‘def’ [-Wunused-parameter] 371 | static inline int xsm_get_pod_target(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_set_pod_target’: ./include/xsm/xsm.h:376:52: warning: unused parameter ‘def’ [-Wunused-parameter] 376 | static inline int xsm_set_pod_target(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_exchange’: ./include/xsm/xsm.h:381:53: warning: unused parameter ‘def’ [-Wunused-parameter] 381 | static inline int xsm_memory_exchange(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_adjust_reservation’: ./include/xsm/xsm.h:387:19: warning: unused parameter ‘def’ [-Wunused-parameter] 387 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_stat_reservation’: ./include/xsm/xsm.h:393:19: warning: unused parameter ‘def’ [-Wunused-parameter] 393 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_pin_page’: ./include/xsm/xsm.h:399:19: warning: unused parameter ‘def’ [-Wunused-parameter] 399 | xsm_default_t def, struct domain *d1, struct domain *d2, | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_add_to_physmap’: ./include/xsm/xsm.h:406:19: warning: unused parameter ‘def’ [-Wunused-parameter] 406 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_remove_from_physmap’: ./include/xsm/xsm.h:412:19: warning: unused parameter ‘def’ [-Wunused-parameter] 412 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_map_gmfn_foreign’: ./include/xsm/xsm.h:418:19: warning: unused parameter ‘def’ [-Wunused-parameter] 418 | xsm_default_t def, struct domain *d, struct domain *t) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_claim_pages’: ./include/xsm/xsm.h:423:49: warning: unused parameter ‘def’ [-Wunused-parameter] 423 | static inline int xsm_claim_pages(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_console_io’: ./include/xsm/xsm.h:428:48: warning: unused parameter ‘def’ [-Wunused-parameter] 428 | static inline int xsm_console_io(xsm_default_t def, struct domain *d, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_profile’: ./include/xsm/xsm.h:433:45: warning: unused parameter ‘def’ [-Wunused-parameter] 433 | static inline int xsm_profile(xsm_default_t def, struct domain *d, int op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_kexec’: ./include/xsm/xsm.h:438:43: warning: unused parameter ‘def’ [-Wunused-parameter] 438 | static inline int xsm_kexec(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_schedop_shutdown’: ./include/xsm/xsm.h:444:19: warning: unused parameter ‘def’ [-Wunused-parameter] 444 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_map_domain_pirq’: ./include/xsm/xsm.h:454:53: warning: unused parameter ‘def’ [-Wunused-parameter] 454 | static inline int xsm_map_domain_pirq(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_map_domain_irq’: ./include/xsm/xsm.h:460:19: warning: unused parameter ‘def’ [-Wunused-parameter] 460 | xsm_default_t def, struct domain *d, int irq, void *data) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_unmap_domain_pirq’: ./include/xsm/xsm.h:465:55: warning: unused parameter ‘def’ [-Wunused-parameter] 465 | static inline int xsm_unmap_domain_pirq(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_unmap_domain_irq’: ./include/xsm/xsm.h:471:19: warning: unused parameter ‘def’ [-Wunused-parameter] 471 | xsm_default_t def, struct domain *d, int irq, void *data) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_bind_pt_irq’: ./include/xsm/xsm.h:477:19: warning: unused parameter ‘def’ [-Wunused-parameter] 477 | xsm_default_t def, struct domain *d, struct xen_domctl_bind_pt_irq *bind) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_unbind_pt_irq’: ./include/xsm/xsm.h:483:19: warning: unused parameter ‘def’ [-Wunused-parameter] 483 | xsm_default_t def, struct domain *d, struct xen_domctl_bind_pt_irq *bind) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_irq_permission’: ./include/xsm/xsm.h:489:19: warning: unused parameter ‘def’ [-Wunused-parameter] 489 | xsm_default_t def, struct domain *d, int pirq, uint8_t allow) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_iomem_permission’: ./include/xsm/xsm.h:495:19: warning: unused parameter ‘def’ [-Wunused-parameter] 495 | xsm_default_t def, struct domain *d, uint64_t s, uint64_t e, uint8_t allow) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_iomem_mapping’: ./include/xsm/xsm.h:501:19: warning: unused parameter ‘def’ [-Wunused-parameter] 501 | xsm_default_t def, struct domain *d, uint64_t s, uint64_t e, uint8_t allow) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_pci_config_permission’: ./include/xsm/xsm.h:507:19: warning: unused parameter ‘def’ [-Wunused-parameter] 507 | xsm_default_t def, struct domain *d, uint32_t machine_bdf, uint16_t start, | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_assign_dtdevice’: ./include/xsm/xsm.h:534:19: warning: unused parameter ‘def’ [-Wunused-parameter] 534 | xsm_default_t def, struct domain *d, const char *dtpath) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_deassign_dtdevice’: ./include/xsm/xsm.h:540:19: warning: unused parameter ‘def’ [-Wunused-parameter] 540 | xsm_default_t def, struct domain *d, const char *dtpath) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_plug_pci’: ./include/xsm/xsm.h:547:55: warning: unused parameter ‘def’ [-Wunused-parameter] 547 | static inline int xsm_resource_plug_pci(xsm_default_t def, uint32_t machine_bdf) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_unplug_pci’: ./include/xsm/xsm.h:553:19: warning: unused parameter ‘def’ [-Wunused-parameter] 553 | xsm_default_t def, uint32_t machine_bdf) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_plug_core’: ./include/xsm/xsm.h:558:56: warning: unused parameter ‘def’ [-Wunused-parameter] 558 | static inline int xsm_resource_plug_core(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_unplug_core’: ./include/xsm/xsm.h:563:58: warning: unused parameter ‘def’ [-Wunused-parameter] 563 | static inline int xsm_resource_unplug_core(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_setup_pci’: ./include/xsm/xsm.h:569:19: warning: unused parameter ‘def’ [-Wunused-parameter] 569 | xsm_default_t def, uint32_t machine_bdf) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_setup_gsi’: ./include/xsm/xsm.h:574:56: warning: unused parameter ‘def’ [-Wunused-parameter] 574 | static inline int xsm_resource_setup_gsi(xsm_default_t def, int gsi) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_setup_misc’: ./include/xsm/xsm.h:579:57: warning: unused parameter ‘def’ [-Wunused-parameter] 579 | static inline int xsm_resource_setup_misc(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_page_offline’: ./include/xsm/xsm.h:584:50: warning: unused parameter ‘def’ [-Wunused-parameter] 584 | static inline int xsm_page_offline(xsm_default_t def, uint32_t cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hypfs_op’: ./include/xsm/xsm.h:589:46: warning: unused parameter ‘def’ [-Wunused-parameter] 589 | static inline int xsm_hypfs_op(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hvm_param’: ./include/xsm/xsm.h:607:19: warning: unused parameter ‘def’ [-Wunused-parameter] 607 | xsm_default_t def, struct domain *d, unsigned long op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hvm_param_altp2mhvm’: ./include/xsm/xsm.h:612:57: warning: unused parameter ‘def’ [-Wunused-parameter] 612 | static inline int xsm_hvm_param_altp2mhvm(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hvm_altp2mhvm_op’: ./include/xsm/xsm.h:618:19: warning: unused parameter ‘def’ [-Wunused-parameter] 618 | xsm_default_t def, struct domain *d, uint64_t mode, uint32_t op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_get_vnumainfo’: ./include/xsm/xsm.h:623:51: warning: unused parameter ‘def’ [-Wunused-parameter] 623 | static inline int xsm_get_vnumainfo(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_vm_event_control’: ./include/xsm/xsm.h:629:19: warning: unused parameter ‘def’ [-Wunused-parameter] 629 | xsm_default_t def, struct domain *d, int mode, int op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_mem_access’: ./include/xsm/xsm.h:635:48: warning: unused parameter ‘def’ [-Wunused-parameter] 635 | static inline int xsm_mem_access(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_platform_op’: ./include/xsm/xsm.h:655:49: warning: unused parameter ‘def’ [-Wunused-parameter] 655 | static inline int xsm_platform_op(xsm_default_t def, uint32_t op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_dm_op’: ./include/xsm/xsm.h:738:43: warning: unused parameter ‘def’ [-Wunused-parameter] 738 | static inline int xsm_dm_op(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_xen_version’: ./include/xsm/xsm.h:743:49: warning: unused parameter ‘def’ [-Wunused-parameter] 743 | static inline int xsm_xen_version(xsm_default_t def, uint32_t op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_domain_resource_map’: ./include/xsm/xsm.h:748:57: warning: unused parameter ‘def’ [-Wunused-parameter] 748 | static inline int xsm_domain_resource_map(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ common/event_channel.c: In function ‘default_xen_notification_fn’: common/event_channel.c:87:34: warning: unused parameter ‘port’ [-Wunused-parameter] 87 | struct vcpu *v, unsigned int port) | ~~~~~~~~~~~~~^~~~ common/event_channel.c: In function ‘free_evtchn_bucket’: common/event_channel.c:145:47: warning: unused parameter ‘d’ [-Wunused-parameter] 145 | static void free_evtchn_bucket(struct domain *d, struct evtchn *bucket) | ~~~~~~~~~~~~~~~^ common/event_channel.c: In function ‘get_free_port’: common/event_channel.c:246:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 246 | for ( port = 0; port <= d->max_evtchn_port; port++ ) | ^~ common/event_channel.c: In function ‘evtchn_get_port’: common/event_channel.c:300:12: warning: operand of ‘?:’ changes signedness from ‘int’ to ‘evtchn_port_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare] 300 | return rc ?: port; | ^~ common/event_channel.c: In function ‘evtchn_bind_virq’: common/event_channel.c:471:30: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] 471 | if ( (virq < 0) || (virq >= ARRAY_SIZE(v->virq_to_evtchn)) ) | ^~ common/event_channel.c: In function ‘evtchn_bind_pirq’: common/event_channel.c:597:49: warning: unused parameter ‘bind’ [-Wunused-parameter] 597 | static int evtchn_bind_pirq(evtchn_bind_pirq_t *bind) | ~~~~~~~~~~~~~~~~~~~~^~~~ In file included from ././include/xen/config.h:17, from : common/event_channel.c: In function ‘evtchn_close’: common/event_channel.c:729:62: warning: comparison of integer expressions of different signedness: ‘evtchn_port_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 729 | ASSERT(read_atomic(&v->virq_to_evtchn[chn1->u.virq]) == port1); | ^~ ./include/xen/compiler.h:21:43: note: in definition of macro ‘unlikely’ 21 | #define unlikely(x) __builtin_expect(!!(x),0) | ^ common/event_channel.c:729:9: note: in expansion of macro ‘ASSERT’ 729 | ASSERT(read_atomic(&v->virq_to_evtchn[chn1->u.virq]) == port1); | ^~~~~~ common/event_channel.c: In function ‘evtchn_check_pollers’: common/event_channel.c:1518:56: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 1518 | if ( ((v->poll_evtchn <= 0) || (v->poll_evtchn == port)) && | ^~ common/event_channel.c: At top level: common/event_channel.c:1714:1: warning: ‘static’ is not at beginning of declaration [-Wold-style-declaration] 1714 | __initcall(dump_evtchn_info_key_init); | ^~~~~~~~~~ CC arch/arm/mmu/pt.o In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/mm.h:69, from ./include/xen/domain_page.h:12, from arch/arm/mmu/pt.c:8: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/perfc.h:7, from ./include/xen/mm.h:70: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ ./include/xen/domain_page.h: In function ‘unmap_domain_page_global’: ./include/xen/domain_page.h:71:57: warning: unused parameter ‘va’ [-Wunused-parameter] 71 | static inline void unmap_domain_page_global(const void *va) {}; | ~~~~~~~~~~~~^~ In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5, from ./arch/arm/include/asm/setup.h:5, from ./arch/arm/include/asm/acpi.h:25, from ./include/acpi/platform/aclinux.h:58, from ./include/acpi/platform/acenv.h:142, from ./include/acpi/acpi.h:56, from ./include/xen/acpi.h:57, from ./arch/arm/include/asm/fixmap.h:7, from arch/arm/mmu/pt.c:15: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./include/xen/acpi.h: In function ‘acpi_set_cstate_limit’: ./include/xen/acpi.h:192:55: warning: unused parameter ‘new_limit’ [-Wunused-parameter] 192 | static inline void acpi_set_cstate_limit(unsigned int new_limit) { return; } | ~~~~~~~~~~~~~^~~~~~~~~ ./include/xen/acpi.h: In function ‘acpi_set_csubstate_limit’: ./include/xen/acpi.h:194:58: warning: unused parameter ‘new_limit’ [-Wunused-parameter] 194 | static inline void acpi_set_csubstate_limit(unsigned int new_limit) { return; } | ~~~~~~~~~~~~~^~~~~~~~~ CC drivers/passthrough/device_tree.o In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/current.h:8, from ./include/asm-generic/percpu.h:8, from ./arch/arm/include/generated/asm/percpu.h:1, from ./include/xen/percpu.h:30, from ./include/xen/rwlock.h:4, from ./include/xen/device_tree.h:22, from drivers/passthrough/device_tree.c:18: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/rwlock.h:6: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43, from ./include/xen/rwlock.h:7: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./include/xen/domain.h:5, from ./include/xen/sched.h:11, from ./arch/arm/include/asm/guest_access.h:5, from ./include/xen/guest_access.h:10, from drivers/passthrough/device_tree.c:19: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233, from ./arch/arm/include/asm/p2m.h:4, from ./arch/arm/include/asm/domain.h:7, from ./include/xen/domain.h:15: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘arch_vcpu_block’: ./arch/arm/include/asm/domain.h:297:49: warning: unused parameter ‘v’ [-Wunused-parameter] 297 | static inline void arch_vcpu_block(struct vcpu *v) {} | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘update_guest_memory_policy’: ./arch/arm/include/asm/domain.h:309:60: warning: unused parameter ‘v’ [-Wunused-parameter] 309 | static inline void update_guest_memory_policy(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h:310:75: warning: unused parameter ‘gmp’ [-Wunused-parameter] 310 | struct guest_memory_policy *gmp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from ./include/xen/sched.h:25: ./include/xen/vpci.h: In function ‘vpci_assign_device’: ./include/xen/vpci.h:278:54: warning: unused parameter ‘pdev’ [-Wunused-parameter] 278 | static inline int vpci_assign_device(struct pci_dev *pdev) | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_deassign_device’: ./include/xen/vpci.h:283:57: warning: unused parameter ‘pdev’ [-Wunused-parameter] 283 | static inline void vpci_deassign_device(struct pci_dev *pdev) { } | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_read’: ./include/xen/vpci.h:287:45: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:287:64: warning: unused parameter ‘reg’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:288:47: warning: unused parameter ‘size’ [-Wunused-parameter] 288 | unsigned int size) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_write’: ./include/xen/vpci.h:294:42: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:294:61: warning: unused parameter ‘reg’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:295:44: warning: unused parameter ‘size’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h:295:59: warning: unused parameter ‘data’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_process_pending’: ./include/xen/vpci.h:300:67: warning: unused parameter ‘v’ [-Wunused-parameter] 300 | static inline bool __must_check vpci_process_pending(struct vcpu *v) | ~~~~~~~~~~~~~^ ./include/xen/sched.h: In function ‘is_pv_32bit_domain’: ./include/xen/sched.h:1131:67: warning: unused parameter ‘d’ [-Wunused-parameter] 1131 | static always_inline bool is_pv_32bit_domain(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ In file included from drivers/passthrough/device_tree.c:23: ./include/xsm/xsm.h: In function ‘xsm_domain_create’: ./include/xsm/xsm.h:224:19: warning: unused parameter ‘def’ [-Wunused-parameter] 224 | xsm_default_t def, struct domain *d, uint32_t ssidref) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_getdomaininfo’: ./include/xsm/xsm.h:229:51: warning: unused parameter ‘def’ [-Wunused-parameter] 229 | static inline int xsm_getdomaininfo(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_domctl_scheduler_op’: ./include/xsm/xsm.h:235:19: warning: unused parameter ‘def’ [-Wunused-parameter] 235 | xsm_default_t def, struct domain *d, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_sysctl_scheduler_op’: ./include/xsm/xsm.h:240:57: warning: unused parameter ‘def’ [-Wunused-parameter] 240 | static inline int xsm_sysctl_scheduler_op(xsm_default_t def, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_set_target’: ./include/xsm/xsm.h:246:19: warning: unused parameter ‘def’ [-Wunused-parameter] 246 | xsm_default_t def, struct domain *d, struct domain *e) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_domctl’: ./include/xsm/xsm.h:251:44: warning: unused parameter ‘def’ [-Wunused-parameter] 251 | static inline int xsm_domctl(xsm_default_t def, struct domain *d, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_sysctl’: ./include/xsm/xsm.h:256:44: warning: unused parameter ‘def’ [-Wunused-parameter] 256 | static inline int xsm_sysctl(xsm_default_t def, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_readconsole’: ./include/xsm/xsm.h:261:49: warning: unused parameter ‘def’ [-Wunused-parameter] 261 | static inline int xsm_readconsole(xsm_default_t def, uint32_t clear) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_unbound’: ./include/xsm/xsm.h:267:19: warning: unused parameter ‘def’ [-Wunused-parameter] 267 | xsm_default_t def, struct domain *d1, struct evtchn *chn, domid_t id2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_interdomain’: ./include/xsm/xsm.h:273:19: warning: unused parameter ‘def’ [-Wunused-parameter] 273 | xsm_default_t def, struct domain *d1, struct evtchn *chan1, | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_send’: ./include/xsm/xsm.h:285:19: warning: unused parameter ‘def’ [-Wunused-parameter] 285 | xsm_default_t def, struct domain *d, struct evtchn *chn) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_status’: ./include/xsm/xsm.h:291:19: warning: unused parameter ‘def’ [-Wunused-parameter] 291 | xsm_default_t def, struct domain *d, struct evtchn *chn) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_reset’: ./include/xsm/xsm.h:297:19: warning: unused parameter ‘def’ [-Wunused-parameter] 297 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_mapref’: ./include/xsm/xsm.h:303:19: warning: unused parameter ‘def’ [-Wunused-parameter] 303 | xsm_default_t def, struct domain *d1, struct domain *d2, uint32_t flags) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_unmapref’: ./include/xsm/xsm.h:309:19: warning: unused parameter ‘def’ [-Wunused-parameter] 309 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_setup’: ./include/xsm/xsm.h:315:19: warning: unused parameter ‘def’ [-Wunused-parameter] 315 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_transfer’: ./include/xsm/xsm.h:321:19: warning: unused parameter ‘def’ [-Wunused-parameter] 321 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_copy’: ./include/xsm/xsm.h:327:19: warning: unused parameter ‘def’ [-Wunused-parameter] 327 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_query_size’: ./include/xsm/xsm.h:333:19: warning: unused parameter ‘def’ [-Wunused-parameter] 333 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_init_hardware_domain’: ./include/xsm/xsm.h:366:58: warning: unused parameter ‘def’ [-Wunused-parameter] 366 | static inline int xsm_init_hardware_domain(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_get_pod_target’: ./include/xsm/xsm.h:371:52: warning: unused parameter ‘def’ [-Wunused-parameter] 371 | static inline int xsm_get_pod_target(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_set_pod_target’: ./include/xsm/xsm.h:376:52: warning: unused parameter ‘def’ [-Wunused-parameter] 376 | static inline int xsm_set_pod_target(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_exchange’: ./include/xsm/xsm.h:381:53: warning: unused parameter ‘def’ [-Wunused-parameter] 381 | static inline int xsm_memory_exchange(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_adjust_reservation’: ./include/xsm/xsm.h:387:19: warning: unused parameter ‘def’ [-Wunused-parameter] 387 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_stat_reservation’: ./include/xsm/xsm.h:393:19: warning: unused parameter ‘def’ [-Wunused-parameter] 393 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_pin_page’: ./include/xsm/xsm.h:399:19: warning: unused parameter ‘def’ [-Wunused-parameter] 399 | xsm_default_t def, struct domain *d1, struct domain *d2, | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_add_to_physmap’: ./include/xsm/xsm.h:406:19: warning: unused parameter ‘def’ [-Wunused-parameter] 406 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_remove_from_physmap’: ./include/xsm/xsm.h:412:19: warning: unused parameter ‘def’ [-Wunused-parameter] 412 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_map_gmfn_foreign’: ./include/xsm/xsm.h:418:19: warning: unused parameter ‘def’ [-Wunused-parameter] 418 | xsm_default_t def, struct domain *d, struct domain *t) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_claim_pages’: ./include/xsm/xsm.h:423:49: warning: unused parameter ‘def’ [-Wunused-parameter] 423 | static inline int xsm_claim_pages(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_console_io’: ./include/xsm/xsm.h:428:48: warning: unused parameter ‘def’ [-Wunused-parameter] 428 | static inline int xsm_console_io(xsm_default_t def, struct domain *d, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_profile’: ./include/xsm/xsm.h:433:45: warning: unused parameter ‘def’ [-Wunused-parameter] 433 | static inline int xsm_profile(xsm_default_t def, struct domain *d, int op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_kexec’: ./include/xsm/xsm.h:438:43: warning: unused parameter ‘def’ [-Wunused-parameter] 438 | static inline int xsm_kexec(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_schedop_shutdown’: ./include/xsm/xsm.h:444:19: warning: unused parameter ‘def’ [-Wunused-parameter] 444 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_map_domain_pirq’: ./include/xsm/xsm.h:454:53: warning: unused parameter ‘def’ [-Wunused-parameter] 454 | static inline int xsm_map_domain_pirq(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_map_domain_irq’: ./include/xsm/xsm.h:460:19: warning: unused parameter ‘def’ [-Wunused-parameter] 460 | xsm_default_t def, struct domain *d, int irq, void *data) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_unmap_domain_pirq’: ./include/xsm/xsm.h:465:55: warning: unused parameter ‘def’ [-Wunused-parameter] 465 | static inline int xsm_unmap_domain_pirq(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_unmap_domain_irq’: ./include/xsm/xsm.h:471:19: warning: unused parameter ‘def’ [-Wunused-parameter] 471 | xsm_default_t def, struct domain *d, int irq, void *data) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_bind_pt_irq’: ./include/xsm/xsm.h:477:19: warning: unused parameter ‘def’ [-Wunused-parameter] 477 | xsm_default_t def, struct domain *d, struct xen_domctl_bind_pt_irq *bind) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_unbind_pt_irq’: ./include/xsm/xsm.h:483:19: warning: unused parameter ‘def’ [-Wunused-parameter] 483 | xsm_default_t def, struct domain *d, struct xen_domctl_bind_pt_irq *bind) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_irq_permission’: ./include/xsm/xsm.h:489:19: warning: unused parameter ‘def’ [-Wunused-parameter] 489 | xsm_default_t def, struct domain *d, int pirq, uint8_t allow) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_iomem_permission’: ./include/xsm/xsm.h:495:19: warning: unused parameter ‘def’ [-Wunused-parameter] 495 | xsm_default_t def, struct domain *d, uint64_t s, uint64_t e, uint8_t allow) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_iomem_mapping’: ./include/xsm/xsm.h:501:19: warning: unused parameter ‘def’ [-Wunused-parameter] 501 | xsm_default_t def, struct domain *d, uint64_t s, uint64_t e, uint8_t allow) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_pci_config_permission’: ./include/xsm/xsm.h:507:19: warning: unused parameter ‘def’ [-Wunused-parameter] 507 | xsm_default_t def, struct domain *d, uint32_t machine_bdf, uint16_t start, | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_assign_dtdevice’: ./include/xsm/xsm.h:534:19: warning: unused parameter ‘def’ [-Wunused-parameter] 534 | xsm_default_t def, struct domain *d, const char *dtpath) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_deassign_dtdevice’: ./include/xsm/xsm.h:540:19: warning: unused parameter ‘def’ [-Wunused-parameter] 540 | xsm_default_t def, struct domain *d, const char *dtpath) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_plug_pci’: ./include/xsm/xsm.h:547:55: warning: unused parameter ‘def’ [-Wunused-parameter] 547 | static inline int xsm_resource_plug_pci(xsm_default_t def, uint32_t machine_bdf) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_unplug_pci’: ./include/xsm/xsm.h:553:19: warning: unused parameter ‘def’ [-Wunused-parameter] 553 | xsm_default_t def, uint32_t machine_bdf) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_plug_core’: ./include/xsm/xsm.h:558:56: warning: unused parameter ‘def’ [-Wunused-parameter] 558 | static inline int xsm_resource_plug_core(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_unplug_core’: ./include/xsm/xsm.h:563:58: warning: unused parameter ‘def’ [-Wunused-parameter] 563 | static inline int xsm_resource_unplug_core(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_setup_pci’: ./include/xsm/xsm.h:569:19: warning: unused parameter ‘def’ [-Wunused-parameter] 569 | xsm_default_t def, uint32_t machine_bdf) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_setup_gsi’: ./include/xsm/xsm.h:574:56: warning: unused parameter ‘def’ [-Wunused-parameter] 574 | static inline int xsm_resource_setup_gsi(xsm_default_t def, int gsi) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_setup_misc’: ./include/xsm/xsm.h:579:57: warning: unused parameter ‘def’ [-Wunused-parameter] 579 | static inline int xsm_resource_setup_misc(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_page_offline’: ./include/xsm/xsm.h:584:50: warning: unused parameter ‘def’ [-Wunused-parameter] 584 | static inline int xsm_page_offline(xsm_default_t def, uint32_t cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hypfs_op’: ./include/xsm/xsm.h:589:46: warning: unused parameter ‘def’ [-Wunused-parameter] 589 | static inline int xsm_hypfs_op(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hvm_param’: ./include/xsm/xsm.h:607:19: warning: unused parameter ‘def’ [-Wunused-parameter] 607 | xsm_default_t def, struct domain *d, unsigned long op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hvm_param_altp2mhvm’: ./include/xsm/xsm.h:612:57: warning: unused parameter ‘def’ [-Wunused-parameter] 612 | static inline int xsm_hvm_param_altp2mhvm(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hvm_altp2mhvm_op’: ./include/xsm/xsm.h:618:19: warning: unused parameter ‘def’ [-Wunused-parameter] 618 | xsm_default_t def, struct domain *d, uint64_t mode, uint32_t op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_get_vnumainfo’: ./include/xsm/xsm.h:623:51: warning: unused parameter ‘def’ [-Wunused-parameter] 623 | static inline int xsm_get_vnumainfo(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_vm_event_control’: ./include/xsm/xsm.h:629:19: warning: unused parameter ‘def’ [-Wunused-parameter] 629 | xsm_default_t def, struct domain *d, int mode, int op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_mem_access’: ./include/xsm/xsm.h:635:48: warning: unused parameter ‘def’ [-Wunused-parameter] 635 | static inline int xsm_mem_access(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_platform_op’: ./include/xsm/xsm.h:655:49: warning: unused parameter ‘def’ [-Wunused-parameter] 655 | static inline int xsm_platform_op(xsm_default_t def, uint32_t op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_dm_op’: ./include/xsm/xsm.h:738:43: warning: unused parameter ‘def’ [-Wunused-parameter] 738 | static inline int xsm_dm_op(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_xen_version’: ./include/xsm/xsm.h:743:49: warning: unused parameter ‘def’ [-Wunused-parameter] 743 | static inline int xsm_xen_version(xsm_default_t def, uint32_t op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_domain_resource_map’: ./include/xsm/xsm.h:748:57: warning: unused parameter ‘def’ [-Wunused-parameter] 748 | static inline int xsm_domain_resource_map(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ drivers/passthrough/device_tree.c: In function ‘iommu_do_dt_domctl’: drivers/passthrough/device_tree.c:261:61: warning: unused parameter ‘u_domctl’ [-Wunused-parameter] 261 | XEN_GUEST_HANDLE_PARAM(xen_domctl_t) u_domctl) CC arch/arm/mmu/setup.o In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/mm.h:69, from ./arch/arm/include/asm/p2m.h:4, from ./arch/arm/include/asm/setup.h:5, from arch/arm/mmu/setup.c:14: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/perfc.h:7, from ./include/xen/mm.h:70: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ In file included from ./arch/arm/include/asm/fixmap.h:7, from arch/arm/mmu/setup.c:15: ./include/xen/acpi.h: In function ‘acpi_set_cstate_limit’: ./include/xen/acpi.h:192:55: warning: unused parameter ‘new_limit’ [-Wunused-parameter] 192 | static inline void acpi_set_cstate_limit(unsigned int new_limit) { return; } | ~~~~~~~~~~~~~^~~~~~~~~ ./include/xen/acpi.h: In function ‘acpi_set_csubstate_limit’: ./include/xen/acpi.h:194:58: warning: unused parameter ‘new_limit’ [-Wunused-parameter] 194 | static inline void acpi_set_csubstate_limit(unsigned int new_limit) { return; } | ~~~~~~~~~~~~~^~~~~~~~~ arch/arm/mmu/setup.c: In function ‘setup_pagetables’: arch/arm/mmu/setup.c:252:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] 252 | for ( i = 0; i < XEN_NR_ENTRIES(3); i++ ) | ^ arch/arm/mmu/setup.c:272:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] 272 | for ( i = 0; i < XEN_NR_ENTRIES(2); i++ ) | ^ LD drivers/passthrough/built_in.o CC arch/arm/mmu/smpboot.o In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/mm.h:69, from ./include/xen/domain_page.h:12, from arch/arm/mmu/smpboot.c:8: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ CC xsm/flask/ss/conditional.o In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/perfc.h:7, from ./include/xen/mm.h:70: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from xsm/flask/ss/conditional.c:16: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ ./include/xen/domain_page.h: In function ‘unmap_domain_page_global’: ./include/xen/domain_page.h:71:57: warning: unused parameter ‘va’ [-Wunused-parameter] 71 | static inline void unmap_domain_page_global(const void *va) {}; | ~~~~~~~~~~~~^~ In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5, from ./arch/arm/include/asm/setup.h:5, from arch/arm/mmu/smpboot.c:10: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ arch/arm/mmu/smpboot.c: In function ‘prepare_secondary_mm’: arch/arm/mmu/smpboot.c:97:30: warning: unused parameter ‘cpu’ [-Wunused-parameter] 97 | int prepare_secondary_mm(int cpu) | ~~~~^~~ xsm/flask/ss/conditional.c: In function ‘cond_destroy_bool’: xsm/flask/ss/conditional.c:193:62: warning: unused parameter ‘p’ [-Wunused-parameter] 193 | int cf_check cond_destroy_bool(void *key, void *datum, void *p) | ~~~~~~^ xsm/flask/ss/conditional.c: In function ‘cond_read_bool’: xsm/flask/ss/conditional.c:224:46: warning: unused parameter ‘p’ [-Wunused-parameter] 224 | int cf_check cond_read_bool(struct policydb *p, struct hashtab *h, void *fp) | ~~~~~~~~~~~~~~~~~^ xsm/flask/ss/conditional.c: In function ‘cond_insertf’: xsm/flask/ss/conditional.c:273:19: warning: unused parameter ‘a’ [-Wunused-parameter] 273 | struct avtab *a, struct avtab_key *k, struct avtab_datum *d, void *ptr) | ~~~~~~~~~~~~~~^ xsm/flask/ss/conditional.c: In function ‘cond_read_av_list’: xsm/flask/ss/conditional.c:389:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘u32’ {aka ‘unsigned int’} [-Wsign-compare] 389 | for ( i = 0; i < len; i++ ) | ^ LD arch/arm/mmu/built_in.o CC drivers/acpi/tables/tbutils.o CC arch/arm/acpi/lib.o In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/acpi/platform/aclinux.h:54, from ./include/acpi/platform/acenv.h:142, from ./include/acpi/acpi.h:56, from drivers/acpi/tables/tbutils.c:45: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/perfc.h:7, from ./include/xen/mm.h:70, from ./arch/arm/include/asm/p2m.h:4, from ./arch/arm/include/asm/setup.h:5, from ./arch/arm/include/asm/acpi.h:25, from ./include/acpi/platform/aclinux.h:58: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/acpi/platform/aclinux.h:54, from ./include/acpi/platform/acenv.h:142, from ./include/acpi/acpi.h:56, from ./include/xen/acpi.h:57, from arch/arm/acpi/lib.c:24: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/perfc.h:7, from ./include/xen/mm.h:70, from ./arch/arm/include/asm/p2m.h:4, from ./arch/arm/include/asm/setup.h:5, from ./arch/arm/include/asm/acpi.h:25, from ./include/acpi/platform/aclinux.h:58: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ drivers/acpi/tables/tbutils.c: In function ‘acpi_tb_check_xsdt’: drivers/acpi/tables/tbutils.c:95:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘u32’ {aka ‘unsigned int’} [-Wsign-compare] 95 | for (i = 0; i < table_count; i++) { | ^ drivers/acpi/tables/tbutils.c:105:15: warning: comparison of integer expressions of different signedness: ‘int’ and ‘u32’ {aka ‘unsigned int’} [-Wsign-compare] 105 | if (i < table_count) | ^ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./include/xen/acpi.h: In function ‘acpi_set_cstate_limit’: ./include/xen/acpi.h:192:55: warning: unused parameter ‘new_limit’ [-Wunused-parameter] 192 | static inline void acpi_set_cstate_limit(unsigned int new_limit) { return; } | ~~~~~~~~~~~~~^~~~~~~~~ ./include/xen/acpi.h: In function ‘acpi_set_csubstate_limit’: ./include/xen/acpi.h:194:58: warning: unused parameter ‘new_limit’ [-Wunused-parameter] 194 | static inline void acpi_set_csubstate_limit(unsigned int new_limit) { return; } | ~~~~~~~~~~~~~^~~~~~~~~ arch/arm/acpi/lib.c: In function ‘acpi_get_table_offset’: arch/arm/acpi/lib.c:123:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘EFI_MEM_RES’ [-Wsign-compare] 123 | for ( i = 0; i < index; i++ ) | ^ CC arch/arm/acpi/domain_build.o In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/mm.h:69, from arch/arm/acpi/domain_build.c:13: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ CC xsm/flask/ss/mls.o In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/perfc.h:7, from ./include/xen/mm.h:70: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from xsm/flask/ss/sidtab.h:14, from xsm/flask/ss/mls.c:21: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ CC drivers/acpi/tables/tbfadt.o In file included from ./include/xen/domain.h:5, from ./include/xen/sched.h:11, from arch/arm/acpi/domain_build.c:14: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5, from ./arch/arm/include/asm/domain.h:7, from ./include/xen/domain.h:15: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ In file included from xsm/flask/ss/context.h:21, from xsm/flask/ss/sidtab.h:13: xsm/flask/ss/mls.c: In function ‘mls_compute_context_len’: xsm/flask/ss/ebitmap.h:119:15: warning: comparison of integer expressions of different signedness: ‘int’ and ‘u32’ {aka ‘unsigned int’} [-Wsign-compare] 119 | bit < ebitmap_length(e); \ | ^ xsm/flask/ss/mls.c:50:9: note: in expansion of macro ‘ebitmap_for_each_positive_bit’ 50 | ebitmap_for_each_positive_bit(e, node, i) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xsm/flask/ss/mls.c: In function ‘mls_sid_to_context’: xsm/flask/ss/ebitmap.h:119:15: warning: comparison of integer expressions of different signedness: ‘int’ and ‘u32’ {aka ‘unsigned int’} [-Wsign-compare] 119 | bit < ebitmap_length(e); \ | ^ xsm/flask/ss/mls.c:115:9: note: in expansion of macro ‘ebitmap_for_each_positive_bit’ 115 | ebitmap_for_each_positive_bit(e, node, i) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xsm/flask/ss/mls.c: In function ‘mls_level_isvalid’: xsm/flask/ss/ebitmap.h:119:15: warning: comparison of integer expressions of different signedness: ‘int’ and ‘u32’ {aka ‘unsigned int’} [-Wsign-compare] 119 | bit < ebitmap_length(e); \ | ^ xsm/flask/ss/mls.c:183:5: note: in expansion of macro ‘ebitmap_for_each_positive_bit’ 183 | ebitmap_for_each_positive_bit(&l->cat, node, i) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: xsm/flask/ss/mls.c:185:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘u32’ {aka ‘unsigned int’} [-Wsign-compare] 185 | if ( i > p->p_cats.nprim ) | ^ ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ xsm/flask/ss/mls.c: In function ‘mls_context_to_sid’: ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: xsm/flask/ss/mls.c:337:50: warning: comparison of integer expressions of different signedness: ‘int’ and ‘u32’ {aka ‘unsigned int’} [-Wsign-compare] 337 | for ( i = catdatum->value; i < rngdatum->value; i++ ) | ^ ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ xsm/flask/ss/mls.c:250:64: warning: unused parameter ‘s’ [-Wunused-parameter] 250 | struct context *context, struct sidtab *s) | ~~~~~~~~~~~~~~~^ xsm/flask/ss/mls.c: In function ‘mls_convert_context’: xsm/flask/ss/ebitmap.h:119:15: warning: comparison of integer expressions of different signedness: ‘int’ and ‘u32’ {aka ‘unsigned int’} [-Wsign-compare] 119 | bit < ebitmap_length(e); \ | ^ xsm/flask/ss/mls.c:426:9: note: in expansion of macro ‘ebitmap_for_each_positive_bit’ 426 | ebitmap_for_each_positive_bit(&c->range.level[l].cat, node, i) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./arch/arm/include/asm/domain.h: In function ‘arch_vcpu_block’: ./arch/arm/include/asm/domain.h:297:49: warning: unused parameter ‘v’ [-Wunused-parameter] 297 | static inline void arch_vcpu_block(struct vcpu *v) {} | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘update_guest_memory_policy’: ./arch/arm/include/asm/domain.h:309:60: warning: unused parameter ‘v’ [-Wunused-parameter] 309 | static inline void update_guest_memory_policy(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h:310:75: warning: unused parameter ‘gmp’ [-Wunused-parameter] 310 | struct guest_memory_policy *gmp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from ./include/xen/sched.h:25: ./include/xen/vpci.h: In function ‘vpci_assign_device’: ./include/xen/vpci.h:278:54: warning: unused parameter ‘pdev’ [-Wunused-parameter] 278 | static inline int vpci_assign_device(struct pci_dev *pdev) | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_deassign_device’: ./include/xen/vpci.h:283:57: warning: unused parameter ‘pdev’ [-Wunused-parameter] 283 | static inline void vpci_deassign_device(struct pci_dev *pdev) { } | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_read’: ./include/xen/vpci.h:287:45: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:287:64: warning: unused parameter ‘reg’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:288:47: warning: unused parameter ‘size’ [-Wunused-parameter] 288 | unsigned int size) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_write’: ./include/xen/vpci.h:294:42: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:294:61: warning: unused parameter ‘reg’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:295:44: warning: unused parameter ‘size’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h:295:59: warning: unused parameter ‘data’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_process_pending’: ./include/xen/vpci.h:300:67: warning: unused parameter ‘v’ [-Wunused-parameter] 300 | static inline bool __must_check vpci_process_pending(struct vcpu *v) | ~~~~~~~~~~~~~^ ./include/xen/sched.h: In function ‘is_pv_32bit_domain’: ./include/xen/sched.h:1131:67: warning: unused parameter ‘d’ [-Wunused-parameter] 1131 | static always_inline bool is_pv_32bit_domain(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/acpi/platform/aclinux.h:54, from ./include/acpi/platform/acenv.h:142, from ./include/acpi/acpi.h:56, from drivers/acpi/tables/tbfadt.c:45: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from arch/arm/acpi/domain_build.c:15: ./include/xen/acpi.h: In function ‘acpi_set_cstate_limit’: ./include/xen/acpi.h:192:55: warning: unused parameter ‘new_limit’ [-Wunused-parameter] 192 | static inline void acpi_set_cstate_limit(unsigned int new_limit) { return; } | ~~~~~~~~~~~~~^~~~~~~~~ ./include/xen/acpi.h: In function ‘acpi_set_csubstate_limit’: ./include/xen/acpi.h:194:58: warning: unused parameter ‘new_limit’ [-Wunused-parameter] 194 | static inline void acpi_set_csubstate_limit(unsigned int new_limit) { return; } | ~~~~~~~~~~~~~^~~~~~~~~ In file included from ./include/xen/event.h:17, from arch/arm/acpi/domain_build.c:16: ./arch/arm/include/asm/event.h: In function ‘arch_virq_is_global’: ./arch/arm/include/asm/event.h:50:53: warning: unused parameter ‘virq’ [-Wunused-parameter] 50 | static inline bool arch_virq_is_global(unsigned int virq) | ~~~~~~~~~~~~~^~~~ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/perfc.h:7, from ./include/xen/mm.h:70, from ./arch/arm/include/asm/p2m.h:4, from ./arch/arm/include/asm/setup.h:5, from ./arch/arm/include/asm/acpi.h:25, from ./include/acpi/platform/aclinux.h:58: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ arch/arm/acpi/domain_build.c: In function ‘acpi_route_spis’: arch/arm/acpi/domain_build.c:72:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 72 | for( i = NR_LOCAL_IRQS; i < vgic_num_irqs(d); i++ ) | ^ arch/arm/acpi/domain_build.c: In function ‘acpi_map_other_tables’: arch/arm/acpi/domain_build.c:194:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘u32’ {aka ‘unsigned int’} [-Wsign-compare] 194 | for( i = 0; i < acpi_gbl_root_table_list.count; i++ ) | ^ arch/arm/acpi/domain_build.c: In function ‘acpi_xsdt_modify_entry’: arch/arm/acpi/domain_build.c:254:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] 254 | for( i = 0; i < entry_count; i++ ) | ^ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ drivers/acpi/tables/tbfadt.c: At top level: drivers/acpi/tables/tbfadt.c:52:1: warning: ‘inline’ is not at beginning of declaration [-Wold-style-declaration] 52 | static void inline | ^~~~~~ drivers/acpi/tables/tbfadt.c:128:1: warning: ‘inline’ is not at beginning of declaration [-Wold-style-declaration] 128 | static void inline | ^~~~~~ CC drivers/acpi/tables/tbinstal.o In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/acpi/platform/aclinux.h:54, from ./include/acpi/platform/acenv.h:142, from ./include/acpi/acpi.h:56, from drivers/acpi/tables/tbinstal.c:45: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/perfc.h:7, from ./include/xen/mm.h:70, from ./arch/arm/include/asm/p2m.h:4, from ./arch/arm/include/asm/setup.h:5, from ./arch/arm/include/asm/acpi.h:25, from ./include/acpi/platform/aclinux.h:58: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ CC arch/arm/acpi/boot.o ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/acpi/platform/aclinux.h:54, from ./include/acpi/platform/acenv.h:142, from ./include/acpi/acpi.h:56, from ./include/xen/acpi.h:57, from arch/arm/acpi/boot.c:28: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/perfc.h:7, from ./include/xen/mm.h:70, from ./arch/arm/include/asm/p2m.h:4, from ./arch/arm/include/asm/setup.h:5, from ./arch/arm/include/asm/acpi.h:25, from ./include/acpi/platform/aclinux.h:58: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ CC drivers/acpi/tables/tbxface.o ./include/xen/acpi.h: In function ‘acpi_set_cstate_limit’: ./include/xen/acpi.h:192:55: warning: unused parameter ‘new_limit’ [-Wunused-parameter] 192 | static inline void acpi_set_cstate_limit(unsigned int new_limit) { return; } | ~~~~~~~~~~~~~^~~~~~~~~ ./include/xen/acpi.h: In function ‘acpi_set_csubstate_limit’: ./include/xen/acpi.h:194:58: warning: unused parameter ‘new_limit’ [-Wunused-parameter] 194 | static inline void acpi_set_csubstate_limit(unsigned int new_limit) { return; } | ~~~~~~~~~~~~~^~~~~~~~~ In file included from arch/arm/acpi/boot.c:32: ./include/xen/param.h: In function ‘no_config_param’: ./include/xen/param.h:193:19: warning: operand of ‘?:’ changes signedness from ‘long int’ to ‘size_t’ {aka ‘long unsigned int’} due to unsignedness of other operand [-Wsign-compare] 193 | int len = e ? ({ ASSERT(e >= s); e - s; }) : strlen(s); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ arch/arm/acpi/boot.c: In function ‘acpi_map_gic_cpu_interface’: arch/arm/acpi/boot.c:96:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 96 | for ( i = 1; i < enabled_cpus; i++ ) | ^ arch/arm/acpi/boot.c: In function ‘acpi_smp_init_cpus’: arch/arm/acpi/boot.c:166:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 166 | for ( i = 0; i < enabled_cpus; i++ ) | ^ arch/arm/acpi/boot.c: In function ‘dt_scan_depth1_nodes’: arch/arm/acpi/boot.c:213:52: warning: unused parameter ‘fdt’ [-Wunused-parameter] 213 | static int __init dt_scan_depth1_nodes(const void *fdt, int node, | ~~~~~~~~~~~~^~~ arch/arm/acpi/boot.c:213:61: warning: unused parameter ‘node’ [-Wunused-parameter] 213 | static int __init dt_scan_depth1_nodes(const void *fdt, int node, | ~~~~^~~~ arch/arm/acpi/boot.c:215:44: warning: unused parameter ‘address_cells’ [-Wunused-parameter] 215 | u32 address_cells, u32 size_cells, | ~~~~^~~~~~~~~~~~~ arch/arm/acpi/boot.c:215:63: warning: unused parameter ‘size_cells’ [-Wunused-parameter] 215 | u32 address_cells, u32 size_cells, | ~~~~^~~~~~~~~~ arch/arm/acpi/boot.c:216:46: warning: unused parameter ‘data’ [-Wunused-parameter] 216 | void *data) | ~~~~~~^~~~ In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/acpi/platform/aclinux.h:54, from ./include/acpi/platform/acenv.h:142, from ./include/acpi/acpi.h:56, from drivers/acpi/tables/tbxface.c:46: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/perfc.h:7, from ./include/xen/mm.h:70, from ./arch/arm/include/asm/p2m.h:4, from ./arch/arm/include/asm/setup.h:5, from ./arch/arm/include/asm/acpi.h:25, from ./include/acpi/platform/aclinux.h:58: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ INIT_O arch/arm/acpi/domain_build.init.o CC drivers/acpi/tables/tbxfroot.o INIT_O arch/arm/acpi/boot.init.o In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/acpi/platform/aclinux.h:54, from ./include/acpi/platform/acenv.h:142, from ./include/acpi/acpi.h:56, from drivers/acpi/tables/tbxfroot.c:45: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/perfc.h:7, from ./include/xen/mm.h:70, from ./arch/arm/include/asm/p2m.h:4, from ./arch/arm/include/asm/setup.h:5, from ./arch/arm/include/asm/acpi.h:25, from ./include/acpi/platform/aclinux.h:58: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ LD xsm/flask/ss/built_in.o In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ LD arch/arm/acpi/built_in.o In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ INIT_O drivers/acpi/tables/tbfadt.init.o INIT_O drivers/acpi/tables/tbinstal.init.o CC common/event_fifo.o LD xsm/flask/built_in.o INIT_O drivers/acpi/tables/tbxface.init.o CC arch/arm/platforms/seattle.o In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/sched.h:6, from ./include/xen/event.h:12, from common/event_channel.h:3, from common/event_fifo.c:10: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/sched.h:6, from ./arch/arm/include/asm/platform.h:4, from arch/arm/platforms/seattle.c:20: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/rwlock.h:6, from ./include/xen/sched.h:7: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ INIT_O drivers/acpi/tables/tbxfroot.init.o In file included from ./include/xen/domain.h:5, from ./include/xen/sched.h:11: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/rwlock.h:6, from ./include/xen/sched.h:7: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233, from ./arch/arm/include/asm/p2m.h:4, from ./arch/arm/include/asm/domain.h:7, from ./include/xen/domain.h:15: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ LD drivers/acpi/tables/built_in.o In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ In file included from ./include/xen/domain.h:5, from ./include/xen/sched.h:11: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233, from ./arch/arm/include/asm/p2m.h:4, from ./arch/arm/include/asm/domain.h:7, from ./include/xen/domain.h:15: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘arch_vcpu_block’: ./arch/arm/include/asm/domain.h:297:49: warning: unused parameter ‘v’ [-Wunused-parameter] 297 | static inline void arch_vcpu_block(struct vcpu *v) {} | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘update_guest_memory_policy’: ./arch/arm/include/asm/domain.h:309:60: warning: unused parameter ‘v’ [-Wunused-parameter] 309 | static inline void update_guest_memory_policy(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h:310:75: warning: unused parameter ‘gmp’ [-Wunused-parameter] 310 | struct guest_memory_policy *gmp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from ./include/xen/sched.h:25: ./include/xen/vpci.h: In function ‘vpci_assign_device’: ./include/xen/vpci.h:278:54: warning: unused parameter ‘pdev’ [-Wunused-parameter] 278 | static inline int vpci_assign_device(struct pci_dev *pdev) | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_deassign_device’: ./include/xen/vpci.h:283:57: warning: unused parameter ‘pdev’ [-Wunused-parameter] 283 | static inline void vpci_deassign_device(struct pci_dev *pdev) { } | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_read’: ./include/xen/vpci.h:287:45: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:287:64: warning: unused parameter ‘reg’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:288:47: warning: unused parameter ‘size’ [-Wunused-parameter] 288 | unsigned int size) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_write’: ./include/xen/vpci.h:294:42: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:294:61: warning: unused parameter ‘reg’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:295:44: warning: unused parameter ‘size’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h:295:59: warning: unused parameter ‘data’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_process_pending’: ./include/xen/vpci.h:300:67: warning: unused parameter ‘v’ [-Wunused-parameter] 300 | static inline bool __must_check vpci_process_pending(struct vcpu *v) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘arch_vcpu_block’: ./arch/arm/include/asm/domain.h:297:49: warning: unused parameter ‘v’ [-Wunused-parameter] 297 | static inline void arch_vcpu_block(struct vcpu *v) {} | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘update_guest_memory_policy’: ./arch/arm/include/asm/domain.h:309:60: warning: unused parameter ‘v’ [-Wunused-parameter] 309 | static inline void update_guest_memory_policy(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h:310:75: warning: unused parameter ‘gmp’ [-Wunused-parameter] 310 | struct guest_memory_policy *gmp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./include/xen/sched.h: In function ‘is_pv_32bit_domain’: ./include/xen/sched.h:1131:67: warning: unused parameter ‘d’ [-Wunused-parameter] 1131 | static always_inline bool is_pv_32bit_domain(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ In file included from ./include/xen/event.h:17: ./arch/arm/include/asm/event.h: In function ‘arch_virq_is_global’: ./arch/arm/include/asm/event.h:50:53: warning: unused parameter ‘virq’ [-Wunused-parameter] 50 | static inline bool arch_virq_is_global(unsigned int virq) | ~~~~~~~~~~~~~^~~~ In file included from ./include/xen/sched.h:25: ./include/xen/vpci.h: In function ‘vpci_assign_device’: ./include/xen/vpci.h:278:54: warning: unused parameter ‘pdev’ [-Wunused-parameter] 278 | static inline int vpci_assign_device(struct pci_dev *pdev) | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_deassign_device’: ./include/xen/vpci.h:283:57: warning: unused parameter ‘pdev’ [-Wunused-parameter] 283 | static inline void vpci_deassign_device(struct pci_dev *pdev) { } | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_read’: ./include/xen/vpci.h:287:45: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:287:64: warning: unused parameter ‘reg’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:288:47: warning: unused parameter ‘size’ [-Wunused-parameter] 288 | unsigned int size) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_write’: ./include/xen/vpci.h:294:42: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:294:61: warning: unused parameter ‘reg’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:295:44: warning: unused parameter ‘size’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h:295:59: warning: unused parameter ‘data’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_process_pending’: ./include/xen/vpci.h:300:67: warning: unused parameter ‘v’ [-Wunused-parameter] 300 | static inline bool __must_check vpci_process_pending(struct vcpu *v) | ~~~~~~~~~~~~~^ In file included from common/event_fifo.c:18: ./include/xen/domain_page.h: In function ‘unmap_domain_page_global’: ./include/xen/domain_page.h:71:57: warning: unused parameter ‘va’ [-Wunused-parameter] 71 | static inline void unmap_domain_page_global(const void *va) {}; | ~~~~~~~~~~~~^~ ./include/xen/sched.h: In function ‘is_pv_32bit_domain’: ./include/xen/sched.h:1131:67: warning: unused parameter ‘d’ [-Wunused-parameter] 1131 | static always_inline bool is_pv_32bit_domain(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ common/event_fifo.c: In function ‘evtchn_fifo_set_priority’: common/event_fifo.c:380:20: warning: unused parameter ‘d’ [-Wunused-parameter] 380 | struct domain *d, struct evtchn *evtchn, unsigned int priority) | ~~~~~~~~~~~~~~~^ common/event_fifo.c: In function ‘init_queue’: common/event_fifo.c:460:37: warning: unused parameter ‘v’ [-Wunused-parameter] 460 | static void init_queue(struct vcpu *v, struct evtchn_fifo_queue *q, | ~~~~~~~~~~~~~^ LD xsm/built_in.o CC arch/arm/platforms/sunxi.o CC drivers/acpi/utilities/utglobal.o CC drivers/acpi/utilities/utmisc.o In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/acpi/platform/aclinux.h:54, from ./include/acpi/platform/acenv.h:142, from ./include/acpi/acpi.h:56, from drivers/acpi/utilities/utglobal.c:49: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/mm.h:69, from arch/arm/platforms/sunxi.c:19: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/perfc.h:7, from ./include/xen/mm.h:70: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/perfc.h:7, from ./include/xen/mm.h:70, from ./arch/arm/include/asm/p2m.h:4, from ./arch/arm/include/asm/setup.h:5, from ./arch/arm/include/asm/acpi.h:25, from ./include/acpi/platform/aclinux.h:58: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ In file included from ./include/xen/domain.h:5, from ./include/xen/sched.h:11, from ./arch/arm/include/asm/platform.h:4, from arch/arm/platforms/sunxi.c:21: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5, from ./arch/arm/include/asm/domain.h:7, from ./include/xen/domain.h:15: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/acpi/platform/aclinux.h:54, from ./include/acpi/platform/acenv.h:142, from ./include/acpi/acpi.h:56, from drivers/acpi/utilities/utmisc.c:45: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./arch/arm/include/asm/domain.h: In function ‘arch_vcpu_block’: ./arch/arm/include/asm/domain.h:297:49: warning: unused parameter ‘v’ [-Wunused-parameter] 297 | static inline void arch_vcpu_block(struct vcpu *v) {} | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘update_guest_memory_policy’: ./arch/arm/include/asm/domain.h:309:60: warning: unused parameter ‘v’ [-Wunused-parameter] 309 | static inline void update_guest_memory_policy(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h:310:75: warning: unused parameter ‘gmp’ [-Wunused-parameter] 310 | struct guest_memory_policy *gmp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from ./include/xen/sched.h:25: ./include/xen/vpci.h: In function ‘vpci_assign_device’: ./include/xen/vpci.h:278:54: warning: unused parameter ‘pdev’ [-Wunused-parameter] 278 | static inline int vpci_assign_device(struct pci_dev *pdev) | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_deassign_device’: ./include/xen/vpci.h:283:57: warning: unused parameter ‘pdev’ [-Wunused-parameter] 283 | static inline void vpci_deassign_device(struct pci_dev *pdev) { } | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_read’: ./include/xen/vpci.h:287:45: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:287:64: warning: unused parameter ‘reg’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:288:47: warning: unused parameter ‘size’ [-Wunused-parameter] 288 | unsigned int size) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_write’: ./include/xen/vpci.h:294:42: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:294:61: warning: unused parameter ‘reg’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:295:44: warning: unused parameter ‘size’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h:295:59: warning: unused parameter ‘data’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_process_pending’: ./include/xen/vpci.h:300:67: warning: unused parameter ‘v’ [-Wunused-parameter] 300 | static inline bool __must_check vpci_process_pending(struct vcpu *v) | ~~~~~~~~~~~~~^ CC arch/arm/platforms/thunderx.o In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/perfc.h:7, from ./include/xen/mm.h:70, from ./arch/arm/include/asm/p2m.h:4, from ./arch/arm/include/asm/setup.h:5, from ./arch/arm/include/asm/acpi.h:25, from ./include/acpi/platform/aclinux.h:58: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ ./include/xen/sched.h: In function ‘is_pv_32bit_domain’: ./include/xen/sched.h:1131:67: warning: unused parameter ‘d’ [-Wunused-parameter] 1131 | static always_inline bool is_pv_32bit_domain(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/sched.h:6, from ./arch/arm/include/asm/platform.h:4, from arch/arm/platforms/thunderx.c:21: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ drivers/acpi/utilities/utmisc.c: In function ‘acpi_ut_info’: drivers/acpi/utilities/utmisc.c:164:26: warning: unused parameter ‘module_name’ [-Wunused-parameter] 164 | acpi_ut_info(const char *module_name, u32 line_number, const char *format, ...) | ~~~~~~~~~~~~^~~~~~~~~~~ drivers/acpi/utilities/utmisc.c:164:43: warning: unused parameter ‘line_number’ [-Wunused-parameter] 164 | acpi_ut_info(const char *module_name, u32 line_number, const char *format, ...) | ~~~~^~~~~~~~~~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/rwlock.h:6, from ./include/xen/sched.h:7: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/domain.h:5, from ./include/xen/sched.h:11: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ INIT_O drivers/acpi/utilities/utmisc.init.o In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233, from ./arch/arm/include/asm/p2m.h:4, from ./arch/arm/include/asm/domain.h:7, from ./include/xen/domain.h:15: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ LD drivers/acpi/utilities/built_in.o CC drivers/acpi/osl.o ./arch/arm/include/asm/domain.h: In function ‘arch_vcpu_block’: ./arch/arm/include/asm/domain.h:297:49: warning: unused parameter ‘v’ [-Wunused-parameter] 297 | static inline void arch_vcpu_block(struct vcpu *v) {} | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘update_guest_memory_policy’: ./arch/arm/include/asm/domain.h:309:60: warning: unused parameter ‘v’ [-Wunused-parameter] 309 | static inline void update_guest_memory_policy(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h:310:75: warning: unused parameter ‘gmp’ [-Wunused-parameter] 310 | struct guest_memory_policy *gmp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ CC arch/arm/platforms/xgene-storm.o In file included from ./include/xen/sched.h:25: ./include/xen/vpci.h: In function ‘vpci_assign_device’: ./include/xen/vpci.h:278:54: warning: unused parameter ‘pdev’ [-Wunused-parameter] 278 | static inline int vpci_assign_device(struct pci_dev *pdev) | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_deassign_device’: ./include/xen/vpci.h:283:57: warning: unused parameter ‘pdev’ [-Wunused-parameter] 283 | static inline void vpci_deassign_device(struct pci_dev *pdev) { } | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_read’: ./include/xen/vpci.h:287:45: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:287:64: warning: unused parameter ‘reg’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:288:47: warning: unused parameter ‘size’ [-Wunused-parameter] 288 | unsigned int size) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_write’: ./include/xen/vpci.h:294:42: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:294:61: warning: unused parameter ‘reg’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:295:44: warning: unused parameter ‘size’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h:295:59: warning: unused parameter ‘data’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_process_pending’: ./include/xen/vpci.h:300:67: warning: unused parameter ‘v’ [-Wunused-parameter] 300 | static inline bool __must_check vpci_process_pending(struct vcpu *v) | ~~~~~~~~~~~~~^ ./include/xen/sched.h: In function ‘is_pv_32bit_domain’: ./include/xen/sched.h:1131:67: warning: unused parameter ‘d’ [-Wunused-parameter] 1131 | static always_inline bool is_pv_32bit_domain(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/arm64/io.h:25, from ./arch/arm/include/asm/io.h:7, from drivers/acpi/osl.c:26: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/sched.h:6, from ./arch/arm/include/asm/platform.h:4, from arch/arm/platforms/xgene-storm.c:21: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43, from ./include/acpi/platform/aclinux.h:54, from ./include/acpi/platform/acenv.h:142, from ./include/acpi/acpi.h:56, from ./include/xen/acpi.h:57, from drivers/acpi/osl.c:31: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/perfc.h:7, from ./include/xen/mm.h:70, from ./arch/arm/include/asm/p2m.h:4, from ./arch/arm/include/asm/setup.h:5, from ./arch/arm/include/asm/acpi.h:25, from ./include/acpi/platform/aclinux.h:58: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/rwlock.h:6, from ./include/xen/sched.h:7: ./include/xen/cpumask.h: In function ‘cpumask_last’: In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ In file included from ./include/xen/domain.h:5, from ./include/xen/sched.h:11: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233, from ./arch/arm/include/asm/p2m.h:4, from ./arch/arm/include/asm/domain.h:7, from ./include/xen/domain.h:15: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/acpi.h: In function ‘acpi_set_cstate_limit’: ./include/xen/acpi.h:192:55: warning: unused parameter ‘new_limit’ [-Wunused-parameter] 192 | static inline void acpi_set_cstate_limit(unsigned int new_limit) { return; } | ~~~~~~~~~~~~~^~~~~~~~~ ./include/xen/acpi.h: In function ‘acpi_set_csubstate_limit’: ./include/xen/acpi.h:194:58: warning: unused parameter ‘new_limit’ [-Wunused-parameter] 194 | static inline void acpi_set_csubstate_limit(unsigned int new_limit) { return; } | ~~~~~~~~~~~~~^~~~~~~~~ In file included from drivers/acpi/osl.c:32: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from drivers/acpi/osl.c:37: ./include/xen/domain_page.h: In function ‘unmap_domain_page_global’: ./include/xen/domain_page.h:71:57: warning: unused parameter ‘va’ [-Wunused-parameter] 71 | static inline void unmap_domain_page_global(const void *va) {}; | ~~~~~~~~~~~~^~ drivers/acpi/osl.c: In function ‘acpi_os_write_port’: drivers/acpi/osl.c:144:58: warning: unused parameter ‘value’ [-Wunused-parameter] 144 | acpi_status acpi_os_write_port(acpi_io_address port, u32 value, u32 width) | ~~~~^~~~~ In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘arch_vcpu_block’: ./arch/arm/include/asm/domain.h:297:49: warning: unused parameter ‘v’ [-Wunused-parameter] 297 | static inline void arch_vcpu_block(struct vcpu *v) {} | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘update_guest_memory_policy’: ./arch/arm/include/asm/domain.h:309:60: warning: unused parameter ‘v’ [-Wunused-parameter] 309 | static inline void update_guest_memory_policy(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h:310:75: warning: unused parameter ‘gmp’ [-Wunused-parameter] 310 | struct guest_memory_policy *gmp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from ./include/xen/sched.h:25: ./include/xen/vpci.h: In function ‘vpci_assign_device’: ./include/xen/vpci.h:278:54: warning: unused parameter ‘pdev’ [-Wunused-parameter] 278 | static inline int vpci_assign_device(struct pci_dev *pdev) | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_deassign_device’: ./include/xen/vpci.h:283:57: warning: unused parameter ‘pdev’ [-Wunused-parameter] 283 | static inline void vpci_deassign_device(struct pci_dev *pdev) { } | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_read’: ./include/xen/vpci.h:287:45: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:287:64: warning: unused parameter ‘reg’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:288:47: warning: unused parameter ‘size’ [-Wunused-parameter] 288 | unsigned int size) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_write’: ./include/xen/vpci.h:294:42: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:294:61: warning: unused parameter ‘reg’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:295:44: warning: unused parameter ‘size’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h:295:59: warning: unused parameter ‘data’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_process_pending’: ./include/xen/vpci.h:300:67: warning: unused parameter ‘v’ [-Wunused-parameter] 300 | static inline bool __must_check vpci_process_pending(struct vcpu *v) | ~~~~~~~~~~~~~^ ./include/xen/sched.h: In function ‘is_pv_32bit_domain’: ./include/xen/sched.h:1131:67: warning: unused parameter ‘d’ [-Wunused-parameter] 1131 | static always_inline bool is_pv_32bit_domain(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ CC arch/arm/platforms/brcm-raspberry-pi.o In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/mm.h:69, from arch/arm/platforms/brcm-raspberry-pi.c:21: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ CC arch/arm/platforms/imx8qm.o CC drivers/acpi/tables.o In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/perfc.h:7, from ./include/xen/mm.h:70: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/sched.h:6, from arch/arm/platforms/imx8qm.c:14: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from drivers/acpi/tables.c:27: ./include/xen/param.h: In function ‘no_config_param’: ./include/xen/param.h:193:19: warning: operand of ‘?:’ changes signedness from ‘long int’ to ‘size_t’ {aka ‘long unsigned int’} due to unsignedness of other operand [-Wsign-compare] 193 | int len = e ? ({ ASSERT(e >= s); e - s; }) : strlen(s); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./include/xen/domain.h:5, from ./include/xen/sched.h:11, from ./arch/arm/include/asm/platform.h:4, from arch/arm/platforms/brcm-raspberry-pi.c:24: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5, from ./arch/arm/include/asm/domain.h:7, from ./include/xen/domain.h:15: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from drivers/acpi/tables.c:28: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/current.h:8, from ./arch/arm/include/asm/smp.h:6: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43, from ./include/xen/rcupdate.h:36, from ./include/xen/irq.h:5, from drivers/acpi/tables.c:31: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/rwlock.h:6, from ./include/xen/sched.h:7: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./arch/arm/include/asm/domain.h: In function ‘arch_vcpu_block’: ./arch/arm/include/asm/domain.h:297:49: warning: unused parameter ‘v’ [-Wunused-parameter] 297 | static inline void arch_vcpu_block(struct vcpu *v) {} | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘update_guest_memory_policy’: ./arch/arm/include/asm/domain.h:309:60: warning: unused parameter ‘v’ [-Wunused-parameter] 309 | static inline void update_guest_memory_policy(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h:310:75: warning: unused parameter ‘gmp’ [-Wunused-parameter] 310 | struct guest_memory_policy *gmp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from ./include/xen/domain.h:5, from ./include/xen/sched.h:11: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ In file included from ./include/xen/sched.h:25: ./include/xen/vpci.h: In function ‘vpci_assign_device’: ./include/xen/vpci.h:278:54: warning: unused parameter ‘pdev’ [-Wunused-parameter] 278 | static inline int vpci_assign_device(struct pci_dev *pdev) | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_deassign_device’: ./include/xen/vpci.h:283:57: warning: unused parameter ‘pdev’ [-Wunused-parameter] 283 | static inline void vpci_deassign_device(struct pci_dev *pdev) { } | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_read’: ./include/xen/vpci.h:287:45: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:287:64: warning: unused parameter ‘reg’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:288:47: warning: unused parameter ‘size’ [-Wunused-parameter] 288 | unsigned int size) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_write’: ./include/xen/vpci.h:294:42: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:294:61: warning: unused parameter ‘reg’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:295:44: warning: unused parameter ‘size’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h:295:59: warning: unused parameter ‘data’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_process_pending’: ./include/xen/vpci.h:300:67: warning: unused parameter ‘v’ [-Wunused-parameter] 300 | static inline bool __must_check vpci_process_pending(struct vcpu *v) | ~~~~~~~~~~~~~^ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233, from ./arch/arm/include/asm/p2m.h:4, from ./arch/arm/include/asm/domain.h:7, from ./include/xen/domain.h:15: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233, from ./arch/arm/include/asm/p2m.h:4, from ./arch/arm/include/asm/setup.h:5, from ./arch/arm/include/asm/acpi.h:25, from ./include/acpi/platform/aclinux.h:58, from ./include/acpi/platform/acenv.h:142, from ./include/acpi/acpi.h:56, from ./include/xen/acpi.h:57, from drivers/acpi/tables.c:33: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/sched.h: In function ‘is_pv_32bit_domain’: ./include/xen/sched.h:1131:67: warning: unused parameter ‘d’ [-Wunused-parameter] 1131 | static always_inline bool is_pv_32bit_domain(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./include/xen/acpi.h: In function ‘acpi_set_cstate_limit’: ./include/xen/acpi.h:192:55: warning: unused parameter ‘new_limit’ [-Wunused-parameter] 192 | static inline void acpi_set_cstate_limit(unsigned int new_limit) { return; } | ~~~~~~~~~~~~~^~~~~~~~~ ./include/xen/acpi.h: In function ‘acpi_set_csubstate_limit’: ./include/xen/acpi.h:194:58: warning: unused parameter ‘new_limit’ [-Wunused-parameter] 194 | static inline void acpi_set_csubstate_limit(unsigned int new_limit) { return; } | ~~~~~~~~~~~~~^~~~~~~~~ drivers/acpi/tables.c: In function ‘acpi_get_entry’: drivers/acpi/tables.c:272:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 272 | if (count == entry_index) | ^~ drivers/acpi/tables.c: In function ‘acpi_parse_entries’: drivers/acpi/tables.c:342:47: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 342 | && (!max_entries || count < max_entries)) { | ^ drivers/acpi/tables.c:353:34: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 353 | if (max_entries && count > max_entries) { | ^ ./arch/arm/include/asm/domain.h: In function ‘arch_vcpu_block’: ./arch/arm/include/asm/domain.h:297:49: warning: unused parameter ‘v’ [-Wunused-parameter] 297 | static inline void arch_vcpu_block(struct vcpu *v) {} | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘update_guest_memory_policy’: ./arch/arm/include/asm/domain.h:309:60: warning: unused parameter ‘v’ [-Wunused-parameter] 309 | static inline void update_guest_memory_policy(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h:310:75: warning: unused parameter ‘gmp’ [-Wunused-parameter] 310 | struct guest_memory_policy *gmp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ CC arch/arm/platforms/xilinx-zynqmp.o In file included from ./include/xen/sched.h:25: ./include/xen/vpci.h: In function ‘vpci_assign_device’: ./include/xen/vpci.h:278:54: warning: unused parameter ‘pdev’ [-Wunused-parameter] 278 | static inline int vpci_assign_device(struct pci_dev *pdev) | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_deassign_device’: ./include/xen/vpci.h:283:57: warning: unused parameter ‘pdev’ [-Wunused-parameter] 283 | static inline void vpci_deassign_device(struct pci_dev *pdev) { } | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_read’: ./include/xen/vpci.h:287:45: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:287:64: warning: unused parameter ‘reg’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:288:47: warning: unused parameter ‘size’ [-Wunused-parameter] 288 | unsigned int size) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_write’: ./include/xen/vpci.h:294:42: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:294:61: warning: unused parameter ‘reg’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:295:44: warning: unused parameter ‘size’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h:295:59: warning: unused parameter ‘data’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_process_pending’: ./include/xen/vpci.h:300:67: warning: unused parameter ‘v’ [-Wunused-parameter] 300 | static inline bool __must_check vpci_process_pending(struct vcpu *v) | ~~~~~~~~~~~~~^ ./include/xen/sched.h: In function ‘is_pv_32bit_domain’: ./include/xen/sched.h:1131:67: warning: unused parameter ‘d’ [-Wunused-parameter] 1131 | static always_inline bool is_pv_32bit_domain(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/sched.h:6, from ./arch/arm/include/asm/platform.h:4, from arch/arm/platforms/xilinx-zynqmp.c:20: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ INIT_O drivers/acpi/tables.init.o In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/rwlock.h:6, from ./include/xen/sched.h:7: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ LD drivers/acpi/built_in.o In file included from ./include/xen/domain.h:5, from ./include/xen/sched.h:11: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ LD drivers/built_in.o In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233, from ./arch/arm/include/asm/p2m.h:4, from ./arch/arm/include/asm/domain.h:7, from ./include/xen/domain.h:15: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘arch_vcpu_block’: ./arch/arm/include/asm/domain.h:297:49: warning: unused parameter ‘v’ [-Wunused-parameter] 297 | static inline void arch_vcpu_block(struct vcpu *v) {} | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘update_guest_memory_policy’: ./arch/arm/include/asm/domain.h:309:60: warning: unused parameter ‘v’ [-Wunused-parameter] 309 | static inline void update_guest_memory_policy(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h:310:75: warning: unused parameter ‘gmp’ [-Wunused-parameter] 310 | struct guest_memory_policy *gmp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from ./include/xen/sched.h:25: ./include/xen/vpci.h: In function ‘vpci_assign_device’: ./include/xen/vpci.h:278:54: warning: unused parameter ‘pdev’ [-Wunused-parameter] 278 | static inline int vpci_assign_device(struct pci_dev *pdev) | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_deassign_device’: ./include/xen/vpci.h:283:57: warning: unused parameter ‘pdev’ [-Wunused-parameter] 283 | static inline void vpci_deassign_device(struct pci_dev *pdev) { } | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_read’: ./include/xen/vpci.h:287:45: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:287:64: warning: unused parameter ‘reg’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:288:47: warning: unused parameter ‘size’ [-Wunused-parameter] 288 | unsigned int size) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_write’: ./include/xen/vpci.h:294:42: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:294:61: warning: unused parameter ‘reg’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:295:44: warning: unused parameter ‘size’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h:295:59: warning: unused parameter ‘data’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_process_pending’: ./include/xen/vpci.h:300:67: warning: unused parameter ‘v’ [-Wunused-parameter] 300 | static inline bool __must_check vpci_process_pending(struct vcpu *v) | ~~~~~~~~~~~~~^ ./include/xen/sched.h: In function ‘is_pv_32bit_domain’: ./include/xen/sched.h:1131:67: warning: unused parameter ‘d’ [-Wunused-parameter] 1131 | static always_inline bool is_pv_32bit_domain(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ CC arch/arm/platforms/xilinx-zynqmp-eemi.o CC common/grant_table.o CC common/guestcopy.o In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/current.h:8, from ./arch/arm/include/asm/regs.h:11, from arch/arm/platforms/xilinx-zynqmp-eemi.c:19: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43, from ./include/xen/sched.h:6, from arch/arm/platforms/xilinx-zynqmp-eemi.c:20: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/sched.h:6, from ./include/xen/iocap.h:10, from common/grant_table.c:27: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/rwlock.h:6, from ./include/xen/sched.h:7: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./include/xen/domain.h:5, from ./include/xen/sched.h:11: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233, from ./arch/arm/include/asm/p2m.h:4, from ./arch/arm/include/asm/domain.h:7, from ./include/xen/domain.h:15: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/rwlock.h:6, from ./include/xen/sched.h:7: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ In file included from ./include/xen/domain.h:5, from ./include/xen/sched.h:11: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233, from ./arch/arm/include/asm/p2m.h:4, from ./arch/arm/include/asm/domain.h:7, from ./include/xen/domain.h:15: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./arch/arm/include/asm/domain.h: In function ‘arch_vcpu_block’: ./arch/arm/include/asm/domain.h:297:49: warning: unused parameter ‘v’ [-Wunused-parameter] 297 | static inline void arch_vcpu_block(struct vcpu *v) {} | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘update_guest_memory_policy’: ./arch/arm/include/asm/domain.h:309:60: warning: unused parameter ‘v’ [-Wunused-parameter] 309 | static inline void update_guest_memory_policy(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h:310:75: warning: unused parameter ‘gmp’ [-Wunused-parameter] 310 | struct guest_memory_policy *gmp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/sched.h:25: ./include/xen/vpci.h: In function ‘vpci_assign_device’: ./include/xen/vpci.h:278:54: warning: unused parameter ‘pdev’ [-Wunused-parameter] 278 | static inline int vpci_assign_device(struct pci_dev *pdev) | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_deassign_device’: ./include/xen/vpci.h:283:57: warning: unused parameter ‘pdev’ [-Wunused-parameter] 283 | static inline void vpci_deassign_device(struct pci_dev *pdev) { } | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_read’: ./include/xen/vpci.h:287:45: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:287:64: warning: unused parameter ‘reg’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:288:47: warning: unused parameter ‘size’ [-Wunused-parameter] 288 | unsigned int size) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_write’: ./include/xen/vpci.h:294:42: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:294:61: warning: unused parameter ‘reg’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:295:44: warning: unused parameter ‘size’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h:295:59: warning: unused parameter ‘data’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_process_pending’: ./include/xen/vpci.h:300:67: warning: unused parameter ‘v’ [-Wunused-parameter] 300 | static inline bool __must_check vpci_process_pending(struct vcpu *v) | ~~~~~~~~~~~~~^ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/sched.h:6, from ./arch/arm/include/asm/guest_access.h:5, from ./include/xen/guest_access.h:10, from common/guestcopy.c:2: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ ./include/xen/sched.h: In function ‘is_pv_32bit_domain’: ./include/xen/sched.h:1131:67: warning: unused parameter ‘d’ [-Wunused-parameter] 1131 | static always_inline bool is_pv_32bit_domain(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ arch/arm/platforms/xilinx-zynqmp-eemi.c: In function ‘domain_has_node_access’: arch/arm/platforms/xilinx-zynqmp-eemi.c:42:70: warning: unused parameter ‘nodeid’ [-Wunused-parameter] 42 | static inline bool domain_has_node_access(struct domain *d, uint32_t nodeid) | ~~~~~~~~~^~~~~~ arch/arm/platforms/xilinx-zynqmp-eemi.c: In function ‘domain_has_reset_access’: arch/arm/platforms/xilinx-zynqmp-eemi.c:47:71: warning: unused parameter ‘rst’ [-Wunused-parameter] 47 | static inline bool domain_has_reset_access(struct domain *d, uint32_t rst) | ~~~~~~~~~^~~ ./arch/arm/include/asm/domain.h: In function ‘arch_vcpu_block’: In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./arch/arm/include/asm/domain.h:297:49: warning: unused parameter ‘v’ [-Wunused-parameter] 297 | static inline void arch_vcpu_block(struct vcpu *v) {} | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘update_guest_memory_policy’: ./arch/arm/include/asm/domain.h:309:60: warning: unused parameter ‘v’ [-Wunused-parameter] 309 | static inline void update_guest_memory_policy(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h:310:75: warning: unused parameter ‘gmp’ [-Wunused-parameter] 310 | struct guest_memory_policy *gmp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from ./include/xen/sched.h:25: ./include/xen/vpci.h: In function ‘vpci_assign_device’: ./include/xen/vpci.h:278:54: warning: unused parameter ‘pdev’ [-Wunused-parameter] 278 | static inline int vpci_assign_device(struct pci_dev *pdev) | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_deassign_device’: ./include/xen/vpci.h:283:57: warning: unused parameter ‘pdev’ [-Wunused-parameter] 283 | static inline void vpci_deassign_device(struct pci_dev *pdev) { } | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_read’: ./include/xen/vpci.h:287:45: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:287:64: warning: unused parameter ‘reg’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:288:47: warning: unused parameter ‘size’ [-Wunused-parameter] 288 | unsigned int size) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_write’: ./include/xen/vpci.h:294:42: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:294:61: warning: unused parameter ‘reg’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:295:44: warning: unused parameter ‘size’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h:295:59: warning: unused parameter ‘data’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_process_pending’: ./include/xen/vpci.h:300:67: warning: unused parameter ‘v’ [-Wunused-parameter] 300 | static inline bool __must_check vpci_process_pending(struct vcpu *v) | ~~~~~~~~~~~~~^ ./include/xen/sched.h: In function ‘is_pv_32bit_domain’: ./include/xen/sched.h:1131:67: warning: unused parameter ‘d’ [-Wunused-parameter] 1131 | static always_inline bool is_pv_32bit_domain(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ In file included from common/grant_table.c:31: ./include/xen/param.h: In function ‘no_config_param’: ./include/xen/param.h:193:19: warning: operand of ‘?:’ changes signedness from ‘long int’ to ‘size_t’ {aka ‘long unsigned int’} due to unsignedness of other operand [-Wsign-compare] 193 | int len = e ? ({ ASSERT(e >= s); e - s; }) : strlen(s); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./include/xen/event.h:17, from common/grant_table.c:32: ./arch/arm/include/asm/event.h: In function ‘arch_virq_is_global’: ./arch/arm/include/asm/event.h:50:53: warning: unused parameter ‘virq’ [-Wunused-parameter] 50 | static inline bool arch_virq_is_global(unsigned int virq) | ~~~~~~~~~~~~~^~~~ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/rwlock.h:6, from ./include/xen/sched.h:7: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/grant_table.h:31, from common/grant_table.c:34: ./arch/arm/include/asm/grant_table.h: In function ‘gnttab_mark_dirty’: ./arch/arm/include/asm/grant_table.h:20:53: warning: unused parameter ‘d’ [-Wunused-parameter] 20 | static inline void gnttab_mark_dirty(struct domain *d, mfn_t mfn) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/grant_table.h:20:62: warning: unused parameter ‘mfn’ [-Wunused-parameter] 20 | static inline void gnttab_mark_dirty(struct domain *d, mfn_t mfn) | ~~~~~~^~~ ./arch/arm/include/asm/grant_table.h: In function ‘gnttab_host_mapping_get_page_type’: ./arch/arm/include/asm/grant_table.h:27:59: warning: unused parameter ‘ro’ [-Wunused-parameter] 27 | static inline bool gnttab_host_mapping_get_page_type(bool ro, ./arch/arm/include/asm/grant_table.h:28:75: warning: unused parameter ‘ld’ [-Wunused-parameter] 28 | const struct domain *ld, | ~~~~~~~~~~~~~~~~~~~~~^~ ./arch/arm/include/asm/grant_table.h:29:75: warning: unused parameter ‘rd’ [-Wunused-parameter] 29 | const struct domain *rd) | ~~~~~~~~~~~~~~~~~~~~~^~ ./arch/arm/include/asm/grant_table.h: In function ‘gnttab_release_host_mappings’: ./arch/arm/include/asm/grant_table.h:34:70: warning: unused parameter ‘d’ [-Wunused-parameter] 34 | static inline bool gnttab_release_host_mappings(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ In file included from ./include/xen/hypercall.h:22, from common/grant_table.c:36: ./include/xsm/xsm.h: In function ‘xsm_domain_create’: ./include/xsm/xsm.h:224:19: warning: unused parameter ‘def’ [-Wunused-parameter] 224 | xsm_default_t def, struct domain *d, uint32_t ssidref) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_getdomaininfo’: ./include/xsm/xsm.h:229:51: warning: unused parameter ‘def’ [-Wunused-parameter] 229 | static inline int xsm_getdomaininfo(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_domctl_scheduler_op’: ./include/xsm/xsm.h:235:19: warning: unused parameter ‘def’ [-Wunused-parameter] 235 | xsm_default_t def, struct domain *d, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_sysctl_scheduler_op’: ./include/xsm/xsm.h:240:57: warning: unused parameter ‘def’ [-Wunused-parameter] 240 | static inline int xsm_sysctl_scheduler_op(xsm_default_t def, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_set_target’: ./include/xsm/xsm.h:246:19: warning: unused parameter ‘def’ [-Wunused-parameter] 246 | xsm_default_t def, struct domain *d, struct domain *e) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_domctl’: ./include/xsm/xsm.h:251:44: warning: unused parameter ‘def’ [-Wunused-parameter] 251 | static inline int xsm_domctl(xsm_default_t def, struct domain *d, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_sysctl’: ./include/xsm/xsm.h:256:44: warning: unused parameter ‘def’ [-Wunused-parameter] 256 | static inline int xsm_sysctl(xsm_default_t def, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_readconsole’: ./include/xsm/xsm.h:261:49: warning: unused parameter ‘def’ [-Wunused-parameter] 261 | static inline int xsm_readconsole(xsm_default_t def, uint32_t clear) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_unbound’: ./include/xsm/xsm.h:267:19: warning: unused parameter ‘def’ [-Wunused-parameter] 267 | xsm_default_t def, struct domain *d1, struct evtchn *chn, domid_t id2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_interdomain’: ./include/xsm/xsm.h:273:19: warning: unused parameter ‘def’ [-Wunused-parameter] 273 | xsm_default_t def, struct domain *d1, struct evtchn *chan1, | ~~~~~~~~~~~~~~^~~ In file included from ./include/xen/domain.h:5, from ./include/xen/sched.h:11: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_send’: ./include/xsm/xsm.h:285:19: warning: unused parameter ‘def’ [-Wunused-parameter] 285 | xsm_default_t def, struct domain *d, struct evtchn *chn) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_status’: ./include/xsm/xsm.h:291:19: warning: unused parameter ‘def’ [-Wunused-parameter] 291 | xsm_default_t def, struct domain *d, struct evtchn *chn) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_reset’: ./include/xsm/xsm.h:297:19: warning: unused parameter ‘def’ [-Wunused-parameter] 297 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_mapref’: ./include/xsm/xsm.h:303:19: warning: unused parameter ‘def’ [-Wunused-parameter] 303 | xsm_default_t def, struct domain *d1, struct domain *d2, uint32_t flags) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_unmapref’: ./include/xsm/xsm.h:309:19: warning: unused parameter ‘def’ [-Wunused-parameter] 309 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_setup’: ./include/xsm/xsm.h:315:19: warning: unused parameter ‘def’ [-Wunused-parameter] 315 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_transfer’: ./include/xsm/xsm.h:321:19: warning: unused parameter ‘def’ [-Wunused-parameter] 321 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_copy’: ./include/xsm/xsm.h:327:19: warning: unused parameter ‘def’ [-Wunused-parameter] 327 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_query_size’: ./include/xsm/xsm.h:333:19: warning: unused parameter ‘def’ [-Wunused-parameter] 333 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_init_hardware_domain’: ./include/xsm/xsm.h:366:58: warning: unused parameter ‘def’ [-Wunused-parameter] 366 | static inline int xsm_init_hardware_domain(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_get_pod_target’: ./include/xsm/xsm.h:371:52: warning: unused parameter ‘def’ [-Wunused-parameter] 371 | static inline int xsm_get_pod_target(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_set_pod_target’: ./include/xsm/xsm.h:376:52: warning: unused parameter ‘def’ [-Wunused-parameter] 376 | static inline int xsm_set_pod_target(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_exchange’: ./include/xsm/xsm.h:381:53: warning: unused parameter ‘def’ [-Wunused-parameter] 381 | static inline int xsm_memory_exchange(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_adjust_reservation’: ./include/xsm/xsm.h:387:19: warning: unused parameter ‘def’ [-Wunused-parameter] 387 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_stat_reservation’: ./include/xsm/xsm.h:393:19: warning: unused parameter ‘def’ [-Wunused-parameter] 393 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_pin_page’: ./include/xsm/xsm.h:399:19: warning: unused parameter ‘def’ [-Wunused-parameter] 399 | xsm_default_t def, struct domain *d1, struct domain *d2, | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_add_to_physmap’: ./include/xsm/xsm.h:406:19: warning: unused parameter ‘def’ [-Wunused-parameter] 406 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_remove_from_physmap’: ./include/xsm/xsm.h:412:19: warning: unused parameter ‘def’ [-Wunused-parameter] 412 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_map_gmfn_foreign’: ./include/xsm/xsm.h:418:19: warning: unused parameter ‘def’ [-Wunused-parameter] 418 | xsm_default_t def, struct domain *d, struct domain *t) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_claim_pages’: ./include/xsm/xsm.h:423:49: warning: unused parameter ‘def’ [-Wunused-parameter] 423 | static inline int xsm_claim_pages(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_console_io’: ./include/xsm/xsm.h:428:48: warning: unused parameter ‘def’ [-Wunused-parameter] 428 | static inline int xsm_console_io(xsm_default_t def, struct domain *d, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_profile’: ./include/xsm/xsm.h:433:45: warning: unused parameter ‘def’ [-Wunused-parameter] 433 | static inline int xsm_profile(xsm_default_t def, struct domain *d, int op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_kexec’: ./include/xsm/xsm.h:438:43: warning: unused parameter ‘def’ [-Wunused-parameter] 438 | static inline int xsm_kexec(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_schedop_shutdown’: ./include/xsm/xsm.h:444:19: warning: unused parameter ‘def’ [-Wunused-parameter] 444 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233, from ./arch/arm/include/asm/p2m.h:4, from ./arch/arm/include/asm/domain.h:7, from ./include/xen/domain.h:15: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xsm/xsm.h: In function ‘xsm_map_domain_pirq’: ./include/xsm/xsm.h:454:53: warning: unused parameter ‘def’ [-Wunused-parameter] 454 | static inline int xsm_map_domain_pirq(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_map_domain_irq’: ./include/xsm/xsm.h:460:19: warning: unused parameter ‘def’ [-Wunused-parameter] 460 | xsm_default_t def, struct domain *d, int irq, void *data) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_unmap_domain_pirq’: ./include/xsm/xsm.h:465:55: warning: unused parameter ‘def’ [-Wunused-parameter] 465 | static inline int xsm_unmap_domain_pirq(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_unmap_domain_irq’: ./include/xsm/xsm.h:471:19: warning: unused parameter ‘def’ [-Wunused-parameter] 471 | xsm_default_t def, struct domain *d, int irq, void *data) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_bind_pt_irq’: ./include/xsm/xsm.h:477:19: warning: unused parameter ‘def’ [-Wunused-parameter] 477 | xsm_default_t def, struct domain *d, struct xen_domctl_bind_pt_irq *bind) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_unbind_pt_irq’: ./include/xsm/xsm.h:483:19: warning: unused parameter ‘def’ [-Wunused-parameter] 483 | xsm_default_t def, struct domain *d, struct xen_domctl_bind_pt_irq *bind) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_irq_permission’: ./include/xsm/xsm.h:489:19: warning: unused parameter ‘def’ [-Wunused-parameter] 489 | xsm_default_t def, struct domain *d, int pirq, uint8_t allow) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_iomem_permission’: ./include/xsm/xsm.h:495:19: warning: unused parameter ‘def’ [-Wunused-parameter] 495 | xsm_default_t def, struct domain *d, uint64_t s, uint64_t e, uint8_t allow) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_iomem_mapping’: ./include/xsm/xsm.h:501:19: warning: unused parameter ‘def’ [-Wunused-parameter] 501 | xsm_default_t def, struct domain *d, uint64_t s, uint64_t e, uint8_t allow) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_pci_config_permission’: ./include/xsm/xsm.h:507:19: warning: unused parameter ‘def’ [-Wunused-parameter] 507 | xsm_default_t def, struct domain *d, uint32_t machine_bdf, uint16_t start, | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_assign_dtdevice’: ./include/xsm/xsm.h:534:19: warning: unused parameter ‘def’ [-Wunused-parameter] 534 | xsm_default_t def, struct domain *d, const char *dtpath) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_deassign_dtdevice’: ./include/xsm/xsm.h:540:19: warning: unused parameter ‘def’ [-Wunused-parameter] 540 | xsm_default_t def, struct domain *d, const char *dtpath) | ~~~~~~~~~~~~~~^~~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xsm/xsm.h: In function ‘xsm_resource_plug_pci’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xsm/xsm.h:547:55: warning: unused parameter ‘def’ [-Wunused-parameter] 547 | static inline int xsm_resource_plug_pci(xsm_default_t def, uint32_t machine_bdf) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_unplug_pci’: ./include/xsm/xsm.h:553:19: warning: unused parameter ‘def’ [-Wunused-parameter] 553 | xsm_default_t def, uint32_t machine_bdf) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_plug_core’: In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ ./include/xsm/xsm.h:558:56: warning: unused parameter ‘def’ [-Wunused-parameter] 558 | static inline int xsm_resource_plug_core(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_unplug_core’: ./include/xsm/xsm.h:563:58: warning: unused parameter ‘def’ [-Wunused-parameter] 563 | static inline int xsm_resource_unplug_core(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_setup_pci’: ./include/xsm/xsm.h:569:19: warning: unused parameter ‘def’ [-Wunused-parameter] 569 | xsm_default_t def, uint32_t machine_bdf) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_setup_gsi’: ./include/xsm/xsm.h:574:56: warning: unused parameter ‘def’ [-Wunused-parameter] 574 | static inline int xsm_resource_setup_gsi(xsm_default_t def, int gsi) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_setup_misc’: ./include/xsm/xsm.h:579:57: warning: unused parameter ‘def’ [-Wunused-parameter] 579 | static inline int xsm_resource_setup_misc(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_page_offline’: ./include/xsm/xsm.h:584:50: warning: unused parameter ‘def’ [-Wunused-parameter] 584 | static inline int xsm_page_offline(xsm_default_t def, uint32_t cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hypfs_op’: ./include/xsm/xsm.h:589:46: warning: unused parameter ‘def’ [-Wunused-parameter] 589 | static inline int xsm_hypfs_op(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hvm_param’: ./include/xsm/xsm.h:607:19: warning: unused parameter ‘def’ [-Wunused-parameter] 607 | xsm_default_t def, struct domain *d, unsigned long op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hvm_param_altp2mhvm’: ./include/xsm/xsm.h:612:57: warning: unused parameter ‘def’ [-Wunused-parameter] 612 | static inline int xsm_hvm_param_altp2mhvm(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xsm/xsm.h: In function ‘xsm_hvm_altp2mhvm_op’: ./include/xsm/xsm.h:618:19: warning: unused parameter ‘def’ [-Wunused-parameter] 618 | xsm_default_t def, struct domain *d, uint64_t mode, uint32_t op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_get_vnumainfo’: ./include/xsm/xsm.h:623:51: warning: unused parameter ‘def’ [-Wunused-parameter] 623 | static inline int xsm_get_vnumainfo(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_vm_event_control’: ./include/xsm/xsm.h:629:19: warning: unused parameter ‘def’ [-Wunused-parameter] 629 | xsm_default_t def, struct domain *d, int mode, int op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_mem_access’: ./include/xsm/xsm.h:635:48: warning: unused parameter ‘def’ [-Wunused-parameter] 635 | static inline int xsm_mem_access(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_platform_op’: In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./include/xsm/xsm.h:655:49: warning: unused parameter ‘def’ [-Wunused-parameter] 655 | static inline int xsm_platform_op(xsm_default_t def, uint32_t op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_dm_op’: ./include/xsm/xsm.h:738:43: warning: unused parameter ‘def’ [-Wunused-parameter] 738 | static inline int xsm_dm_op(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_xen_version’: ./include/xsm/xsm.h:743:49: warning: unused parameter ‘def’ [-Wunused-parameter] 743 | static inline int xsm_xen_version(xsm_default_t def, uint32_t op) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_domain_resource_map’: ./include/xsm/xsm.h:748:57: warning: unused parameter ‘def’ [-Wunused-parameter] 748 | static inline int xsm_domain_resource_map(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ In file included from common/grant_table.c:37: ./include/xen/domain_page.h: In function ‘unmap_domain_page_global’: ./include/xen/domain_page.h:71:57: warning: unused parameter ‘va’ [-Wunused-parameter] 71 | static inline void unmap_domain_page_global(const void *va) {}; | ~~~~~~~~~~~~^~ ./arch/arm/include/asm/domain.h: In function ‘arch_vcpu_block’: ./arch/arm/include/asm/domain.h:297:49: warning: unused parameter ‘v’ [-Wunused-parameter] 297 | static inline void arch_vcpu_block(struct vcpu *v) {} | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘update_guest_memory_policy’: ./arch/arm/include/asm/domain.h:309:60: warning: unused parameter ‘v’ [-Wunused-parameter] 309 | static inline void update_guest_memory_policy(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h:310:75: warning: unused parameter ‘gmp’ [-Wunused-parameter] 310 | struct guest_memory_policy *gmp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ common/grant_table.c: In function ‘gnttab_map_grant_ref’: common/grant_table.c:1367:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 1367 | for ( i = 0; i < count; i++ ) | ^ In file included from ./include/xen/sched.h:25: ./include/xen/vpci.h: In function ‘vpci_assign_device’: ./include/xen/vpci.h:278:54: warning: unused parameter ‘pdev’ [-Wunused-parameter] 278 | static inline int vpci_assign_device(struct pci_dev *pdev) | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_deassign_device’: ./include/xen/vpci.h:283:57: warning: unused parameter ‘pdev’ [-Wunused-parameter] 283 | static inline void vpci_deassign_device(struct pci_dev *pdev) { } | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_read’: ./include/xen/vpci.h:287:45: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:287:64: warning: unused parameter ‘reg’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:288:47: warning: unused parameter ‘size’ [-Wunused-parameter] 288 | unsigned int size) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_write’: ./include/xen/vpci.h:294:42: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:294:61: warning: unused parameter ‘reg’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:295:44: warning: unused parameter ‘size’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h:295:59: warning: unused parameter ‘data’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_process_pending’: ./include/xen/vpci.h:300:67: warning: unused parameter ‘v’ [-Wunused-parameter] 300 | static inline bool __must_check vpci_process_pending(struct vcpu *v) | ~~~~~~~~~~~~~^ LD arch/arm/platforms/built_in.o ./include/xen/sched.h: In function ‘is_pv_32bit_domain’: ./include/xen/sched.h:1131:67: warning: unused parameter ‘d’ [-Wunused-parameter] 1131 | static always_inline bool is_pv_32bit_domain(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ common/grant_table.c: In function ‘grant_table_init’: common/grant_table.c:1992:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 1992 | if ( max_grant_frames < INITIAL_NR_GRANT_FRAMES ) | ^ common/grant_table.c: In function ‘gnttab_transfer’: common/grant_table.c:2273:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 2273 | for ( i = 0; i < count; i++ ) | ^ CC common/gzip/gunzip.o common/grant_table.c: In function ‘gnttab_get_status_frames’: common/grant_table.c:3366:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare] 3366 | for ( i = 0; i < op.nr_frames; i++ ) | ^ CC common/hypfs.o common/grant_table.c: In function ‘gnttab_swap_grant_ref’: common/grant_table.c:3508:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 3508 | for ( i = 0; i < count; i++ ) | ^ In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/mm.h:69, from common/gzip/gunzip.c:5: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ common/grant_table.c: In function ‘grant_table_destroy’: common/grant_table.c:4013:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 4013 | for ( i = 0; i < nr_grant_frames(t); i++ ) | ^ In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/sched.h:6, from ./arch/arm/include/asm/guest_access.h:5, from ./include/xen/guest_access.h:10, from common/hypfs.c:9: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ common/grant_table.c:4020:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 4020 | for ( i = 0; i < nr_active_grant_frames(t); i++ ) | ^ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ common/grant_table.c:4024:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 4024 | for ( i = 0; i < nr_status_frames(t); i++ ) | ^ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ common/grant_table.c: At top level: common/grant_table.c:4369:1: warning: ‘static’ is not at beginning of declaration [-Wold-style-declaration] 4369 | __initcall(gnttab_usage_init); | ^~~~~~~~~~ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/rwlock.h:6, from ./include/xen/sched.h:7: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/perfc.h:7, from ./include/xen/mm.h:70: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/domain.h:5, from ./include/xen/sched.h:11: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233, from ./arch/arm/include/asm/p2m.h:4, from ./arch/arm/include/asm/domain.h:7, from ./include/xen/domain.h:15: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from common/gzip/gunzip.c:72: common/gzip/inflate.c: In function ‘huft_build’: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ common/gzip/inflate.c:415:49: warning: operand of ‘?:’ changes signedness from ‘int’ to ‘unsigned int’ due to unsignedness of other operand [-Wsign-compare] 415 | z = (z = g - w) > (unsigned)l ? l : z; /* upper limit on table size */ | ^ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ common/gzip/inflate.c: In function ‘inflate_dynamic’: common/gzip/inflate.c:940:21: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 940 | DEBG("dyn7 "); | ^ common/gzip/inflate.c:947:17: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 947 | DEBG(">"); | ^ common/gzip/inflate.c: In function ‘makecrc’: common/gzip/inflate.c:1063:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] 1063 | for (i = 0; i < sizeof(p)/sizeof(int); i++) | ^ ./arch/arm/include/asm/domain.h: In function ‘arch_vcpu_block’: ./arch/arm/include/asm/domain.h:297:49: warning: unused parameter ‘v’ [-Wunused-parameter] 297 | static inline void arch_vcpu_block(struct vcpu *v) {} | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘update_guest_memory_policy’: ./arch/arm/include/asm/domain.h:309:60: warning: unused parameter ‘v’ [-Wunused-parameter] 309 | static inline void update_guest_memory_policy(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h:310:75: warning: unused parameter ‘gmp’ [-Wunused-parameter] 310 | struct guest_memory_policy *gmp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from ./include/xen/sched.h:25: ./include/xen/vpci.h: In function ‘vpci_assign_device’: ./include/xen/vpci.h:278:54: warning: unused parameter ‘pdev’ [-Wunused-parameter] 278 | static inline int vpci_assign_device(struct pci_dev *pdev) | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_deassign_device’: ./include/xen/vpci.h:283:57: warning: unused parameter ‘pdev’ [-Wunused-parameter] 283 | static inline void vpci_deassign_device(struct pci_dev *pdev) { } | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_read’: ./include/xen/vpci.h:287:45: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:287:64: warning: unused parameter ‘reg’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:288:47: warning: unused parameter ‘size’ [-Wunused-parameter] 288 | unsigned int size) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_write’: ./include/xen/vpci.h:294:42: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:294:61: warning: unused parameter ‘reg’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:295:44: warning: unused parameter ‘size’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h:295:59: warning: unused parameter ‘data’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_process_pending’: ./include/xen/vpci.h:300:67: warning: unused parameter ‘v’ [-Wunused-parameter] 300 | static inline bool __must_check vpci_process_pending(struct vcpu *v) | ~~~~~~~~~~~~~^ ./include/xen/sched.h: In function ‘is_pv_32bit_domain’: ./include/xen/sched.h:1131:67: warning: unused parameter ‘d’ [-Wunused-parameter] 1131 | static always_inline bool is_pv_32bit_domain(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ In file included from ./include/xen/hypercall.h:22, from common/hypfs.c:10: ./include/xsm/xsm.h: In function ‘xsm_domain_create’: ./include/xsm/xsm.h:224:19: warning: unused parameter ‘def’ [-Wunused-parameter] 224 | xsm_default_t def, struct domain *d, uint32_t ssidref) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_getdomaininfo’: ./include/xsm/xsm.h:229:51: warning: unused parameter ‘def’ [-Wunused-parameter] 229 | static inline int xsm_getdomaininfo(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_domctl_scheduler_op’: ./include/xsm/xsm.h:235:19: warning: unused parameter ‘def’ [-Wunused-parameter] 235 | xsm_default_t def, struct domain *d, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_sysctl_scheduler_op’: ./include/xsm/xsm.h:240:57: warning: unused parameter ‘def’ [-Wunused-parameter] 240 | static inline int xsm_sysctl_scheduler_op(xsm_default_t def, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_set_target’: ./include/xsm/xsm.h:246:19: warning: unused parameter ‘def’ [-Wunused-parameter] 246 | xsm_default_t def, struct domain *d, struct domain *e) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_domctl’: ./include/xsm/xsm.h:251:44: warning: unused parameter ‘def’ [-Wunused-parameter] 251 | static inline int xsm_domctl(xsm_default_t def, struct domain *d, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_sysctl’: ./include/xsm/xsm.h:256:44: warning: unused parameter ‘def’ [-Wunused-parameter] 256 | static inline int xsm_sysctl(xsm_default_t def, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_readconsole’: ./include/xsm/xsm.h:261:49: warning: unused parameter ‘def’ [-Wunused-parameter] 261 | static inline int xsm_readconsole(xsm_default_t def, uint32_t clear) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_unbound’: ./include/xsm/xsm.h:267:19: warning: unused parameter ‘def’ [-Wunused-parameter] 267 | xsm_default_t def, struct domain *d1, struct evtchn *chn, domid_t id2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_interdomain’: ./include/xsm/xsm.h:273:19: warning: unused parameter ‘def’ [-Wunused-parameter] 273 | xsm_default_t def, struct domain *d1, struct evtchn *chan1, | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_send’: ./include/xsm/xsm.h:285:19: warning: unused parameter ‘def’ [-Wunused-parameter] 285 | xsm_default_t def, struct domain *d, struct evtchn *chn) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_status’: ./include/xsm/xsm.h:291:19: warning: unused parameter ‘def’ [-Wunused-parameter] 291 | xsm_default_t def, struct domain *d, struct evtchn *chn) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_reset’: ./include/xsm/xsm.h:297:19: warning: unused parameter ‘def’ [-Wunused-parameter] 297 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_mapref’: ./include/xsm/xsm.h:303:19: warning: unused parameter ‘def’ [-Wunused-parameter] 303 | xsm_default_t def, struct domain *d1, struct domain *d2, uint32_t flags) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_unmapref’: ./include/xsm/xsm.h:309:19: warning: unused parameter ‘def’ [-Wunused-parameter] 309 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_setup’: ./include/xsm/xsm.h:315:19: warning: unused parameter ‘def’ [-Wunused-parameter] 315 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_transfer’: ./include/xsm/xsm.h:321:19: warning: unused parameter ‘def’ [-Wunused-parameter] 321 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_copy’: ./include/xsm/xsm.h:327:19: warning: unused parameter ‘def’ [-Wunused-parameter] 327 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_query_size’: ./include/xsm/xsm.h:333:19: warning: unused parameter ‘def’ [-Wunused-parameter] 333 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_init_hardware_domain’: ./include/xsm/xsm.h:366:58: warning: unused parameter ‘def’ [-Wunused-parameter] 366 | static inline int xsm_init_hardware_domain(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_get_pod_target’: ./include/xsm/xsm.h:371:52: warning: unused parameter ‘def’ [-Wunused-parameter] 371 | static inline int xsm_get_pod_target(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_set_pod_target’: ./include/xsm/xsm.h:376:52: warning: unused parameter ‘def’ [-Wunused-parameter] 376 | static inline int xsm_set_pod_target(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_exchange’: ./include/xsm/xsm.h:381:53: warning: unused parameter ‘def’ [-Wunused-parameter] 381 | static inline int xsm_memory_exchange(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_adjust_reservation’: ./include/xsm/xsm.h:387:19: warning: unused parameter ‘def’ [-Wunused-parameter] 387 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_stat_reservation’: ./include/xsm/xsm.h:393:19: warning: unused parameter ‘def’ [-Wunused-parameter] 393 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_pin_page’: ./include/xsm/xsm.h:399:19: warning: unused parameter ‘def’ [-Wunused-parameter] 399 | xsm_default_t def, struct domain *d1, struct domain *d2, | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_add_to_physmap’: ./include/xsm/xsm.h:406:19: warning: unused parameter ‘def’ [-Wunused-parameter] 406 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_remove_from_physmap’: ./include/xsm/xsm.h:412:19: warning: unused parameter ‘def’ [-Wunused-parameter] 412 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_map_gmfn_foreign’: ./include/xsm/xsm.h:418:19: warning: unused parameter ‘def’ [-Wunused-parameter] 418 | xsm_default_t def, struct domain *d, struct domain *t) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_claim_pages’: ./include/xsm/xsm.h:423:49: warning: unused parameter ‘def’ [-Wunused-parameter] 423 | static inline int xsm_claim_pages(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_console_io’: ./include/xsm/xsm.h:428:48: warning: unused parameter ‘def’ [-Wunused-parameter] 428 | static inline int xsm_console_io(xsm_default_t def, struct domain *d, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_profile’: ./include/xsm/xsm.h:433:45: warning: unused parameter ‘def’ [-Wunused-parameter] 433 | static inline int xsm_profile(xsm_default_t def, struct domain *d, int op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_kexec’: ./include/xsm/xsm.h:438:43: warning: unused parameter ‘def’ [-Wunused-parameter] 438 | static inline int xsm_kexec(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_schedop_shutdown’: ./include/xsm/xsm.h:444:19: warning: unused parameter ‘def’ [-Wunused-parameter] 444 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_map_domain_pirq’: ./include/xsm/xsm.h:454:53: warning: unused parameter ‘def’ [-Wunused-parameter] 454 | static inline int xsm_map_domain_pirq(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_map_domain_irq’: ./include/xsm/xsm.h:460:19: warning: unused parameter ‘def’ [-Wunused-parameter] 460 | xsm_default_t def, struct domain *d, int irq, void *data) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_unmap_domain_pirq’: ./include/xsm/xsm.h:465:55: warning: unused parameter ‘def’ [-Wunused-parameter] 465 | static inline int xsm_unmap_domain_pirq(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_unmap_domain_irq’: ./include/xsm/xsm.h:471:19: warning: unused parameter ‘def’ [-Wunused-parameter] 471 | xsm_default_t def, struct domain *d, int irq, void *data) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_bind_pt_irq’: ./include/xsm/xsm.h:477:19: warning: unused parameter ‘def’ [-Wunused-parameter] 477 | xsm_default_t def, struct domain *d, struct xen_domctl_bind_pt_irq *bind) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_unbind_pt_irq’: ./include/xsm/xsm.h:483:19: warning: unused parameter ‘def’ [-Wunused-parameter] 483 | xsm_default_t def, struct domain *d, struct xen_domctl_bind_pt_irq *bind) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_irq_permission’: ./include/xsm/xsm.h:489:19: warning: unused parameter ‘def’ [-Wunused-parameter] 489 | xsm_default_t def, struct domain *d, int pirq, uint8_t allow) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_iomem_permission’: ./include/xsm/xsm.h:495:19: warning: unused parameter ‘def’ [-Wunused-parameter] 495 | xsm_default_t def, struct domain *d, uint64_t s, uint64_t e, uint8_t allow) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_iomem_mapping’: ./include/xsm/xsm.h:501:19: warning: unused parameter ‘def’ [-Wunused-parameter] 501 | xsm_default_t def, struct domain *d, uint64_t s, uint64_t e, uint8_t allow) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_pci_config_permission’: ./include/xsm/xsm.h:507:19: warning: unused parameter ‘def’ [-Wunused-parameter] 507 | xsm_default_t def, struct domain *d, uint32_t machine_bdf, uint16_t start, | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_assign_dtdevice’: ./include/xsm/xsm.h:534:19: warning: unused parameter ‘def’ [-Wunused-parameter] 534 | xsm_default_t def, struct domain *d, const char *dtpath) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_deassign_dtdevice’: ./include/xsm/xsm.h:540:19: warning: unused parameter ‘def’ [-Wunused-parameter] 540 | xsm_default_t def, struct domain *d, const char *dtpath) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_plug_pci’: ./include/xsm/xsm.h:547:55: warning: unused parameter ‘def’ [-Wunused-parameter] 547 | static inline int xsm_resource_plug_pci(xsm_default_t def, uint32_t machine_bdf) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_unplug_pci’: ./include/xsm/xsm.h:553:19: warning: unused parameter ‘def’ [-Wunused-parameter] 553 | xsm_default_t def, uint32_t machine_bdf) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_plug_core’: ./include/xsm/xsm.h:558:56: warning: unused parameter ‘def’ [-Wunused-parameter] 558 | static inline int xsm_resource_plug_core(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_unplug_core’: ./include/xsm/xsm.h:563:58: warning: unused parameter ‘def’ [-Wunused-parameter] 563 | static inline int xsm_resource_unplug_core(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_setup_pci’: ./include/xsm/xsm.h:569:19: warning: unused parameter ‘def’ [-Wunused-parameter] 569 | xsm_default_t def, uint32_t machine_bdf) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_setup_gsi’: ./include/xsm/xsm.h:574:56: warning: unused parameter ‘def’ [-Wunused-parameter] 574 | static inline int xsm_resource_setup_gsi(xsm_default_t def, int gsi) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_setup_misc’: ./include/xsm/xsm.h:579:57: warning: unused parameter ‘def’ [-Wunused-parameter] 579 | static inline int xsm_resource_setup_misc(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_page_offline’: ./include/xsm/xsm.h:584:50: warning: unused parameter ‘def’ [-Wunused-parameter] 584 | static inline int xsm_page_offline(xsm_default_t def, uint32_t cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hypfs_op’: ./include/xsm/xsm.h:589:46: warning: unused parameter ‘def’ [-Wunused-parameter] 589 | static inline int xsm_hypfs_op(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hvm_param’: ./include/xsm/xsm.h:607:19: warning: unused parameter ‘def’ [-Wunused-parameter] 607 | xsm_default_t def, struct domain *d, unsigned long op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hvm_param_altp2mhvm’: ./include/xsm/xsm.h:612:57: warning: unused parameter ‘def’ [-Wunused-parameter] 612 | static inline int xsm_hvm_param_altp2mhvm(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hvm_altp2mhvm_op’: ./include/xsm/xsm.h:618:19: warning: unused parameter ‘def’ [-Wunused-parameter] 618 | xsm_default_t def, struct domain *d, uint64_t mode, uint32_t op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_get_vnumainfo’: ./include/xsm/xsm.h:623:51: warning: unused parameter ‘def’ [-Wunused-parameter] 623 | static inline int xsm_get_vnumainfo(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_vm_event_control’: ./include/xsm/xsm.h:629:19: warning: unused parameter ‘def’ [-Wunused-parameter] 629 | xsm_default_t def, struct domain *d, int mode, int op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_mem_access’: ./include/xsm/xsm.h:635:48: warning: unused parameter ‘def’ [-Wunused-parameter] 635 | static inline int xsm_mem_access(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_platform_op’: ./include/xsm/xsm.h:655:49: warning: unused parameter ‘def’ [-Wunused-parameter] 655 | static inline int xsm_platform_op(xsm_default_t def, uint32_t op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_dm_op’: ./include/xsm/xsm.h:738:43: warning: unused parameter ‘def’ [-Wunused-parameter] 738 | static inline int xsm_dm_op(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_xen_version’: ./include/xsm/xsm.h:743:49: warning: unused parameter ‘def’ [-Wunused-parameter] 743 | static inline int xsm_xen_version(xsm_default_t def, uint32_t op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_domain_resource_map’: ./include/xsm/xsm.h:748:57: warning: unused parameter ‘def’ [-Wunused-parameter] 748 | static inline int xsm_domain_resource_map(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ In file included from common/hypfs.c:13: ./include/xen/param.h: In function ‘no_config_param’: ./include/xen/param.h:193:19: warning: operand of ‘?:’ changes signedness from ‘long int’ to ‘size_t’ {aka ‘long unsigned int’} due to unsignedness of other operand [-Wsign-compare] 193 | int len = e ? ({ ASSERT(e >= s); e - s; }) : strlen(s); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ common/hypfs.c: In function ‘hypfs_node_exit’: common/hypfs.c:122:57: warning: unused parameter ‘entry’ [-Wunused-parameter] 122 | void cf_check hypfs_node_exit(const struct hypfs_entry *entry) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ common/hypfs.c: In function ‘hypfs_leaf_findentry’: common/hypfs.c:294:35: warning: unused parameter ‘dir’ [-Wunused-parameter] 294 | const struct hypfs_entry_dir *dir, const char *name, unsigned int name_len) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ common/hypfs.c:294:52: warning: unused parameter ‘name’ [-Wunused-parameter] 294 | const struct hypfs_entry_dir *dir, const char *name, unsigned int name_len) | ~~~~~~~~~~~~^~~~ common/hypfs.c:294:71: warning: unused parameter ‘name_len’ [-Wunused-parameter] 294 | const struct hypfs_entry_dir *dir, const char *name, unsigned int name_len) | ~~~~~~~~~~~~~^~~~~~~~ common/hypfs.c: In function ‘hypfs_dyndir_enter’: common/hypfs.c:404:31: warning: unused parameter ‘entry’ [-Wunused-parameter] 404 | const struct hypfs_entry *entry) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ common/hypfs.c: In function ‘hypfs_dyndir_findentry’: common/hypfs.c:415:35: warning: unused parameter ‘dir’ [-Wunused-parameter] 415 | const struct hypfs_entry_dir *dir, const char *name, unsigned int name_len) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ common/hypfs.c: In function ‘hypfs_read_dyndir’: common/hypfs.c:426:31: warning: unused parameter ‘entry’ [-Wunused-parameter] 426 | const struct hypfs_entry *entry, XEN_GUEST_HANDLE_PARAM(void) uaddr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ common/hypfs.c: In function ‘hypfs_write_deny’: common/hypfs.c:661:30: warning: unused parameter ‘leaf’ [-Wunused-parameter] 661 | struct hypfs_entry_leaf *leaf, XEN_GUEST_HANDLE_PARAM(const_void) uaddr, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ common/hypfs.c:661:71: warning: unused parameter ‘uaddr’ [-Wunused-parameter] 661 | struct hypfs_entry_leaf *leaf, XEN_GUEST_HANDLE_PARAM(const_void) uaddr, common/hypfs.c:662:18: warning: unused parameter ‘ulen’ [-Wunused-parameter] 662 | unsigned int ulen) | ~~~~~~~~~~~~~^~~~ CC arch/arm/tee/ffa.o In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/mm.h:69, from ./include/xen/domain_page.h:12, from arch/arm/tee/ffa.c:50: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/perfc.h:7, from ./include/xen/mm.h:70: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ ./include/xen/domain_page.h: In function ‘unmap_domain_page_global’: ./include/xen/domain_page.h:71:57: warning: unused parameter ‘va’ [-Wunused-parameter] 71 | static inline void unmap_domain_page_global(const void *va) {}; | ~~~~~~~~~~~~^~ In file included from ./include/xen/domain.h:5, from ./include/xen/sched.h:11, from arch/arm/tee/ffa.c:55: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5, from ./arch/arm/include/asm/domain.h:7, from ./include/xen/domain.h:15: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘arch_vcpu_block’: ./arch/arm/include/asm/domain.h:297:49: warning: unused parameter ‘v’ [-Wunused-parameter] 297 | static inline void arch_vcpu_block(struct vcpu *v) {} | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘update_guest_memory_policy’: ./arch/arm/include/asm/domain.h:309:60: warning: unused parameter ‘v’ [-Wunused-parameter] 309 | static inline void update_guest_memory_policy(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h:310:75: warning: unused parameter ‘gmp’ [-Wunused-parameter] 310 | struct guest_memory_policy *gmp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from ./include/xen/sched.h:25: ./include/xen/vpci.h: In function ‘vpci_assign_device’: ./include/xen/vpci.h:278:54: warning: unused parameter ‘pdev’ [-Wunused-parameter] 278 | static inline int vpci_assign_device(struct pci_dev *pdev) | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_deassign_device’: ./include/xen/vpci.h:283:57: warning: unused parameter ‘pdev’ [-Wunused-parameter] 283 | static inline void vpci_deassign_device(struct pci_dev *pdev) { } | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_read’: ./include/xen/vpci.h:287:45: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:287:64: warning: unused parameter ‘reg’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:288:47: warning: unused parameter ‘size’ [-Wunused-parameter] 288 | unsigned int size) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_write’: ./include/xen/vpci.h:294:42: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:294:61: warning: unused parameter ‘reg’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:295:44: warning: unused parameter ‘size’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h:295:59: warning: unused parameter ‘data’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_process_pending’: ./include/xen/vpci.h:300:67: warning: unused parameter ‘v’ [-Wunused-parameter] 300 | static inline bool __must_check vpci_process_pending(struct vcpu *v) | ~~~~~~~~~~~~~^ ./include/xen/sched.h: In function ‘is_pv_32bit_domain’: ./include/xen/sched.h:1131:67: warning: unused parameter ‘d’ [-Wunused-parameter] 1131 | static always_inline bool is_pv_32bit_domain(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ In file included from arch/arm/tee/ffa.c:60: ./arch/arm/include/asm/event.h: In function ‘arch_virq_is_global’: ./arch/arm/include/asm/event.h:50:53: warning: unused parameter ‘virq’ [-Wunused-parameter] 50 | static inline bool arch_virq_is_global(unsigned int virq) | ~~~~~~~~~~~~~^~~~ arch/arm/tee/ffa.c: In function ‘ffa_get_version’: arch/arm/tee/ffa.c:101:18: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare] 101 | if ( resp.a0 == FFA_RET_NOT_SUPPORTED ) | ^~ arch/arm/tee/ffa.c: In function ‘ffa_teardown_timer_callback’: arch/arm/tee/ffa.c:410:47: warning: unused parameter ‘arg’ [-Wunused-parameter] 410 | static void ffa_teardown_timer_callback(void *arg) | ~~~~~~^~~ arch/arm/tee/ffa.c: In function ‘ffa_relinquish_resources’: arch/arm/tee/ffa.c:442:52: warning: unused parameter ‘d’ [-Wunused-parameter] 442 | static int ffa_relinquish_resources(struct domain *d) | ~~~~~~~~~~~~~~~^ INIT_O common/gzip/gunzip.init.o CC arch/arm/tee/ffa_shm.o LD common/gzip/built_in.o CC common/ioreq.o In file included from ./include/xen/domain.h:5, from common/ioreq.c:19: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/mm.h:69, from arch/arm/tee/ffa_shm.c:9: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/timer.h:11, from ./arch/arm/include/asm/domain.h:5, from ./include/xen/domain.h:15: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/perfc.h:7, from ./include/xen/mm.h:70: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from ./include/xen/domain.h:5, from ./include/xen/sched.h:11, from arch/arm/tee/ffa_private.h:15, from arch/arm/tee/ffa_shm.c:16: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5, from ./arch/arm/include/asm/domain.h:7, from ./include/xen/domain.h:15: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/perfc.h:7, from ./include/xen/mm.h:70, from ./arch/arm/include/asm/p2m.h:4, from ./arch/arm/include/asm/domain.h:7: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ ./arch/arm/include/asm/domain.h: In function ‘arch_vcpu_block’: ./arch/arm/include/asm/domain.h:297:49: warning: unused parameter ‘v’ [-Wunused-parameter] 297 | static inline void arch_vcpu_block(struct vcpu *v) {} | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘update_guest_memory_policy’: ./arch/arm/include/asm/domain.h:309:60: warning: unused parameter ‘v’ [-Wunused-parameter] 309 | static inline void update_guest_memory_policy(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h:310:75: warning: unused parameter ‘gmp’ [-Wunused-parameter] 310 | struct guest_memory_policy *gmp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/sched.h:25: ./include/xen/vpci.h: In function ‘vpci_assign_device’: ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/vpci.h:278:54: warning: unused parameter ‘pdev’ [-Wunused-parameter] 278 | static inline int vpci_assign_device(struct pci_dev *pdev) | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_deassign_device’: ./include/xen/vpci.h:283:57: warning: unused parameter ‘pdev’ [-Wunused-parameter] 283 | static inline void vpci_deassign_device(struct pci_dev *pdev) { } | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_read’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/vpci.h:287:45: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/vpci.h:287:64: warning: unused parameter ‘reg’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:288:47: warning: unused parameter ‘size’ [-Wunused-parameter] 288 | unsigned int size) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_write’: ./include/xen/vpci.h:294:42: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:294:61: warning: unused parameter ‘reg’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:295:44: warning: unused parameter ‘size’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h:295:59: warning: unused parameter ‘data’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_process_pending’: ./include/xen/vpci.h:300:67: warning: unused parameter ‘v’ [-Wunused-parameter] 300 | static inline bool __must_check vpci_process_pending(struct vcpu *v) | ~~~~~~~~~~~~~^ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/sched.h: In function ‘is_pv_32bit_domain’: ./include/xen/sched.h:1131:67: warning: unused parameter ‘d’ [-Wunused-parameter] 1131 | static always_inline bool is_pv_32bit_domain(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘arch_vcpu_block’: ./arch/arm/include/asm/domain.h:297:49: warning: unused parameter ‘v’ [-Wunused-parameter] 297 | static inline void arch_vcpu_block(struct vcpu *v) {} | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘update_guest_memory_policy’: ./arch/arm/include/asm/domain.h:309:60: warning: unused parameter ‘v’ [-Wunused-parameter] 309 | static inline void update_guest_memory_policy(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h:310:75: warning: unused parameter ‘gmp’ [-Wunused-parameter] 310 | struct guest_memory_policy *gmp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from common/ioreq.c:20: ./include/xen/domain_page.h: In function ‘unmap_domain_page_global’: ./include/xen/domain_page.h:71:57: warning: unused parameter ‘va’ [-Wunused-parameter] 71 | static inline void unmap_domain_page_global(const void *va) {}; | ~~~~~~~~~~~~^~ In file included from ./include/xen/sched.h:25, from ./include/xen/event.h:12, from common/ioreq.c:21: ./include/xen/vpci.h: In function ‘vpci_assign_device’: ./include/xen/vpci.h:278:54: warning: unused parameter ‘pdev’ [-Wunused-parameter] 278 | static inline int vpci_assign_device(struct pci_dev *pdev) | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_deassign_device’: ./include/xen/vpci.h:283:57: warning: unused parameter ‘pdev’ [-Wunused-parameter] 283 | static inline void vpci_deassign_device(struct pci_dev *pdev) { } | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_read’: ./include/xen/vpci.h:287:45: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:287:64: warning: unused parameter ‘reg’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:288:47: warning: unused parameter ‘size’ [-Wunused-parameter] 288 | unsigned int size) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_write’: ./include/xen/vpci.h:294:42: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:294:61: warning: unused parameter ‘reg’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:295:44: warning: unused parameter ‘size’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h:295:59: warning: unused parameter ‘data’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_process_pending’: ./include/xen/vpci.h:300:67: warning: unused parameter ‘v’ [-Wunused-parameter] 300 | static inline bool __must_check vpci_process_pending(struct vcpu *v) | ~~~~~~~~~~~~~^ ./include/xen/sched.h: In function ‘is_pv_32bit_domain’: ./include/xen/sched.h:1131:67: warning: unused parameter ‘d’ [-Wunused-parameter] 1131 | static always_inline bool is_pv_32bit_domain(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ In file included from ./include/xen/event.h:17: ./arch/arm/include/asm/event.h: In function ‘arch_virq_is_global’: ./arch/arm/include/asm/event.h:50:53: warning: unused parameter ‘virq’ [-Wunused-parameter] 50 | static inline bool arch_virq_is_global(unsigned int virq) | ~~~~~~~~~~~~~^~~~ In file included from common/ioreq.c:31: ./arch/arm/include/asm/ioreq.h: In function ‘handle_pio’: ./arch/arm/include/asm/ioreq.h:41:40: warning: unused parameter ‘port’ [-Wunused-parameter] 41 | static inline bool handle_pio(uint16_t port, unsigned int size, int dir) | ~~~~~~~~~^~~~ ./arch/arm/include/asm/ioreq.h:41:59: warning: unused parameter ‘size’ [-Wunused-parameter] 41 | static inline bool handle_pio(uint16_t port, unsigned int size, int dir) | ~~~~~~~~~~~~~^~~~ ./arch/arm/include/asm/ioreq.h:41:69: warning: unused parameter ‘dir’ [-Wunused-parameter] 41 | static inline bool handle_pio(uint16_t port, unsigned int size, int dir) | ~~~~^~~ ./arch/arm/include/asm/ioreq.h: In function ‘msix_write_completion’: ./arch/arm/include/asm/ioreq.h:51:55: warning: unused parameter ‘v’ [-Wunused-parameter] 51 | static inline void msix_write_completion(struct vcpu *v) | ~~~~~~~~~~~~~^ CC common/irq.o common/ioreq.c: In function ‘ioreq_send_buffered’: common/ioreq.c:1210:59: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1210 | if ( (pg->ptrs.write_pointer - pg->ptrs.read_pointer) >= | ^~ In file included from ./include/xen/irq.h:4, from common/irq.c:1: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/rcupdate.h:36, from ./include/xen/irq.h:5: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ common/irq.c: In function ‘no_action’: common/irq.c:32:29: warning: unused parameter ‘cpl’ [-Wunused-parameter] 32 | void cf_check no_action(int cpl, void *dev_id) | ~~~~^~~ common/irq.c:32:40: warning: unused parameter ‘dev_id’ [-Wunused-parameter] 32 | void cf_check no_action(int cpl, void *dev_id) | ~~~~~~^~~~~~ common/irq.c: In function ‘irq_actor_none’: common/irq.c:36:47: warning: unused parameter ‘desc’ [-Wunused-parameter] 36 | void cf_check irq_actor_none(struct irq_desc *desc) | ~~~~~~~~~~~~~~~~~^~~~ common/irq.c: In function ‘irq_startup_none’: common/irq.c:40:57: warning: unused parameter ‘desc’ [-Wunused-parameter] 40 | unsigned int cf_check irq_startup_none(struct irq_desc *desc) | ~~~~~~~~~~~~~~~~~^~~~ CC common/kernel.o In file included from common/kernel.c:10: ./include/xen/param.h: In function ‘no_config_param’: ./include/xen/param.h:193:19: warning: operand of ‘?:’ changes signedness from ‘long int’ to ‘size_t’ {aka ‘long unsigned int’} due to unsignedness of other operand [-Wsign-compare] 193 | int len = e ? ({ ASSERT(e >= s); e - s; }) : strlen(s); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/sched.h:6, from common/kernel.c:12: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/rwlock.h:6, from ./include/xen/sched.h:7: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/domain.h:5, from ./include/xen/sched.h:11: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233, from ./arch/arm/include/asm/p2m.h:4, from ./arch/arm/include/asm/domain.h:7, from ./include/xen/domain.h:15: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘arch_vcpu_block’: ./arch/arm/include/asm/domain.h:297:49: warning: unused parameter ‘v’ [-Wunused-parameter] 297 | static inline void arch_vcpu_block(struct vcpu *v) {} | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘update_guest_memory_policy’: ./arch/arm/include/asm/domain.h:309:60: warning: unused parameter ‘v’ [-Wunused-parameter] 309 | static inline void update_guest_memory_policy(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h:310:75: warning: unused parameter ‘gmp’ [-Wunused-parameter] 310 | struct guest_memory_policy *gmp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from ./include/xen/sched.h:25: ./include/xen/vpci.h: In function ‘vpci_assign_device’: ./include/xen/vpci.h:278:54: warning: unused parameter ‘pdev’ [-Wunused-parameter] 278 | static inline int vpci_assign_device(struct pci_dev *pdev) | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_deassign_device’: ./include/xen/vpci.h:283:57: warning: unused parameter ‘pdev’ [-Wunused-parameter] 283 | static inline void vpci_deassign_device(struct pci_dev *pdev) { } | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_read’: ./include/xen/vpci.h:287:45: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:287:64: warning: unused parameter ‘reg’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:288:47: warning: unused parameter ‘size’ [-Wunused-parameter] 288 | unsigned int size) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_write’: ./include/xen/vpci.h:294:42: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:294:61: warning: unused parameter ‘reg’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:295:44: warning: unused parameter ‘size’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h:295:59: warning: unused parameter ‘data’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_process_pending’: ./include/xen/vpci.h:300:67: warning: unused parameter ‘v’ [-Wunused-parameter] 300 | static inline bool __must_check vpci_process_pending(struct vcpu *v) | ~~~~~~~~~~~~~^ ./include/xen/sched.h: In function ‘is_pv_32bit_domain’: ./include/xen/sched.h:1131:67: warning: unused parameter ‘d’ [-Wunused-parameter] 1131 | static always_inline bool is_pv_32bit_domain(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ In file included from ./include/xen/hypercall.h:22, from common/kernel.c:15: ./include/xsm/xsm.h: In function ‘xsm_domain_create’: ./include/xsm/xsm.h:224:19: warning: unused parameter ‘def’ [-Wunused-parameter] 224 | xsm_default_t def, struct domain *d, uint32_t ssidref) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_getdomaininfo’: ./include/xsm/xsm.h:229:51: warning: unused parameter ‘def’ [-Wunused-parameter] 229 | static inline int xsm_getdomaininfo(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_domctl_scheduler_op’: ./include/xsm/xsm.h:235:19: warning: unused parameter ‘def’ [-Wunused-parameter] 235 | xsm_default_t def, struct domain *d, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_sysctl_scheduler_op’: ./include/xsm/xsm.h:240:57: warning: unused parameter ‘def’ [-Wunused-parameter] 240 | static inline int xsm_sysctl_scheduler_op(xsm_default_t def, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_set_target’: ./include/xsm/xsm.h:246:19: warning: unused parameter ‘def’ [-Wunused-parameter] 246 | xsm_default_t def, struct domain *d, struct domain *e) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_domctl’: ./include/xsm/xsm.h:251:44: warning: unused parameter ‘def’ [-Wunused-parameter] 251 | static inline int xsm_domctl(xsm_default_t def, struct domain *d, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_sysctl’: ./include/xsm/xsm.h:256:44: warning: unused parameter ‘def’ [-Wunused-parameter] 256 | static inline int xsm_sysctl(xsm_default_t def, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_readconsole’: ./include/xsm/xsm.h:261:49: warning: unused parameter ‘def’ [-Wunused-parameter] 261 | static inline int xsm_readconsole(xsm_default_t def, uint32_t clear) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_unbound’: ./include/xsm/xsm.h:267:19: warning: unused parameter ‘def’ [-Wunused-parameter] 267 | xsm_default_t def, struct domain *d1, struct evtchn *chn, domid_t id2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_interdomain’: ./include/xsm/xsm.h:273:19: warning: unused parameter ‘def’ [-Wunused-parameter] 273 | xsm_default_t def, struct domain *d1, struct evtchn *chan1, | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_send’: ./include/xsm/xsm.h:285:19: warning: unused parameter ‘def’ [-Wunused-parameter] 285 | xsm_default_t def, struct domain *d, struct evtchn *chn) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_status’: ./include/xsm/xsm.h:291:19: warning: unused parameter ‘def’ [-Wunused-parameter] 291 | xsm_default_t def, struct domain *d, struct evtchn *chn) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_reset’: ./include/xsm/xsm.h:297:19: warning: unused parameter ‘def’ [-Wunused-parameter] 297 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_mapref’: ./include/xsm/xsm.h:303:19: warning: unused parameter ‘def’ [-Wunused-parameter] 303 | xsm_default_t def, struct domain *d1, struct domain *d2, uint32_t flags) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_unmapref’: ./include/xsm/xsm.h:309:19: warning: unused parameter ‘def’ [-Wunused-parameter] 309 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_setup’: ./include/xsm/xsm.h:315:19: warning: unused parameter ‘def’ [-Wunused-parameter] 315 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_transfer’: ./include/xsm/xsm.h:321:19: warning: unused parameter ‘def’ [-Wunused-parameter] 321 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_copy’: ./include/xsm/xsm.h:327:19: warning: unused parameter ‘def’ [-Wunused-parameter] 327 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_query_size’: ./include/xsm/xsm.h:333:19: warning: unused parameter ‘def’ [-Wunused-parameter] 333 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_init_hardware_domain’: ./include/xsm/xsm.h:366:58: warning: unused parameter ‘def’ [-Wunused-parameter] 366 | static inline int xsm_init_hardware_domain(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_get_pod_target’: ./include/xsm/xsm.h:371:52: warning: unused parameter ‘def’ [-Wunused-parameter] 371 | static inline int xsm_get_pod_target(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_set_pod_target’: ./include/xsm/xsm.h:376:52: warning: unused parameter ‘def’ [-Wunused-parameter] 376 | static inline int xsm_set_pod_target(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_exchange’: ./include/xsm/xsm.h:381:53: warning: unused parameter ‘def’ [-Wunused-parameter] 381 | static inline int xsm_memory_exchange(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_adjust_reservation’: ./include/xsm/xsm.h:387:19: warning: unused parameter ‘def’ [-Wunused-parameter] 387 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_stat_reservation’: ./include/xsm/xsm.h:393:19: warning: unused parameter ‘def’ [-Wunused-parameter] 393 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_pin_page’: ./include/xsm/xsm.h:399:19: warning: unused parameter ‘def’ [-Wunused-parameter] 399 | xsm_default_t def, struct domain *d1, struct domain *d2, | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_add_to_physmap’: ./include/xsm/xsm.h:406:19: warning: unused parameter ‘def’ [-Wunused-parameter] 406 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_remove_from_physmap’: ./include/xsm/xsm.h:412:19: warning: unused parameter ‘def’ [-Wunused-parameter] 412 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_map_gmfn_foreign’: ./include/xsm/xsm.h:418:19: warning: unused parameter ‘def’ [-Wunused-parameter] 418 | xsm_default_t def, struct domain *d, struct domain *t) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_claim_pages’: ./include/xsm/xsm.h:423:49: warning: unused parameter ‘def’ [-Wunused-parameter] 423 | static inline int xsm_claim_pages(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_console_io’: ./include/xsm/xsm.h:428:48: warning: unused parameter ‘def’ [-Wunused-parameter] 428 | static inline int xsm_console_io(xsm_default_t def, struct domain *d, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_profile’: ./include/xsm/xsm.h:433:45: warning: unused parameter ‘def’ [-Wunused-parameter] 433 | static inline int xsm_profile(xsm_default_t def, struct domain *d, int op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_kexec’: ./include/xsm/xsm.h:438:43: warning: unused parameter ‘def’ [-Wunused-parameter] 438 | static inline int xsm_kexec(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_schedop_shutdown’: ./include/xsm/xsm.h:444:19: warning: unused parameter ‘def’ [-Wunused-parameter] 444 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_map_domain_pirq’: ./include/xsm/xsm.h:454:53: warning: unused parameter ‘def’ [-Wunused-parameter] 454 | static inline int xsm_map_domain_pirq(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_map_domain_irq’: ./include/xsm/xsm.h:460:19: warning: unused parameter ‘def’ [-Wunused-parameter] 460 | xsm_default_t def, struct domain *d, int irq, void *data) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_unmap_domain_pirq’: ./include/xsm/xsm.h:465:55: warning: unused parameter ‘def’ [-Wunused-parameter] 465 | static inline int xsm_unmap_domain_pirq(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_unmap_domain_irq’: ./include/xsm/xsm.h:471:19: warning: unused parameter ‘def’ [-Wunused-parameter] 471 | xsm_default_t def, struct domain *d, int irq, void *data) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_bind_pt_irq’: ./include/xsm/xsm.h:477:19: warning: unused parameter ‘def’ [-Wunused-parameter] 477 | xsm_default_t def, struct domain *d, struct xen_domctl_bind_pt_irq *bind) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_unbind_pt_irq’: ./include/xsm/xsm.h:483:19: warning: unused parameter ‘def’ [-Wunused-parameter] 483 | xsm_default_t def, struct domain *d, struct xen_domctl_bind_pt_irq *bind) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_irq_permission’: ./include/xsm/xsm.h:489:19: warning: unused parameter ‘def’ [-Wunused-parameter] 489 | xsm_default_t def, struct domain *d, int pirq, uint8_t allow) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_iomem_permission’: ./include/xsm/xsm.h:495:19: warning: unused parameter ‘def’ [-Wunused-parameter] 495 | xsm_default_t def, struct domain *d, uint64_t s, uint64_t e, uint8_t allow) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_iomem_mapping’: ./include/xsm/xsm.h:501:19: warning: unused parameter ‘def’ [-Wunused-parameter] 501 | xsm_default_t def, struct domain *d, uint64_t s, uint64_t e, uint8_t allow) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_pci_config_permission’: ./include/xsm/xsm.h:507:19: warning: unused parameter ‘def’ [-Wunused-parameter] 507 | xsm_default_t def, struct domain *d, uint32_t machine_bdf, uint16_t start, | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_assign_dtdevice’: ./include/xsm/xsm.h:534:19: warning: unused parameter ‘def’ [-Wunused-parameter] 534 | xsm_default_t def, struct domain *d, const char *dtpath) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_deassign_dtdevice’: ./include/xsm/xsm.h:540:19: warning: unused parameter ‘def’ [-Wunused-parameter] 540 | xsm_default_t def, struct domain *d, const char *dtpath) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_plug_pci’: ./include/xsm/xsm.h:547:55: warning: unused parameter ‘def’ [-Wunused-parameter] 547 | static inline int xsm_resource_plug_pci(xsm_default_t def, uint32_t machine_bdf) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_unplug_pci’: ./include/xsm/xsm.h:553:19: warning: unused parameter ‘def’ [-Wunused-parameter] 553 | xsm_default_t def, uint32_t machine_bdf) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_plug_core’: ./include/xsm/xsm.h:558:56: warning: unused parameter ‘def’ [-Wunused-parameter] 558 | static inline int xsm_resource_plug_core(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_unplug_core’: ./include/xsm/xsm.h:563:58: warning: unused parameter ‘def’ [-Wunused-parameter] 563 | static inline int xsm_resource_unplug_core(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_setup_pci’: ./include/xsm/xsm.h:569:19: warning: unused parameter ‘def’ [-Wunused-parameter] 569 | xsm_default_t def, uint32_t machine_bdf) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_setup_gsi’: ./include/xsm/xsm.h:574:56: warning: unused parameter ‘def’ [-Wunused-parameter] 574 | static inline int xsm_resource_setup_gsi(xsm_default_t def, int gsi) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_setup_misc’: ./include/xsm/xsm.h:579:57: warning: unused parameter ‘def’ [-Wunused-parameter] 579 | static inline int xsm_resource_setup_misc(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_page_offline’: ./include/xsm/xsm.h:584:50: warning: unused parameter ‘def’ [-Wunused-parameter] 584 | static inline int xsm_page_offline(xsm_default_t def, uint32_t cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hypfs_op’: ./include/xsm/xsm.h:589:46: warning: unused parameter ‘def’ [-Wunused-parameter] 589 | static inline int xsm_hypfs_op(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hvm_param’: ./include/xsm/xsm.h:607:19: warning: unused parameter ‘def’ [-Wunused-parameter] 607 | xsm_default_t def, struct domain *d, unsigned long op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hvm_param_altp2mhvm’: ./include/xsm/xsm.h:612:57: warning: unused parameter ‘def’ [-Wunused-parameter] 612 | static inline int xsm_hvm_param_altp2mhvm(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hvm_altp2mhvm_op’: ./include/xsm/xsm.h:618:19: warning: unused parameter ‘def’ [-Wunused-parameter] 618 | xsm_default_t def, struct domain *d, uint64_t mode, uint32_t op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_get_vnumainfo’: ./include/xsm/xsm.h:623:51: warning: unused parameter ‘def’ [-Wunused-parameter] 623 | static inline int xsm_get_vnumainfo(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_vm_event_control’: ./include/xsm/xsm.h:629:19: warning: unused parameter ‘def’ [-Wunused-parameter] 629 | xsm_default_t def, struct domain *d, int mode, int op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_mem_access’: ./include/xsm/xsm.h:635:48: warning: unused parameter ‘def’ [-Wunused-parameter] 635 | static inline int xsm_mem_access(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_platform_op’: ./include/xsm/xsm.h:655:49: warning: unused parameter ‘def’ [-Wunused-parameter] 655 | static inline int xsm_platform_op(xsm_default_t def, uint32_t op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_dm_op’: ./include/xsm/xsm.h:738:43: warning: unused parameter ‘def’ [-Wunused-parameter] 738 | static inline int xsm_dm_op(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_xen_version’: ./include/xsm/xsm.h:743:49: warning: unused parameter ‘def’ [-Wunused-parameter] 743 | static inline int xsm_xen_version(xsm_default_t def, uint32_t op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_domain_resource_map’: ./include/xsm/xsm.h:748:57: warning: unused parameter ‘def’ [-Wunused-parameter] 748 | static inline int xsm_domain_resource_map(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ common/kernel.c: In function ‘parse_params’: common/kernel.c:89:26: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare] 89 | if ( (q-opt) < (sizeof(opt)-1) ) /* avoid overflow */ | ^ common/kernel.c:124:42: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘long int’ [-Wsign-compare] 124 | strlen(param->name) == q + 1 - opt && | ^~ common/kernel.c: In function ‘parse_bool’: common/kernel.c:234:22: warning: operand of ‘?:’ changes signedness from ‘long int’ to ‘size_t’ {aka ‘long unsigned int’} due to unsignedness of other operand [-Wsign-compare] 234 | size_t len = e ? ({ ASSERT(e >= s); e - s; }) : strlen(s); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ common/kernel.c: In function ‘parse_boolean’: common/kernel.c:291:16: warning: operand of ‘?:’ changes signedness from ‘long int’ to ‘size_t’ {aka ‘long unsigned int’} due to unsignedness of other operand [-Wsign-compare] 291 | slen = e ? ({ ASSERT(e >= s); e - s; }) : strlen(s); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ common/kernel.c: In function ‘parse_signed_integer’: common/kernel.c:329:16: warning: operand of ‘?:’ changes signedness from ‘long int’ to ‘size_t’ {aka ‘long unsigned int’} due to unsignedness of other operand [-Wsign-compare] 329 | slen = e ? ({ ASSERT(e >= s); e - s; }) : strlen(s); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ common/kernel.c: At top level: common/kernel.c:481:1: warning: ‘static’ is not at beginning of declaration [-Wold-style-declaration] 481 | __initcall(buildinfo_init); | ^~~~~~~~~~ common/kernel.c:502:1: warning: ‘static’ is not at beginning of declaration [-Wold-style-declaration] 502 | __initcall(param_init); | ^~~~~~~~~~ CC arch/arm/tee/ffa_partinfo.o In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/smccc.h:19, from arch/arm/tee/ffa_partinfo.c:10: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43, from ./include/xen/mm.h:69, from arch/arm/tee/ffa_private.h:12, from arch/arm/tee/ffa_partinfo.c:13: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/perfc.h:7, from ./include/xen/mm.h:70: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from ./include/xen/domain.h:5, from ./include/xen/sched.h:11, from arch/arm/tee/ffa_private.h:15: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5, from ./arch/arm/include/asm/domain.h:7, from ./include/xen/domain.h:15: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘arch_vcpu_block’: ./arch/arm/include/asm/domain.h:297:49: warning: unused parameter ‘v’ [-Wunused-parameter] 297 | static inline void arch_vcpu_block(struct vcpu *v) {} | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘update_guest_memory_policy’: ./arch/arm/include/asm/domain.h:309:60: warning: unused parameter ‘v’ [-Wunused-parameter] 309 | static inline void update_guest_memory_policy(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h:310:75: warning: unused parameter ‘gmp’ [-Wunused-parameter] 310 | struct guest_memory_policy *gmp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from ./include/xen/sched.h:25: ./include/xen/vpci.h: In function ‘vpci_assign_device’: ./include/xen/vpci.h:278:54: warning: unused parameter ‘pdev’ [-Wunused-parameter] 278 | static inline int vpci_assign_device(struct pci_dev *pdev) | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_deassign_device’: ./include/xen/vpci.h:283:57: warning: unused parameter ‘pdev’ [-Wunused-parameter] 283 | static inline void vpci_deassign_device(struct pci_dev *pdev) { } | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_read’: ./include/xen/vpci.h:287:45: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:287:64: warning: unused parameter ‘reg’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:288:47: warning: unused parameter ‘size’ [-Wunused-parameter] 288 | unsigned int size) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_write’: ./include/xen/vpci.h:294:42: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:294:61: warning: unused parameter ‘reg’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:295:44: warning: unused parameter ‘size’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h:295:59: warning: unused parameter ‘data’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_process_pending’: ./include/xen/vpci.h:300:67: warning: unused parameter ‘v’ [-Wunused-parameter] 300 | static inline bool __must_check vpci_process_pending(struct vcpu *v) | ~~~~~~~~~~~~~^ ./include/xen/sched.h: In function ‘is_pv_32bit_domain’: ./include/xen/sched.h:1131:67: warning: unused parameter ‘d’ [-Wunused-parameter] 1131 | static always_inline bool is_pv_32bit_domain(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ CC common/keyhandler.o In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/current.h:8, from ./arch/arm/include/asm/regs.h:11, from common/keyhandler.c:5: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from common/keyhandler.c:8: ./include/xen/param.h: In function ‘no_config_param’: ./include/xen/param.h:193:19: warning: operand of ‘?:’ changes signedness from ‘long int’ to ‘size_t’ {aka ‘long unsigned int’} due to unsignedness of other operand [-Wsign-compare] 193 | int len = e ? ({ ASSERT(e >= s); e - s; }) : strlen(s); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43, from ./include/xen/sched.h:6, from ./include/xen/event.h:12, from common/keyhandler.c:10: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/rwlock.h:6, from ./include/xen/sched.h:7: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/domain.h:5, from ./include/xen/sched.h:11: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233, from ./arch/arm/include/asm/p2m.h:4, from ./arch/arm/include/asm/domain.h:7, from ./include/xen/domain.h:15: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘arch_vcpu_block’: ./arch/arm/include/asm/domain.h:297:49: warning: unused parameter ‘v’ [-Wunused-parameter] 297 | static inline void arch_vcpu_block(struct vcpu *v) {} | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘update_guest_memory_policy’: ./arch/arm/include/asm/domain.h:309:60: warning: unused parameter ‘v’ [-Wunused-parameter] 309 | static inline void update_guest_memory_policy(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h:310:75: warning: unused parameter ‘gmp’ [-Wunused-parameter] 310 | struct guest_memory_policy *gmp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from ./include/xen/sched.h:25: ./include/xen/vpci.h: In function ‘vpci_assign_device’: ./include/xen/vpci.h:278:54: warning: unused parameter ‘pdev’ [-Wunused-parameter] 278 | static inline int vpci_assign_device(struct pci_dev *pdev) | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_deassign_device’: ./include/xen/vpci.h:283:57: warning: unused parameter ‘pdev’ [-Wunused-parameter] 283 | static inline void vpci_deassign_device(struct pci_dev *pdev) { } | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_read’: ./include/xen/vpci.h:287:45: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:287:64: warning: unused parameter ‘reg’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:288:47: warning: unused parameter ‘size’ [-Wunused-parameter] 288 | unsigned int size) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_write’: ./include/xen/vpci.h:294:42: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:294:61: warning: unused parameter ‘reg’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:295:44: warning: unused parameter ‘size’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h:295:59: warning: unused parameter ‘data’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_process_pending’: ./include/xen/vpci.h:300:67: warning: unused parameter ‘v’ [-Wunused-parameter] 300 | static inline bool __must_check vpci_process_pending(struct vcpu *v) | ~~~~~~~~~~~~~^ ./include/xen/sched.h: In function ‘is_pv_32bit_domain’: ./include/xen/sched.h:1131:67: warning: unused parameter ‘d’ [-Wunused-parameter] 1131 | static always_inline bool is_pv_32bit_domain(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ In file included from ./include/xen/event.h:17: ./arch/arm/include/asm/event.h: In function ‘arch_virq_is_global’: ./arch/arm/include/asm/event.h:50:53: warning: unused parameter ‘virq’ [-Wunused-parameter] 50 | static inline bool arch_virq_is_global(unsigned int virq) | ~~~~~~~~~~~~~^~~~ In file included from common/keyhandler.c:12: ./include/xen/serial.h: At top level: ./include/xen/serial.h:166:1: warning: ‘inline’ is not at beginning of declaration [-Wold-style-declaration] 166 | static void inline xhci_dbc_uart_init(void) {} | ^~~~~~ common/keyhandler.c: In function ‘keypress_action’: common/keyhandler.c:74:44: warning: unused parameter ‘unused’ [-Wunused-parameter] 74 | static void cf_check keypress_action(void *unused) | ~~~~~~^~~~~~ common/keyhandler.c: In function ‘reboot_machine’: common/keyhandler.c:248:61: warning: unused parameter ‘unused’ [-Wunused-parameter] 248 | static void cf_check reboot_machine(unsigned char key, bool unused) common/keyhandler.c: In function ‘dump_domains’: ./include/xen/sched.h:357:40: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 357 | (v)->vcpu_id < (u)->next_in_list->unit_id); \ | ^ common/keyhandler.c:322:13: note: in expansion of macro ‘for_each_sched_unit_vcpu’ 322 | for_each_sched_unit_vcpu ( unit, v ) | ^~~~~~~~~~~~~~~~~~~~~~~~ common/keyhandler.c: In function ‘read_clocks_slave’: common/keyhandler.c:375:46: warning: unused parameter ‘unused’ [-Wunused-parameter] 375 | static void cf_check read_clocks_slave(void *unused) | ~~~~~~^~~~~~ common/keyhandler.c: In function ‘read_clocks’: common/keyhandler.c:387:48: warning: unused parameter ‘key’ [-Wunused-parameter] 387 | static void cf_check read_clocks(unsigned char key) | ~~~~~~~~~~~~~~^~~ common/keyhandler.c: In function ‘run_all_nonirq_keyhandlers’: common/keyhandler.c:460:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] 460 | for ( k = 0; k < ARRAY_SIZE(key_table); k++ ) | ^ common/keyhandler.c:452:55: warning: unused parameter ‘unused’ [-Wunused-parameter] 452 | static void cf_check run_all_nonirq_keyhandlers(void *unused) | ~~~~~~^~~~~~ common/keyhandler.c: In function ‘do_toggle_alt_key’: common/keyhandler.c:501:64: warning: unused parameter ‘unused’ [-Wunused-parameter] 501 | static void cf_check do_toggle_alt_key(unsigned char key, bool unused) CC arch/arm/tee/ffa_rxtx.o In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/mm.h:69, from ./include/xen/domain_page.h:12, from arch/arm/tee/ffa_rxtx.c:7: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/perfc.h:7, from ./include/xen/mm.h:70: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ ./include/xen/domain_page.h: In function ‘unmap_domain_page_global’: ./include/xen/domain_page.h:71:57: warning: unused parameter ‘va’ [-Wunused-parameter] 71 | static inline void unmap_domain_page_global(const void *va) {}; | ~~~~~~~~~~~~^~ In file included from ./include/xen/domain.h:5, from ./include/xen/sched.h:11, from arch/arm/tee/ffa_private.h:15, from arch/arm/tee/ffa_rxtx.c:15: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5, from ./arch/arm/include/asm/domain.h:7, from ./include/xen/domain.h:15: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘arch_vcpu_block’: ./arch/arm/include/asm/domain.h:297:49: warning: unused parameter ‘v’ [-Wunused-parameter] 297 | static inline void arch_vcpu_block(struct vcpu *v) {} | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘update_guest_memory_policy’: ./arch/arm/include/asm/domain.h:309:60: warning: unused parameter ‘v’ [-Wunused-parameter] 309 | static inline void update_guest_memory_policy(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h:310:75: warning: unused parameter ‘gmp’ [-Wunused-parameter] 310 | struct guest_memory_policy *gmp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from ./include/xen/sched.h:25: ./include/xen/vpci.h: In function ‘vpci_assign_device’: ./include/xen/vpci.h:278:54: warning: unused parameter ‘pdev’ [-Wunused-parameter] 278 | static inline int vpci_assign_device(struct pci_dev *pdev) | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_deassign_device’: ./include/xen/vpci.h:283:57: warning: unused parameter ‘pdev’ [-Wunused-parameter] 283 | static inline void vpci_deassign_device(struct pci_dev *pdev) { } | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_read’: ./include/xen/vpci.h:287:45: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:287:64: warning: unused parameter ‘reg’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:288:47: warning: unused parameter ‘size’ [-Wunused-parameter] 288 | unsigned int size) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_write’: ./include/xen/vpci.h:294:42: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:294:61: warning: unused parameter ‘reg’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:295:44: warning: unused parameter ‘size’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h:295:59: warning: unused parameter ‘data’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_process_pending’: ./include/xen/vpci.h:300:67: warning: unused parameter ‘v’ [-Wunused-parameter] 300 | static inline bool __must_check vpci_process_pending(struct vcpu *v) | ~~~~~~~~~~~~~^ ./include/xen/sched.h: In function ‘is_pv_32bit_domain’: ./include/xen/sched.h:1131:67: warning: unused parameter ‘d’ [-Wunused-parameter] 1131 | static always_inline bool is_pv_32bit_domain(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ CC common/livepatch.o In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/cpu.h:5, from common/livepatch.c:6: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/rwlock.h:6, from ./include/xen/sched.h:7, from ./arch/arm/include/asm/guest_access.h:5, from ./include/xen/guest_access.h:10, from common/livepatch.c:9: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/domain.h:5, from ./include/xen/sched.h:11: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233, from ./arch/arm/include/asm/p2m.h:4, from ./arch/arm/include/asm/domain.h:7, from ./include/xen/domain.h:15: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘arch_vcpu_block’: ./arch/arm/include/asm/domain.h:297:49: warning: unused parameter ‘v’ [-Wunused-parameter] 297 | static inline void arch_vcpu_block(struct vcpu *v) {} | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘update_guest_memory_policy’: ./arch/arm/include/asm/domain.h:309:60: warning: unused parameter ‘v’ [-Wunused-parameter] 309 | static inline void update_guest_memory_policy(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h:310:75: warning: unused parameter ‘gmp’ [-Wunused-parameter] 310 | struct guest_memory_policy *gmp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from ./include/xen/sched.h:25: ./include/xen/vpci.h: In function ‘vpci_assign_device’: ./include/xen/vpci.h:278:54: warning: unused parameter ‘pdev’ [-Wunused-parameter] 278 | static inline int vpci_assign_device(struct pci_dev *pdev) | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_deassign_device’: ./include/xen/vpci.h:283:57: warning: unused parameter ‘pdev’ [-Wunused-parameter] 283 | static inline void vpci_deassign_device(struct pci_dev *pdev) { } | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_read’: ./include/xen/vpci.h:287:45: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:287:64: warning: unused parameter ‘reg’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:288:47: warning: unused parameter ‘size’ [-Wunused-parameter] 288 | unsigned int size) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_write’: ./include/xen/vpci.h:294:42: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:294:61: warning: unused parameter ‘reg’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:295:44: warning: unused parameter ‘size’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h:295:59: warning: unused parameter ‘data’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_process_pending’: ./include/xen/vpci.h:300:67: warning: unused parameter ‘v’ [-Wunused-parameter] 300 | static inline bool __must_check vpci_process_pending(struct vcpu *v) | ~~~~~~~~~~~~~^ ./include/xen/sched.h: In function ‘is_pv_32bit_domain’: ./include/xen/sched.h:1131:67: warning: unused parameter ‘d’ [-Wunused-parameter] 1131 | static always_inline bool is_pv_32bit_domain(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ In file included from common/livepatch.c:30: ./arch/arm/include/asm/event.h: In function ‘arch_virq_is_global’: ./arch/arm/include/asm/event.h:50:53: warning: unused parameter ‘virq’ [-Wunused-parameter] 50 | static inline bool arch_virq_is_global(unsigned int virq) | ~~~~~~~~~~~~~^~~~ common/livepatch.c: In function ‘secure_payload’: common/livepatch.c:402:74: warning: unused parameter ‘elf’ [-Wunused-parameter] 402 | static int secure_payload(struct payload *payload, struct livepatch_elf *elf) | ~~~~~~~~~~~~~~~~~~~~~~^~~ common/livepatch.c: In function ‘livepatch_verify_expectation_fn’: common/livepatch.c:578:19: warning: comparison is always false due to limited range of data type [-Wtype-limits] 578 | if ( exp->len > sizeof(exp->data)) | ^ common/livepatch.c: In function ‘livepatch_check_expectations’: common/livepatch.c:605:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 605 | for ( i = 0; i < payload->nfuncs; i++ ) | ^ common/livepatch.c: In function ‘livepatch_list’: common/livepatch.c:1316:12: warning: operand of ‘?:’ changes signedness from ‘int’ to ‘unsigned int’ due to unsignedness of other operand [-Wsign-compare] 1316 | return rc ? : idx; | ^~ common/livepatch.c: In function ‘was_action_consistent’: common/livepatch.c:1471:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 1471 | for ( i = 0; i < data->nfuncs; i++ ) | ^ common/livepatch.c: In function ‘tasklet_fn’: common/livepatch.c:1688:39: warning: unused parameter ‘unused’ [-Wunused-parameter] 1688 | static void cf_check tasklet_fn(void *unused) | ~~~~~~^~~~~~ common/livepatch.c: In function ‘livepatch_spin’: common/livepatch.c:1698:34: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 1698 | while ( atomic_read(counter) != cpus && NOW() < timeout ) | ^~ common/livepatch.c:1702:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 1702 | if ( atomic_read(counter) != cpus ) | ^~ CC arch/arm/tee/tee.o common/livepatch.c: In function ‘cpu_callback’: common/livepatch.c:2231:28: warning: unused parameter ‘nfb’ [-Wunused-parameter] 2231 | struct notifier_block *nfb, unsigned long action, void *hcpu) | ~~~~~~~~~~~~~~~~~~~~~~~^~~ common/livepatch.c: At top level: common/livepatch.c:2263:1: warning: ‘static’ is not at beginning of declaration [-Wold-style-declaration] 2263 | __initcall(livepatch_init); | ^~~~~~~~~~ In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/current.h:8, from ./arch/arm/include/asm/regs.h:11, from ./arch/arm/include/asm/tee/tee.h:20, from arch/arm/tee/tee.c:23: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ arch/arm/tee/tee.c: At top level: arch/arm/tee/tee.c:97:1: warning: ‘static’ is not at beginning of declaration [-Wold-style-declaration] 97 | __initcall(tee_init); | ^~~~~~~~~~ CC arch/arm/tee/optee.o In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/current.h:8, from ./include/asm-generic/percpu.h:8, from ./arch/arm/include/generated/asm/percpu.h:1, from ./include/xen/percpu.h:30, from ./include/xen/rwlock.h:4, from ./include/xen/device_tree.h:22, from arch/arm/tee/optee.c:27: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/rwlock.h:6: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43, from ./include/xen/rwlock.h:7: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233, from ./include/xen/domain_page.h:12, from arch/arm/tee/optee.c:28: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ ./include/xen/domain_page.h: In function ‘unmap_domain_page_global’: ./include/xen/domain_page.h:71:57: warning: unused parameter ‘va’ [-Wunused-parameter] 71 | static inline void unmap_domain_page_global(const void *va) {}; | ~~~~~~~~~~~~^~ In file included from ./include/xen/domain.h:5, from ./include/xen/sched.h:11, from ./arch/arm/include/asm/guest_access.h:5, from ./include/xen/guest_access.h:10, from arch/arm/tee/optee.c:30: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5, from ./arch/arm/include/asm/domain.h:7, from ./include/xen/domain.h:15: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘arch_vcpu_block’: ./arch/arm/include/asm/domain.h:297:49: warning: unused parameter ‘v’ [-Wunused-parameter] 297 | static inline void arch_vcpu_block(struct vcpu *v) {} | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘update_guest_memory_policy’: ./arch/arm/include/asm/domain.h:309:60: warning: unused parameter ‘v’ [-Wunused-parameter] 309 | static inline void update_guest_memory_policy(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h:310:75: warning: unused parameter ‘gmp’ [-Wunused-parameter] 310 | struct guest_memory_policy *gmp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from ./include/xen/sched.h:25: ./include/xen/vpci.h: In function ‘vpci_assign_device’: ./include/xen/vpci.h:278:54: warning: unused parameter ‘pdev’ [-Wunused-parameter] 278 | static inline int vpci_assign_device(struct pci_dev *pdev) | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_deassign_device’: ./include/xen/vpci.h:283:57: warning: unused parameter ‘pdev’ [-Wunused-parameter] 283 | static inline void vpci_deassign_device(struct pci_dev *pdev) { } | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_read’: ./include/xen/vpci.h:287:45: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:287:64: warning: unused parameter ‘reg’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:288:47: warning: unused parameter ‘size’ [-Wunused-parameter] 288 | unsigned int size) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_write’: ./include/xen/vpci.h:294:42: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:294:61: warning: unused parameter ‘reg’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:295:44: warning: unused parameter ‘size’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h:295:59: warning: unused parameter ‘data’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_process_pending’: ./include/xen/vpci.h:300:67: warning: unused parameter ‘v’ [-Wunused-parameter] 300 | static inline bool __must_check vpci_process_pending(struct vcpu *v) | ~~~~~~~~~~~~~^ ./include/xen/sched.h: In function ‘is_pv_32bit_domain’: ./include/xen/sched.h:1131:67: warning: unused parameter ‘d’ [-Wunused-parameter] 1131 | static always_inline bool is_pv_32bit_domain(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ In file included from arch/arm/tee/optee.c:34: ./arch/arm/include/asm/event.h: In function ‘arch_virq_is_global’: ./arch/arm/include/asm/event.h:50:53: warning: unused parameter ‘virq’ [-Wunused-parameter] 50 | static inline bool arch_virq_is_global(unsigned int virq) | ~~~~~~~~~~~~~^~~~ CC common/livepatch_elf.o arch/arm/tee/optee.c: In function ‘optee_domain_teardown’: arch/arm/tee/optee.c:271:49: warning: unused parameter ‘d’ [-Wunused-parameter] 271 | static int optee_domain_teardown(struct domain *d) | ~~~~~~~~~~~~~~~^ arch/arm/tee/optee.c: In function ‘allocate_std_call’: arch/arm/tee/optee.c:304:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 304 | if ( count == max_optee_threads ) | ^~ arch/arm/tee/optee.c: In function ‘translate_noncontig’: arch/arm/tee/optee.c:708:55: warning: unused parameter ‘call’ [-Wunused-parameter] 708 | struct optee_std_call *call, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ arch/arm/tee/optee.c: In function ‘copy_std_request_back’: arch/arm/tee/optee.c:970:56: warning: unused parameter ‘ctx’ [-Wunused-parameter] 970 | static void copy_std_request_back(struct optee_domain *ctx, | ~~~~~~~~~~~~~~~~~~~~~^~~ arch/arm/tee/optee.c: In function ‘issue_rpc_cmd_free’: arch/arm/tee/optee.c:1310:53: warning: unused parameter ‘ctx’ [-Wunused-parameter] 1310 | static bool issue_rpc_cmd_free(struct optee_domain *ctx, | ~~~~~~~~~~~~~~~~~~~~~^~~ arch/arm/tee/optee.c: In function ‘handle_xen_rpc_return’: arch/arm/tee/optee.c:1363:56: warning: unused parameter ‘ctx’ [-Wunused-parameter] 1363 | static void handle_xen_rpc_return(struct optee_domain *ctx, | ~~~~~~~~~~~~~~~~~~~~~^~~ arch/arm/tee/optee.c:1364:57: warning: unused parameter ‘regs’ [-Wunused-parameter] 1364 | struct cpu_user_regs *regs, | ~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/livepatch.h:17, from common/livepatch_elf.c:9: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ CC common/mem_access.o In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/sched.h:6, from common/mem_access.c:23: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/rwlock.h:6, from ./include/xen/sched.h:7: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/domain.h:5, from ./include/xen/sched.h:11: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233, from ./arch/arm/include/asm/p2m.h:4, from ./arch/arm/include/asm/domain.h:7, from ./include/xen/domain.h:15: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘arch_vcpu_block’: ./arch/arm/include/asm/domain.h:297:49: warning: unused parameter ‘v’ [-Wunused-parameter] 297 | static inline void arch_vcpu_block(struct vcpu *v) {} | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘update_guest_memory_policy’: ./arch/arm/include/asm/domain.h:309:60: warning: unused parameter ‘v’ [-Wunused-parameter] 309 | static inline void update_guest_memory_policy(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h:310:75: warning: unused parameter ‘gmp’ [-Wunused-parameter] 310 | struct guest_memory_policy *gmp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from ./include/xen/sched.h:25: ./include/xen/vpci.h: In function ‘vpci_assign_device’: ./include/xen/vpci.h:278:54: warning: unused parameter ‘pdev’ [-Wunused-parameter] 278 | static inline int vpci_assign_device(struct pci_dev *pdev) | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_deassign_device’: ./include/xen/vpci.h:283:57: warning: unused parameter ‘pdev’ [-Wunused-parameter] 283 | static inline void vpci_deassign_device(struct pci_dev *pdev) { } | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_read’: ./include/xen/vpci.h:287:45: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:287:64: warning: unused parameter ‘reg’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:288:47: warning: unused parameter ‘size’ [-Wunused-parameter] 288 | unsigned int size) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_write’: ./include/xen/vpci.h:294:42: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:294:61: warning: unused parameter ‘reg’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:295:44: warning: unused parameter ‘size’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h:295:59: warning: unused parameter ‘data’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_process_pending’: ./include/xen/vpci.h:300:67: warning: unused parameter ‘v’ [-Wunused-parameter] 300 | static inline bool __must_check vpci_process_pending(struct vcpu *v) | ~~~~~~~~~~~~~^ ./include/xen/sched.h: In function ‘is_pv_32bit_domain’: ./include/xen/sched.h:1131:67: warning: unused parameter ‘d’ [-Wunused-parameter] 1131 | static always_inline bool is_pv_32bit_domain(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ In file included from ./include/xen/hypercall.h:22, from common/mem_access.c:25: ./include/xsm/xsm.h: In function ‘xsm_domain_create’: ./include/xsm/xsm.h:224:19: warning: unused parameter ‘def’ [-Wunused-parameter] 224 | xsm_default_t def, struct domain *d, uint32_t ssidref) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_getdomaininfo’: ./include/xsm/xsm.h:229:51: warning: unused parameter ‘def’ [-Wunused-parameter] 229 | static inline int xsm_getdomaininfo(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_domctl_scheduler_op’: ./include/xsm/xsm.h:235:19: warning: unused parameter ‘def’ [-Wunused-parameter] 235 | xsm_default_t def, struct domain *d, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_sysctl_scheduler_op’: ./include/xsm/xsm.h:240:57: warning: unused parameter ‘def’ [-Wunused-parameter] 240 | static inline int xsm_sysctl_scheduler_op(xsm_default_t def, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_set_target’: ./include/xsm/xsm.h:246:19: warning: unused parameter ‘def’ [-Wunused-parameter] 246 | xsm_default_t def, struct domain *d, struct domain *e) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_domctl’: ./include/xsm/xsm.h:251:44: warning: unused parameter ‘def’ [-Wunused-parameter] 251 | static inline int xsm_domctl(xsm_default_t def, struct domain *d, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_sysctl’: ./include/xsm/xsm.h:256:44: warning: unused parameter ‘def’ [-Wunused-parameter] 256 | static inline int xsm_sysctl(xsm_default_t def, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_readconsole’: ./include/xsm/xsm.h:261:49: warning: unused parameter ‘def’ [-Wunused-parameter] 261 | static inline int xsm_readconsole(xsm_default_t def, uint32_t clear) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_unbound’: ./include/xsm/xsm.h:267:19: warning: unused parameter ‘def’ [-Wunused-parameter] 267 | xsm_default_t def, struct domain *d1, struct evtchn *chn, domid_t id2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_interdomain’: ./include/xsm/xsm.h:273:19: warning: unused parameter ‘def’ [-Wunused-parameter] 273 | xsm_default_t def, struct domain *d1, struct evtchn *chan1, | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_send’: ./include/xsm/xsm.h:285:19: warning: unused parameter ‘def’ [-Wunused-parameter] 285 | xsm_default_t def, struct domain *d, struct evtchn *chn) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_status’: ./include/xsm/xsm.h:291:19: warning: unused parameter ‘def’ [-Wunused-parameter] 291 | xsm_default_t def, struct domain *d, struct evtchn *chn) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_reset’: ./include/xsm/xsm.h:297:19: warning: unused parameter ‘def’ [-Wunused-parameter] 297 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_mapref’: ./include/xsm/xsm.h:303:19: warning: unused parameter ‘def’ [-Wunused-parameter] 303 | xsm_default_t def, struct domain *d1, struct domain *d2, uint32_t flags) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_unmapref’: ./include/xsm/xsm.h:309:19: warning: unused parameter ‘def’ [-Wunused-parameter] 309 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_setup’: ./include/xsm/xsm.h:315:19: warning: unused parameter ‘def’ [-Wunused-parameter] 315 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_transfer’: ./include/xsm/xsm.h:321:19: warning: unused parameter ‘def’ [-Wunused-parameter] 321 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_copy’: ./include/xsm/xsm.h:327:19: warning: unused parameter ‘def’ [-Wunused-parameter] 327 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_query_size’: ./include/xsm/xsm.h:333:19: warning: unused parameter ‘def’ [-Wunused-parameter] 333 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_init_hardware_domain’: ./include/xsm/xsm.h:366:58: warning: unused parameter ‘def’ [-Wunused-parameter] 366 | static inline int xsm_init_hardware_domain(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_get_pod_target’: ./include/xsm/xsm.h:371:52: warning: unused parameter ‘def’ [-Wunused-parameter] 371 | static inline int xsm_get_pod_target(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_set_pod_target’: ./include/xsm/xsm.h:376:52: warning: unused parameter ‘def’ [-Wunused-parameter] 376 | static inline int xsm_set_pod_target(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_exchange’: ./include/xsm/xsm.h:381:53: warning: unused parameter ‘def’ [-Wunused-parameter] 381 | static inline int xsm_memory_exchange(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_adjust_reservation’: ./include/xsm/xsm.h:387:19: warning: unused parameter ‘def’ [-Wunused-parameter] 387 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_stat_reservation’: ./include/xsm/xsm.h:393:19: warning: unused parameter ‘def’ [-Wunused-parameter] 393 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_pin_page’: ./include/xsm/xsm.h:399:19: warning: unused parameter ‘def’ [-Wunused-parameter] 399 | xsm_default_t def, struct domain *d1, struct domain *d2, | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_add_to_physmap’: ./include/xsm/xsm.h:406:19: warning: unused parameter ‘def’ [-Wunused-parameter] 406 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_remove_from_physmap’: ./include/xsm/xsm.h:412:19: warning: unused parameter ‘def’ [-Wunused-parameter] 412 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_map_gmfn_foreign’: ./include/xsm/xsm.h:418:19: warning: unused parameter ‘def’ [-Wunused-parameter] 418 | xsm_default_t def, struct domain *d, struct domain *t) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_claim_pages’: ./include/xsm/xsm.h:423:49: warning: unused parameter ‘def’ [-Wunused-parameter] 423 | static inline int xsm_claim_pages(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_console_io’: ./include/xsm/xsm.h:428:48: warning: unused parameter ‘def’ [-Wunused-parameter] 428 | static inline int xsm_console_io(xsm_default_t def, struct domain *d, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_profile’: ./include/xsm/xsm.h:433:45: warning: unused parameter ‘def’ [-Wunused-parameter] 433 | static inline int xsm_profile(xsm_default_t def, struct domain *d, int op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_kexec’: ./include/xsm/xsm.h:438:43: warning: unused parameter ‘def’ [-Wunused-parameter] 438 | static inline int xsm_kexec(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_schedop_shutdown’: ./include/xsm/xsm.h:444:19: warning: unused parameter ‘def’ [-Wunused-parameter] 444 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_map_domain_pirq’: ./include/xsm/xsm.h:454:53: warning: unused parameter ‘def’ [-Wunused-parameter] 454 | static inline int xsm_map_domain_pirq(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_map_domain_irq’: ./include/xsm/xsm.h:460:19: warning: unused parameter ‘def’ [-Wunused-parameter] 460 | xsm_default_t def, struct domain *d, int irq, void *data) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_unmap_domain_pirq’: ./include/xsm/xsm.h:465:55: warning: unused parameter ‘def’ [-Wunused-parameter] 465 | static inline int xsm_unmap_domain_pirq(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_unmap_domain_irq’: ./include/xsm/xsm.h:471:19: warning: unused parameter ‘def’ [-Wunused-parameter] 471 | xsm_default_t def, struct domain *d, int irq, void *data) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_bind_pt_irq’: ./include/xsm/xsm.h:477:19: warning: unused parameter ‘def’ [-Wunused-parameter] 477 | xsm_default_t def, struct domain *d, struct xen_domctl_bind_pt_irq *bind) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_unbind_pt_irq’: ./include/xsm/xsm.h:483:19: warning: unused parameter ‘def’ [-Wunused-parameter] 483 | xsm_default_t def, struct domain *d, struct xen_domctl_bind_pt_irq *bind) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_irq_permission’: ./include/xsm/xsm.h:489:19: warning: unused parameter ‘def’ [-Wunused-parameter] 489 | xsm_default_t def, struct domain *d, int pirq, uint8_t allow) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_iomem_permission’: ./include/xsm/xsm.h:495:19: warning: unused parameter ‘def’ [-Wunused-parameter] 495 | xsm_default_t def, struct domain *d, uint64_t s, uint64_t e, uint8_t allow) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_iomem_mapping’: ./include/xsm/xsm.h:501:19: warning: unused parameter ‘def’ [-Wunused-parameter] 501 | xsm_default_t def, struct domain *d, uint64_t s, uint64_t e, uint8_t allow) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_pci_config_permission’: ./include/xsm/xsm.h:507:19: warning: unused parameter ‘def’ [-Wunused-parameter] 507 | xsm_default_t def, struct domain *d, uint32_t machine_bdf, uint16_t start, | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_assign_dtdevice’: ./include/xsm/xsm.h:534:19: warning: unused parameter ‘def’ [-Wunused-parameter] 534 | xsm_default_t def, struct domain *d, const char *dtpath) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_deassign_dtdevice’: ./include/xsm/xsm.h:540:19: warning: unused parameter ‘def’ [-Wunused-parameter] 540 | xsm_default_t def, struct domain *d, const char *dtpath) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_plug_pci’: ./include/xsm/xsm.h:547:55: warning: unused parameter ‘def’ [-Wunused-parameter] 547 | static inline int xsm_resource_plug_pci(xsm_default_t def, uint32_t machine_bdf) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_unplug_pci’: ./include/xsm/xsm.h:553:19: warning: unused parameter ‘def’ [-Wunused-parameter] 553 | xsm_default_t def, uint32_t machine_bdf) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_plug_core’: ./include/xsm/xsm.h:558:56: warning: unused parameter ‘def’ [-Wunused-parameter] 558 | static inline int xsm_resource_plug_core(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_unplug_core’: ./include/xsm/xsm.h:563:58: warning: unused parameter ‘def’ [-Wunused-parameter] 563 | static inline int xsm_resource_unplug_core(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_setup_pci’: ./include/xsm/xsm.h:569:19: warning: unused parameter ‘def’ [-Wunused-parameter] 569 | xsm_default_t def, uint32_t machine_bdf) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_setup_gsi’: ./include/xsm/xsm.h:574:56: warning: unused parameter ‘def’ [-Wunused-parameter] 574 | static inline int xsm_resource_setup_gsi(xsm_default_t def, int gsi) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_setup_misc’: ./include/xsm/xsm.h:579:57: warning: unused parameter ‘def’ [-Wunused-parameter] 579 | static inline int xsm_resource_setup_misc(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_page_offline’: ./include/xsm/xsm.h:584:50: warning: unused parameter ‘def’ [-Wunused-parameter] 584 | static inline int xsm_page_offline(xsm_default_t def, uint32_t cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hypfs_op’: ./include/xsm/xsm.h:589:46: warning: unused parameter ‘def’ [-Wunused-parameter] 589 | static inline int xsm_hypfs_op(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hvm_param’: ./include/xsm/xsm.h:607:19: warning: unused parameter ‘def’ [-Wunused-parameter] 607 | xsm_default_t def, struct domain *d, unsigned long op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hvm_param_altp2mhvm’: ./include/xsm/xsm.h:612:57: warning: unused parameter ‘def’ [-Wunused-parameter] 612 | static inline int xsm_hvm_param_altp2mhvm(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hvm_altp2mhvm_op’: ./include/xsm/xsm.h:618:19: warning: unused parameter ‘def’ [-Wunused-parameter] 618 | xsm_default_t def, struct domain *d, uint64_t mode, uint32_t op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_get_vnumainfo’: ./include/xsm/xsm.h:623:51: warning: unused parameter ‘def’ [-Wunused-parameter] 623 | static inline int xsm_get_vnumainfo(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_vm_event_control’: ./include/xsm/xsm.h:629:19: warning: unused parameter ‘def’ [-Wunused-parameter] 629 | xsm_default_t def, struct domain *d, int mode, int op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_mem_access’: ./include/xsm/xsm.h:635:48: warning: unused parameter ‘def’ [-Wunused-parameter] 635 | static inline int xsm_mem_access(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_platform_op’: ./include/xsm/xsm.h:655:49: warning: unused parameter ‘def’ [-Wunused-parameter] 655 | static inline int xsm_platform_op(xsm_default_t def, uint32_t op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_dm_op’: ./include/xsm/xsm.h:738:43: warning: unused parameter ‘def’ [-Wunused-parameter] 738 | static inline int xsm_dm_op(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_xen_version’: ./include/xsm/xsm.h:743:49: warning: unused parameter ‘def’ [-Wunused-parameter] 743 | static inline int xsm_xen_version(xsm_default_t def, uint32_t op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_domain_resource_map’: ./include/xsm/xsm.h:748:57: warning: unused parameter ‘def’ [-Wunused-parameter] 748 | static inline int xsm_domain_resource_map(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ In file included from ./arch/arm/include/generated/asm/vm_event.h:1, from ./include/xen/vm_event.h:28, from common/mem_access.c:26: ./include/asm-generic/vm_event.h: In function ‘vm_event_init_domain’: ./include/asm-generic/vm_event.h:14:55: warning: unused parameter ‘d’ [-Wunused-parameter] 14 | static inline int vm_event_init_domain(struct domain *d) | ~~~~~~~~~~~~~~~^ ./include/asm-generic/vm_event.h: In function ‘vm_event_toggle_singlestep’: ./include/asm-generic/vm_event.h:25:62: warning: unused parameter ‘d’ [-Wunused-parameter] 25 | static inline void vm_event_toggle_singlestep(struct domain *d, struct vcpu *v, | ~~~~~~~~~~~~~~~^ ./include/asm-generic/vm_event.h:25:78: warning: unused parameter ‘v’ [-Wunused-parameter] 25 | static inline void vm_event_toggle_singlestep(struct domain *d, struct vcpu *v, | ~~~~~~~~~~~~~^ ./include/asm-generic/vm_event.h:26:68: warning: unused parameter ‘rsp’ [-Wunused-parameter] 26 | vm_event_response_t *rsp) | ~~~~~~~~~~~~~~~~~~~~~^~~ ./include/asm-generic/vm_event.h: In function ‘vm_event_register_write_resume’: ./include/asm-generic/vm_event.h:32:50: warning: unused parameter ‘v’ [-Wunused-parameter] 32 | void vm_event_register_write_resume(struct vcpu *v, vm_event_response_t *rsp) | ~~~~~~~~~~~~~^ ./include/asm-generic/vm_event.h:32:74: warning: unused parameter ‘rsp’ [-Wunused-parameter] 32 | void vm_event_register_write_resume(struct vcpu *v, vm_event_response_t *rsp) | ~~~~~~~~~~~~~~~~~~~~~^~~ ./include/asm-generic/vm_event.h: In function ‘vm_event_emulate_check’: ./include/asm-generic/vm_event.h:38:42: warning: unused parameter ‘v’ [-Wunused-parameter] 38 | void vm_event_emulate_check(struct vcpu *v, vm_event_response_t *rsp) | ~~~~~~~~~~~~~^ ./include/asm-generic/vm_event.h:38:66: warning: unused parameter ‘rsp’ [-Wunused-parameter] 38 | void vm_event_emulate_check(struct vcpu *v, vm_event_response_t *rsp) | ~~~~~~~~~~~~~~~~~~~~~^~~ ./include/asm-generic/vm_event.h: In function ‘vm_event_sync_event’: ./include/asm-generic/vm_event.h:44:39: warning: unused parameter ‘v’ [-Wunused-parameter] 44 | void vm_event_sync_event(struct vcpu *v, bool value) | ~~~~~~~~~~~~~^ ./include/asm-generic/vm_event.h:44:47: warning: unused parameter ‘value’ [-Wunused-parameter] 44 | void vm_event_sync_event(struct vcpu *v, bool value) ./include/asm-generic/vm_event.h: In function ‘vm_event_reset_vmtrace’: ./include/asm-generic/vm_event.h:50:42: warning: unused parameter ‘v’ [-Wunused-parameter] 50 | void vm_event_reset_vmtrace(struct vcpu *v) | ~~~~~~~~~~~~~^ CC common/memory.o In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/mm.h:69, from ./include/xen/domain_page.h:12, from common/memory.c:10: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/perfc.h:7, from ./include/xen/mm.h:70: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ ./include/xen/domain_page.h: In function ‘unmap_domain_page_global’: ./include/xen/domain_page.h:71:57: warning: unused parameter ‘va’ [-Wunused-parameter] 71 | static inline void unmap_domain_page_global(const void *va) {}; | ~~~~~~~~~~~~^~ In file included from ./include/xen/domain.h:5, from ./include/xen/sched.h:11, from ./include/xen/event.h:12, from common/memory.c:12: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5, from ./arch/arm/include/asm/domain.h:7, from ./include/xen/domain.h:15: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘arch_vcpu_block’: ./arch/arm/include/asm/domain.h:297:49: warning: unused parameter ‘v’ [-Wunused-parameter] 297 | static inline void arch_vcpu_block(struct vcpu *v) {} | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘update_guest_memory_policy’: ./arch/arm/include/asm/domain.h:309:60: warning: unused parameter ‘v’ [-Wunused-parameter] 309 | static inline void update_guest_memory_policy(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h:310:75: warning: unused parameter ‘gmp’ [-Wunused-parameter] 310 | struct guest_memory_policy *gmp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from ./include/xen/sched.h:25: ./include/xen/vpci.h: In function ‘vpci_assign_device’: ./include/xen/vpci.h:278:54: warning: unused parameter ‘pdev’ [-Wunused-parameter] 278 | static inline int vpci_assign_device(struct pci_dev *pdev) | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_deassign_device’: ./include/xen/vpci.h:283:57: warning: unused parameter ‘pdev’ [-Wunused-parameter] 283 | static inline void vpci_deassign_device(struct pci_dev *pdev) { } | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_read’: ./include/xen/vpci.h:287:45: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:287:64: warning: unused parameter ‘reg’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:288:47: warning: unused parameter ‘size’ [-Wunused-parameter] 288 | unsigned int size) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_write’: ./include/xen/vpci.h:294:42: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:294:61: warning: unused parameter ‘reg’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:295:44: warning: unused parameter ‘size’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h:295:59: warning: unused parameter ‘data’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_process_pending’: ./include/xen/vpci.h:300:67: warning: unused parameter ‘v’ [-Wunused-parameter] 300 | static inline bool __must_check vpci_process_pending(struct vcpu *v) | ~~~~~~~~~~~~~^ ./include/xen/sched.h: In function ‘is_pv_32bit_domain’: ./include/xen/sched.h:1131:67: warning: unused parameter ‘d’ [-Wunused-parameter] 1131 | static always_inline bool is_pv_32bit_domain(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ In file included from ./include/xen/event.h:17: ./arch/arm/include/asm/event.h: In function ‘arch_virq_is_global’: ./arch/arm/include/asm/event.h:50:53: warning: unused parameter ‘virq’ [-Wunused-parameter] 50 | static inline bool arch_virq_is_global(unsigned int virq) | ~~~~~~~~~~~~~^~~~ In file included from ./include/xen/grant_table.h:31, from common/memory.c:13: ./arch/arm/include/asm/grant_table.h: In function ‘gnttab_mark_dirty’: ./arch/arm/include/asm/grant_table.h:20:53: warning: unused parameter ‘d’ [-Wunused-parameter] 20 | static inline void gnttab_mark_dirty(struct domain *d, mfn_t mfn) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/grant_table.h:20:62: warning: unused parameter ‘mfn’ [-Wunused-parameter] 20 | static inline void gnttab_mark_dirty(struct domain *d, mfn_t mfn) | ~~~~~~^~~ ./arch/arm/include/asm/grant_table.h: In function ‘gnttab_host_mapping_get_page_type’: ./arch/arm/include/asm/grant_table.h:27:59: warning: unused parameter ‘ro’ [-Wunused-parameter] 27 | static inline bool gnttab_host_mapping_get_page_type(bool ro, ./arch/arm/include/asm/grant_table.h:28:75: warning: unused parameter ‘ld’ [-Wunused-parameter] 28 | const struct domain *ld, | ~~~~~~~~~~~~~~~~~~~~~^~ ./arch/arm/include/asm/grant_table.h:29:75: warning: unused parameter ‘rd’ [-Wunused-parameter] 29 | const struct domain *rd) | ~~~~~~~~~~~~~~~~~~~~~^~ ./arch/arm/include/asm/grant_table.h: In function ‘gnttab_release_host_mappings’: ./arch/arm/include/asm/grant_table.h:34:70: warning: unused parameter ‘d’ [-Wunused-parameter] 34 | static inline bool gnttab_release_host_mappings(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ In file included from ./include/xen/hypercall.h:22, from common/memory.c:15: ./include/xsm/xsm.h: In function ‘xsm_domain_create’: ./include/xsm/xsm.h:224:19: warning: unused parameter ‘def’ [-Wunused-parameter] 224 | xsm_default_t def, struct domain *d, uint32_t ssidref) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_getdomaininfo’: ./include/xsm/xsm.h:229:51: warning: unused parameter ‘def’ [-Wunused-parameter] 229 | static inline int xsm_getdomaininfo(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_domctl_scheduler_op’: ./include/xsm/xsm.h:235:19: warning: unused parameter ‘def’ [-Wunused-parameter] 235 | xsm_default_t def, struct domain *d, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_sysctl_scheduler_op’: ./include/xsm/xsm.h:240:57: warning: unused parameter ‘def’ [-Wunused-parameter] 240 | static inline int xsm_sysctl_scheduler_op(xsm_default_t def, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_set_target’: ./include/xsm/xsm.h:246:19: warning: unused parameter ‘def’ [-Wunused-parameter] 246 | xsm_default_t def, struct domain *d, struct domain *e) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_domctl’: ./include/xsm/xsm.h:251:44: warning: unused parameter ‘def’ [-Wunused-parameter] 251 | static inline int xsm_domctl(xsm_default_t def, struct domain *d, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_sysctl’: ./include/xsm/xsm.h:256:44: warning: unused parameter ‘def’ [-Wunused-parameter] 256 | static inline int xsm_sysctl(xsm_default_t def, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_readconsole’: ./include/xsm/xsm.h:261:49: warning: unused parameter ‘def’ [-Wunused-parameter] 261 | static inline int xsm_readconsole(xsm_default_t def, uint32_t clear) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_unbound’: ./include/xsm/xsm.h:267:19: warning: unused parameter ‘def’ [-Wunused-parameter] 267 | xsm_default_t def, struct domain *d1, struct evtchn *chn, domid_t id2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_interdomain’: ./include/xsm/xsm.h:273:19: warning: unused parameter ‘def’ [-Wunused-parameter] 273 | xsm_default_t def, struct domain *d1, struct evtchn *chan1, | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_send’: ./include/xsm/xsm.h:285:19: warning: unused parameter ‘def’ [-Wunused-parameter] 285 | xsm_default_t def, struct domain *d, struct evtchn *chn) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_status’: ./include/xsm/xsm.h:291:19: warning: unused parameter ‘def’ [-Wunused-parameter] 291 | xsm_default_t def, struct domain *d, struct evtchn *chn) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_reset’: ./include/xsm/xsm.h:297:19: warning: unused parameter ‘def’ [-Wunused-parameter] 297 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_mapref’: ./include/xsm/xsm.h:303:19: warning: unused parameter ‘def’ [-Wunused-parameter] 303 | xsm_default_t def, struct domain *d1, struct domain *d2, uint32_t flags) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_unmapref’: ./include/xsm/xsm.h:309:19: warning: unused parameter ‘def’ [-Wunused-parameter] 309 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_setup’: ./include/xsm/xsm.h:315:19: warning: unused parameter ‘def’ [-Wunused-parameter] 315 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_transfer’: ./include/xsm/xsm.h:321:19: warning: unused parameter ‘def’ [-Wunused-parameter] 321 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_copy’: ./include/xsm/xsm.h:327:19: warning: unused parameter ‘def’ [-Wunused-parameter] 327 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_query_size’: ./include/xsm/xsm.h:333:19: warning: unused parameter ‘def’ [-Wunused-parameter] 333 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_init_hardware_domain’: ./include/xsm/xsm.h:366:58: warning: unused parameter ‘def’ [-Wunused-parameter] 366 | static inline int xsm_init_hardware_domain(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_get_pod_target’: ./include/xsm/xsm.h:371:52: warning: unused parameter ‘def’ [-Wunused-parameter] 371 | static inline int xsm_get_pod_target(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_set_pod_target’: ./include/xsm/xsm.h:376:52: warning: unused parameter ‘def’ [-Wunused-parameter] 376 | static inline int xsm_set_pod_target(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_exchange’: ./include/xsm/xsm.h:381:53: warning: unused parameter ‘def’ [-Wunused-parameter] 381 | static inline int xsm_memory_exchange(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_adjust_reservation’: ./include/xsm/xsm.h:387:19: warning: unused parameter ‘def’ [-Wunused-parameter] 387 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_stat_reservation’: ./include/xsm/xsm.h:393:19: warning: unused parameter ‘def’ [-Wunused-parameter] 393 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_pin_page’: ./include/xsm/xsm.h:399:19: warning: unused parameter ‘def’ [-Wunused-parameter] 399 | xsm_default_t def, struct domain *d1, struct domain *d2, | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_add_to_physmap’: ./include/xsm/xsm.h:406:19: warning: unused parameter ‘def’ [-Wunused-parameter] 406 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_remove_from_physmap’: ./include/xsm/xsm.h:412:19: warning: unused parameter ‘def’ [-Wunused-parameter] 412 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_map_gmfn_foreign’: ./include/xsm/xsm.h:418:19: warning: unused parameter ‘def’ [-Wunused-parameter] 418 | xsm_default_t def, struct domain *d, struct domain *t) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_claim_pages’: ./include/xsm/xsm.h:423:49: warning: unused parameter ‘def’ [-Wunused-parameter] 423 | static inline int xsm_claim_pages(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_console_io’: ./include/xsm/xsm.h:428:48: warning: unused parameter ‘def’ [-Wunused-parameter] 428 | static inline int xsm_console_io(xsm_default_t def, struct domain *d, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_profile’: ./include/xsm/xsm.h:433:45: warning: unused parameter ‘def’ [-Wunused-parameter] 433 | static inline int xsm_profile(xsm_default_t def, struct domain *d, int op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_kexec’: ./include/xsm/xsm.h:438:43: warning: unused parameter ‘def’ [-Wunused-parameter] 438 | static inline int xsm_kexec(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_schedop_shutdown’: ./include/xsm/xsm.h:444:19: warning: unused parameter ‘def’ [-Wunused-parameter] 444 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_map_domain_pirq’: ./include/xsm/xsm.h:454:53: warning: unused parameter ‘def’ [-Wunused-parameter] 454 | static inline int xsm_map_domain_pirq(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_map_domain_irq’: ./include/xsm/xsm.h:460:19: warning: unused parameter ‘def’ [-Wunused-parameter] 460 | xsm_default_t def, struct domain *d, int irq, void *data) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_unmap_domain_pirq’: ./include/xsm/xsm.h:465:55: warning: unused parameter ‘def’ [-Wunused-parameter] 465 | static inline int xsm_unmap_domain_pirq(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_unmap_domain_irq’: ./include/xsm/xsm.h:471:19: warning: unused parameter ‘def’ [-Wunused-parameter] 471 | xsm_default_t def, struct domain *d, int irq, void *data) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_bind_pt_irq’: ./include/xsm/xsm.h:477:19: warning: unused parameter ‘def’ [-Wunused-parameter] 477 | xsm_default_t def, struct domain *d, struct xen_domctl_bind_pt_irq *bind) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_unbind_pt_irq’: ./include/xsm/xsm.h:483:19: warning: unused parameter ‘def’ [-Wunused-parameter] 483 | xsm_default_t def, struct domain *d, struct xen_domctl_bind_pt_irq *bind) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_irq_permission’: ./include/xsm/xsm.h:489:19: warning: unused parameter ‘def’ [-Wunused-parameter] 489 | xsm_default_t def, struct domain *d, int pirq, uint8_t allow) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_iomem_permission’: ./include/xsm/xsm.h:495:19: warning: unused parameter ‘def’ [-Wunused-parameter] 495 | xsm_default_t def, struct domain *d, uint64_t s, uint64_t e, uint8_t allow) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_iomem_mapping’: ./include/xsm/xsm.h:501:19: warning: unused parameter ‘def’ [-Wunused-parameter] 501 | xsm_default_t def, struct domain *d, uint64_t s, uint64_t e, uint8_t allow) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_pci_config_permission’: ./include/xsm/xsm.h:507:19: warning: unused parameter ‘def’ [-Wunused-parameter] 507 | xsm_default_t def, struct domain *d, uint32_t machine_bdf, uint16_t start, | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_assign_dtdevice’: ./include/xsm/xsm.h:534:19: warning: unused parameter ‘def’ [-Wunused-parameter] 534 | xsm_default_t def, struct domain *d, const char *dtpath) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_deassign_dtdevice’: ./include/xsm/xsm.h:540:19: warning: unused parameter ‘def’ [-Wunused-parameter] 540 | xsm_default_t def, struct domain *d, const char *dtpath) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_plug_pci’: ./include/xsm/xsm.h:547:55: warning: unused parameter ‘def’ [-Wunused-parameter] 547 | static inline int xsm_resource_plug_pci(xsm_default_t def, uint32_t machine_bdf) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_unplug_pci’: ./include/xsm/xsm.h:553:19: warning: unused parameter ‘def’ [-Wunused-parameter] 553 | xsm_default_t def, uint32_t machine_bdf) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_plug_core’: ./include/xsm/xsm.h:558:56: warning: unused parameter ‘def’ [-Wunused-parameter] 558 | static inline int xsm_resource_plug_core(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_unplug_core’: ./include/xsm/xsm.h:563:58: warning: unused parameter ‘def’ [-Wunused-parameter] 563 | static inline int xsm_resource_unplug_core(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_setup_pci’: ./include/xsm/xsm.h:569:19: warning: unused parameter ‘def’ [-Wunused-parameter] 569 | xsm_default_t def, uint32_t machine_bdf) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_setup_gsi’: ./include/xsm/xsm.h:574:56: warning: unused parameter ‘def’ [-Wunused-parameter] 574 | static inline int xsm_resource_setup_gsi(xsm_default_t def, int gsi) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_setup_misc’: ./include/xsm/xsm.h:579:57: warning: unused parameter ‘def’ [-Wunused-parameter] 579 | static inline int xsm_resource_setup_misc(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_page_offline’: ./include/xsm/xsm.h:584:50: warning: unused parameter ‘def’ [-Wunused-parameter] 584 | static inline int xsm_page_offline(xsm_default_t def, uint32_t cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hypfs_op’: ./include/xsm/xsm.h:589:46: warning: unused parameter ‘def’ [-Wunused-parameter] 589 | static inline int xsm_hypfs_op(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hvm_param’: ./include/xsm/xsm.h:607:19: warning: unused parameter ‘def’ [-Wunused-parameter] 607 | xsm_default_t def, struct domain *d, unsigned long op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hvm_param_altp2mhvm’: ./include/xsm/xsm.h:612:57: warning: unused parameter ‘def’ [-Wunused-parameter] 612 | static inline int xsm_hvm_param_altp2mhvm(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hvm_altp2mhvm_op’: ./include/xsm/xsm.h:618:19: warning: unused parameter ‘def’ [-Wunused-parameter] 618 | xsm_default_t def, struct domain *d, uint64_t mode, uint32_t op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_get_vnumainfo’: ./include/xsm/xsm.h:623:51: warning: unused parameter ‘def’ [-Wunused-parameter] 623 | static inline int xsm_get_vnumainfo(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_vm_event_control’: ./include/xsm/xsm.h:629:19: warning: unused parameter ‘def’ [-Wunused-parameter] 629 | xsm_default_t def, struct domain *d, int mode, int op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_mem_access’: ./include/xsm/xsm.h:635:48: warning: unused parameter ‘def’ [-Wunused-parameter] 635 | static inline int xsm_mem_access(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_platform_op’: ./include/xsm/xsm.h:655:49: warning: unused parameter ‘def’ [-Wunused-parameter] 655 | static inline int xsm_platform_op(xsm_default_t def, uint32_t op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_dm_op’: ./include/xsm/xsm.h:738:43: warning: unused parameter ‘def’ [-Wunused-parameter] 738 | static inline int xsm_dm_op(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_xen_version’: ./include/xsm/xsm.h:743:49: warning: unused parameter ‘def’ [-Wunused-parameter] 743 | static inline int xsm_xen_version(xsm_default_t def, uint32_t op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_domain_resource_map’: ./include/xsm/xsm.h:748:57: warning: unused parameter ‘def’ [-Wunused-parameter] 748 | static inline int xsm_domain_resource_map(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ In file included from common/memory.c:23: ./include/xen/param.h: In function ‘no_config_param’: ./include/xen/param.h:193:19: warning: operand of ‘?:’ changes signedness from ‘long int’ to ‘size_t’ {aka ‘long unsigned int’} due to unsignedness of other operand [-Wsign-compare] 193 | int len = e ? ({ ASSERT(e >= s); e - s; }) : strlen(s); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ LD arch/arm/tee/built_in.o CC arch/arm/alternative.o In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/mm.h:69, from arch/arm/alternative.c:12: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/perfc.h:7, from ./include/xen/mm.h:70: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ arch/arm/alternative.c: In function ‘patch_alternative’: arch/arm/alternative.c:94:20: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] 94 | for ( i = 0; i < nr_inst; i++ ) | ^ CC arch/arm/bootfdt.o In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/current.h:8, from ./include/asm-generic/percpu.h:8, from ./arch/arm/include/generated/asm/percpu.h:1, from ./include/xen/percpu.h:30, from ./include/xen/rwlock.h:4, from ./include/xen/device_tree.h:22, from arch/arm/bootfdt.c:12: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/rwlock.h:6: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43, from ./include/xen/rwlock.h:7: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./include/xen/domain.h:5, from ./include/xen/sched.h:11, from ./include/xsm/xsm.h:19, from arch/arm/bootfdt.c:16: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233, from ./arch/arm/include/asm/p2m.h:4, from ./arch/arm/include/asm/domain.h:7, from ./include/xen/domain.h:15: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘arch_vcpu_block’: ./arch/arm/include/asm/domain.h:297:49: warning: unused parameter ‘v’ [-Wunused-parameter] 297 | static inline void arch_vcpu_block(struct vcpu *v) {} | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘update_guest_memory_policy’: ./arch/arm/include/asm/domain.h:309:60: warning: unused parameter ‘v’ [-Wunused-parameter] 309 | static inline void update_guest_memory_policy(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h:310:75: warning: unused parameter ‘gmp’ [-Wunused-parameter] 310 | struct guest_memory_policy *gmp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from ./include/xen/sched.h:25: ./include/xen/vpci.h: In function ‘vpci_assign_device’: ./include/xen/vpci.h:278:54: warning: unused parameter ‘pdev’ [-Wunused-parameter] 278 | static inline int vpci_assign_device(struct pci_dev *pdev) | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_deassign_device’: ./include/xen/vpci.h:283:57: warning: unused parameter ‘pdev’ [-Wunused-parameter] 283 | static inline void vpci_deassign_device(struct pci_dev *pdev) { } | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_read’: ./include/xen/vpci.h:287:45: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:287:64: warning: unused parameter ‘reg’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:288:47: warning: unused parameter ‘size’ [-Wunused-parameter] 288 | unsigned int size) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_write’: ./include/xen/vpci.h:294:42: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:294:61: warning: unused parameter ‘reg’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:295:44: warning: unused parameter ‘size’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h:295:59: warning: unused parameter ‘data’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_process_pending’: ./include/xen/vpci.h:300:67: warning: unused parameter ‘v’ [-Wunused-parameter] 300 | static inline bool __must_check vpci_process_pending(struct vcpu *v) | ~~~~~~~~~~~~~^ ./include/xen/sched.h: In function ‘is_pv_32bit_domain’: ./include/xen/sched.h:1131:67: warning: unused parameter ‘d’ [-Wunused-parameter] 1131 | static always_inline bool is_pv_32bit_domain(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ ./include/xsm/xsm.h: In function ‘xsm_domain_create’: ./include/xsm/xsm.h:224:19: warning: unused parameter ‘def’ [-Wunused-parameter] 224 | xsm_default_t def, struct domain *d, uint32_t ssidref) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_getdomaininfo’: ./include/xsm/xsm.h:229:51: warning: unused parameter ‘def’ [-Wunused-parameter] 229 | static inline int xsm_getdomaininfo(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_domctl_scheduler_op’: ./include/xsm/xsm.h:235:19: warning: unused parameter ‘def’ [-Wunused-parameter] 235 | xsm_default_t def, struct domain *d, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_sysctl_scheduler_op’: ./include/xsm/xsm.h:240:57: warning: unused parameter ‘def’ [-Wunused-parameter] 240 | static inline int xsm_sysctl_scheduler_op(xsm_default_t def, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_set_target’: ./include/xsm/xsm.h:246:19: warning: unused parameter ‘def’ [-Wunused-parameter] 246 | xsm_default_t def, struct domain *d, struct domain *e) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_domctl’: ./include/xsm/xsm.h:251:44: warning: unused parameter ‘def’ [-Wunused-parameter] 251 | static inline int xsm_domctl(xsm_default_t def, struct domain *d, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_sysctl’: ./include/xsm/xsm.h:256:44: warning: unused parameter ‘def’ [-Wunused-parameter] 256 | static inline int xsm_sysctl(xsm_default_t def, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_readconsole’: ./include/xsm/xsm.h:261:49: warning: unused parameter ‘def’ [-Wunused-parameter] 261 | static inline int xsm_readconsole(xsm_default_t def, uint32_t clear) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_unbound’: ./include/xsm/xsm.h:267:19: warning: unused parameter ‘def’ [-Wunused-parameter] 267 | xsm_default_t def, struct domain *d1, struct evtchn *chn, domid_t id2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_interdomain’: ./include/xsm/xsm.h:273:19: warning: unused parameter ‘def’ [-Wunused-parameter] 273 | xsm_default_t def, struct domain *d1, struct evtchn *chan1, | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_send’: ./include/xsm/xsm.h:285:19: warning: unused parameter ‘def’ [-Wunused-parameter] 285 | xsm_default_t def, struct domain *d, struct evtchn *chn) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_status’: ./include/xsm/xsm.h:291:19: warning: unused parameter ‘def’ [-Wunused-parameter] 291 | xsm_default_t def, struct domain *d, struct evtchn *chn) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_reset’: ./include/xsm/xsm.h:297:19: warning: unused parameter ‘def’ [-Wunused-parameter] 297 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_mapref’: ./include/xsm/xsm.h:303:19: warning: unused parameter ‘def’ [-Wunused-parameter] 303 | xsm_default_t def, struct domain *d1, struct domain *d2, uint32_t flags) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_unmapref’: ./include/xsm/xsm.h:309:19: warning: unused parameter ‘def’ [-Wunused-parameter] 309 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_setup’: ./include/xsm/xsm.h:315:19: warning: unused parameter ‘def’ [-Wunused-parameter] 315 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_transfer’: ./include/xsm/xsm.h:321:19: warning: unused parameter ‘def’ [-Wunused-parameter] 321 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_copy’: ./include/xsm/xsm.h:327:19: warning: unused parameter ‘def’ [-Wunused-parameter] 327 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_query_size’: ./include/xsm/xsm.h:333:19: warning: unused parameter ‘def’ [-Wunused-parameter] 333 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ CC common/multicall.o ./include/xsm/xsm.h: In function ‘xsm_init_hardware_domain’: ./include/xsm/xsm.h:366:58: warning: unused parameter ‘def’ [-Wunused-parameter] 366 | static inline int xsm_init_hardware_domain(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_get_pod_target’: ./include/xsm/xsm.h:371:52: warning: unused parameter ‘def’ [-Wunused-parameter] 371 | static inline int xsm_get_pod_target(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_set_pod_target’: ./include/xsm/xsm.h:376:52: warning: unused parameter ‘def’ [-Wunused-parameter] 376 | static inline int xsm_set_pod_target(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_exchange’: ./include/xsm/xsm.h:381:53: warning: unused parameter ‘def’ [-Wunused-parameter] 381 | static inline int xsm_memory_exchange(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_adjust_reservation’: ./include/xsm/xsm.h:387:19: warning: unused parameter ‘def’ [-Wunused-parameter] 387 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_stat_reservation’: ./include/xsm/xsm.h:393:19: warning: unused parameter ‘def’ [-Wunused-parameter] 393 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_pin_page’: ./include/xsm/xsm.h:399:19: warning: unused parameter ‘def’ [-Wunused-parameter] 399 | xsm_default_t def, struct domain *d1, struct domain *d2, | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_add_to_physmap’: ./include/xsm/xsm.h:406:19: warning: unused parameter ‘def’ [-Wunused-parameter] 406 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_remove_from_physmap’: ./include/xsm/xsm.h:412:19: warning: unused parameter ‘def’ [-Wunused-parameter] 412 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_map_gmfn_foreign’: ./include/xsm/xsm.h:418:19: warning: unused parameter ‘def’ [-Wunused-parameter] 418 | xsm_default_t def, struct domain *d, struct domain *t) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_claim_pages’: ./include/xsm/xsm.h:423:49: warning: unused parameter ‘def’ [-Wunused-parameter] 423 | static inline int xsm_claim_pages(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_console_io’: ./include/xsm/xsm.h:428:48: warning: unused parameter ‘def’ [-Wunused-parameter] 428 | static inline int xsm_console_io(xsm_default_t def, struct domain *d, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_profile’: ./include/xsm/xsm.h:433:45: warning: unused parameter ‘def’ [-Wunused-parameter] 433 | static inline int xsm_profile(xsm_default_t def, struct domain *d, int op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_kexec’: ./include/xsm/xsm.h:438:43: warning: unused parameter ‘def’ [-Wunused-parameter] 438 | static inline int xsm_kexec(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_schedop_shutdown’: ./include/xsm/xsm.h:444:19: warning: unused parameter ‘def’ [-Wunused-parameter] 444 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_map_domain_pirq’: ./include/xsm/xsm.h:454:53: warning: unused parameter ‘def’ [-Wunused-parameter] 454 | static inline int xsm_map_domain_pirq(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_map_domain_irq’: ./include/xsm/xsm.h:460:19: warning: unused parameter ‘def’ [-Wunused-parameter] 460 | xsm_default_t def, struct domain *d, int irq, void *data) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_unmap_domain_pirq’: ./include/xsm/xsm.h:465:55: warning: unused parameter ‘def’ [-Wunused-parameter] 465 | static inline int xsm_unmap_domain_pirq(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_unmap_domain_irq’: ./include/xsm/xsm.h:471:19: warning: unused parameter ‘def’ [-Wunused-parameter] 471 | xsm_default_t def, struct domain *d, int irq, void *data) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_bind_pt_irq’: ./include/xsm/xsm.h:477:19: warning: unused parameter ‘def’ [-Wunused-parameter] 477 | xsm_default_t def, struct domain *d, struct xen_domctl_bind_pt_irq *bind) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_unbind_pt_irq’: ./include/xsm/xsm.h:483:19: warning: unused parameter ‘def’ [-Wunused-parameter] 483 | xsm_default_t def, struct domain *d, struct xen_domctl_bind_pt_irq *bind) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_irq_permission’: ./include/xsm/xsm.h:489:19: warning: unused parameter ‘def’ [-Wunused-parameter] 489 | xsm_default_t def, struct domain *d, int pirq, uint8_t allow) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_iomem_permission’: ./include/xsm/xsm.h:495:19: warning: unused parameter ‘def’ [-Wunused-parameter] 495 | xsm_default_t def, struct domain *d, uint64_t s, uint64_t e, uint8_t allow) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_iomem_mapping’: ./include/xsm/xsm.h:501:19: warning: unused parameter ‘def’ [-Wunused-parameter] 501 | xsm_default_t def, struct domain *d, uint64_t s, uint64_t e, uint8_t allow) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_pci_config_permission’: ./include/xsm/xsm.h:507:19: warning: unused parameter ‘def’ [-Wunused-parameter] 507 | xsm_default_t def, struct domain *d, uint32_t machine_bdf, uint16_t start, | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_assign_dtdevice’: ./include/xsm/xsm.h:534:19: warning: unused parameter ‘def’ [-Wunused-parameter] 534 | xsm_default_t def, struct domain *d, const char *dtpath) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_deassign_dtdevice’: ./include/xsm/xsm.h:540:19: warning: unused parameter ‘def’ [-Wunused-parameter] 540 | xsm_default_t def, struct domain *d, const char *dtpath) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_plug_pci’: ./include/xsm/xsm.h:547:55: warning: unused parameter ‘def’ [-Wunused-parameter] 547 | static inline int xsm_resource_plug_pci(xsm_default_t def, uint32_t machine_bdf) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_unplug_pci’: ./include/xsm/xsm.h:553:19: warning: unused parameter ‘def’ [-Wunused-parameter] 553 | xsm_default_t def, uint32_t machine_bdf) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_plug_core’: ./include/xsm/xsm.h:558:56: warning: unused parameter ‘def’ [-Wunused-parameter] 558 | static inline int xsm_resource_plug_core(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_unplug_core’: ./include/xsm/xsm.h:563:58: warning: unused parameter ‘def’ [-Wunused-parameter] 563 | static inline int xsm_resource_unplug_core(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_setup_pci’: ./include/xsm/xsm.h:569:19: warning: unused parameter ‘def’ [-Wunused-parameter] 569 | xsm_default_t def, uint32_t machine_bdf) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_setup_gsi’: ./include/xsm/xsm.h:574:56: warning: unused parameter ‘def’ [-Wunused-parameter] 574 | static inline int xsm_resource_setup_gsi(xsm_default_t def, int gsi) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_setup_misc’: ./include/xsm/xsm.h:579:57: warning: unused parameter ‘def’ [-Wunused-parameter] 579 | static inline int xsm_resource_setup_misc(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_page_offline’: ./include/xsm/xsm.h:584:50: warning: unused parameter ‘def’ [-Wunused-parameter] 584 | static inline int xsm_page_offline(xsm_default_t def, uint32_t cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hypfs_op’: ./include/xsm/xsm.h:589:46: warning: unused parameter ‘def’ [-Wunused-parameter] 589 | static inline int xsm_hypfs_op(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hvm_param’: ./include/xsm/xsm.h:607:19: warning: unused parameter ‘def’ [-Wunused-parameter] 607 | xsm_default_t def, struct domain *d, unsigned long op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hvm_param_altp2mhvm’: ./include/xsm/xsm.h:612:57: warning: unused parameter ‘def’ [-Wunused-parameter] 612 | static inline int xsm_hvm_param_altp2mhvm(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hvm_altp2mhvm_op’: ./include/xsm/xsm.h:618:19: warning: unused parameter ‘def’ [-Wunused-parameter] 618 | xsm_default_t def, struct domain *d, uint64_t mode, uint32_t op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_get_vnumainfo’: ./include/xsm/xsm.h:623:51: warning: unused parameter ‘def’ [-Wunused-parameter] 623 | static inline int xsm_get_vnumainfo(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_vm_event_control’: ./include/xsm/xsm.h:629:19: warning: unused parameter ‘def’ [-Wunused-parameter] 629 | xsm_default_t def, struct domain *d, int mode, int op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_mem_access’: ./include/xsm/xsm.h:635:48: warning: unused parameter ‘def’ [-Wunused-parameter] 635 | static inline int xsm_mem_access(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_platform_op’: ./include/xsm/xsm.h:655:49: warning: unused parameter ‘def’ [-Wunused-parameter] 655 | static inline int xsm_platform_op(xsm_default_t def, uint32_t op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_dm_op’: ./include/xsm/xsm.h:738:43: warning: unused parameter ‘def’ [-Wunused-parameter] 738 | static inline int xsm_dm_op(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_xen_version’: ./include/xsm/xsm.h:743:49: warning: unused parameter ‘def’ [-Wunused-parameter] 743 | static inline int xsm_xen_version(xsm_default_t def, uint32_t op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_domain_resource_map’: ./include/xsm/xsm.h:748:57: warning: unused parameter ‘def’ [-Wunused-parameter] 748 | static inline int xsm_domain_resource_map(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ arch/arm/bootfdt.c: In function ‘process_memory_node’: arch/arm/bootfdt.c:244:51: warning: unused parameter ‘name’ [-Wunused-parameter] 244 | const char *name, int depth, | ~~~~~~~~~~~~^~~~ arch/arm/bootfdt.c:244:61: warning: unused parameter ‘depth’ [-Wunused-parameter] 244 | const char *name, int depth, | ~~~~^~~~~ arch/arm/bootfdt.c: In function ‘process_reserved_memory’: arch/arm/bootfdt.c:269:55: warning: unused parameter ‘name’ [-Wunused-parameter] 269 | const char *name, int depth, | ~~~~~~~~~~~~^~~~ arch/arm/bootfdt.c:269:65: warning: unused parameter ‘depth’ [-Wunused-parameter] 269 | const char *name, int depth, | ~~~~^~~~~ arch/arm/bootfdt.c:270:47: warning: unused parameter ‘address_cells’ [-Wunused-parameter] 270 | u32 address_cells, u32 size_cells) | ~~~~^~~~~~~~~~~~~ arch/arm/bootfdt.c:270:66: warning: unused parameter ‘size_cells’ [-Wunused-parameter] 270 | u32 address_cells, u32 size_cells) | ~~~~^~~~~~~~~~ arch/arm/bootfdt.c: In function ‘process_chosen_node’: arch/arm/bootfdt.c:358:51: warning: unused parameter ‘name’ [-Wunused-parameter] 358 | const char *name, | ~~~~~~~~~~~~^~~~ arch/arm/bootfdt.c: In function ‘process_domain_node’: arch/arm/bootfdt.c:422:51: warning: unused parameter ‘name’ [-Wunused-parameter] 422 | const char *name, | ~~~~~~~~~~~~^~~~ arch/arm/bootfdt.c: In function ‘early_scan_node’: arch/arm/bootfdt.c:442:41: warning: unused parameter ‘data’ [-Wunused-parameter] 442 | void *data) | ~~~~~~^~~~ arch/arm/bootfdt.c: In function ‘early_print_info’: arch/arm/bootfdt.c:485:21: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] 485 | for ( i = 0 ; i < mods->nr_mods; i++ ) | ^ arch/arm/bootfdt.c: In function ‘swap_memory_node’: arch/arm/bootfdt.c:522:64: warning: unused parameter ‘size’ [-Wunused-parameter] 522 | static void __init swap_memory_node(void *_a, void *_b, size_t size) | ~~~~~~~^~~~ arch/arm/bootfdt.c: In function ‘boot_fdt_info’: arch/arm/bootfdt.c:553:20: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] 553 | for ( i = 0; i < nr_rsvd; i++ ) | ^ In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/mm.h:69, from common/multicall.c:7: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/perfc.h:7, from ./include/xen/mm.h:70: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from ./include/xen/domain.h:5, from ./include/xen/sched.h:11, from common/multicall.c:8: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5, from ./arch/arm/include/asm/domain.h:7, from ./include/xen/domain.h:15: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘arch_vcpu_block’: ./arch/arm/include/asm/domain.h:297:49: warning: unused parameter ‘v’ [-Wunused-parameter] 297 | static inline void arch_vcpu_block(struct vcpu *v) {} | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘update_guest_memory_policy’: ./arch/arm/include/asm/domain.h:309:60: warning: unused parameter ‘v’ [-Wunused-parameter] 309 | static inline void update_guest_memory_policy(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h:310:75: warning: unused parameter ‘gmp’ [-Wunused-parameter] 310 | struct guest_memory_policy *gmp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from ./include/xen/sched.h:25: ./include/xen/vpci.h: In function ‘vpci_assign_device’: ./include/xen/vpci.h:278:54: warning: unused parameter ‘pdev’ [-Wunused-parameter] 278 | static inline int vpci_assign_device(struct pci_dev *pdev) | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_deassign_device’: ./include/xen/vpci.h:283:57: warning: unused parameter ‘pdev’ [-Wunused-parameter] 283 | static inline void vpci_deassign_device(struct pci_dev *pdev) { } | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_read’: ./include/xen/vpci.h:287:45: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:287:64: warning: unused parameter ‘reg’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:288:47: warning: unused parameter ‘size’ [-Wunused-parameter] 288 | unsigned int size) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_write’: ./include/xen/vpci.h:294:42: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:294:61: warning: unused parameter ‘reg’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:295:44: warning: unused parameter ‘size’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h:295:59: warning: unused parameter ‘data’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_process_pending’: ./include/xen/vpci.h:300:67: warning: unused parameter ‘v’ [-Wunused-parameter] 300 | static inline bool __must_check vpci_process_pending(struct vcpu *v) | ~~~~~~~~~~~~~^ ./include/xen/sched.h: In function ‘is_pv_32bit_domain’: ./include/xen/sched.h:1131:67: warning: unused parameter ‘d’ [-Wunused-parameter] 1131 | static always_inline bool is_pv_32bit_domain(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ In file included from ./include/xen/event.h:17, from common/multicall.c:9: ./arch/arm/include/asm/event.h: In function ‘arch_virq_is_global’: ./arch/arm/include/asm/event.h:50:53: warning: unused parameter ‘virq’ [-Wunused-parameter] 50 | static inline bool arch_virq_is_global(unsigned int virq) | ~~~~~~~~~~~~~^~~~ In file included from ./include/xen/hypercall.h:22, from common/multicall.c:12: ./include/xsm/xsm.h: In function ‘xsm_domain_create’: ./include/xsm/xsm.h:224:19: warning: unused parameter ‘def’ [-Wunused-parameter] 224 | xsm_default_t def, struct domain *d, uint32_t ssidref) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_getdomaininfo’: ./include/xsm/xsm.h:229:51: warning: unused parameter ‘def’ [-Wunused-parameter] 229 | static inline int xsm_getdomaininfo(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_domctl_scheduler_op’: ./include/xsm/xsm.h:235:19: warning: unused parameter ‘def’ [-Wunused-parameter] 235 | xsm_default_t def, struct domain *d, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_sysctl_scheduler_op’: ./include/xsm/xsm.h:240:57: warning: unused parameter ‘def’ [-Wunused-parameter] 240 | static inline int xsm_sysctl_scheduler_op(xsm_default_t def, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_set_target’: ./include/xsm/xsm.h:246:19: warning: unused parameter ‘def’ [-Wunused-parameter] 246 | xsm_default_t def, struct domain *d, struct domain *e) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_domctl’: ./include/xsm/xsm.h:251:44: warning: unused parameter ‘def’ [-Wunused-parameter] 251 | static inline int xsm_domctl(xsm_default_t def, struct domain *d, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_sysctl’: ./include/xsm/xsm.h:256:44: warning: unused parameter ‘def’ [-Wunused-parameter] 256 | static inline int xsm_sysctl(xsm_default_t def, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_readconsole’: ./include/xsm/xsm.h:261:49: warning: unused parameter ‘def’ [-Wunused-parameter] 261 | static inline int xsm_readconsole(xsm_default_t def, uint32_t clear) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_unbound’: ./include/xsm/xsm.h:267:19: warning: unused parameter ‘def’ [-Wunused-parameter] 267 | xsm_default_t def, struct domain *d1, struct evtchn *chn, domid_t id2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_interdomain’: ./include/xsm/xsm.h:273:19: warning: unused parameter ‘def’ [-Wunused-parameter] 273 | xsm_default_t def, struct domain *d1, struct evtchn *chan1, | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_send’: ./include/xsm/xsm.h:285:19: warning: unused parameter ‘def’ [-Wunused-parameter] 285 | xsm_default_t def, struct domain *d, struct evtchn *chn) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_status’: ./include/xsm/xsm.h:291:19: warning: unused parameter ‘def’ [-Wunused-parameter] 291 | xsm_default_t def, struct domain *d, struct evtchn *chn) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_reset’: ./include/xsm/xsm.h:297:19: warning: unused parameter ‘def’ [-Wunused-parameter] 297 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_mapref’: ./include/xsm/xsm.h:303:19: warning: unused parameter ‘def’ [-Wunused-parameter] 303 | xsm_default_t def, struct domain *d1, struct domain *d2, uint32_t flags) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_unmapref’: ./include/xsm/xsm.h:309:19: warning: unused parameter ‘def’ [-Wunused-parameter] 309 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_setup’: ./include/xsm/xsm.h:315:19: warning: unused parameter ‘def’ [-Wunused-parameter] 315 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_transfer’: ./include/xsm/xsm.h:321:19: warning: unused parameter ‘def’ [-Wunused-parameter] 321 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_copy’: ./include/xsm/xsm.h:327:19: warning: unused parameter ‘def’ [-Wunused-parameter] 327 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_query_size’: ./include/xsm/xsm.h:333:19: warning: unused parameter ‘def’ [-Wunused-parameter] 333 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_init_hardware_domain’: ./include/xsm/xsm.h:366:58: warning: unused parameter ‘def’ [-Wunused-parameter] 366 | static inline int xsm_init_hardware_domain(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_get_pod_target’: ./include/xsm/xsm.h:371:52: warning: unused parameter ‘def’ [-Wunused-parameter] 371 | static inline int xsm_get_pod_target(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_set_pod_target’: ./include/xsm/xsm.h:376:52: warning: unused parameter ‘def’ [-Wunused-parameter] 376 | static inline int xsm_set_pod_target(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_exchange’: ./include/xsm/xsm.h:381:53: warning: unused parameter ‘def’ [-Wunused-parameter] 381 | static inline int xsm_memory_exchange(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_adjust_reservation’: ./include/xsm/xsm.h:387:19: warning: unused parameter ‘def’ [-Wunused-parameter] 387 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_stat_reservation’: ./include/xsm/xsm.h:393:19: warning: unused parameter ‘def’ [-Wunused-parameter] 393 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_pin_page’: ./include/xsm/xsm.h:399:19: warning: unused parameter ‘def’ [-Wunused-parameter] 399 | xsm_default_t def, struct domain *d1, struct domain *d2, | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_add_to_physmap’: ./include/xsm/xsm.h:406:19: warning: unused parameter ‘def’ [-Wunused-parameter] 406 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_remove_from_physmap’: ./include/xsm/xsm.h:412:19: warning: unused parameter ‘def’ [-Wunused-parameter] 412 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_map_gmfn_foreign’: ./include/xsm/xsm.h:418:19: warning: unused parameter ‘def’ [-Wunused-parameter] 418 | xsm_default_t def, struct domain *d, struct domain *t) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_claim_pages’: ./include/xsm/xsm.h:423:49: warning: unused parameter ‘def’ [-Wunused-parameter] 423 | static inline int xsm_claim_pages(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_console_io’: ./include/xsm/xsm.h:428:48: warning: unused parameter ‘def’ [-Wunused-parameter] 428 | static inline int xsm_console_io(xsm_default_t def, struct domain *d, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_profile’: ./include/xsm/xsm.h:433:45: warning: unused parameter ‘def’ [-Wunused-parameter] 433 | static inline int xsm_profile(xsm_default_t def, struct domain *d, int op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_kexec’: ./include/xsm/xsm.h:438:43: warning: unused parameter ‘def’ [-Wunused-parameter] 438 | static inline int xsm_kexec(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_schedop_shutdown’: ./include/xsm/xsm.h:444:19: warning: unused parameter ‘def’ [-Wunused-parameter] 444 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_map_domain_pirq’: ./include/xsm/xsm.h:454:53: warning: unused parameter ‘def’ [-Wunused-parameter] 454 | static inline int xsm_map_domain_pirq(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_map_domain_irq’: ./include/xsm/xsm.h:460:19: warning: unused parameter ‘def’ [-Wunused-parameter] 460 | xsm_default_t def, struct domain *d, int irq, void *data) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_unmap_domain_pirq’: ./include/xsm/xsm.h:465:55: warning: unused parameter ‘def’ [-Wunused-parameter] 465 | static inline int xsm_unmap_domain_pirq(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_unmap_domain_irq’: ./include/xsm/xsm.h:471:19: warning: unused parameter ‘def’ [-Wunused-parameter] 471 | xsm_default_t def, struct domain *d, int irq, void *data) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_bind_pt_irq’: ./include/xsm/xsm.h:477:19: warning: unused parameter ‘def’ [-Wunused-parameter] 477 | xsm_default_t def, struct domain *d, struct xen_domctl_bind_pt_irq *bind) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_unbind_pt_irq’: ./include/xsm/xsm.h:483:19: warning: unused parameter ‘def’ [-Wunused-parameter] 483 | xsm_default_t def, struct domain *d, struct xen_domctl_bind_pt_irq *bind) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_irq_permission’: ./include/xsm/xsm.h:489:19: warning: unused parameter ‘def’ [-Wunused-parameter] 489 | xsm_default_t def, struct domain *d, int pirq, uint8_t allow) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_iomem_permission’: ./include/xsm/xsm.h:495:19: warning: unused parameter ‘def’ [-Wunused-parameter] 495 | xsm_default_t def, struct domain *d, uint64_t s, uint64_t e, uint8_t allow) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_iomem_mapping’: ./include/xsm/xsm.h:501:19: warning: unused parameter ‘def’ [-Wunused-parameter] 501 | xsm_default_t def, struct domain *d, uint64_t s, uint64_t e, uint8_t allow) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_pci_config_permission’: ./include/xsm/xsm.h:507:19: warning: unused parameter ‘def’ [-Wunused-parameter] 507 | xsm_default_t def, struct domain *d, uint32_t machine_bdf, uint16_t start, | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_assign_dtdevice’: ./include/xsm/xsm.h:534:19: warning: unused parameter ‘def’ [-Wunused-parameter] 534 | xsm_default_t def, struct domain *d, const char *dtpath) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_deassign_dtdevice’: ./include/xsm/xsm.h:540:19: warning: unused parameter ‘def’ [-Wunused-parameter] 540 | xsm_default_t def, struct domain *d, const char *dtpath) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_plug_pci’: ./include/xsm/xsm.h:547:55: warning: unused parameter ‘def’ [-Wunused-parameter] 547 | static inline int xsm_resource_plug_pci(xsm_default_t def, uint32_t machine_bdf) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_unplug_pci’: ./include/xsm/xsm.h:553:19: warning: unused parameter ‘def’ [-Wunused-parameter] 553 | xsm_default_t def, uint32_t machine_bdf) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_plug_core’: ./include/xsm/xsm.h:558:56: warning: unused parameter ‘def’ [-Wunused-parameter] 558 | static inline int xsm_resource_plug_core(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_unplug_core’: ./include/xsm/xsm.h:563:58: warning: unused parameter ‘def’ [-Wunused-parameter] 563 | static inline int xsm_resource_unplug_core(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_setup_pci’: ./include/xsm/xsm.h:569:19: warning: unused parameter ‘def’ [-Wunused-parameter] 569 | xsm_default_t def, uint32_t machine_bdf) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_setup_gsi’: ./include/xsm/xsm.h:574:56: warning: unused parameter ‘def’ [-Wunused-parameter] 574 | static inline int xsm_resource_setup_gsi(xsm_default_t def, int gsi) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_setup_misc’: ./include/xsm/xsm.h:579:57: warning: unused parameter ‘def’ [-Wunused-parameter] 579 | static inline int xsm_resource_setup_misc(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_page_offline’: ./include/xsm/xsm.h:584:50: warning: unused parameter ‘def’ [-Wunused-parameter] 584 | static inline int xsm_page_offline(xsm_default_t def, uint32_t cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hypfs_op’: ./include/xsm/xsm.h:589:46: warning: unused parameter ‘def’ [-Wunused-parameter] 589 | static inline int xsm_hypfs_op(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hvm_param’: ./include/xsm/xsm.h:607:19: warning: unused parameter ‘def’ [-Wunused-parameter] 607 | xsm_default_t def, struct domain *d, unsigned long op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hvm_param_altp2mhvm’: ./include/xsm/xsm.h:612:57: warning: unused parameter ‘def’ [-Wunused-parameter] 612 | static inline int xsm_hvm_param_altp2mhvm(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hvm_altp2mhvm_op’: ./include/xsm/xsm.h:618:19: warning: unused parameter ‘def’ [-Wunused-parameter] 618 | xsm_default_t def, struct domain *d, uint64_t mode, uint32_t op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_get_vnumainfo’: ./include/xsm/xsm.h:623:51: warning: unused parameter ‘def’ [-Wunused-parameter] 623 | static inline int xsm_get_vnumainfo(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_vm_event_control’: ./include/xsm/xsm.h:629:19: warning: unused parameter ‘def’ [-Wunused-parameter] 629 | xsm_default_t def, struct domain *d, int mode, int op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_mem_access’: ./include/xsm/xsm.h:635:48: warning: unused parameter ‘def’ [-Wunused-parameter] 635 | static inline int xsm_mem_access(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_platform_op’: ./include/xsm/xsm.h:655:49: warning: unused parameter ‘def’ [-Wunused-parameter] 655 | static inline int xsm_platform_op(xsm_default_t def, uint32_t op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_dm_op’: ./include/xsm/xsm.h:738:43: warning: unused parameter ‘def’ [-Wunused-parameter] 738 | static inline int xsm_dm_op(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_xen_version’: ./include/xsm/xsm.h:743:49: warning: unused parameter ‘def’ [-Wunused-parameter] 743 | static inline int xsm_xen_version(xsm_default_t def, uint32_t op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_domain_resource_map’: ./include/xsm/xsm.h:748:57: warning: unused parameter ‘def’ [-Wunused-parameter] 748 | static inline int xsm_domain_resource_map(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ common/multicall.c: In function ‘do_multicall’: common/multicall.c:91:48: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 91 | /* nothing, best effort only */; | ^ CC arch/arm/cpuerrata.o In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/cpu.h:5, from arch/arm/cpuerrata.c:2: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ CC common/notifier.o In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ common/notifier.c: In function ‘notifier_chain_unregister’: common/notifier.c:47:27: warning: unused parameter ‘nh’ [-Wunused-parameter] 47 | struct notifier_head *nh, struct notifier_block *n) | ~~~~~~~~~~~~~~~~~~~~~~^~ In file included from arch/arm/cpuerrata.c:3: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233, from arch/arm/cpuerrata.c:5: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from arch/arm/cpuerrata.c:6: ./include/xen/param.h: In function ‘no_config_param’: ./include/xen/param.h:193:19: warning: operand of ‘?:’ changes signedness from ‘long int’ to ‘size_t’ {aka ‘long unsigned int’} due to unsignedness of other operand [-Wsign-compare] 193 | int len = e ? ({ ASSERT(e >= s); e - s; }) : strlen(s); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ arch/arm/cpuerrata.c: In function ‘install_bp_hardening_vec’: arch/arm/cpuerrata.c:122:15: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] 122 | if ( slot == -1 ) | ^~ arch/arm/cpuerrata.c: In function ‘arm_enable_wa2_handling’: arch/arm/cpuerrata.c:373:72: warning: unused parameter ‘alt’ [-Wunused-parameter] 373 | void asmlinkage __init arm_enable_wa2_handling(const struct alt_instr *alt, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ arch/arm/cpuerrata.c:374:64: warning: unused parameter ‘origptr’ [-Wunused-parameter] 374 | const uint32_t *origptr, | ~~~~~~~~~~~~~~~~^~~~~~~ arch/arm/cpuerrata.c: In function ‘cpu_errata_callback’: arch/arm/cpuerrata.c:711:55: warning: unused parameter ‘nfb’ [-Wunused-parameter] 711 | static int cpu_errata_callback(struct notifier_block *nfb, | ~~~~~~~~~~~~~~~~~~~~~~~^~~ arch/arm/cpuerrata.c:713:38: warning: unused parameter ‘hcpu’ [-Wunused-parameter] 713 | void *hcpu) | ~~~~~~^~~~ arch/arm/cpuerrata.c: At top level: arch/arm/cpuerrata.c:756:1: warning: ‘static’ is not at beginning of declaration [-Wold-style-declaration] 756 | __initcall(cpu_errata_notifier_init); | ^~~~~~~~~~ CC common/page_alloc.o In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/mm.h:69, from ./include/xen/domain_page.h:12, from common/page_alloc.c:123: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/perfc.h:7, from ./include/xen/mm.h:70: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ ./include/xen/domain_page.h: In function ‘unmap_domain_page_global’: ./include/xen/domain_page.h:71:57: warning: unused parameter ‘va’ [-Wunused-parameter] 71 | static inline void unmap_domain_page_global(const void *va) {}; | ~~~~~~~~~~~~^~ In file included from ./include/xen/domain.h:5, from ./include/xen/sched.h:11, from ./include/xen/event.h:12, from common/page_alloc.c:124: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5, from ./arch/arm/include/asm/domain.h:7, from ./include/xen/domain.h:15: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘arch_vcpu_block’: ./arch/arm/include/asm/domain.h:297:49: warning: unused parameter ‘v’ [-Wunused-parameter] 297 | static inline void arch_vcpu_block(struct vcpu *v) {} | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘update_guest_memory_policy’: ./arch/arm/include/asm/domain.h:309:60: warning: unused parameter ‘v’ [-Wunused-parameter] 309 | static inline void update_guest_memory_policy(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h:310:75: warning: unused parameter ‘gmp’ [-Wunused-parameter] 310 | struct guest_memory_policy *gmp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from ./include/xen/sched.h:25: ./include/xen/vpci.h: In function ‘vpci_assign_device’: ./include/xen/vpci.h:278:54: warning: unused parameter ‘pdev’ [-Wunused-parameter] 278 | static inline int vpci_assign_device(struct pci_dev *pdev) | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_deassign_device’: ./include/xen/vpci.h:283:57: warning: unused parameter ‘pdev’ [-Wunused-parameter] 283 | static inline void vpci_deassign_device(struct pci_dev *pdev) { } | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_read’: ./include/xen/vpci.h:287:45: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:287:64: warning: unused parameter ‘reg’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:288:47: warning: unused parameter ‘size’ [-Wunused-parameter] 288 | unsigned int size) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_write’: ./include/xen/vpci.h:294:42: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:294:61: warning: unused parameter ‘reg’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:295:44: warning: unused parameter ‘size’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h:295:59: warning: unused parameter ‘data’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_process_pending’: ./include/xen/vpci.h:300:67: warning: unused parameter ‘v’ [-Wunused-parameter] 300 | static inline bool __must_check vpci_process_pending(struct vcpu *v) | ~~~~~~~~~~~~~^ ./include/xen/sched.h: In function ‘is_pv_32bit_domain’: ./include/xen/sched.h:1131:67: warning: unused parameter ‘d’ [-Wunused-parameter] 1131 | static always_inline bool is_pv_32bit_domain(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ In file included from ./include/xen/event.h:17: ./arch/arm/include/asm/event.h: In function ‘arch_virq_is_global’: ./arch/arm/include/asm/event.h:50:53: warning: unused parameter ‘virq’ [-Wunused-parameter] 50 | static inline bool arch_virq_is_global(unsigned int virq) | ~~~~~~~~~~~~~^~~~ In file included from common/page_alloc.c:132: ./include/xen/param.h: In function ‘no_config_param’: ./include/xen/param.h:193:19: warning: operand of ‘?:’ changes signedness from ‘long int’ to ‘size_t’ {aka ‘long unsigned int’} due to unsignedness of other operand [-Wsign-compare] 193 | int len = e ? ({ ASSERT(e >= s); e - s; }) : strlen(s); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ common/page_alloc.c: In function ‘alloc_heap_pages’: common/page_alloc.c:967:40: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare] 967 | if ( (outstanding_claims + request > total_avail_pages) && | ^ common/page_alloc.c:1022:20: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] 1022 | for ( i = 0; i < (1 << order); i++ ) | ^ common/page_alloc.c: In function ‘reserve_offlined_page’: common/page_alloc.c:1126:27: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] 1126 | while ( cur_order < head_order ) | ^ common/page_alloc.c: In function ‘free_heap_pages’: common/page_alloc.c:1472:20: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] 1472 | for ( i = 0; i < (1 << order); i++ ) | ^ common/page_alloc.c: In function ‘avail_heap_pages’: common/page_alloc.c:1939:24: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] 1939 | if ( (node == -1) || (node == i) ) | ^~ common/page_alloc.c: In function ‘smp_scrub_heap_pages’: common/page_alloc.c:2014:54: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 2014 | if ( r->rem && (cpumask_weight(&r->cpus) - 1 == cpu_idx) ) | ^~ common/page_alloc.c: In function ‘find_non_smt’: common/page_alloc.c:2032:45: warning: unused parameter ‘node’ [-Wunused-parameter] 2032 | static int __init find_non_smt(unsigned int node, cpumask_t *dest) | ~~~~~~~~~~~~~^~~~ CC arch/arm/cpufeature.o common/page_alloc.c: In function ‘free_domheap_pages’: common/page_alloc.c:2507:24: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] 2507 | for ( i = 0; i < (1 << order); i++ ) | ^ common/page_alloc.c:2524:28: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] 2524 | for ( i = 0; i < (1 << order); i++ ) | ^ common/page_alloc.c: In function ‘pagealloc_info’: common/page_alloc.c:2603:51: warning: unused parameter ‘key’ [-Wunused-parameter] 2603 | static void cf_check pagealloc_info(unsigned char key) | ~~~~~~~~~~~~~~^~~ common/page_alloc.c: At top level: common/page_alloc.c:2635:1: warning: ‘static’ is not at beginning of declaration [-Wold-style-declaration] 2635 | __initcall(pagealloc_keyhandler_init); | ^~~~~~~~~~ common/page_alloc.c:2683:1: warning: ‘static’ is not at beginning of declaration [-Wold-style-declaration] 2683 | __initcall(register_heap_trigger); | ^~~~~~~~~~ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from arch/arm/cpufeature.c:11: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/current.h:8, from ./arch/arm/include/asm/smp.h:6: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43, from ./include/xen/sched.h:6, from ./arch/arm/include/asm/arm64/sve.h:11, from arch/arm/cpufeature.c:13: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./include/xen/domain.h:5, from ./include/xen/sched.h:11: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233, from ./arch/arm/include/asm/p2m.h:4, from ./arch/arm/include/asm/domain.h:7, from ./include/xen/domain.h:15: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘arch_vcpu_block’: ./arch/arm/include/asm/domain.h:297:49: warning: unused parameter ‘v’ [-Wunused-parameter] 297 | static inline void arch_vcpu_block(struct vcpu *v) {} | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘update_guest_memory_policy’: ./arch/arm/include/asm/domain.h:309:60: warning: unused parameter ‘v’ [-Wunused-parameter] 309 | static inline void update_guest_memory_policy(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h:310:75: warning: unused parameter ‘gmp’ [-Wunused-parameter] 310 | struct guest_memory_policy *gmp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from ./include/xen/sched.h:25: ./include/xen/vpci.h: In function ‘vpci_assign_device’: ./include/xen/vpci.h:278:54: warning: unused parameter ‘pdev’ [-Wunused-parameter] 278 | static inline int vpci_assign_device(struct pci_dev *pdev) | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_deassign_device’: ./include/xen/vpci.h:283:57: warning: unused parameter ‘pdev’ [-Wunused-parameter] 283 | static inline void vpci_deassign_device(struct pci_dev *pdev) { } | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_read’: ./include/xen/vpci.h:287:45: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:287:64: warning: unused parameter ‘reg’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:288:47: warning: unused parameter ‘size’ [-Wunused-parameter] 288 | unsigned int size) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_write’: ./include/xen/vpci.h:294:42: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:294:61: warning: unused parameter ‘reg’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:295:44: warning: unused parameter ‘size’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h:295:59: warning: unused parameter ‘data’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_process_pending’: ./include/xen/vpci.h:300:67: warning: unused parameter ‘v’ [-Wunused-parameter] 300 | static inline bool __must_check vpci_process_pending(struct vcpu *v) | ~~~~~~~~~~~~~^ ./include/xen/sched.h: In function ‘is_pv_32bit_domain’: ./include/xen/sched.h:1131:67: warning: unused parameter ‘d’ [-Wunused-parameter] 1131 | static always_inline bool is_pv_32bit_domain(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ arch/arm/cpufeature.c: In function ‘has_sb_instruction’: arch/arm/cpufeature.c:21:67: warning: unused parameter ‘entry’ [-Wunused-parameter] 21 | static bool has_sb_instruction(const struct arm_cpu_capabilities *entry) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ arch/arm/cpufeature.c: At top level: arch/arm/cpufeature.c:241:1: warning: ‘static’ is not at beginning of declaration [-Wold-style-declaration] 241 | __initcall(create_domain_cpuinfo); | ^~~~~~~~~~ CC arch/arm/decode.o In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/sched.h:6, from ./arch/arm/include/asm/guest_access.h:5, from ./include/xen/guest_access.h:10, from arch/arm/decode.c:11: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/rwlock.h:6, from ./include/xen/sched.h:7: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ CC common/pdx.o In file included from ./include/xen/domain.h:5, from ./include/xen/sched.h:11: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233, from ./arch/arm/include/asm/p2m.h:4, from ./arch/arm/include/asm/domain.h:7, from ./include/xen/domain.h:15: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘arch_vcpu_block’: ./arch/arm/include/asm/domain.h:297:49: warning: unused parameter ‘v’ [-Wunused-parameter] 297 | static inline void arch_vcpu_block(struct vcpu *v) {} | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘update_guest_memory_policy’: ./arch/arm/include/asm/domain.h:309:60: warning: unused parameter ‘v’ [-Wunused-parameter] 309 | static inline void update_guest_memory_policy(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h:310:75: warning: unused parameter ‘gmp’ [-Wunused-parameter] 310 | struct guest_memory_policy *gmp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from ./include/xen/sched.h:25: ./include/xen/vpci.h: In function ‘vpci_assign_device’: ./include/xen/vpci.h:278:54: warning: unused parameter ‘pdev’ [-Wunused-parameter] 278 | static inline int vpci_assign_device(struct pci_dev *pdev) | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_deassign_device’: ./include/xen/vpci.h:283:57: warning: unused parameter ‘pdev’ [-Wunused-parameter] 283 | static inline void vpci_deassign_device(struct pci_dev *pdev) { } | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_read’: ./include/xen/vpci.h:287:45: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:287:64: warning: unused parameter ‘reg’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:288:47: warning: unused parameter ‘size’ [-Wunused-parameter] 288 | unsigned int size) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_write’: ./include/xen/vpci.h:294:42: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:294:61: warning: unused parameter ‘reg’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:295:44: warning: unused parameter ‘size’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h:295:59: warning: unused parameter ‘data’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_process_pending’: ./include/xen/vpci.h:300:67: warning: unused parameter ‘v’ [-Wunused-parameter] 300 | static inline bool __must_check vpci_process_pending(struct vcpu *v) | ~~~~~~~~~~~~~^ In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/mm.h:69, from common/pdx.c:19: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ ./include/xen/sched.h: In function ‘is_pv_32bit_domain’: ./include/xen/sched.h:1131:67: warning: unused parameter ‘d’ [-Wunused-parameter] 1131 | static always_inline bool is_pv_32bit_domain(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ CC common/perfc.o In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/perfc.h:7, from ./include/xen/mm.h:70: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from common/perfc.c:3: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/current.h:8, from ./arch/arm/include/asm/smp.h:6: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43, from common/perfc.c:7: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233, from common/perfc.c:8: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ CC common/preempt.o In file included from ./include/xen/domain.h:5, from ./include/xen/sched.h:11, from ./arch/arm/include/asm/guest_access.h:5, from ./include/xen/guest_access.h:10, from common/perfc.c:9: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5, from ./arch/arm/include/asm/domain.h:7, from ./include/xen/domain.h:15: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘arch_vcpu_block’: ./arch/arm/include/asm/domain.h:297:49: warning: unused parameter ‘v’ [-Wunused-parameter] 297 | static inline void arch_vcpu_block(struct vcpu *v) {} | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘update_guest_memory_policy’: ./arch/arm/include/asm/domain.h:309:60: warning: unused parameter ‘v’ [-Wunused-parameter] 309 | static inline void update_guest_memory_policy(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h:310:75: warning: unused parameter ‘gmp’ [-Wunused-parameter] 310 | struct guest_memory_policy *gmp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ CC arch/arm/device.o In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/current.h:8, from ./include/asm-generic/percpu.h:8, from ./arch/arm/include/generated/asm/percpu.h:1, from ./include/xen/percpu.h:30, from ./include/xen/preempt.h:13, from common/preempt.c:22: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./include/xen/sched.h:25: ./include/xen/vpci.h: In function ‘vpci_assign_device’: ./include/xen/vpci.h:278:54: warning: unused parameter ‘pdev’ [-Wunused-parameter] 278 | static inline int vpci_assign_device(struct pci_dev *pdev) | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_deassign_device’: ./include/xen/vpci.h:283:57: warning: unused parameter ‘pdev’ [-Wunused-parameter] 283 | static inline void vpci_deassign_device(struct pci_dev *pdev) { } | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_read’: ./include/xen/vpci.h:287:45: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:287:64: warning: unused parameter ‘reg’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:288:47: warning: unused parameter ‘size’ [-Wunused-parameter] 288 | unsigned int size) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_write’: ./include/xen/vpci.h:294:42: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:294:61: warning: unused parameter ‘reg’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:295:44: warning: unused parameter ‘size’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h:295:59: warning: unused parameter ‘data’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_process_pending’: ./include/xen/vpci.h:300:67: warning: unused parameter ‘v’ [-Wunused-parameter] 300 | static inline bool __must_check vpci_process_pending(struct vcpu *v) | ~~~~~~~~~~~~~^ In file included from ./include/xen/irq.h:4, from common/preempt.c:23: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/sched.h: In function ‘is_pv_32bit_domain’: ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/sched.h:1131:67: warning: unused parameter ‘d’ [-Wunused-parameter] 1131 | static always_inline bool is_pv_32bit_domain(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ common/perfc.c: In function ‘perfc_printall’: common/perfc.c:31:44: warning: unused parameter ‘key’ [-Wunused-parameter] 31 | void cf_check perfc_printall(unsigned char key) | ~~~~~~~~~~~~~~^~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43, from ./include/xen/rcupdate.h:36, from ./include/xen/irq.h:5: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/current.h:8, from ./include/asm-generic/percpu.h:8, from ./arch/arm/include/generated/asm/percpu.h:1, from ./include/xen/percpu.h:30, from ./include/xen/rwlock.h:4, from ./include/xen/device_tree.h:22, from ./include/asm-generic/device.h:42, from ./arch/arm/include/generated/asm/device.h:1, from arch/arm/device.c:11: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/rwlock.h:6: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43, from ./include/xen/rwlock.h:7: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233, from ./arch/arm/include/asm/p2m.h:4, from ./arch/arm/include/asm/setup.h:5, from arch/arm/device.c:12: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ In file included from ./include/xen/domain.h:5, from ./include/xen/sched.h:11, from ./include/xen/iocap.h:10, from arch/arm/device.c:15: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ In file included from ./include/xen/domain.h:15: ./arch/arm/include/asm/domain.h: In function ‘arch_vcpu_block’: ./arch/arm/include/asm/domain.h:297:49: warning: unused parameter ‘v’ [-Wunused-parameter] 297 | static inline void arch_vcpu_block(struct vcpu *v) {} | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘update_guest_memory_policy’: ./arch/arm/include/asm/domain.h:309:60: warning: unused parameter ‘v’ [-Wunused-parameter] 309 | static inline void update_guest_memory_policy(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h:310:75: warning: unused parameter ‘gmp’ [-Wunused-parameter] 310 | struct guest_memory_policy *gmp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from ./include/xen/sched.h:25: ./include/xen/vpci.h: In function ‘vpci_assign_device’: ./include/xen/vpci.h:278:54: warning: unused parameter ‘pdev’ [-Wunused-parameter] 278 | static inline int vpci_assign_device(struct pci_dev *pdev) | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_deassign_device’: ./include/xen/vpci.h:283:57: warning: unused parameter ‘pdev’ [-Wunused-parameter] 283 | static inline void vpci_deassign_device(struct pci_dev *pdev) { } | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_read’: ./include/xen/vpci.h:287:45: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:287:64: warning: unused parameter ‘reg’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:288:47: warning: unused parameter ‘size’ [-Wunused-parameter] 288 | unsigned int size) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_write’: ./include/xen/vpci.h:294:42: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:294:61: warning: unused parameter ‘reg’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:295:44: warning: unused parameter ‘size’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h:295:59: warning: unused parameter ‘data’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_process_pending’: ./include/xen/vpci.h:300:67: warning: unused parameter ‘v’ [-Wunused-parameter] 300 | static inline bool __must_check vpci_process_pending(struct vcpu *v) | ~~~~~~~~~~~~~^ ./include/xen/sched.h: In function ‘is_pv_32bit_domain’: ./include/xen/sched.h:1131:67: warning: unused parameter ‘d’ [-Wunused-parameter] 1131 | static always_inline bool is_pv_32bit_domain(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ CC common/random.o In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/current.h:8, from ./include/asm-generic/percpu.h:8, from ./arch/arm/include/generated/asm/percpu.h:1, from ./include/xen/percpu.h:30, from common/random.c:3: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ common/random.c: At top level: common/random.c:39:1: warning: ‘static’ is not at beginning of declaration [-Wold-style-declaration] 39 | __initcall(init_boot_random); | ^~~~~~~~~~ CC common/rangeset.o In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/sched.h:6, from common/rangeset.c:10: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/rwlock.h:6, from ./include/xen/sched.h:7: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/domain.h:5, from ./include/xen/sched.h:11: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233, from ./arch/arm/include/asm/p2m.h:4, from ./arch/arm/include/asm/domain.h:7, from ./include/xen/domain.h:15: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘arch_vcpu_block’: ./arch/arm/include/asm/domain.h:297:49: warning: unused parameter ‘v’ [-Wunused-parameter] 297 | static inline void arch_vcpu_block(struct vcpu *v) {} | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘update_guest_memory_policy’: ./arch/arm/include/asm/domain.h:309:60: warning: unused parameter ‘v’ [-Wunused-parameter] 309 | static inline void update_guest_memory_policy(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h:310:75: warning: unused parameter ‘gmp’ [-Wunused-parameter] 310 | struct guest_memory_policy *gmp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from ./include/xen/sched.h:25: ./include/xen/vpci.h: In function ‘vpci_assign_device’: ./include/xen/vpci.h:278:54: warning: unused parameter ‘pdev’ [-Wunused-parameter] 278 | static inline int vpci_assign_device(struct pci_dev *pdev) | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_deassign_device’: ./include/xen/vpci.h:283:57: warning: unused parameter ‘pdev’ [-Wunused-parameter] 283 | static inline void vpci_deassign_device(struct pci_dev *pdev) { } | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_read’: ./include/xen/vpci.h:287:45: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:287:64: warning: unused parameter ‘reg’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:288:47: warning: unused parameter ‘size’ [-Wunused-parameter] 288 | unsigned int size) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_write’: ./include/xen/vpci.h:294:42: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:294:61: warning: unused parameter ‘reg’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:295:44: warning: unused parameter ‘size’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h:295:59: warning: unused parameter ‘data’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_process_pending’: ./include/xen/vpci.h:300:67: warning: unused parameter ‘v’ [-Wunused-parameter] 300 | static inline bool __must_check vpci_process_pending(struct vcpu *v) | ~~~~~~~~~~~~~^ ./include/xen/sched.h: In function ‘is_pv_32bit_domain’: ./include/xen/sched.h:1131:67: warning: unused parameter ‘d’ [-Wunused-parameter] 1131 | static always_inline bool is_pv_32bit_domain(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ In file included from common/rangeset.c:13: ./include/xsm/xsm.h: In function ‘xsm_domain_create’: ./include/xsm/xsm.h:224:19: warning: unused parameter ‘def’ [-Wunused-parameter] 224 | xsm_default_t def, struct domain *d, uint32_t ssidref) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_getdomaininfo’: ./include/xsm/xsm.h:229:51: warning: unused parameter ‘def’ [-Wunused-parameter] 229 | static inline int xsm_getdomaininfo(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_domctl_scheduler_op’: ./include/xsm/xsm.h:235:19: warning: unused parameter ‘def’ [-Wunused-parameter] 235 | xsm_default_t def, struct domain *d, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_sysctl_scheduler_op’: ./include/xsm/xsm.h:240:57: warning: unused parameter ‘def’ [-Wunused-parameter] 240 | static inline int xsm_sysctl_scheduler_op(xsm_default_t def, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_set_target’: ./include/xsm/xsm.h:246:19: warning: unused parameter ‘def’ [-Wunused-parameter] 246 | xsm_default_t def, struct domain *d, struct domain *e) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_domctl’: ./include/xsm/xsm.h:251:44: warning: unused parameter ‘def’ [-Wunused-parameter] 251 | static inline int xsm_domctl(xsm_default_t def, struct domain *d, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_sysctl’: ./include/xsm/xsm.h:256:44: warning: unused parameter ‘def’ [-Wunused-parameter] 256 | static inline int xsm_sysctl(xsm_default_t def, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_readconsole’: ./include/xsm/xsm.h:261:49: warning: unused parameter ‘def’ [-Wunused-parameter] 261 | static inline int xsm_readconsole(xsm_default_t def, uint32_t clear) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_unbound’: ./include/xsm/xsm.h:267:19: warning: unused parameter ‘def’ [-Wunused-parameter] 267 | xsm_default_t def, struct domain *d1, struct evtchn *chn, domid_t id2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_interdomain’: ./include/xsm/xsm.h:273:19: warning: unused parameter ‘def’ [-Wunused-parameter] 273 | xsm_default_t def, struct domain *d1, struct evtchn *chan1, | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_send’: ./include/xsm/xsm.h:285:19: warning: unused parameter ‘def’ [-Wunused-parameter] 285 | xsm_default_t def, struct domain *d, struct evtchn *chn) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_status’: ./include/xsm/xsm.h:291:19: warning: unused parameter ‘def’ [-Wunused-parameter] 291 | xsm_default_t def, struct domain *d, struct evtchn *chn) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_reset’: ./include/xsm/xsm.h:297:19: warning: unused parameter ‘def’ [-Wunused-parameter] 297 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_mapref’: ./include/xsm/xsm.h:303:19: warning: unused parameter ‘def’ [-Wunused-parameter] 303 | xsm_default_t def, struct domain *d1, struct domain *d2, uint32_t flags) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_unmapref’: ./include/xsm/xsm.h:309:19: warning: unused parameter ‘def’ [-Wunused-parameter] 309 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_setup’: ./include/xsm/xsm.h:315:19: warning: unused parameter ‘def’ [-Wunused-parameter] 315 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_transfer’: ./include/xsm/xsm.h:321:19: warning: unused parameter ‘def’ [-Wunused-parameter] 321 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_copy’: ./include/xsm/xsm.h:327:19: warning: unused parameter ‘def’ [-Wunused-parameter] 327 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_query_size’: ./include/xsm/xsm.h:333:19: warning: unused parameter ‘def’ [-Wunused-parameter] 333 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_init_hardware_domain’: ./include/xsm/xsm.h:366:58: warning: unused parameter ‘def’ [-Wunused-parameter] 366 | static inline int xsm_init_hardware_domain(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_get_pod_target’: ./include/xsm/xsm.h:371:52: warning: unused parameter ‘def’ [-Wunused-parameter] 371 | static inline int xsm_get_pod_target(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_set_pod_target’: ./include/xsm/xsm.h:376:52: warning: unused parameter ‘def’ [-Wunused-parameter] 376 | static inline int xsm_set_pod_target(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_exchange’: ./include/xsm/xsm.h:381:53: warning: unused parameter ‘def’ [-Wunused-parameter] 381 | static inline int xsm_memory_exchange(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_adjust_reservation’: ./include/xsm/xsm.h:387:19: warning: unused parameter ‘def’ [-Wunused-parameter] 387 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_stat_reservation’: ./include/xsm/xsm.h:393:19: warning: unused parameter ‘def’ [-Wunused-parameter] 393 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_pin_page’: ./include/xsm/xsm.h:399:19: warning: unused parameter ‘def’ [-Wunused-parameter] 399 | xsm_default_t def, struct domain *d1, struct domain *d2, | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_add_to_physmap’: ./include/xsm/xsm.h:406:19: warning: unused parameter ‘def’ [-Wunused-parameter] 406 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_remove_from_physmap’: ./include/xsm/xsm.h:412:19: warning: unused parameter ‘def’ [-Wunused-parameter] 412 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_map_gmfn_foreign’: ./include/xsm/xsm.h:418:19: warning: unused parameter ‘def’ [-Wunused-parameter] 418 | xsm_default_t def, struct domain *d, struct domain *t) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_claim_pages’: ./include/xsm/xsm.h:423:49: warning: unused parameter ‘def’ [-Wunused-parameter] 423 | static inline int xsm_claim_pages(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_console_io’: ./include/xsm/xsm.h:428:48: warning: unused parameter ‘def’ [-Wunused-parameter] 428 | static inline int xsm_console_io(xsm_default_t def, struct domain *d, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_profile’: ./include/xsm/xsm.h:433:45: warning: unused parameter ‘def’ [-Wunused-parameter] 433 | static inline int xsm_profile(xsm_default_t def, struct domain *d, int op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_kexec’: ./include/xsm/xsm.h:438:43: warning: unused parameter ‘def’ [-Wunused-parameter] 438 | static inline int xsm_kexec(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_schedop_shutdown’: ./include/xsm/xsm.h:444:19: warning: unused parameter ‘def’ [-Wunused-parameter] 444 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_map_domain_pirq’: ./include/xsm/xsm.h:454:53: warning: unused parameter ‘def’ [-Wunused-parameter] 454 | static inline int xsm_map_domain_pirq(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_map_domain_irq’: ./include/xsm/xsm.h:460:19: warning: unused parameter ‘def’ [-Wunused-parameter] 460 | xsm_default_t def, struct domain *d, int irq, void *data) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_unmap_domain_pirq’: ./include/xsm/xsm.h:465:55: warning: unused parameter ‘def’ [-Wunused-parameter] 465 | static inline int xsm_unmap_domain_pirq(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_unmap_domain_irq’: ./include/xsm/xsm.h:471:19: warning: unused parameter ‘def’ [-Wunused-parameter] 471 | xsm_default_t def, struct domain *d, int irq, void *data) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_bind_pt_irq’: ./include/xsm/xsm.h:477:19: warning: unused parameter ‘def’ [-Wunused-parameter] 477 | xsm_default_t def, struct domain *d, struct xen_domctl_bind_pt_irq *bind) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_unbind_pt_irq’: ./include/xsm/xsm.h:483:19: warning: unused parameter ‘def’ [-Wunused-parameter] 483 | xsm_default_t def, struct domain *d, struct xen_domctl_bind_pt_irq *bind) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_irq_permission’: ./include/xsm/xsm.h:489:19: warning: unused parameter ‘def’ [-Wunused-parameter] 489 | xsm_default_t def, struct domain *d, int pirq, uint8_t allow) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_iomem_permission’: ./include/xsm/xsm.h:495:19: warning: unused parameter ‘def’ [-Wunused-parameter] 495 | xsm_default_t def, struct domain *d, uint64_t s, uint64_t e, uint8_t allow) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_iomem_mapping’: ./include/xsm/xsm.h:501:19: warning: unused parameter ‘def’ [-Wunused-parameter] 501 | xsm_default_t def, struct domain *d, uint64_t s, uint64_t e, uint8_t allow) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_pci_config_permission’: ./include/xsm/xsm.h:507:19: warning: unused parameter ‘def’ [-Wunused-parameter] 507 | xsm_default_t def, struct domain *d, uint32_t machine_bdf, uint16_t start, | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_assign_dtdevice’: ./include/xsm/xsm.h:534:19: warning: unused parameter ‘def’ [-Wunused-parameter] 534 | xsm_default_t def, struct domain *d, const char *dtpath) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_deassign_dtdevice’: ./include/xsm/xsm.h:540:19: warning: unused parameter ‘def’ [-Wunused-parameter] 540 | xsm_default_t def, struct domain *d, const char *dtpath) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_plug_pci’: ./include/xsm/xsm.h:547:55: warning: unused parameter ‘def’ [-Wunused-parameter] 547 | static inline int xsm_resource_plug_pci(xsm_default_t def, uint32_t machine_bdf) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_unplug_pci’: ./include/xsm/xsm.h:553:19: warning: unused parameter ‘def’ [-Wunused-parameter] 553 | xsm_default_t def, uint32_t machine_bdf) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_plug_core’: ./include/xsm/xsm.h:558:56: warning: unused parameter ‘def’ [-Wunused-parameter] 558 | static inline int xsm_resource_plug_core(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_unplug_core’: ./include/xsm/xsm.h:563:58: warning: unused parameter ‘def’ [-Wunused-parameter] 563 | static inline int xsm_resource_unplug_core(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_setup_pci’: ./include/xsm/xsm.h:569:19: warning: unused parameter ‘def’ [-Wunused-parameter] 569 | xsm_default_t def, uint32_t machine_bdf) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_setup_gsi’: ./include/xsm/xsm.h:574:56: warning: unused parameter ‘def’ [-Wunused-parameter] 574 | static inline int xsm_resource_setup_gsi(xsm_default_t def, int gsi) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_setup_misc’: ./include/xsm/xsm.h:579:57: warning: unused parameter ‘def’ [-Wunused-parameter] 579 | static inline int xsm_resource_setup_misc(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_page_offline’: ./include/xsm/xsm.h:584:50: warning: unused parameter ‘def’ [-Wunused-parameter] 584 | static inline int xsm_page_offline(xsm_default_t def, uint32_t cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hypfs_op’: ./include/xsm/xsm.h:589:46: warning: unused parameter ‘def’ [-Wunused-parameter] 589 | static inline int xsm_hypfs_op(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hvm_param’: ./include/xsm/xsm.h:607:19: warning: unused parameter ‘def’ [-Wunused-parameter] 607 | xsm_default_t def, struct domain *d, unsigned long op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hvm_param_altp2mhvm’: ./include/xsm/xsm.h:612:57: warning: unused parameter ‘def’ [-Wunused-parameter] 612 | static inline int xsm_hvm_param_altp2mhvm(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hvm_altp2mhvm_op’: ./include/xsm/xsm.h:618:19: warning: unused parameter ‘def’ [-Wunused-parameter] 618 | xsm_default_t def, struct domain *d, uint64_t mode, uint32_t op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_get_vnumainfo’: ./include/xsm/xsm.h:623:51: warning: unused parameter ‘def’ [-Wunused-parameter] 623 | static inline int xsm_get_vnumainfo(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_vm_event_control’: ./include/xsm/xsm.h:629:19: warning: unused parameter ‘def’ [-Wunused-parameter] 629 | xsm_default_t def, struct domain *d, int mode, int op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_mem_access’: ./include/xsm/xsm.h:635:48: warning: unused parameter ‘def’ [-Wunused-parameter] 635 | static inline int xsm_mem_access(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_platform_op’: ./include/xsm/xsm.h:655:49: warning: unused parameter ‘def’ [-Wunused-parameter] 655 | static inline int xsm_platform_op(xsm_default_t def, uint32_t op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_dm_op’: ./include/xsm/xsm.h:738:43: warning: unused parameter ‘def’ [-Wunused-parameter] 738 | static inline int xsm_dm_op(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_xen_version’: ./include/xsm/xsm.h:743:49: warning: unused parameter ‘def’ [-Wunused-parameter] 743 | static inline int xsm_xen_version(xsm_default_t def, uint32_t op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_domain_resource_map’: ./include/xsm/xsm.h:748:57: warning: unused parameter ‘def’ [-Wunused-parameter] 748 | static inline int xsm_domain_resource_map(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ CC arch/arm/dm.o In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/sched.h:6, from ./arch/arm/include/asm/guest_access.h:5, from ./include/xen/guest_access.h:10, from arch/arm/dm.c:7: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/rwlock.h:6, from ./include/xen/sched.h:7: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/domain.h:5, from ./include/xen/sched.h:11: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233, from ./arch/arm/include/asm/p2m.h:4, from ./arch/arm/include/asm/domain.h:7, from ./include/xen/domain.h:15: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘arch_vcpu_block’: ./arch/arm/include/asm/domain.h:297:49: warning: unused parameter ‘v’ [-Wunused-parameter] 297 | static inline void arch_vcpu_block(struct vcpu *v) {} | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘update_guest_memory_policy’: ./arch/arm/include/asm/domain.h:309:60: warning: unused parameter ‘v’ [-Wunused-parameter] 309 | static inline void update_guest_memory_policy(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h:310:75: warning: unused parameter ‘gmp’ [-Wunused-parameter] 310 | struct guest_memory_policy *gmp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ CC common/radix-tree.o In file included from ./include/xen/sched.h:25: ./include/xen/vpci.h: In function ‘vpci_assign_device’: ./include/xen/vpci.h:278:54: warning: unused parameter ‘pdev’ [-Wunused-parameter] 278 | static inline int vpci_assign_device(struct pci_dev *pdev) | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_deassign_device’: ./include/xen/vpci.h:283:57: warning: unused parameter ‘pdev’ [-Wunused-parameter] 283 | static inline void vpci_deassign_device(struct pci_dev *pdev) { } | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_read’: ./include/xen/vpci.h:287:45: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:287:64: warning: unused parameter ‘reg’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:288:47: warning: unused parameter ‘size’ [-Wunused-parameter] 288 | unsigned int size) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_write’: ./include/xen/vpci.h:294:42: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:294:61: warning: unused parameter ‘reg’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:295:44: warning: unused parameter ‘size’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h:295:59: warning: unused parameter ‘data’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_process_pending’: ./include/xen/vpci.h:300:67: warning: unused parameter ‘v’ [-Wunused-parameter] 300 | static inline bool __must_check vpci_process_pending(struct vcpu *v) | ~~~~~~~~~~~~~^ ./include/xen/sched.h: In function ‘is_pv_32bit_domain’: ./include/xen/sched.h:1131:67: warning: unused parameter ‘d’ [-Wunused-parameter] 1131 | static always_inline bool is_pv_32bit_domain(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ In file included from ./include/xen/hypercall.h:22, from arch/arm/dm.c:8: ./include/xsm/xsm.h: In function ‘xsm_domain_create’: ./include/xsm/xsm.h:224:19: warning: unused parameter ‘def’ [-Wunused-parameter] 224 | xsm_default_t def, struct domain *d, uint32_t ssidref) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_getdomaininfo’: ./include/xsm/xsm.h:229:51: warning: unused parameter ‘def’ [-Wunused-parameter] 229 | static inline int xsm_getdomaininfo(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_domctl_scheduler_op’: ./include/xsm/xsm.h:235:19: warning: unused parameter ‘def’ [-Wunused-parameter] 235 | xsm_default_t def, struct domain *d, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_sysctl_scheduler_op’: ./include/xsm/xsm.h:240:57: warning: unused parameter ‘def’ [-Wunused-parameter] 240 | static inline int xsm_sysctl_scheduler_op(xsm_default_t def, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_set_target’: ./include/xsm/xsm.h:246:19: warning: unused parameter ‘def’ [-Wunused-parameter] 246 | xsm_default_t def, struct domain *d, struct domain *e) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_domctl’: ./include/xsm/xsm.h:251:44: warning: unused parameter ‘def’ [-Wunused-parameter] 251 | static inline int xsm_domctl(xsm_default_t def, struct domain *d, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_sysctl’: ./include/xsm/xsm.h:256:44: warning: unused parameter ‘def’ [-Wunused-parameter] 256 | static inline int xsm_sysctl(xsm_default_t def, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_readconsole’: ./include/xsm/xsm.h:261:49: warning: unused parameter ‘def’ [-Wunused-parameter] 261 | static inline int xsm_readconsole(xsm_default_t def, uint32_t clear) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_unbound’: ./include/xsm/xsm.h:267:19: warning: unused parameter ‘def’ [-Wunused-parameter] 267 | xsm_default_t def, struct domain *d1, struct evtchn *chn, domid_t id2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_interdomain’: ./include/xsm/xsm.h:273:19: warning: unused parameter ‘def’ [-Wunused-parameter] 273 | xsm_default_t def, struct domain *d1, struct evtchn *chan1, | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_send’: ./include/xsm/xsm.h:285:19: warning: unused parameter ‘def’ [-Wunused-parameter] 285 | xsm_default_t def, struct domain *d, struct evtchn *chn) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_status’: ./include/xsm/xsm.h:291:19: warning: unused parameter ‘def’ [-Wunused-parameter] 291 | xsm_default_t def, struct domain *d, struct evtchn *chn) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_reset’: ./include/xsm/xsm.h:297:19: warning: unused parameter ‘def’ [-Wunused-parameter] 297 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_mapref’: ./include/xsm/xsm.h:303:19: warning: unused parameter ‘def’ [-Wunused-parameter] 303 | xsm_default_t def, struct domain *d1, struct domain *d2, uint32_t flags) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_unmapref’: ./include/xsm/xsm.h:309:19: warning: unused parameter ‘def’ [-Wunused-parameter] 309 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_setup’: ./include/xsm/xsm.h:315:19: warning: unused parameter ‘def’ [-Wunused-parameter] 315 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_transfer’: ./include/xsm/xsm.h:321:19: warning: unused parameter ‘def’ [-Wunused-parameter] 321 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_copy’: ./include/xsm/xsm.h:327:19: warning: unused parameter ‘def’ [-Wunused-parameter] 327 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_query_size’: ./include/xsm/xsm.h:333:19: warning: unused parameter ‘def’ [-Wunused-parameter] 333 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_init_hardware_domain’: ./include/xsm/xsm.h:366:58: warning: unused parameter ‘def’ [-Wunused-parameter] 366 | static inline int xsm_init_hardware_domain(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_get_pod_target’: ./include/xsm/xsm.h:371:52: warning: unused parameter ‘def’ [-Wunused-parameter] 371 | static inline int xsm_get_pod_target(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_set_pod_target’: ./include/xsm/xsm.h:376:52: warning: unused parameter ‘def’ [-Wunused-parameter] 376 | static inline int xsm_set_pod_target(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_exchange’: ./include/xsm/xsm.h:381:53: warning: unused parameter ‘def’ [-Wunused-parameter] 381 | static inline int xsm_memory_exchange(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_adjust_reservation’: ./include/xsm/xsm.h:387:19: warning: unused parameter ‘def’ [-Wunused-parameter] 387 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_stat_reservation’: ./include/xsm/xsm.h:393:19: warning: unused parameter ‘def’ [-Wunused-parameter] 393 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_pin_page’: ./include/xsm/xsm.h:399:19: warning: unused parameter ‘def’ [-Wunused-parameter] 399 | xsm_default_t def, struct domain *d1, struct domain *d2, | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_add_to_physmap’: ./include/xsm/xsm.h:406:19: warning: unused parameter ‘def’ [-Wunused-parameter] 406 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_remove_from_physmap’: ./include/xsm/xsm.h:412:19: warning: unused parameter ‘def’ [-Wunused-parameter] 412 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_map_gmfn_foreign’: ./include/xsm/xsm.h:418:19: warning: unused parameter ‘def’ [-Wunused-parameter] 418 | xsm_default_t def, struct domain *d, struct domain *t) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_claim_pages’: ./include/xsm/xsm.h:423:49: warning: unused parameter ‘def’ [-Wunused-parameter] 423 | static inline int xsm_claim_pages(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_console_io’: ./include/xsm/xsm.h:428:48: warning: unused parameter ‘def’ [-Wunused-parameter] 428 | static inline int xsm_console_io(xsm_default_t def, struct domain *d, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_profile’: ./include/xsm/xsm.h:433:45: warning: unused parameter ‘def’ [-Wunused-parameter] 433 | static inline int xsm_profile(xsm_default_t def, struct domain *d, int op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_kexec’: ./include/xsm/xsm.h:438:43: warning: unused parameter ‘def’ [-Wunused-parameter] 438 | static inline int xsm_kexec(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_schedop_shutdown’: ./include/xsm/xsm.h:444:19: warning: unused parameter ‘def’ [-Wunused-parameter] 444 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_map_domain_pirq’: ./include/xsm/xsm.h:454:53: warning: unused parameter ‘def’ [-Wunused-parameter] 454 | static inline int xsm_map_domain_pirq(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_map_domain_irq’: ./include/xsm/xsm.h:460:19: warning: unused parameter ‘def’ [-Wunused-parameter] 460 | xsm_default_t def, struct domain *d, int irq, void *data) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_unmap_domain_pirq’: ./include/xsm/xsm.h:465:55: warning: unused parameter ‘def’ [-Wunused-parameter] 465 | static inline int xsm_unmap_domain_pirq(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_unmap_domain_irq’: ./include/xsm/xsm.h:471:19: warning: unused parameter ‘def’ [-Wunused-parameter] 471 | xsm_default_t def, struct domain *d, int irq, void *data) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_bind_pt_irq’: ./include/xsm/xsm.h:477:19: warning: unused parameter ‘def’ [-Wunused-parameter] 477 | xsm_default_t def, struct domain *d, struct xen_domctl_bind_pt_irq *bind) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_unbind_pt_irq’: ./include/xsm/xsm.h:483:19: warning: unused parameter ‘def’ [-Wunused-parameter] 483 | xsm_default_t def, struct domain *d, struct xen_domctl_bind_pt_irq *bind) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_irq_permission’: ./include/xsm/xsm.h:489:19: warning: unused parameter ‘def’ [-Wunused-parameter] 489 | xsm_default_t def, struct domain *d, int pirq, uint8_t allow) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_iomem_permission’: ./include/xsm/xsm.h:495:19: warning: unused parameter ‘def’ [-Wunused-parameter] 495 | xsm_default_t def, struct domain *d, uint64_t s, uint64_t e, uint8_t allow) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_iomem_mapping’: ./include/xsm/xsm.h:501:19: warning: unused parameter ‘def’ [-Wunused-parameter] 501 | xsm_default_t def, struct domain *d, uint64_t s, uint64_t e, uint8_t allow) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_pci_config_permission’: ./include/xsm/xsm.h:507:19: warning: unused parameter ‘def’ [-Wunused-parameter] 507 | xsm_default_t def, struct domain *d, uint32_t machine_bdf, uint16_t start, | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_assign_dtdevice’: ./include/xsm/xsm.h:534:19: warning: unused parameter ‘def’ [-Wunused-parameter] 534 | xsm_default_t def, struct domain *d, const char *dtpath) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_deassign_dtdevice’: ./include/xsm/xsm.h:540:19: warning: unused parameter ‘def’ [-Wunused-parameter] 540 | xsm_default_t def, struct domain *d, const char *dtpath) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_plug_pci’: ./include/xsm/xsm.h:547:55: warning: unused parameter ‘def’ [-Wunused-parameter] 547 | static inline int xsm_resource_plug_pci(xsm_default_t def, uint32_t machine_bdf) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_unplug_pci’: ./include/xsm/xsm.h:553:19: warning: unused parameter ‘def’ [-Wunused-parameter] 553 | xsm_default_t def, uint32_t machine_bdf) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_plug_core’: ./include/xsm/xsm.h:558:56: warning: unused parameter ‘def’ [-Wunused-parameter] 558 | static inline int xsm_resource_plug_core(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_unplug_core’: ./include/xsm/xsm.h:563:58: warning: unused parameter ‘def’ [-Wunused-parameter] 563 | static inline int xsm_resource_unplug_core(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_setup_pci’: ./include/xsm/xsm.h:569:19: warning: unused parameter ‘def’ [-Wunused-parameter] 569 | xsm_default_t def, uint32_t machine_bdf) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_setup_gsi’: ./include/xsm/xsm.h:574:56: warning: unused parameter ‘def’ [-Wunused-parameter] 574 | static inline int xsm_resource_setup_gsi(xsm_default_t def, int gsi) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_setup_misc’: ./include/xsm/xsm.h:579:57: warning: unused parameter ‘def’ [-Wunused-parameter] 579 | static inline int xsm_resource_setup_misc(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_page_offline’: ./include/xsm/xsm.h:584:50: warning: unused parameter ‘def’ [-Wunused-parameter] 584 | static inline int xsm_page_offline(xsm_default_t def, uint32_t cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hypfs_op’: ./include/xsm/xsm.h:589:46: warning: unused parameter ‘def’ [-Wunused-parameter] 589 | static inline int xsm_hypfs_op(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hvm_param’: ./include/xsm/xsm.h:607:19: warning: unused parameter ‘def’ [-Wunused-parameter] 607 | xsm_default_t def, struct domain *d, unsigned long op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hvm_param_altp2mhvm’: ./include/xsm/xsm.h:612:57: warning: unused parameter ‘def’ [-Wunused-parameter] 612 | static inline int xsm_hvm_param_altp2mhvm(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hvm_altp2mhvm_op’: ./include/xsm/xsm.h:618:19: warning: unused parameter ‘def’ [-Wunused-parameter] 618 | xsm_default_t def, struct domain *d, uint64_t mode, uint32_t op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_get_vnumainfo’: ./include/xsm/xsm.h:623:51: warning: unused parameter ‘def’ [-Wunused-parameter] 623 | static inline int xsm_get_vnumainfo(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_vm_event_control’: ./include/xsm/xsm.h:629:19: warning: unused parameter ‘def’ [-Wunused-parameter] 629 | xsm_default_t def, struct domain *d, int mode, int op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_mem_access’: ./include/xsm/xsm.h:635:48: warning: unused parameter ‘def’ [-Wunused-parameter] 635 | static inline int xsm_mem_access(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_platform_op’: ./include/xsm/xsm.h:655:49: warning: unused parameter ‘def’ [-Wunused-parameter] 655 | static inline int xsm_platform_op(xsm_default_t def, uint32_t op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_dm_op’: ./include/xsm/xsm.h:738:43: warning: unused parameter ‘def’ [-Wunused-parameter] 738 | static inline int xsm_dm_op(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_xen_version’: ./include/xsm/xsm.h:743:49: warning: unused parameter ‘def’ [-Wunused-parameter] 743 | static inline int xsm_xen_version(xsm_default_t def, uint32_t op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_domain_resource_map’: ./include/xsm/xsm.h:748:57: warning: unused parameter ‘def’ [-Wunused-parameter] 748 | static inline int xsm_domain_resource_map(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/rcupdate.h:36, from ./include/xen/radix-tree.h:24, from common/radix-tree.c:22: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./include/xen/rcupdate.h:37: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ common/radix-tree.c: In function ‘rcu_node_alloc’: common/radix-tree.c:55:62: warning: unused parameter ‘arg’ [-Wunused-parameter] 55 | static struct radix_tree_node *cf_check rcu_node_alloc(void *arg) | ~~~~~~^~~ common/radix-tree.c: In function ‘rcu_node_free’: common/radix-tree.c:68:72: warning: unused parameter ‘arg’ [-Wunused-parameter] 68 | static void cf_check rcu_node_free(struct radix_tree_node *node, void *arg) | ~~~~~~^~~ common/radix-tree.c: In function ‘radix_tree_node_destroy’: common/radix-tree.c:684:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] 684 | for (i = 0; i < RADIX_TREE_MAP_SIZE; i++) { | ^ common/radix-tree.c: At top level: common/radix-tree.c:757:1: warning: ‘static’ is not at beginning of declaration [-Wold-style-declaration] 757 | presmp_initcall(radix_tree_init_maxindex); | ^~~~~~~~~~~~~~~ CC arch/arm/dom0less-build.o In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/current.h:8, from ./include/asm-generic/percpu.h:8, from ./arch/arm/include/generated/asm/percpu.h:1, from ./include/xen/percpu.h:30, from ./include/xen/rwlock.h:4, from ./include/xen/device_tree.h:22, from arch/arm/dom0less-build.c:2: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/rwlock.h:6: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43, from ./include/xen/rwlock.h:7: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./include/xen/domain.h:5, from ./include/xen/sched.h:11, from ./include/xen/event.h:12, from arch/arm/dom0less-build.c:4: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233, from ./arch/arm/include/asm/p2m.h:4, from ./arch/arm/include/asm/domain.h:7, from ./include/xen/domain.h:15: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘arch_vcpu_block’: ./arch/arm/include/asm/domain.h:297:49: warning: unused parameter ‘v’ [-Wunused-parameter] 297 | static inline void arch_vcpu_block(struct vcpu *v) {} | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘update_guest_memory_policy’: ./arch/arm/include/asm/domain.h:309:60: warning: unused parameter ‘v’ [-Wunused-parameter] 309 | static inline void update_guest_memory_policy(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h:310:75: warning: unused parameter ‘gmp’ [-Wunused-parameter] 310 | struct guest_memory_policy *gmp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from ./include/xen/sched.h:25: ./include/xen/vpci.h: In function ‘vpci_assign_device’: ./include/xen/vpci.h:278:54: warning: unused parameter ‘pdev’ [-Wunused-parameter] 278 | static inline int vpci_assign_device(struct pci_dev *pdev) | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_deassign_device’: ./include/xen/vpci.h:283:57: warning: unused parameter ‘pdev’ [-Wunused-parameter] 283 | static inline void vpci_deassign_device(struct pci_dev *pdev) { } | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_read’: ./include/xen/vpci.h:287:45: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:287:64: warning: unused parameter ‘reg’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:288:47: warning: unused parameter ‘size’ [-Wunused-parameter] 288 | unsigned int size) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_write’: ./include/xen/vpci.h:294:42: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:294:61: warning: unused parameter ‘reg’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:295:44: warning: unused parameter ‘size’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h:295:59: warning: unused parameter ‘data’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_process_pending’: ./include/xen/vpci.h:300:67: warning: unused parameter ‘v’ [-Wunused-parameter] 300 | static inline bool __must_check vpci_process_pending(struct vcpu *v) | ~~~~~~~~~~~~~^ ./include/xen/sched.h: In function ‘is_pv_32bit_domain’: ./include/xen/sched.h:1131:67: warning: unused parameter ‘d’ [-Wunused-parameter] 1131 | static always_inline bool is_pv_32bit_domain(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ In file included from ./include/xen/event.h:17: ./arch/arm/include/asm/event.h: In function ‘arch_virq_is_global’: ./arch/arm/include/asm/event.h:50:53: warning: unused parameter ‘virq’ [-Wunused-parameter] 50 | static inline bool arch_virq_is_global(unsigned int virq) | ~~~~~~~~~~~~~^~~~ In file included from ./include/xen/grant_table.h:31, from arch/arm/dom0less-build.c:5: ./arch/arm/include/asm/grant_table.h: In function ‘gnttab_mark_dirty’: ./arch/arm/include/asm/grant_table.h:20:53: warning: unused parameter ‘d’ [-Wunused-parameter] 20 | static inline void gnttab_mark_dirty(struct domain *d, mfn_t mfn) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/grant_table.h:20:62: warning: unused parameter ‘mfn’ [-Wunused-parameter] 20 | static inline void gnttab_mark_dirty(struct domain *d, mfn_t mfn) | ~~~~~~^~~ ./arch/arm/include/asm/grant_table.h: In function ‘gnttab_host_mapping_get_page_type’: ./arch/arm/include/asm/grant_table.h:27:59: warning: unused parameter ‘ro’ [-Wunused-parameter] 27 | static inline bool gnttab_host_mapping_get_page_type(bool ro, ./arch/arm/include/asm/grant_table.h:28:75: warning: unused parameter ‘ld’ [-Wunused-parameter] 28 | const struct domain *ld, | ~~~~~~~~~~~~~~~~~~~~~^~ ./arch/arm/include/asm/grant_table.h:29:75: warning: unused parameter ‘rd’ [-Wunused-parameter] 29 | const struct domain *rd) | ~~~~~~~~~~~~~~~~~~~~~^~ ./arch/arm/include/asm/grant_table.h: In function ‘gnttab_release_host_mappings’: ./arch/arm/include/asm/grant_table.h:34:70: warning: unused parameter ‘d’ [-Wunused-parameter] 34 | static inline bool gnttab_release_host_mappings(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ In file included from arch/arm/dom0less-build.c:9: ./include/xen/serial.h: At top level: ./include/xen/serial.h:166:1: warning: ‘inline’ is not at beginning of declaration [-Wold-style-declaration] 166 | static void inline xhci_dbc_uart_init(void) {} | ^~~~~~ arch/arm/dom0less-build.c: In function ‘is_dom0less_mode’: arch/arm/dom0less-build.c:28:21: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] 28 | for ( i = 0 ; i < mods->nr_mods ; i++ ) | ^ arch/arm/dom0less-build.c: In function ‘domain_handle_dtb_bootmodule’: arch/arm/dom0less-build.c:519:63: warning: unused parameter ‘d’ [-Wunused-parameter] 519 | static int __init domain_handle_dtb_bootmodule(struct domain *d, | ~~~~~~~~~~~~~~~^ arch/arm/dom0less-build.c: In function ‘create_domUs’: arch/arm/dom0less-build.c:881:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 881 | if ( (max_init_domid + 1) >= DOMID_FIRST_RESERVED ) | ^~ In file included from ./include/xen/device_tree.h:18: ./include/xen/kernel.h:43:23: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 43 | #define MAX(x,y) ((x) > (y) ? (x) : (y)) | ^ arch/arm/dom0less-build.c:938:38: note: in expansion of macro ‘MAX’ 938 | d_cfg.arch.nr_spis = MAX(d_cfg.arch.nr_spis, | ^~~ ./include/xen/kernel.h:43:37: warning: operand of ‘?:’ changes signedness from ‘int’ to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare] 43 | #define MAX(x,y) ((x) > (y) ? (x) : (y)) | ^~~ arch/arm/dom0less-build.c:938:38: note: in expansion of macro ‘MAX’ 938 | d_cfg.arch.nr_spis = MAX(d_cfg.arch.nr_spis, | ^~~ CC common/rcupdate.o In file included from common/rcupdate.c:37: ./include/xen/param.h: In function ‘no_config_param’: ./include/xen/param.h:193:19: warning: operand of ‘?:’ changes signedness from ‘long int’ to ‘size_t’ {aka ‘long unsigned int’} due to unsignedness of other operand [-Wsign-compare] 193 | int len = e ? ({ ASSERT(e >= s); e - s; }) : strlen(s); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from common/rcupdate.c:38: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from common/rcupdate.c:39: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from common/rcupdate.c:40: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/domain.h:5, from ./include/xen/sched.h:11, from common/rcupdate.c:41: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233, from ./arch/arm/include/asm/p2m.h:4, from ./arch/arm/include/asm/domain.h:7, from ./include/xen/domain.h:15: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘arch_vcpu_block’: ./arch/arm/include/asm/domain.h:297:49: warning: unused parameter ‘v’ [-Wunused-parameter] 297 | static inline void arch_vcpu_block(struct vcpu *v) {} | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘update_guest_memory_policy’: ./arch/arm/include/asm/domain.h:309:60: warning: unused parameter ‘v’ [-Wunused-parameter] 309 | static inline void update_guest_memory_policy(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h:310:75: warning: unused parameter ‘gmp’ [-Wunused-parameter] 310 | struct guest_memory_policy *gmp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from ./include/xen/sched.h:25: ./include/xen/vpci.h: In function ‘vpci_assign_device’: ./include/xen/vpci.h:278:54: warning: unused parameter ‘pdev’ [-Wunused-parameter] 278 | static inline int vpci_assign_device(struct pci_dev *pdev) | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_deassign_device’: ./include/xen/vpci.h:283:57: warning: unused parameter ‘pdev’ [-Wunused-parameter] 283 | static inline void vpci_deassign_device(struct pci_dev *pdev) { } | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_read’: ./include/xen/vpci.h:287:45: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:287:64: warning: unused parameter ‘reg’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:288:47: warning: unused parameter ‘size’ [-Wunused-parameter] 288 | unsigned int size) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_write’: ./include/xen/vpci.h:294:42: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:294:61: warning: unused parameter ‘reg’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:295:44: warning: unused parameter ‘size’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h:295:59: warning: unused parameter ‘data’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_process_pending’: ./include/xen/vpci.h:300:67: warning: unused parameter ‘v’ [-Wunused-parameter] 300 | static inline bool __must_check vpci_process_pending(struct vcpu *v) | ~~~~~~~~~~~~~^ CC arch/arm/domain.o ./include/xen/sched.h: In function ‘is_pv_32bit_domain’: ./include/xen/sched.h:1131:67: warning: unused parameter ‘d’ [-Wunused-parameter] 1131 | static always_inline bool is_pv_32bit_domain(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ common/rcupdate.c: In function ‘rcu_barrier_callback’: common/rcupdate.c:170:60: warning: unused parameter ‘head’ [-Wunused-parameter] 170 | static void cf_check rcu_barrier_callback(struct rcu_head *head) | ~~~~~~~~~~~~~~~~~^~~~ common/rcupdate.c: In function ‘rcu_idle_timer_handler’: common/rcupdate.c:578:51: warning: unused parameter ‘data’ [-Wunused-parameter] 578 | static void cf_check rcu_idle_timer_handler(void* data) | ~~~~~~^~~~ common/rcupdate.c: In function ‘rcu_check_callbacks’: common/rcupdate.c:590:30: warning: unused parameter ‘cpu’ [-Wunused-parameter] 590 | void rcu_check_callbacks(int cpu) | ~~~~^~~ common/rcupdate.c: In function ‘cpu_callback’: common/rcupdate.c:645:28: warning: unused parameter ‘nfb’ [-Wunused-parameter] 645 | struct notifier_block *nfb, unsigned long action, void *hcpu) | ~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/current.h:8, from ./include/asm-generic/percpu.h:8, from ./arch/arm/include/generated/asm/percpu.h:1, from ./include/xen/percpu.h:30, from ./include/xen/rwlock.h:4, from ./include/xen/grant_table.h:27, from arch/arm/domain.c:4: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/rwlock.h:6: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43, from ./include/xen/rwlock.h:7: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./include/xen/domain.h:5, from ./include/xen/sched.h:11, from ./arch/arm/include/asm/grant_table.h:7, from ./include/xen/grant_table.h:31: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233, from ./arch/arm/include/asm/p2m.h:4, from ./arch/arm/include/asm/domain.h:7, from ./include/xen/domain.h:15: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ CC common/rwlock.o ./arch/arm/include/asm/domain.h: In function ‘arch_vcpu_block’: ./arch/arm/include/asm/domain.h:297:49: warning: unused parameter ‘v’ [-Wunused-parameter] 297 | static inline void arch_vcpu_block(struct vcpu *v) {} | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘update_guest_memory_policy’: ./arch/arm/include/asm/domain.h:309:60: warning: unused parameter ‘v’ [-Wunused-parameter] 309 | static inline void update_guest_memory_policy(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h:310:75: warning: unused parameter ‘gmp’ [-Wunused-parameter] 310 | struct guest_memory_policy *gmp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from ./include/xen/sched.h:25: ./include/xen/vpci.h: In function ‘vpci_assign_device’: ./include/xen/vpci.h:278:54: warning: unused parameter ‘pdev’ [-Wunused-parameter] 278 | static inline int vpci_assign_device(struct pci_dev *pdev) | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_deassign_device’: ./include/xen/vpci.h:283:57: warning: unused parameter ‘pdev’ [-Wunused-parameter] 283 | static inline void vpci_deassign_device(struct pci_dev *pdev) { } | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_read’: ./include/xen/vpci.h:287:45: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:287:64: warning: unused parameter ‘reg’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:288:47: warning: unused parameter ‘size’ [-Wunused-parameter] 288 | unsigned int size) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_write’: ./include/xen/vpci.h:294:42: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:294:61: warning: unused parameter ‘reg’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:295:44: warning: unused parameter ‘size’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h:295:59: warning: unused parameter ‘data’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_process_pending’: ./include/xen/vpci.h:300:67: warning: unused parameter ‘v’ [-Wunused-parameter] 300 | static inline bool __must_check vpci_process_pending(struct vcpu *v) | ~~~~~~~~~~~~~^ In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/current.h:8, from ./include/asm-generic/percpu.h:8, from ./arch/arm/include/generated/asm/percpu.h:1, from ./include/xen/percpu.h:30, from ./include/xen/rwlock.h:4, from common/rwlock.c:1: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ ./include/xen/sched.h: In function ‘is_pv_32bit_domain’: ./include/xen/sched.h:1131:67: warning: unused parameter ‘d’ [-Wunused-parameter] 1131 | static always_inline bool is_pv_32bit_domain(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/grant_table.h: In function ‘gnttab_mark_dirty’: ./arch/arm/include/asm/grant_table.h:20:53: warning: unused parameter ‘d’ [-Wunused-parameter] 20 | static inline void gnttab_mark_dirty(struct domain *d, mfn_t mfn) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/grant_table.h:20:62: warning: unused parameter ‘mfn’ [-Wunused-parameter] 20 | static inline void gnttab_mark_dirty(struct domain *d, mfn_t mfn) | ~~~~~~^~~ ./arch/arm/include/asm/grant_table.h: In function ‘gnttab_host_mapping_get_page_type’: ./arch/arm/include/asm/grant_table.h:27:59: warning: unused parameter ‘ro’ [-Wunused-parameter] 27 | static inline bool gnttab_host_mapping_get_page_type(bool ro, ./arch/arm/include/asm/grant_table.h:28:75: warning: unused parameter ‘ld’ [-Wunused-parameter] 28 | const struct domain *ld, | ~~~~~~~~~~~~~~~~~~~~~^~ ./arch/arm/include/asm/grant_table.h:29:75: warning: unused parameter ‘rd’ [-Wunused-parameter] 29 | const struct domain *rd) | ~~~~~~~~~~~~~~~~~~~~~^~ ./arch/arm/include/asm/grant_table.h: In function ‘gnttab_release_host_mappings’: ./arch/arm/include/asm/grant_table.h:34:70: warning: unused parameter ‘d’ [-Wunused-parameter] 34 | static inline bool gnttab_release_host_mappings(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/rwlock.h:6: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/hypercall.h:22, from arch/arm/domain.c:6: ./include/xsm/xsm.h: In function ‘xsm_domain_create’: ./include/xsm/xsm.h:224:19: warning: unused parameter ‘def’ [-Wunused-parameter] 224 | xsm_default_t def, struct domain *d, uint32_t ssidref) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_getdomaininfo’: ./include/xsm/xsm.h:229:51: warning: unused parameter ‘def’ [-Wunused-parameter] 229 | static inline int xsm_getdomaininfo(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_domctl_scheduler_op’: ./include/xsm/xsm.h:235:19: warning: unused parameter ‘def’ [-Wunused-parameter] 235 | xsm_default_t def, struct domain *d, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_sysctl_scheduler_op’: ./include/xsm/xsm.h:240:57: warning: unused parameter ‘def’ [-Wunused-parameter] 240 | static inline int xsm_sysctl_scheduler_op(xsm_default_t def, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_set_target’: ./include/xsm/xsm.h:246:19: warning: unused parameter ‘def’ [-Wunused-parameter] 246 | xsm_default_t def, struct domain *d, struct domain *e) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_domctl’: ./include/xsm/xsm.h:251:44: warning: unused parameter ‘def’ [-Wunused-parameter] 251 | static inline int xsm_domctl(xsm_default_t def, struct domain *d, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_sysctl’: ./include/xsm/xsm.h:256:44: warning: unused parameter ‘def’ [-Wunused-parameter] 256 | static inline int xsm_sysctl(xsm_default_t def, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_readconsole’: ./include/xsm/xsm.h:261:49: warning: unused parameter ‘def’ [-Wunused-parameter] 261 | static inline int xsm_readconsole(xsm_default_t def, uint32_t clear) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_unbound’: ./include/xsm/xsm.h:267:19: warning: unused parameter ‘def’ [-Wunused-parameter] 267 | xsm_default_t def, struct domain *d1, struct evtchn *chn, domid_t id2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_interdomain’: ./include/xsm/xsm.h:273:19: warning: unused parameter ‘def’ [-Wunused-parameter] 273 | xsm_default_t def, struct domain *d1, struct evtchn *chan1, | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_send’: ./include/xsm/xsm.h:285:19: warning: unused parameter ‘def’ [-Wunused-parameter] 285 | xsm_default_t def, struct domain *d, struct evtchn *chn) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_status’: ./include/xsm/xsm.h:291:19: warning: unused parameter ‘def’ [-Wunused-parameter] 291 | xsm_default_t def, struct domain *d, struct evtchn *chn) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_reset’: ./include/xsm/xsm.h:297:19: warning: unused parameter ‘def’ [-Wunused-parameter] 297 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_mapref’: ./include/xsm/xsm.h:303:19: warning: unused parameter ‘def’ [-Wunused-parameter] 303 | xsm_default_t def, struct domain *d1, struct domain *d2, uint32_t flags) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_unmapref’: ./include/xsm/xsm.h:309:19: warning: unused parameter ‘def’ [-Wunused-parameter] 309 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_setup’: ./include/xsm/xsm.h:315:19: warning: unused parameter ‘def’ [-Wunused-parameter] 315 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_transfer’: ./include/xsm/xsm.h:321:19: warning: unused parameter ‘def’ [-Wunused-parameter] 321 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_copy’: ./include/xsm/xsm.h:327:19: warning: unused parameter ‘def’ [-Wunused-parameter] 327 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_query_size’: ./include/xsm/xsm.h:333:19: warning: unused parameter ‘def’ [-Wunused-parameter] 333 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_init_hardware_domain’: ./include/xsm/xsm.h:366:58: warning: unused parameter ‘def’ [-Wunused-parameter] 366 | static inline int xsm_init_hardware_domain(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_get_pod_target’: ./include/xsm/xsm.h:371:52: warning: unused parameter ‘def’ [-Wunused-parameter] 371 | static inline int xsm_get_pod_target(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_set_pod_target’: ./include/xsm/xsm.h:376:52: warning: unused parameter ‘def’ [-Wunused-parameter] 376 | static inline int xsm_set_pod_target(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_exchange’: ./include/xsm/xsm.h:381:53: warning: unused parameter ‘def’ [-Wunused-parameter] 381 | static inline int xsm_memory_exchange(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_adjust_reservation’: ./include/xsm/xsm.h:387:19: warning: unused parameter ‘def’ [-Wunused-parameter] 387 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_stat_reservation’: ./include/xsm/xsm.h:393:19: warning: unused parameter ‘def’ [-Wunused-parameter] 393 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_pin_page’: ./include/xsm/xsm.h:399:19: warning: unused parameter ‘def’ [-Wunused-parameter] 399 | xsm_default_t def, struct domain *d1, struct domain *d2, | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_add_to_physmap’: ./include/xsm/xsm.h:406:19: warning: unused parameter ‘def’ [-Wunused-parameter] 406 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_remove_from_physmap’: ./include/xsm/xsm.h:412:19: warning: unused parameter ‘def’ [-Wunused-parameter] 412 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_map_gmfn_foreign’: ./include/xsm/xsm.h:418:19: warning: unused parameter ‘def’ [-Wunused-parameter] 418 | xsm_default_t def, struct domain *d, struct domain *t) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_claim_pages’: ./include/xsm/xsm.h:423:49: warning: unused parameter ‘def’ [-Wunused-parameter] 423 | static inline int xsm_claim_pages(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_console_io’: ./include/xsm/xsm.h:428:48: warning: unused parameter ‘def’ [-Wunused-parameter] 428 | static inline int xsm_console_io(xsm_default_t def, struct domain *d, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_profile’: ./include/xsm/xsm.h:433:45: warning: unused parameter ‘def’ [-Wunused-parameter] 433 | static inline int xsm_profile(xsm_default_t def, struct domain *d, int op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_kexec’: ./include/xsm/xsm.h:438:43: warning: unused parameter ‘def’ [-Wunused-parameter] 438 | static inline int xsm_kexec(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_schedop_shutdown’: ./include/xsm/xsm.h:444:19: warning: unused parameter ‘def’ [-Wunused-parameter] 444 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_map_domain_pirq’: ./include/xsm/xsm.h:454:53: warning: unused parameter ‘def’ [-Wunused-parameter] 454 | static inline int xsm_map_domain_pirq(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_map_domain_irq’: ./include/xsm/xsm.h:460:19: warning: unused parameter ‘def’ [-Wunused-parameter] 460 | xsm_default_t def, struct domain *d, int irq, void *data) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_unmap_domain_pirq’: ./include/xsm/xsm.h:465:55: warning: unused parameter ‘def’ [-Wunused-parameter] 465 | static inline int xsm_unmap_domain_pirq(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_unmap_domain_irq’: ./include/xsm/xsm.h:471:19: warning: unused parameter ‘def’ [-Wunused-parameter] 471 | xsm_default_t def, struct domain *d, int irq, void *data) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_bind_pt_irq’: ./include/xsm/xsm.h:477:19: warning: unused parameter ‘def’ [-Wunused-parameter] 477 | xsm_default_t def, struct domain *d, struct xen_domctl_bind_pt_irq *bind) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_unbind_pt_irq’: ./include/xsm/xsm.h:483:19: warning: unused parameter ‘def’ [-Wunused-parameter] 483 | xsm_default_t def, struct domain *d, struct xen_domctl_bind_pt_irq *bind) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_irq_permission’: ./include/xsm/xsm.h:489:19: warning: unused parameter ‘def’ [-Wunused-parameter] 489 | xsm_default_t def, struct domain *d, int pirq, uint8_t allow) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_iomem_permission’: ./include/xsm/xsm.h:495:19: warning: unused parameter ‘def’ [-Wunused-parameter] 495 | xsm_default_t def, struct domain *d, uint64_t s, uint64_t e, uint8_t allow) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_iomem_mapping’: ./include/xsm/xsm.h:501:19: warning: unused parameter ‘def’ [-Wunused-parameter] 501 | xsm_default_t def, struct domain *d, uint64_t s, uint64_t e, uint8_t allow) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_pci_config_permission’: ./include/xsm/xsm.h:507:19: warning: unused parameter ‘def’ [-Wunused-parameter] 507 | xsm_default_t def, struct domain *d, uint32_t machine_bdf, uint16_t start, | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_assign_dtdevice’: ./include/xsm/xsm.h:534:19: warning: unused parameter ‘def’ [-Wunused-parameter] 534 | xsm_default_t def, struct domain *d, const char *dtpath) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_deassign_dtdevice’: ./include/xsm/xsm.h:540:19: warning: unused parameter ‘def’ [-Wunused-parameter] 540 | xsm_default_t def, struct domain *d, const char *dtpath) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_plug_pci’: ./include/xsm/xsm.h:547:55: warning: unused parameter ‘def’ [-Wunused-parameter] 547 | static inline int xsm_resource_plug_pci(xsm_default_t def, uint32_t machine_bdf) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_unplug_pci’: ./include/xsm/xsm.h:553:19: warning: unused parameter ‘def’ [-Wunused-parameter] 553 | xsm_default_t def, uint32_t machine_bdf) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_plug_core’: ./include/xsm/xsm.h:558:56: warning: unused parameter ‘def’ [-Wunused-parameter] 558 | static inline int xsm_resource_plug_core(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_unplug_core’: ./include/xsm/xsm.h:563:58: warning: unused parameter ‘def’ [-Wunused-parameter] 563 | static inline int xsm_resource_unplug_core(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_setup_pci’: ./include/xsm/xsm.h:569:19: warning: unused parameter ‘def’ [-Wunused-parameter] 569 | xsm_default_t def, uint32_t machine_bdf) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_setup_gsi’: ./include/xsm/xsm.h:574:56: warning: unused parameter ‘def’ [-Wunused-parameter] 574 | static inline int xsm_resource_setup_gsi(xsm_default_t def, int gsi) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_setup_misc’: ./include/xsm/xsm.h:579:57: warning: unused parameter ‘def’ [-Wunused-parameter] 579 | static inline int xsm_resource_setup_misc(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_page_offline’: ./include/xsm/xsm.h:584:50: warning: unused parameter ‘def’ [-Wunused-parameter] 584 | static inline int xsm_page_offline(xsm_default_t def, uint32_t cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hypfs_op’: ./include/xsm/xsm.h:589:46: warning: unused parameter ‘def’ [-Wunused-parameter] 589 | static inline int xsm_hypfs_op(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hvm_param’: ./include/xsm/xsm.h:607:19: warning: unused parameter ‘def’ [-Wunused-parameter] 607 | xsm_default_t def, struct domain *d, unsigned long op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hvm_param_altp2mhvm’: ./include/xsm/xsm.h:612:57: warning: unused parameter ‘def’ [-Wunused-parameter] 612 | static inline int xsm_hvm_param_altp2mhvm(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hvm_altp2mhvm_op’: ./include/xsm/xsm.h:618:19: warning: unused parameter ‘def’ [-Wunused-parameter] 618 | xsm_default_t def, struct domain *d, uint64_t mode, uint32_t op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_get_vnumainfo’: ./include/xsm/xsm.h:623:51: warning: unused parameter ‘def’ [-Wunused-parameter] 623 | static inline int xsm_get_vnumainfo(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_vm_event_control’: ./include/xsm/xsm.h:629:19: warning: unused parameter ‘def’ [-Wunused-parameter] 629 | xsm_default_t def, struct domain *d, int mode, int op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_mem_access’: ./include/xsm/xsm.h:635:48: warning: unused parameter ‘def’ [-Wunused-parameter] 635 | static inline int xsm_mem_access(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_platform_op’: ./include/xsm/xsm.h:655:49: warning: unused parameter ‘def’ [-Wunused-parameter] 655 | static inline int xsm_platform_op(xsm_default_t def, uint32_t op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_dm_op’: ./include/xsm/xsm.h:738:43: warning: unused parameter ‘def’ [-Wunused-parameter] 738 | static inline int xsm_dm_op(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_xen_version’: ./include/xsm/xsm.h:743:49: warning: unused parameter ‘def’ [-Wunused-parameter] 743 | static inline int xsm_xen_version(xsm_default_t def, uint32_t op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_domain_resource_map’: ./include/xsm/xsm.h:748:57: warning: unused parameter ‘def’ [-Wunused-parameter] 748 | static inline int xsm_domain_resource_map(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43, from ./include/xen/rwlock.h:7: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from arch/arm/domain.c:20: ./arch/arm/include/asm/event.h: In function ‘arch_virq_is_global’: ./arch/arm/include/asm/event.h:50:53: warning: unused parameter ‘virq’ [-Wunused-parameter] 50 | static inline bool arch_virq_is_global(unsigned int virq) | ~~~~~~~~~~~~~^~~~ In file included from arch/arm/domain.c:33: arch/arm/vpci.h: In function ‘domain_vpci_init’: arch/arm/vpci.h:22:51: warning: unused parameter ‘d’ [-Wunused-parameter] 22 | static inline int domain_vpci_init(struct domain *d) | ~~~~~~~~~~~~~~~^ arch/arm/vpci.h: In function ‘domain_vpci_get_num_mmio_handlers’: arch/arm/vpci.h:27:77: warning: unused parameter ‘d’ [-Wunused-parameter] 27 | static inline unsigned int domain_vpci_get_num_mmio_handlers(struct domain *d) | ~~~~~~~~~~~~~~~^ arch/arm/domain.c: In function ‘continue_running’: arch/arm/domain.c:336:36: warning: unused parameter ‘same’ [-Wunused-parameter] 336 | void continue_running(struct vcpu *same) | ~~~~~~~~~~~~~^~~~ arch/arm/domain.c: In function ‘sync_vcpu_execstate’: arch/arm/domain.c:346:39: warning: unused parameter ‘v’ [-Wunused-parameter] 346 | void sync_vcpu_execstate(struct vcpu *v) | ~~~~~~~~~~~~~^ arch/arm/domain.c: In function ‘dump_pageframe_info’: arch/arm/domain.c:496:41: warning: unused parameter ‘d’ [-Wunused-parameter] 496 | void dump_pageframe_info(struct domain *d) | ~~~~~~~~~~~~~~~^ arch/arm/domain.c: In function ‘alloc_vcpu_struct’: arch/arm/domain.c:511:53: warning: unused parameter ‘d’ [-Wunused-parameter] 511 | struct vcpu *alloc_vcpu_struct(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ arch/arm/domain.c: In function ‘arch_domain_create’: arch/arm/domain.c:696:37: warning: unused parameter ‘flags’ [-Wunused-parameter] 696 | unsigned int flags) | ~~~~~~~~~~~~~^~~~~ arch/arm/domain.c: In function ‘arch_domain_shutdown’: arch/arm/domain.c:855:42: warning: unused parameter ‘d’ [-Wunused-parameter] 855 | void arch_domain_shutdown(struct domain *d) | ~~~~~~~~~~~~~~~^ arch/arm/domain.c: In function ‘arch_domain_pause’: arch/arm/domain.c:859:39: warning: unused parameter ‘d’ [-Wunused-parameter] 859 | void arch_domain_pause(struct domain *d) | ~~~~~~~~~~~~~~~^ arch/arm/domain.c: In function ‘arch_domain_unpause’: arch/arm/domain.c:863:41: warning: unused parameter ‘d’ [-Wunused-parameter] 863 | void arch_domain_unpause(struct domain *d) | ~~~~~~~~~~~~~~~^ arch/arm/domain.c: In function ‘arch_domain_soft_reset’: arch/arm/domain.c:867:43: warning: unused parameter ‘d’ [-Wunused-parameter] 867 | int arch_domain_soft_reset(struct domain *d) | ~~~~~~~~~~~~~~~^ arch/arm/domain.c: In function ‘arch_initialise_vcpu’: arch/arm/domain.c:973:39: warning: unused parameter ‘v’ [-Wunused-parameter] 973 | int arch_initialise_vcpu(struct vcpu *v, XEN_GUEST_HANDLE_PARAM(void) arg) | ~~~~~~~~~~~~~^ arch/arm/domain.c:973:71: warning: unused parameter ‘arg’ [-Wunused-parameter] 973 | int arch_initialise_vcpu(struct vcpu *v, XEN_GUEST_HANDLE_PARAM(void) arg) arch/arm/domain.c: In function ‘vcpu_block_unless_event_pending’: arch/arm/domain.c:1184:51: warning: unused parameter ‘v’ [-Wunused-parameter] 1184 | void vcpu_block_unless_event_pending(struct vcpu *v) | ~~~~~~~~~~~~~^ In file included from ./include/xen/irq.h:5, from common/rwlock.c:2: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ common/rwlock.c: In function ‘queue_write_lock_slowpath’: common/rwlock.c:94:50: warning: comparison of integer expressions of different signedness: ‘int’ and ‘u32’ {aka ‘unsigned int’} [-Wsign-compare] 94 | cnts | _QW_WAITING) == cnts) ) | ^~ CC common/shutdown.o In file included from common/shutdown.c:3: ./include/xen/param.h: In function ‘no_config_param’: ./include/xen/param.h:193:19: warning: operand of ‘?:’ changes signedness from ‘long int’ to ‘size_t’ {aka ‘long unsigned int’} due to unsignedness of other operand [-Wsign-compare] 193 | int len = e ? ({ ASSERT(e >= s); e - s; }) : strlen(s); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/sched.h:6, from common/shutdown.c:4: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ CC common/softirq.o In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/rwlock.h:6, from ./include/xen/sched.h:7: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/domain.h:5, from ./include/xen/sched.h:11: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/mm.h:69, from common/softirq.c:13: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233, from ./arch/arm/include/asm/p2m.h:4, from ./arch/arm/include/asm/domain.h:7, from ./include/xen/domain.h:15: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/perfc.h:7, from ./include/xen/mm.h:70: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./arch/arm/include/asm/domain.h: In function ‘arch_vcpu_block’: ./arch/arm/include/asm/domain.h:297:49: warning: unused parameter ‘v’ [-Wunused-parameter] 297 | static inline void arch_vcpu_block(struct vcpu *v) {} | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘update_guest_memory_policy’: ./arch/arm/include/asm/domain.h:309:60: warning: unused parameter ‘v’ [-Wunused-parameter] 309 | static inline void update_guest_memory_policy(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h:310:75: warning: unused parameter ‘gmp’ [-Wunused-parameter] 310 | struct guest_memory_policy *gmp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from ./include/xen/sched.h:25: ./include/xen/vpci.h: In function ‘vpci_assign_device’: ./include/xen/vpci.h:278:54: warning: unused parameter ‘pdev’ [-Wunused-parameter] 278 | static inline int vpci_assign_device(struct pci_dev *pdev) | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_deassign_device’: ./include/xen/vpci.h:283:57: warning: unused parameter ‘pdev’ [-Wunused-parameter] 283 | static inline void vpci_deassign_device(struct pci_dev *pdev) { } | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_read’: ./include/xen/vpci.h:287:45: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:287:64: warning: unused parameter ‘reg’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:288:47: warning: unused parameter ‘size’ [-Wunused-parameter] 288 | unsigned int size) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_write’: ./include/xen/vpci.h:294:42: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:294:61: warning: unused parameter ‘reg’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:295:44: warning: unused parameter ‘size’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h:295:59: warning: unused parameter ‘data’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_process_pending’: ./include/xen/vpci.h:300:67: warning: unused parameter ‘v’ [-Wunused-parameter] 300 | static inline bool __must_check vpci_process_pending(struct vcpu *v) | ~~~~~~~~~~~~~^ In file included from ./include/xen/domain.h:5, from ./include/xen/sched.h:11, from common/softirq.c:15: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5, from ./arch/arm/include/asm/domain.h:7, from ./include/xen/domain.h:15: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/sched.h: In function ‘is_pv_32bit_domain’: ./include/xen/sched.h:1131:67: warning: unused parameter ‘d’ [-Wunused-parameter] 1131 | static always_inline bool is_pv_32bit_domain(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ In file included from common/shutdown.c:10: ./include/xen/kexec.h: In function ‘set_kexec_crash_area_size’: ./include/xen/kexec.h:93:50: warning: unused parameter ‘system_ram’ [-Wunused-parameter] 93 | static inline void set_kexec_crash_area_size(u64 system_ram) {} | ~~~~^~~~~~~~~~ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘arch_vcpu_block’: ./arch/arm/include/asm/domain.h:297:49: warning: unused parameter ‘v’ [-Wunused-parameter] 297 | static inline void arch_vcpu_block(struct vcpu *v) {} | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘update_guest_memory_policy’: ./arch/arm/include/asm/domain.h:309:60: warning: unused parameter ‘v’ [-Wunused-parameter] 309 | static inline void update_guest_memory_policy(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h:310:75: warning: unused parameter ‘gmp’ [-Wunused-parameter] 310 | struct guest_memory_policy *gmp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from ./include/xen/sched.h:25: ./include/xen/vpci.h: In function ‘vpci_assign_device’: ./include/xen/vpci.h:278:54: warning: unused parameter ‘pdev’ [-Wunused-parameter] 278 | static inline int vpci_assign_device(struct pci_dev *pdev) | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_deassign_device’: ./include/xen/vpci.h:283:57: warning: unused parameter ‘pdev’ [-Wunused-parameter] 283 | static inline void vpci_deassign_device(struct pci_dev *pdev) { } | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_read’: ./include/xen/vpci.h:287:45: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:287:64: warning: unused parameter ‘reg’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:288:47: warning: unused parameter ‘size’ [-Wunused-parameter] 288 | unsigned int size) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_write’: ./include/xen/vpci.h:294:42: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:294:61: warning: unused parameter ‘reg’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:295:44: warning: unused parameter ‘size’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h:295:59: warning: unused parameter ‘data’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_process_pending’: ./include/xen/vpci.h:300:67: warning: unused parameter ‘v’ [-Wunused-parameter] 300 | static inline bool __must_check vpci_process_pending(struct vcpu *v) | ~~~~~~~~~~~~~^ ./include/xen/sched.h: In function ‘is_pv_32bit_domain’: ./include/xen/sched.h:1131:67: warning: unused parameter ‘d’ [-Wunused-parameter] 1131 | static always_inline bool is_pv_32bit_domain(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ CC common/smp.o In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/asm-generic/hardirq.h:6, from ./arch/arm/include/generated/asm/hardirq.h:1, from common/smp.c:19: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/current.h:8, from ./arch/arm/include/asm/smp.h:6: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43, from common/smp.c:21: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ CC common/spinlock.o In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/cpu.h:5, from common/spinlock.c:1: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ CC common/stop_machine.o In file included from ./include/xen/irq.h:4, from common/spinlock.c:3: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/irq.h:5: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/sched.h:6, from common/stop_machine.c:23: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from common/spinlock.c:5: ./include/xen/param.h: In function ‘no_config_param’: ./include/xen/param.h:193:19: warning: operand of ‘?:’ changes signedness from ‘long int’ to ‘size_t’ {aka ‘long unsigned int’} due to unsignedness of other operand [-Wsign-compare] 193 | int len = e ? ({ ASSERT(e >= s); e - s; }) : strlen(s); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./include/xen/domain.h:5, from ./include/xen/sched.h:11, from ./arch/arm/include/asm/guest_access.h:5, from ./include/xen/guest_access.h:10, from common/spinlock.c:9: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233, from ./arch/arm/include/asm/p2m.h:4, from ./arch/arm/include/asm/domain.h:7, from ./include/xen/domain.h:15: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/rwlock.h:6, from ./include/xen/sched.h:7: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ In file included from ./include/xen/domain.h:5, from ./include/xen/sched.h:11: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ ./arch/arm/include/asm/domain.h: In function ‘arch_vcpu_block’: ./arch/arm/include/asm/domain.h:297:49: warning: unused parameter ‘v’ [-Wunused-parameter] 297 | static inline void arch_vcpu_block(struct vcpu *v) {} | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘update_guest_memory_policy’: ./arch/arm/include/asm/domain.h:309:60: warning: unused parameter ‘v’ [-Wunused-parameter] 309 | static inline void update_guest_memory_policy(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h:310:75: warning: unused parameter ‘gmp’ [-Wunused-parameter] 310 | struct guest_memory_policy *gmp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233, from ./arch/arm/include/asm/p2m.h:4, from ./arch/arm/include/asm/domain.h:7, from ./include/xen/domain.h:15: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ In file included from ./include/xen/sched.h:25: ./include/xen/vpci.h: In function ‘vpci_assign_device’: ./include/xen/vpci.h:278:54: warning: unused parameter ‘pdev’ [-Wunused-parameter] 278 | static inline int vpci_assign_device(struct pci_dev *pdev) | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_deassign_device’: ./include/xen/vpci.h:283:57: warning: unused parameter ‘pdev’ [-Wunused-parameter] 283 | static inline void vpci_deassign_device(struct pci_dev *pdev) { } | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_read’: ./include/xen/vpci.h:287:45: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:287:64: warning: unused parameter ‘reg’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:288:47: warning: unused parameter ‘size’ [-Wunused-parameter] 288 | unsigned int size) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_write’: ./include/xen/vpci.h:294:42: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:294:61: warning: unused parameter ‘reg’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:295:44: warning: unused parameter ‘size’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h:295:59: warning: unused parameter ‘data’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_process_pending’: ./include/xen/vpci.h:300:67: warning: unused parameter ‘v’ [-Wunused-parameter] 300 | static inline bool __must_check vpci_process_pending(struct vcpu *v) | ~~~~~~~~~~~~~^ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ ./include/xen/sched.h: In function ‘is_pv_32bit_domain’: In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/sched.h:1131:67: warning: unused parameter ‘d’ [-Wunused-parameter] 1131 | static always_inline bool is_pv_32bit_domain(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ common/spinlock.c: In function ‘cpu_lockdebug_callback’: common/spinlock.c:34:67: warning: unused parameter ‘nfb’ [-Wunused-parameter] 34 | static int cf_check cpu_lockdebug_callback(struct notifier_block *nfb, | ~~~~~~~~~~~~~~~~~~~~~~~^~~ common/spinlock.c: At top level: common/spinlock.c:79:1: warning: ‘static’ is not at beginning of declaration [-Wold-style-declaration] 79 | presmp_initcall(lockdebug_init); | ^~~~~~~~~~~~~~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: common/spinlock.c:312:1: warning: ‘inline’ is not at beginning of declaration [-Wold-style-declaration] 312 | static void always_inline spin_lock_common(spinlock_tickets_t *t, | ^~~~~~ ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ common/spinlock.c:362:1: warning: ‘inline’ is not at beginning of declaration [-Wold-style-declaration] 362 | static void always_inline spin_unlock_common(spinlock_tickets_t *t, | ^~~~~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: common/spinlock.c:391:1: warning: ‘inline’ is not at beginning of declaration [-Wold-style-declaration] 391 | static bool always_inline spin_is_locked_common(const spinlock_tickets_t *t) | ^~~~~~ ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ common/spinlock.c:405:1: warning: ‘inline’ is not at beginning of declaration [-Wold-style-declaration] 405 | static bool always_inline spin_trylock_common(spinlock_tickets_t *t, | ^~~~~~ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ common/spinlock.c:441:1: warning: ‘inline’ is not at beginning of declaration [-Wold-style-declaration] 441 | static void always_inline spin_barrier_common(spinlock_tickets_t *t, | ^~~~~~ common/spinlock.c: In function ‘spinlock_profile_print_elem’: common/spinlock.c:636:38: warning: unused parameter ‘par’ [-Wunused-parameter] 636 | int32_t type, int32_t idx, void *par) | ~~~~~~^~~ common/spinlock.c: In function ‘spinlock_profile_printall’: common/spinlock.c:665:55: warning: unused parameter ‘key’ [-Wunused-parameter] 665 | void cf_check spinlock_profile_printall(unsigned char key) | ~~~~~~~~~~~~~~^~~ common/spinlock.c: In function ‘spinlock_profile_reset_elem’: common/spinlock.c:677:13: warning: unused parameter ‘type’ [-Wunused-parameter] 677 | int32_t type, int32_t idx, void *par) | ~~~~~~~~^~~~ common/spinlock.c:677:27: warning: unused parameter ‘idx’ [-Wunused-parameter] 677 | int32_t type, int32_t idx, void *par) | ~~~~~~~~^~~ common/spinlock.c:677:38: warning: unused parameter ‘par’ [-Wunused-parameter] 677 | int32_t type, int32_t idx, void *par) | ~~~~~~^~~ common/spinlock.c: At top level: common/spinlock.c:804:1: warning: ‘static’ is not at beginning of declaration [-Wold-style-declaration] 804 | __initcall(lock_prof_init); | ^~~~~~~~~~ ./arch/arm/include/asm/domain.h: In function ‘arch_vcpu_block’: ./arch/arm/include/asm/domain.h:297:49: warning: unused parameter ‘v’ [-Wunused-parameter] 297 | static inline void arch_vcpu_block(struct vcpu *v) {} | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘update_guest_memory_policy’: ./arch/arm/include/asm/domain.h:309:60: warning: unused parameter ‘v’ [-Wunused-parameter] 309 | static inline void update_guest_memory_policy(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h:310:75: warning: unused parameter ‘gmp’ [-Wunused-parameter] 310 | struct guest_memory_policy *gmp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from ./include/xen/sched.h:25: ./include/xen/vpci.h: In function ‘vpci_assign_device’: ./include/xen/vpci.h:278:54: warning: unused parameter ‘pdev’ [-Wunused-parameter] 278 | static inline int vpci_assign_device(struct pci_dev *pdev) | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_deassign_device’: ./include/xen/vpci.h:283:57: warning: unused parameter ‘pdev’ [-Wunused-parameter] 283 | static inline void vpci_deassign_device(struct pci_dev *pdev) { } | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_read’: ./include/xen/vpci.h:287:45: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:287:64: warning: unused parameter ‘reg’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:288:47: warning: unused parameter ‘size’ [-Wunused-parameter] 288 | unsigned int size) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_write’: ./include/xen/vpci.h:294:42: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:294:61: warning: unused parameter ‘reg’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:295:44: warning: unused parameter ‘size’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h:295:59: warning: unused parameter ‘data’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_process_pending’: ./include/xen/vpci.h:300:67: warning: unused parameter ‘v’ [-Wunused-parameter] 300 | static inline bool __must_check vpci_process_pending(struct vcpu *v) | ~~~~~~~~~~~~~^ ./include/xen/sched.h: In function ‘is_pv_32bit_domain’: ./include/xen/sched.h:1131:67: warning: unused parameter ‘d’ [-Wunused-parameter] 1131 | static always_inline bool is_pv_32bit_domain(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ common/stop_machine.c: In function ‘stopmachine_wait_state’: common/stop_machine.c:66:49: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 66 | while ( atomic_read(&stopmachine_data.done) != stopmachine_data.nr_cpus ) | ^~ common/stop_machine.c: In function ‘cpu_callback’: common/stop_machine.c:186:28: warning: unused parameter ‘nfb’ [-Wunused-parameter] 186 | struct notifier_block *nfb, unsigned long action, void *hcpu) | ~~~~~~~~~~~~~~~~~~~~~~~^~~ common/stop_machine.c: At top level: common/stop_machine.c:212:1: warning: ‘static’ is not at beginning of declaration [-Wold-style-declaration] 212 | __initcall(cpu_stopmachine_init); | ^~~~~~~~~~ CC arch/arm/domain_build.o CC common/symbols.o In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/mm.h:69, from arch/arm/domain_build.c:5: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from common/symbols.c:18: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/perfc.h:7, from ./include/xen/mm.h:70: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from arch/arm/domain_build.c:6: ./include/xen/param.h: In function ‘no_config_param’: ./include/xen/param.h:193:19: warning: operand of ‘?:’ changes signedness from ‘long int’ to ‘size_t’ {aka ‘long unsigned int’} due to unsignedness of other operand [-Wsign-compare] 193 | int len = e ? ({ ASSERT(e >= s); e - s; }) : strlen(s); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from arch/arm/domain_build.c:7: ./include/xen/domain_page.h: In function ‘unmap_domain_page_global’: ./include/xen/domain_page.h:71:57: warning: unused parameter ‘va’ [-Wunused-parameter] 71 | static inline void unmap_domain_page_global(const void *va) {}; | ~~~~~~~~~~~~^~ In file included from ./include/xen/domain.h:5, from ./include/xen/sched.h:11, from arch/arm/domain_build.c:8: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5, from ./arch/arm/include/asm/domain.h:7, from ./include/xen/domain.h:15: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/rwlock.h:6, from ./include/xen/sched.h:7, from ./arch/arm/include/asm/guest_access.h:5, from ./include/xen/guest_access.h:10, from common/symbols.c:21: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ CC common/tasklet.o In file included from ./include/xen/domain.h:5, from ./include/xen/sched.h:11: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233, from ./arch/arm/include/asm/p2m.h:4, from ./arch/arm/include/asm/domain.h:7, from ./include/xen/domain.h:15: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/domain.h: In function ‘arch_vcpu_block’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/domain.h:297:49: warning: unused parameter ‘v’ [-Wunused-parameter] 297 | static inline void arch_vcpu_block(struct vcpu *v) {} | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘update_guest_memory_policy’: ./arch/arm/include/asm/domain.h:309:60: warning: unused parameter ‘v’ [-Wunused-parameter] 309 | static inline void update_guest_memory_policy(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h:310:75: warning: unused parameter ‘gmp’ [-Wunused-parameter] 310 | struct guest_memory_policy *gmp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/sched.h:25: ./include/xen/vpci.h: In function ‘vpci_assign_device’: ./include/xen/vpci.h:278:54: warning: unused parameter ‘pdev’ [-Wunused-parameter] 278 | static inline int vpci_assign_device(struct pci_dev *pdev) | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_deassign_device’: ./include/xen/vpci.h:283:57: warning: unused parameter ‘pdev’ [-Wunused-parameter] 283 | static inline void vpci_deassign_device(struct pci_dev *pdev) { } | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_read’: ./include/xen/vpci.h:287:45: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:287:64: warning: unused parameter ‘reg’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:288:47: warning: unused parameter ‘size’ [-Wunused-parameter] 288 | unsigned int size) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_write’: ./include/xen/vpci.h:294:42: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:294:61: warning: unused parameter ‘reg’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:295:44: warning: unused parameter ‘size’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h:295:59: warning: unused parameter ‘data’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_process_pending’: ./include/xen/vpci.h:300:67: warning: unused parameter ‘v’ [-Wunused-parameter] 300 | static inline bool __must_check vpci_process_pending(struct vcpu *v) | ~~~~~~~~~~~~~^ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./include/xen/sched.h: In function ‘is_pv_32bit_domain’: ./include/xen/sched.h:1131:67: warning: unused parameter ‘d’ [-Wunused-parameter] 1131 | static always_inline bool is_pv_32bit_domain(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ In file included from arch/arm/domain_build.c:18: ./include/xen/acpi.h: In function ‘acpi_set_cstate_limit’: ./include/xen/acpi.h:192:55: warning: unused parameter ‘new_limit’ [-Wunused-parameter] 192 | static inline void acpi_set_cstate_limit(unsigned int new_limit) { return; } | ~~~~~~~~~~~~~^~~~~~~~~ ./include/xen/acpi.h: In function ‘acpi_set_csubstate_limit’: ./include/xen/acpi.h:194:58: warning: unused parameter ‘new_limit’ [-Wunused-parameter] 194 | static inline void acpi_set_csubstate_limit(unsigned int new_limit) { return; } | ~~~~~~~~~~~~~^~~~~~~~~ In file included from arch/arm/domain_build.c:25: ./arch/arm/include/asm/pci.h: In function ‘arch_pci_init_pdev’: ./arch/arm/include/asm/pci.h:135:55: warning: unused parameter ‘pdev’ [-Wunused-parameter] 135 | static inline void arch_pci_init_pdev(struct pci_dev *pdev) {} | ~~~~~~~~~~~~~~~~^~~~ ./arch/arm/include/asm/pci.h: In function ‘pci_get_host_bridge_segment’: ./arch/arm/include/asm/pci.h:137:76: warning: unused parameter ‘node’ [-Wunused-parameter] 137 | static inline int pci_get_host_bridge_segment(const struct dt_device_node *node, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./arch/arm/include/asm/pci.h:138:57: warning: unused parameter ‘segment’ [-Wunused-parameter] 138 | uint16_t *segment) | ~~~~~~~~~~^~~~~~~ ./arch/arm/include/asm/domain.h: In function ‘arch_vcpu_block’: ./arch/arm/include/asm/domain.h:297:49: warning: unused parameter ‘v’ [-Wunused-parameter] 297 | static inline void arch_vcpu_block(struct vcpu *v) {} | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘update_guest_memory_policy’: ./arch/arm/include/asm/domain.h:309:60: warning: unused parameter ‘v’ [-Wunused-parameter] 309 | static inline void update_guest_memory_policy(struct vcpu *v, | ~~~~~~~~~~~~~^ In file included from ./include/xen/event.h:17, from arch/arm/domain_build.c:34: ./arch/arm/include/asm/event.h: In function ‘arch_virq_is_global’: ./arch/arm/include/asm/domain.h:310:75: warning: unused parameter ‘gmp’ [-Wunused-parameter] 310 | struct guest_memory_policy *gmp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/event.h:50:53: warning: unused parameter ‘virq’ [-Wunused-parameter] 50 | static inline bool arch_virq_is_global(unsigned int virq) | ~~~~~~~~~~~~~^~~~ In file included from ./include/xen/sched.h:25: ./include/xen/vpci.h: In function ‘vpci_assign_device’: ./include/xen/vpci.h:278:54: warning: unused parameter ‘pdev’ [-Wunused-parameter] 278 | static inline int vpci_assign_device(struct pci_dev *pdev) | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_deassign_device’: ./include/xen/vpci.h:283:57: warning: unused parameter ‘pdev’ [-Wunused-parameter] 283 | static inline void vpci_deassign_device(struct pci_dev *pdev) { } | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_read’: ./include/xen/vpci.h:287:45: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:287:64: warning: unused parameter ‘reg’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:288:47: warning: unused parameter ‘size’ [-Wunused-parameter] 288 | unsigned int size) | ~~~~~~~~~~~~~^~~~ In file included from ./include/xen/grant_table.h:31, from arch/arm/domain_build.c:37: ./arch/arm/include/asm/grant_table.h: In function ‘gnttab_mark_dirty’: ./arch/arm/include/asm/grant_table.h:20:53: warning: unused parameter ‘d’ [-Wunused-parameter] 20 | static inline void gnttab_mark_dirty(struct domain *d, mfn_t mfn) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/grant_table.h:20:62: warning: unused parameter ‘mfn’ [-Wunused-parameter] 20 | static inline void gnttab_mark_dirty(struct domain *d, mfn_t mfn) | ~~~~~~^~~ ./arch/arm/include/asm/grant_table.h: In function ‘gnttab_host_mapping_get_page_type’: ./arch/arm/include/asm/grant_table.h:27:59: warning: unused parameter ‘ro’ [-Wunused-parameter] 27 | static inline bool gnttab_host_mapping_get_page_type(bool ro, ./arch/arm/include/asm/grant_table.h:28:75: warning: unused parameter ‘ld’ [-Wunused-parameter] 28 | const struct domain *ld, | ~~~~~~~~~~~~~~~~~~~~~^~ ./arch/arm/include/asm/grant_table.h:29:75: warning: unused parameter ‘rd’ [-Wunused-parameter] 29 | const struct domain *rd) | ~~~~~~~~~~~~~~~~~~~~~^~ ./arch/arm/include/asm/grant_table.h: In function ‘gnttab_release_host_mappings’: ./arch/arm/include/asm/grant_table.h:34:70: warning: unused parameter ‘d’ [-Wunused-parameter] 34 | static inline bool gnttab_release_host_mappings(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ ./include/xen/vpci.h: In function ‘vpci_write’: ./include/xen/vpci.h:294:42: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:294:61: warning: unused parameter ‘reg’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:295:44: warning: unused parameter ‘size’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h:295:59: warning: unused parameter ‘data’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~^~~~ In file included from arch/arm/domain_build.c:39: ./include/xen/serial.h: At top level: ./include/xen/serial.h:166:1: warning: ‘inline’ is not at beginning of declaration [-Wold-style-declaration] 166 | static void inline xhci_dbc_uart_init(void) {} | ^~~~~~ ./include/xen/vpci.h: In function ‘vpci_process_pending’: ./include/xen/vpci.h:300:67: warning: unused parameter ‘v’ [-Wunused-parameter] 300 | static inline bool __must_check vpci_process_pending(struct vcpu *v) | ~~~~~~~~~~~~~^ arch/arm/domain_build.c: In function ‘write_properties’: arch/arm/domain_build.c:533:51: warning: unused parameter ‘d’ [-Wunused-parameter] 533 | static int __init write_properties(struct domain *d, struct kernel_info *kinfo, | ~~~~~~~~~~~~~~~^ arch/arm/domain_build.c: In function ‘domain_fdt_begin_node’: arch/arm/domain_build.c:747:14: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] 747 | if ( ret >= sizeof(buf) ) | ^~ In file included from ././include/xen/config.h:17, from : arch/arm/domain_build.c: In function ‘make_memory_node’: arch/arm/domain_build.c:801:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] 801 | BUG_ON(nr_cells >= ARRAY_SIZE(reg)); | ^~ ./include/xen/compiler.h:21:43: note: in definition of macro ‘unlikely’ 21 | #define unlikely(x) __builtin_expect(!!(x),0) | ^ arch/arm/domain_build.c:801:9: note: in expansion of macro ‘BUG_ON’ 801 | BUG_ON(nr_cells >= ARRAY_SIZE(reg)); | ^~~~~~ ./include/xen/sched.h: In function ‘is_pv_32bit_domain’: ./include/xen/sched.h:1131:67: warning: unused parameter ‘d’ [-Wunused-parameter] 1131 | static always_inline bool is_pv_32bit_domain(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ common/symbols.c: In function ‘get_symbol_offset’: common/symbols.c:95:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] 95 | for(i = 0; i < (pos&0xFF); i++) | ^ arch/arm/domain_build.c: In function ‘find_gnttab_region’: arch/arm/domain_build.c:1968:54: warning: unused parameter ‘d’ [-Wunused-parameter] 1968 | static void __init find_gnttab_region(struct domain *d, | ~~~~~~~~~~~~~~~^ In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/sched.h:6, from common/tasklet.c:17: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/rwlock.h:6, from ./include/xen/sched.h:7: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/domain.h:5, from ./include/xen/sched.h:11: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233, from ./arch/arm/include/asm/p2m.h:4, from ./arch/arm/include/asm/domain.h:7, from ./include/xen/domain.h:15: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘arch_vcpu_block’: ./arch/arm/include/asm/domain.h:297:49: warning: unused parameter ‘v’ [-Wunused-parameter] 297 | static inline void arch_vcpu_block(struct vcpu *v) {} | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘update_guest_memory_policy’: ./arch/arm/include/asm/domain.h:309:60: warning: unused parameter ‘v’ [-Wunused-parameter] 309 | static inline void update_guest_memory_policy(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h:310:75: warning: unused parameter ‘gmp’ [-Wunused-parameter] 310 | struct guest_memory_policy *gmp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from ./include/xen/sched.h:25: ./include/xen/vpci.h: In function ‘vpci_assign_device’: ./include/xen/vpci.h:278:54: warning: unused parameter ‘pdev’ [-Wunused-parameter] 278 | static inline int vpci_assign_device(struct pci_dev *pdev) | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_deassign_device’: ./include/xen/vpci.h:283:57: warning: unused parameter ‘pdev’ [-Wunused-parameter] 283 | static inline void vpci_deassign_device(struct pci_dev *pdev) { } | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_read’: ./include/xen/vpci.h:287:45: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:287:64: warning: unused parameter ‘reg’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:288:47: warning: unused parameter ‘size’ [-Wunused-parameter] 288 | unsigned int size) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_write’: ./include/xen/vpci.h:294:42: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:294:61: warning: unused parameter ‘reg’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:295:44: warning: unused parameter ‘size’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h:295:59: warning: unused parameter ‘data’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_process_pending’: ./include/xen/vpci.h:300:67: warning: unused parameter ‘v’ [-Wunused-parameter] 300 | static inline bool __must_check vpci_process_pending(struct vcpu *v) | ~~~~~~~~~~~~~^ ./include/xen/sched.h: In function ‘is_pv_32bit_domain’: ./include/xen/sched.h:1131:67: warning: unused parameter ‘d’ [-Wunused-parameter] 1131 | static always_inline bool is_pv_32bit_domain(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ In file included from ././include/xen/config.h:17, from : common/tasklet.c: In function ‘do_tasklet_work’: common/tasklet.c:88:60: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 88 | BUG_ON(t->is_dead || t->is_running || (t->scheduled_on != cpu)); | ^~ ./include/xen/compiler.h:21:43: note: in definition of macro ‘unlikely’ 21 | #define unlikely(x) __builtin_expect(!!(x),0) | ^ common/tasklet.c:88:5: note: in expansion of macro ‘BUG_ON’ 88 | BUG_ON(t->is_dead || t->is_running || (t->scheduled_on != cpu)); | ^~~~~~ common/tasklet.c: In function ‘migrate_tasklets_from_cpu’: common/tasklet.c:193:32: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 193 | BUG_ON(t->scheduled_on != cpu); | ^~ ./include/xen/compiler.h:21:43: note: in definition of macro ‘unlikely’ 21 | #define unlikely(x) __builtin_expect(!!(x),0) | ^ common/tasklet.c:193:9: note: in expansion of macro ‘BUG_ON’ 193 | BUG_ON(t->scheduled_on != cpu); | ^~~~~~ common/tasklet.c: In function ‘cpu_callback’: common/tasklet.c:219:28: warning: unused parameter ‘nfb’ [-Wunused-parameter] 219 | struct notifier_block *nfb, unsigned long action, void *hcpu) | ~~~~~~~~~~~~~~~~~~~~~~~^~~ CC common/time.o In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/sched.h:6, from common/time.c:18: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/rwlock.h:6, from ./include/xen/sched.h:7: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/domain.h:5, from ./include/xen/sched.h:11: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233, from ./arch/arm/include/asm/p2m.h:4, from ./arch/arm/include/asm/domain.h:7, from ./include/xen/domain.h:15: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘arch_vcpu_block’: ./arch/arm/include/asm/domain.h:297:49: warning: unused parameter ‘v’ [-Wunused-parameter] 297 | static inline void arch_vcpu_block(struct vcpu *v) {} | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘update_guest_memory_policy’: ./arch/arm/include/asm/domain.h:309:60: warning: unused parameter ‘v’ [-Wunused-parameter] 309 | static inline void update_guest_memory_policy(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h:310:75: warning: unused parameter ‘gmp’ [-Wunused-parameter] 310 | struct guest_memory_policy *gmp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from ./include/xen/sched.h:25: ./include/xen/vpci.h: In function ‘vpci_assign_device’: ./include/xen/vpci.h:278:54: warning: unused parameter ‘pdev’ [-Wunused-parameter] 278 | static inline int vpci_assign_device(struct pci_dev *pdev) | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_deassign_device’: ./include/xen/vpci.h:283:57: warning: unused parameter ‘pdev’ [-Wunused-parameter] 283 | static inline void vpci_deassign_device(struct pci_dev *pdev) { } | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_read’: ./include/xen/vpci.h:287:45: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:287:64: warning: unused parameter ‘reg’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:288:47: warning: unused parameter ‘size’ [-Wunused-parameter] 288 | unsigned int size) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_write’: ./include/xen/vpci.h:294:42: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:294:61: warning: unused parameter ‘reg’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:295:44: warning: unused parameter ‘size’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h:295:59: warning: unused parameter ‘data’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_process_pending’: ./include/xen/vpci.h:300:67: warning: unused parameter ‘v’ [-Wunused-parameter] 300 | static inline bool __must_check vpci_process_pending(struct vcpu *v) | ~~~~~~~~~~~~~^ ./include/xen/sched.h: In function ‘is_pv_32bit_domain’: ./include/xen/sched.h:1131:67: warning: unused parameter ‘d’ [-Wunused-parameter] 1131 | static always_inline bool is_pv_32bit_domain(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ CC common/timer.o CC common/trace.o In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/sched.h:6, from common/timer.c:11: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/arm64/io.h:25, from ./arch/arm/include/asm/io.h:7, from common/trace.c:19: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/rwlock.h:6, from ./include/xen/sched.h:7: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from common/trace.c:21: ./include/xen/param.h: In function ‘no_config_param’: ./include/xen/param.h:193:19: warning: operand of ‘?:’ changes signedness from ‘long int’ to ‘size_t’ {aka ‘long unsigned int’} due to unsignedness of other operand [-Wsign-compare] 193 | int len = e ? ({ ASSERT(e >= s); e - s; }) : strlen(s); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./include/xen/domain.h:5, from ./include/xen/sched.h:11: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43, from ./include/xen/sched.h:6, from common/trace.c:22: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233, from ./arch/arm/include/asm/p2m.h:4, from ./arch/arm/include/asm/domain.h:7, from ./include/xen/domain.h:15: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ CC common/version.o ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/rwlock.h:6, from ./include/xen/sched.h:7: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/domain.h:5, from ./include/xen/sched.h:11: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ ./arch/arm/include/asm/domain.h: In function ‘arch_vcpu_block’: ./arch/arm/include/asm/domain.h:297:49: warning: unused parameter ‘v’ [-Wunused-parameter] 297 | static inline void arch_vcpu_block(struct vcpu *v) {} | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘update_guest_memory_policy’: ./arch/arm/include/asm/domain.h:309:60: warning: unused parameter ‘v’ [-Wunused-parameter] 309 | static inline void update_guest_memory_policy(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h:310:75: warning: unused parameter ‘gmp’ [-Wunused-parameter] 310 | struct guest_memory_policy *gmp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233, from ./arch/arm/include/asm/p2m.h:4, from ./arch/arm/include/asm/domain.h:7, from ./include/xen/domain.h:15: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ In file included from ./include/xen/sched.h:25: ./include/xen/vpci.h: In function ‘vpci_assign_device’: ./include/xen/vpci.h:278:54: warning: unused parameter ‘pdev’ [-Wunused-parameter] 278 | static inline int vpci_assign_device(struct pci_dev *pdev) | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_deassign_device’: ./include/xen/vpci.h:283:57: warning: unused parameter ‘pdev’ [-Wunused-parameter] 283 | static inline void vpci_deassign_device(struct pci_dev *pdev) { } | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_read’: ./include/xen/vpci.h:287:45: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:287:64: warning: unused parameter ‘reg’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:288:47: warning: unused parameter ‘size’ [-Wunused-parameter] 288 | unsigned int size) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_write’: ./include/xen/vpci.h:294:42: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:294:61: warning: unused parameter ‘reg’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:295:44: warning: unused parameter ‘size’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h:295:59: warning: unused parameter ‘data’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_process_pending’: ./include/xen/vpci.h:300:67: warning: unused parameter ‘v’ [-Wunused-parameter] 300 | static inline bool __must_check vpci_process_pending(struct vcpu *v) | ~~~~~~~~~~~~~^ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/sched.h: In function ‘is_pv_32bit_domain’: ./include/xen/sched.h:1131:67: warning: unused parameter ‘d’ [-Wunused-parameter] 1131 | static always_inline bool is_pv_32bit_domain(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ In file included from common/timer.c:13: ./include/xen/param.h: In function ‘no_config_param’: ./include/xen/param.h:193:19: warning: operand of ‘?:’ changes signedness from ‘long int’ to ‘size_t’ {aka ‘long unsigned int’} due to unsignedness of other operand [-Wsign-compare] 193 | int len = e ? ({ ASSERT(e >= s); e - s; }) : strlen(s); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ common/timer.c: In function ‘dump_timerq’: common/timer.c:556:48: warning: unused parameter ‘key’ [-Wunused-parameter] 556 | static void cf_check dump_timerq(unsigned char key) | ~~~~~~~~~~~~~~^~~ common/timer.c: In function ‘cpu_callback’: common/timer.c:648:28: warning: unused parameter ‘nfb’ [-Wunused-parameter] 648 | struct notifier_block *nfb, unsigned long action, void *hcpu) | ~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/domain.h: In function ‘arch_vcpu_block’: ./arch/arm/include/asm/domain.h:297:49: warning: unused parameter ‘v’ [-Wunused-parameter] 297 | static inline void arch_vcpu_block(struct vcpu *v) {} | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘update_guest_memory_policy’: ./arch/arm/include/asm/domain.h:309:60: warning: unused parameter ‘v’ [-Wunused-parameter] 309 | static inline void update_guest_memory_policy(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h:310:75: warning: unused parameter ‘gmp’ [-Wunused-parameter] 310 | struct guest_memory_policy *gmp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from ./include/xen/sched.h:25: ./include/xen/vpci.h: In function ‘vpci_assign_device’: ./include/xen/vpci.h:278:54: warning: unused parameter ‘pdev’ [-Wunused-parameter] 278 | static inline int vpci_assign_device(struct pci_dev *pdev) | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_deassign_device’: ./include/xen/vpci.h:283:57: warning: unused parameter ‘pdev’ [-Wunused-parameter] 283 | static inline void vpci_deassign_device(struct pci_dev *pdev) { } | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_read’: ./include/xen/vpci.h:287:45: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:287:64: warning: unused parameter ‘reg’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:288:47: warning: unused parameter ‘size’ [-Wunused-parameter] 288 | unsigned int size) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_write’: ./include/xen/vpci.h:294:42: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:294:61: warning: unused parameter ‘reg’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:295:44: warning: unused parameter ‘size’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h:295:59: warning: unused parameter ‘data’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_process_pending’: ./include/xen/vpci.h:300:67: warning: unused parameter ‘v’ [-Wunused-parameter] 300 | static inline bool __must_check vpci_process_pending(struct vcpu *v) | ~~~~~~~~~~~~~^ ./include/xen/sched.h: In function ‘is_pv_32bit_domain’: ./include/xen/sched.h:1131:67: warning: unused parameter ‘d’ [-Wunused-parameter] 1131 | static always_inline bool is_pv_32bit_domain(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ In file included from ./include/xen/event.h:17, from common/trace.c:26: ./arch/arm/include/asm/event.h: In function ‘arch_virq_is_global’: ./arch/arm/include/asm/event.h:50:53: warning: unused parameter ‘virq’ [-Wunused-parameter] 50 | static inline bool arch_virq_is_global(unsigned int virq) | ~~~~~~~~~~~~~^~~~ common/trace.c: In function ‘cpu_callback’: common/trace.c:78:28: warning: unused parameter ‘nfb’ [-Wunused-parameter] 78 | struct notifier_block *nfb, unsigned long action, void *hcpu) | ~~~~~~~~~~~~~~~~~~~~~~~^~~ common/trace.c: In function ‘alloc_trace_bufs’: ./include/xen/cpumask.h:375:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 375 | (cpu) < nr_cpu_ids; \ | ^ ./include/xen/cpumask.h:459:36: note: in expansion of macro ‘for_each_cpu’ 459 | #define for_each_online_cpu(cpu) for_each_cpu(cpu, &cpu_online_map) | ^~~~~~~~~~~~ common/trace.c:201:5: note: in expansion of macro ‘for_each_online_cpu’ 201 | for_each_online_cpu(cpu) | ^~~~~~~~~~~~~~~~~~~ common/trace.c:206:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 206 | for ( i = 0; i < pages; i++ ) | ^ ./include/xen/cpumask.h:375:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 375 | (cpu) < nr_cpu_ids; \ | ^ ./include/xen/cpumask.h:459:36: note: in expansion of macro ‘for_each_cpu’ 459 | #define for_each_online_cpu(cpu) for_each_cpu(cpu, &cpu_online_map) | ^~~~~~~~~~~~ common/trace.c:223:5: note: in expansion of macro ‘for_each_online_cpu’ 223 | for_each_online_cpu(cpu) | ^~~~~~~~~~~~~~~~~~~ common/trace.c:239:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 239 | for ( i = 0; i < pages; i++ ) | ^ common/trace.c:245:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 245 | for(i = 0; i < t_info_pages; i++) | ^ ./include/xen/cpumask.h:375:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 375 | (cpu) < nr_cpu_ids; \ | ^ ./include/xen/cpumask.h:459:36: note: in expansion of macro ‘for_each_cpu’ 459 | #define for_each_online_cpu(cpu) for_each_cpu(cpu, &cpu_online_map) | ^~~~~~~~~~~~ common/trace.c:260:5: note: in expansion of macro ‘for_each_online_cpu’ 260 | for_each_online_cpu(cpu) | ^~~~~~~~~~~~~~~~~~~ common/trace.c:265:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 265 | for ( i = 0; i < pages; i++ ) | ^ common/trace.c: In function ‘tb_control’: ./include/xen/cpumask.h:375:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 375 | (cpu) < nr_cpu_ids; \ | ^ ./include/xen/cpumask.h:459:36: note: in expansion of macro ‘for_each_cpu’ 459 | #define for_each_online_cpu(cpu) for_each_cpu(cpu, &cpu_online_map) | ^~~~~~~~~~~~ common/trace.c:417:9: note: in expansion of macro ‘for_each_online_cpu’ 417 | for_each_online_cpu(i) | ^~~~~~~~~~~~~~~~~~~ In file included from ././include/xen/config.h:17, from : common/trace.c: In function ‘calc_unconsumed_bytes’: common/trace.c:473:14: warning: comparison of integer expressions of different signedness: ‘s32’ {aka ‘int’} and ‘u32’ {aka ‘unsigned int’} [-Wsign-compare] 473 | ASSERT(x <= data_size); | ^~ ./include/xen/compiler.h:21:43: note: in definition of macro ‘unlikely’ 21 | #define unlikely(x) __builtin_expect(!!(x),0) | ^ common/trace.c:473:5: note: in expansion of macro ‘ASSERT’ 473 | ASSERT(x <= data_size); | ^~~~~~ common/trace.c: In function ‘calc_bytes_to_wrap’: common/trace.c:492:14: warning: comparison of integer expressions of different signedness: ‘s32’ {aka ‘int’} and ‘u32’ {aka ‘unsigned int’} [-Wsign-compare] 492 | ASSERT(x <= data_size); | ^~ ./include/xen/compiler.h:21:43: note: in definition of macro ‘unlikely’ 21 | #define unlikely(x) __builtin_expect(!!(x),0) | ^ common/trace.c:492:5: note: in expansion of macro ‘ASSERT’ 492 | ASSERT(x <= data_size); | ^~~~~~ common/trace.c: In function ‘trace_notify_dom0’: common/trace.c:661:46: warning: unused parameter ‘unused’ [-Wunused-parameter] 661 | static void cf_check trace_notify_dom0(void *unused) | ~~~~~~^~~~~~ CC common/virtual_region.o In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/mm.h:69, from common/virtual_region.c:7: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ CC arch/arm/domctl.o In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/perfc.h:7, from ./include/xen/mm.h:70: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from common/virtual_region.c:8: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/current.h:8, from ./include/asm-generic/percpu.h:8, from ./arch/arm/include/generated/asm/percpu.h:1, from ./include/xen/percpu.h:30, from ./include/xen/rwlock.h:4, from ./include/xen/device_tree.h:22, from ./include/xen/dt-overlay.h:14, from arch/arm/domctl.c:8: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ common/virtual_region.c: At top level: common/virtual_region.c:101:1: warning: ‘inline’ is not at beginning of declaration [-Wold-style-declaration] 101 | static void inline remove_virtual_region(struct virtual_region *r) | ^~~~~~ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/rwlock.h:6: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43, from ./include/xen/rwlock.h:7: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./include/xen/domain.h:5, from ./include/xen/sched.h:11, from ./arch/arm/include/asm/guest_access.h:5, from ./include/xen/guest_access.h:10, from arch/arm/domctl.c:10: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233, from ./arch/arm/include/asm/p2m.h:4, from ./arch/arm/include/asm/domain.h:7, from ./include/xen/domain.h:15: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘arch_vcpu_block’: ./arch/arm/include/asm/domain.h:297:49: warning: unused parameter ‘v’ [-Wunused-parameter] 297 | static inline void arch_vcpu_block(struct vcpu *v) {} | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘update_guest_memory_policy’: ./arch/arm/include/asm/domain.h:309:60: warning: unused parameter ‘v’ [-Wunused-parameter] 309 | static inline void update_guest_memory_policy(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h:310:75: warning: unused parameter ‘gmp’ [-Wunused-parameter] 310 | struct guest_memory_policy *gmp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from ./include/xen/sched.h:25: ./include/xen/vpci.h: In function ‘vpci_assign_device’: ./include/xen/vpci.h:278:54: warning: unused parameter ‘pdev’ [-Wunused-parameter] 278 | static inline int vpci_assign_device(struct pci_dev *pdev) | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_deassign_device’: ./include/xen/vpci.h:283:57: warning: unused parameter ‘pdev’ [-Wunused-parameter] 283 | static inline void vpci_deassign_device(struct pci_dev *pdev) { } | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_read’: ./include/xen/vpci.h:287:45: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:287:64: warning: unused parameter ‘reg’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:288:47: warning: unused parameter ‘size’ [-Wunused-parameter] 288 | unsigned int size) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_write’: ./include/xen/vpci.h:294:42: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:294:61: warning: unused parameter ‘reg’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:295:44: warning: unused parameter ‘size’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h:295:59: warning: unused parameter ‘data’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_process_pending’: ./include/xen/vpci.h:300:67: warning: unused parameter ‘v’ [-Wunused-parameter] 300 | static inline bool __must_check vpci_process_pending(struct vcpu *v) | ~~~~~~~~~~~~~^ ./include/xen/sched.h: In function ‘is_pv_32bit_domain’: ./include/xen/sched.h:1131:67: warning: unused parameter ‘d’ [-Wunused-parameter] 1131 | static always_inline bool is_pv_32bit_domain(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ In file included from ./include/xen/hypercall.h:22, from arch/arm/domctl.c:11: ./include/xsm/xsm.h: In function ‘xsm_domain_create’: ./include/xsm/xsm.h:224:19: warning: unused parameter ‘def’ [-Wunused-parameter] 224 | xsm_default_t def, struct domain *d, uint32_t ssidref) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_getdomaininfo’: ./include/xsm/xsm.h:229:51: warning: unused parameter ‘def’ [-Wunused-parameter] 229 | static inline int xsm_getdomaininfo(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_domctl_scheduler_op’: ./include/xsm/xsm.h:235:19: warning: unused parameter ‘def’ [-Wunused-parameter] 235 | xsm_default_t def, struct domain *d, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_sysctl_scheduler_op’: ./include/xsm/xsm.h:240:57: warning: unused parameter ‘def’ [-Wunused-parameter] 240 | static inline int xsm_sysctl_scheduler_op(xsm_default_t def, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_set_target’: ./include/xsm/xsm.h:246:19: warning: unused parameter ‘def’ [-Wunused-parameter] 246 | xsm_default_t def, struct domain *d, struct domain *e) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_domctl’: ./include/xsm/xsm.h:251:44: warning: unused parameter ‘def’ [-Wunused-parameter] 251 | static inline int xsm_domctl(xsm_default_t def, struct domain *d, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_sysctl’: ./include/xsm/xsm.h:256:44: warning: unused parameter ‘def’ [-Wunused-parameter] 256 | static inline int xsm_sysctl(xsm_default_t def, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_readconsole’: ./include/xsm/xsm.h:261:49: warning: unused parameter ‘def’ [-Wunused-parameter] 261 | static inline int xsm_readconsole(xsm_default_t def, uint32_t clear) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_unbound’: ./include/xsm/xsm.h:267:19: warning: unused parameter ‘def’ [-Wunused-parameter] 267 | xsm_default_t def, struct domain *d1, struct evtchn *chn, domid_t id2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_interdomain’: ./include/xsm/xsm.h:273:19: warning: unused parameter ‘def’ [-Wunused-parameter] 273 | xsm_default_t def, struct domain *d1, struct evtchn *chan1, | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_send’: ./include/xsm/xsm.h:285:19: warning: unused parameter ‘def’ [-Wunused-parameter] 285 | xsm_default_t def, struct domain *d, struct evtchn *chn) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_status’: ./include/xsm/xsm.h:291:19: warning: unused parameter ‘def’ [-Wunused-parameter] 291 | xsm_default_t def, struct domain *d, struct evtchn *chn) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_reset’: ./include/xsm/xsm.h:297:19: warning: unused parameter ‘def’ [-Wunused-parameter] 297 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_mapref’: ./include/xsm/xsm.h:303:19: warning: unused parameter ‘def’ [-Wunused-parameter] 303 | xsm_default_t def, struct domain *d1, struct domain *d2, uint32_t flags) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_unmapref’: ./include/xsm/xsm.h:309:19: warning: unused parameter ‘def’ [-Wunused-parameter] 309 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_setup’: ./include/xsm/xsm.h:315:19: warning: unused parameter ‘def’ [-Wunused-parameter] 315 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_transfer’: ./include/xsm/xsm.h:321:19: warning: unused parameter ‘def’ [-Wunused-parameter] 321 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_copy’: ./include/xsm/xsm.h:327:19: warning: unused parameter ‘def’ [-Wunused-parameter] 327 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_query_size’: ./include/xsm/xsm.h:333:19: warning: unused parameter ‘def’ [-Wunused-parameter] 333 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_init_hardware_domain’: ./include/xsm/xsm.h:366:58: warning: unused parameter ‘def’ [-Wunused-parameter] 366 | static inline int xsm_init_hardware_domain(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_get_pod_target’: ./include/xsm/xsm.h:371:52: warning: unused parameter ‘def’ [-Wunused-parameter] 371 | static inline int xsm_get_pod_target(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_set_pod_target’: ./include/xsm/xsm.h:376:52: warning: unused parameter ‘def’ [-Wunused-parameter] 376 | static inline int xsm_set_pod_target(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_exchange’: ./include/xsm/xsm.h:381:53: warning: unused parameter ‘def’ [-Wunused-parameter] 381 | static inline int xsm_memory_exchange(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_adjust_reservation’: ./include/xsm/xsm.h:387:19: warning: unused parameter ‘def’ [-Wunused-parameter] 387 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_stat_reservation’: ./include/xsm/xsm.h:393:19: warning: unused parameter ‘def’ [-Wunused-parameter] 393 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_pin_page’: ./include/xsm/xsm.h:399:19: warning: unused parameter ‘def’ [-Wunused-parameter] 399 | xsm_default_t def, struct domain *d1, struct domain *d2, | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_add_to_physmap’: ./include/xsm/xsm.h:406:19: warning: unused parameter ‘def’ [-Wunused-parameter] 406 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_remove_from_physmap’: ./include/xsm/xsm.h:412:19: warning: unused parameter ‘def’ [-Wunused-parameter] 412 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_map_gmfn_foreign’: ./include/xsm/xsm.h:418:19: warning: unused parameter ‘def’ [-Wunused-parameter] 418 | xsm_default_t def, struct domain *d, struct domain *t) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_claim_pages’: ./include/xsm/xsm.h:423:49: warning: unused parameter ‘def’ [-Wunused-parameter] 423 | static inline int xsm_claim_pages(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_console_io’: ./include/xsm/xsm.h:428:48: warning: unused parameter ‘def’ [-Wunused-parameter] 428 | static inline int xsm_console_io(xsm_default_t def, struct domain *d, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_profile’: ./include/xsm/xsm.h:433:45: warning: unused parameter ‘def’ [-Wunused-parameter] 433 | static inline int xsm_profile(xsm_default_t def, struct domain *d, int op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_kexec’: ./include/xsm/xsm.h:438:43: warning: unused parameter ‘def’ [-Wunused-parameter] 438 | static inline int xsm_kexec(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_schedop_shutdown’: ./include/xsm/xsm.h:444:19: warning: unused parameter ‘def’ [-Wunused-parameter] 444 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_map_domain_pirq’: ./include/xsm/xsm.h:454:53: warning: unused parameter ‘def’ [-Wunused-parameter] 454 | static inline int xsm_map_domain_pirq(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_map_domain_irq’: ./include/xsm/xsm.h:460:19: warning: unused parameter ‘def’ [-Wunused-parameter] 460 | xsm_default_t def, struct domain *d, int irq, void *data) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_unmap_domain_pirq’: ./include/xsm/xsm.h:465:55: warning: unused parameter ‘def’ [-Wunused-parameter] 465 | static inline int xsm_unmap_domain_pirq(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_unmap_domain_irq’: ./include/xsm/xsm.h:471:19: warning: unused parameter ‘def’ [-Wunused-parameter] 471 | xsm_default_t def, struct domain *d, int irq, void *data) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_bind_pt_irq’: ./include/xsm/xsm.h:477:19: warning: unused parameter ‘def’ [-Wunused-parameter] 477 | xsm_default_t def, struct domain *d, struct xen_domctl_bind_pt_irq *bind) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_unbind_pt_irq’: ./include/xsm/xsm.h:483:19: warning: unused parameter ‘def’ [-Wunused-parameter] 483 | xsm_default_t def, struct domain *d, struct xen_domctl_bind_pt_irq *bind) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_irq_permission’: ./include/xsm/xsm.h:489:19: warning: unused parameter ‘def’ [-Wunused-parameter] 489 | xsm_default_t def, struct domain *d, int pirq, uint8_t allow) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_iomem_permission’: ./include/xsm/xsm.h:495:19: warning: unused parameter ‘def’ [-Wunused-parameter] 495 | xsm_default_t def, struct domain *d, uint64_t s, uint64_t e, uint8_t allow) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_iomem_mapping’: ./include/xsm/xsm.h:501:19: warning: unused parameter ‘def’ [-Wunused-parameter] 501 | xsm_default_t def, struct domain *d, uint64_t s, uint64_t e, uint8_t allow) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_pci_config_permission’: ./include/xsm/xsm.h:507:19: warning: unused parameter ‘def’ [-Wunused-parameter] 507 | xsm_default_t def, struct domain *d, uint32_t machine_bdf, uint16_t start, | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_assign_dtdevice’: ./include/xsm/xsm.h:534:19: warning: unused parameter ‘def’ [-Wunused-parameter] 534 | xsm_default_t def, struct domain *d, const char *dtpath) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_deassign_dtdevice’: ./include/xsm/xsm.h:540:19: warning: unused parameter ‘def’ [-Wunused-parameter] 540 | xsm_default_t def, struct domain *d, const char *dtpath) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_plug_pci’: ./include/xsm/xsm.h:547:55: warning: unused parameter ‘def’ [-Wunused-parameter] 547 | static inline int xsm_resource_plug_pci(xsm_default_t def, uint32_t machine_bdf) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_unplug_pci’: ./include/xsm/xsm.h:553:19: warning: unused parameter ‘def’ [-Wunused-parameter] 553 | xsm_default_t def, uint32_t machine_bdf) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_plug_core’: ./include/xsm/xsm.h:558:56: warning: unused parameter ‘def’ [-Wunused-parameter] 558 | static inline int xsm_resource_plug_core(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_unplug_core’: ./include/xsm/xsm.h:563:58: warning: unused parameter ‘def’ [-Wunused-parameter] 563 | static inline int xsm_resource_unplug_core(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_setup_pci’: ./include/xsm/xsm.h:569:19: warning: unused parameter ‘def’ [-Wunused-parameter] 569 | xsm_default_t def, uint32_t machine_bdf) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_setup_gsi’: ./include/xsm/xsm.h:574:56: warning: unused parameter ‘def’ [-Wunused-parameter] 574 | static inline int xsm_resource_setup_gsi(xsm_default_t def, int gsi) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_setup_misc’: ./include/xsm/xsm.h:579:57: warning: unused parameter ‘def’ [-Wunused-parameter] 579 | static inline int xsm_resource_setup_misc(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_page_offline’: ./include/xsm/xsm.h:584:50: warning: unused parameter ‘def’ [-Wunused-parameter] 584 | static inline int xsm_page_offline(xsm_default_t def, uint32_t cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hypfs_op’: ./include/xsm/xsm.h:589:46: warning: unused parameter ‘def’ [-Wunused-parameter] 589 | static inline int xsm_hypfs_op(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hvm_param’: ./include/xsm/xsm.h:607:19: warning: unused parameter ‘def’ [-Wunused-parameter] 607 | xsm_default_t def, struct domain *d, unsigned long op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hvm_param_altp2mhvm’: ./include/xsm/xsm.h:612:57: warning: unused parameter ‘def’ [-Wunused-parameter] 612 | static inline int xsm_hvm_param_altp2mhvm(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hvm_altp2mhvm_op’: ./include/xsm/xsm.h:618:19: warning: unused parameter ‘def’ [-Wunused-parameter] 618 | xsm_default_t def, struct domain *d, uint64_t mode, uint32_t op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_get_vnumainfo’: ./include/xsm/xsm.h:623:51: warning: unused parameter ‘def’ [-Wunused-parameter] 623 | static inline int xsm_get_vnumainfo(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_vm_event_control’: ./include/xsm/xsm.h:629:19: warning: unused parameter ‘def’ [-Wunused-parameter] 629 | xsm_default_t def, struct domain *d, int mode, int op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_mem_access’: ./include/xsm/xsm.h:635:48: warning: unused parameter ‘def’ [-Wunused-parameter] 635 | static inline int xsm_mem_access(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_platform_op’: ./include/xsm/xsm.h:655:49: warning: unused parameter ‘def’ [-Wunused-parameter] 655 | static inline int xsm_platform_op(xsm_default_t def, uint32_t op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_dm_op’: ./include/xsm/xsm.h:738:43: warning: unused parameter ‘def’ [-Wunused-parameter] 738 | static inline int xsm_dm_op(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_xen_version’: ./include/xsm/xsm.h:743:49: warning: unused parameter ‘def’ [-Wunused-parameter] 743 | static inline int xsm_xen_version(xsm_default_t def, uint32_t op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_domain_resource_map’: ./include/xsm/xsm.h:748:57: warning: unused parameter ‘def’ [-Wunused-parameter] 748 | static inline int xsm_domain_resource_map(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ arch/arm/domctl.c: In function ‘arch_get_domain_info’: arch/arm/domctl.c:20:48: warning: unused parameter ‘d’ [-Wunused-parameter] 20 | void arch_get_domain_info(const struct domain *d, | ~~~~~~~~~~~~~~~~~~~~~^ CC common/vm_event.o In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/sched.h:6, from common/vm_event.c:23: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/rwlock.h:6, from ./include/xen/sched.h:7: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/domain.h:5, from ./include/xen/sched.h:11: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233, from ./arch/arm/include/asm/p2m.h:4, from ./arch/arm/include/asm/domain.h:7, from ./include/xen/domain.h:15: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘arch_vcpu_block’: ./arch/arm/include/asm/domain.h:297:49: warning: unused parameter ‘v’ [-Wunused-parameter] 297 | static inline void arch_vcpu_block(struct vcpu *v) {} | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘update_guest_memory_policy’: ./arch/arm/include/asm/domain.h:309:60: warning: unused parameter ‘v’ [-Wunused-parameter] 309 | static inline void update_guest_memory_policy(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h:310:75: warning: unused parameter ‘gmp’ [-Wunused-parameter] 310 | struct guest_memory_policy *gmp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from ./include/xen/sched.h:25: ./include/xen/vpci.h: In function ‘vpci_assign_device’: ./include/xen/vpci.h:278:54: warning: unused parameter ‘pdev’ [-Wunused-parameter] 278 | static inline int vpci_assign_device(struct pci_dev *pdev) | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_deassign_device’: ./include/xen/vpci.h:283:57: warning: unused parameter ‘pdev’ [-Wunused-parameter] 283 | static inline void vpci_deassign_device(struct pci_dev *pdev) { } | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_read’: ./include/xen/vpci.h:287:45: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:287:64: warning: unused parameter ‘reg’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:288:47: warning: unused parameter ‘size’ [-Wunused-parameter] 288 | unsigned int size) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_write’: ./include/xen/vpci.h:294:42: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:294:61: warning: unused parameter ‘reg’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:295:44: warning: unused parameter ‘size’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h:295:59: warning: unused parameter ‘data’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_process_pending’: ./include/xen/vpci.h:300:67: warning: unused parameter ‘v’ [-Wunused-parameter] 300 | static inline bool __must_check vpci_process_pending(struct vcpu *v) | ~~~~~~~~~~~~~^ ./include/xen/sched.h: In function ‘is_pv_32bit_domain’: ./include/xen/sched.h:1131:67: warning: unused parameter ‘d’ [-Wunused-parameter] 1131 | static always_inline bool is_pv_32bit_domain(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ In file included from ./include/xen/event.h:17, from common/vm_event.c:24: ./arch/arm/include/asm/event.h: In function ‘arch_virq_is_global’: ./arch/arm/include/asm/event.h:50:53: warning: unused parameter ‘virq’ [-Wunused-parameter] 50 | static inline bool arch_virq_is_global(unsigned int virq) | ~~~~~~~~~~~~~^~~~ In file included from ./arch/arm/include/generated/asm/vm_event.h:1, from ./include/xen/vm_event.h:28, from common/vm_event.c:26: ./include/asm-generic/vm_event.h: In function ‘vm_event_init_domain’: ./include/asm-generic/vm_event.h:14:55: warning: unused parameter ‘d’ [-Wunused-parameter] 14 | static inline int vm_event_init_domain(struct domain *d) | ~~~~~~~~~~~~~~~^ ./include/asm-generic/vm_event.h: In function ‘vm_event_toggle_singlestep’: ./include/asm-generic/vm_event.h:25:62: warning: unused parameter ‘d’ [-Wunused-parameter] 25 | static inline void vm_event_toggle_singlestep(struct domain *d, struct vcpu *v, | ~~~~~~~~~~~~~~~^ ./include/asm-generic/vm_event.h:25:78: warning: unused parameter ‘v’ [-Wunused-parameter] 25 | static inline void vm_event_toggle_singlestep(struct domain *d, struct vcpu *v, | ~~~~~~~~~~~~~^ ./include/asm-generic/vm_event.h:26:68: warning: unused parameter ‘rsp’ [-Wunused-parameter] 26 | vm_event_response_t *rsp) | ~~~~~~~~~~~~~~~~~~~~~^~~ ./include/asm-generic/vm_event.h: In function ‘vm_event_register_write_resume’: ./include/asm-generic/vm_event.h:32:50: warning: unused parameter ‘v’ [-Wunused-parameter] 32 | void vm_event_register_write_resume(struct vcpu *v, vm_event_response_t *rsp) | ~~~~~~~~~~~~~^ ./include/asm-generic/vm_event.h:32:74: warning: unused parameter ‘rsp’ [-Wunused-parameter] 32 | void vm_event_register_write_resume(struct vcpu *v, vm_event_response_t *rsp) | ~~~~~~~~~~~~~~~~~~~~~^~~ ./include/asm-generic/vm_event.h: In function ‘vm_event_emulate_check’: ./include/asm-generic/vm_event.h:38:42: warning: unused parameter ‘v’ [-Wunused-parameter] 38 | void vm_event_emulate_check(struct vcpu *v, vm_event_response_t *rsp) | ~~~~~~~~~~~~~^ ./include/asm-generic/vm_event.h:38:66: warning: unused parameter ‘rsp’ [-Wunused-parameter] 38 | void vm_event_emulate_check(struct vcpu *v, vm_event_response_t *rsp) | ~~~~~~~~~~~~~~~~~~~~~^~~ ./include/asm-generic/vm_event.h: In function ‘vm_event_sync_event’: ./include/asm-generic/vm_event.h:44:39: warning: unused parameter ‘v’ [-Wunused-parameter] 44 | void vm_event_sync_event(struct vcpu *v, bool value) | ~~~~~~~~~~~~~^ ./include/asm-generic/vm_event.h:44:47: warning: unused parameter ‘value’ [-Wunused-parameter] 44 | void vm_event_sync_event(struct vcpu *v, bool value) ./include/asm-generic/vm_event.h: In function ‘vm_event_reset_vmtrace’: ./include/asm-generic/vm_event.h:50:42: warning: unused parameter ‘v’ [-Wunused-parameter] 50 | void vm_event_reset_vmtrace(struct vcpu *v) | ~~~~~~~~~~~~~^ In file included from ./arch/arm/include/asm/monitor.h:30, from common/vm_event.c:29: ./include/asm-generic/monitor.h: In function ‘arch_monitor_allow_userspace’: ./include/asm-generic/monitor.h:22:50: warning: unused parameter ‘d’ [-Wunused-parameter] 22 | void arch_monitor_allow_userspace(struct domain *d, bool allow_userspace) | ~~~~~~~~~~~~~~~^ ./include/asm-generic/monitor.h:22:58: warning: unused parameter ‘allow_userspace’ [-Wunused-parameter] 22 | void arch_monitor_allow_userspace(struct domain *d, bool allow_userspace) ./include/asm-generic/monitor.h: In function ‘arch_monitor_domctl_op’: ./include/asm-generic/monitor.h:27:43: warning: unused parameter ‘d’ [-Wunused-parameter] 27 | int arch_monitor_domctl_op(struct domain *d, struct xen_domctl_monitor_op *mop) | ~~~~~~~~~~~~~~~^ ./include/asm-generic/monitor.h:27:76: warning: unused parameter ‘mop’ [-Wunused-parameter] 27 | int arch_monitor_domctl_op(struct domain *d, struct xen_domctl_monitor_op *mop) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./include/asm-generic/monitor.h: In function ‘arch_monitor_init_domain’: ./include/asm-generic/monitor.h:43:45: warning: unused parameter ‘d’ [-Wunused-parameter] 43 | int arch_monitor_init_domain(struct domain *d) | ~~~~~~~~~~~~~~~^ ./include/asm-generic/monitor.h: In function ‘arch_monitor_cleanup_domain’: ./include/asm-generic/monitor.h:50:49: warning: unused parameter ‘d’ [-Wunused-parameter] 50 | void arch_monitor_cleanup_domain(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/monitor.h: In function ‘arch_monitor_get_capabilities’: ./arch/arm/include/asm/monitor.h:35:69: warning: unused parameter ‘d’ [-Wunused-parameter] 35 | static inline uint32_t arch_monitor_get_capabilities(struct domain *d) | ~~~~~~~~~~~~~~~^ In file included from common/vm_event.c:36: ./include/xsm/xsm.h: In function ‘xsm_domain_create’: ./include/xsm/xsm.h:224:19: warning: unused parameter ‘def’ [-Wunused-parameter] 224 | xsm_default_t def, struct domain *d, uint32_t ssidref) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_getdomaininfo’: ./include/xsm/xsm.h:229:51: warning: unused parameter ‘def’ [-Wunused-parameter] 229 | static inline int xsm_getdomaininfo(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_domctl_scheduler_op’: ./include/xsm/xsm.h:235:19: warning: unused parameter ‘def’ [-Wunused-parameter] 235 | xsm_default_t def, struct domain *d, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_sysctl_scheduler_op’: ./include/xsm/xsm.h:240:57: warning: unused parameter ‘def’ [-Wunused-parameter] 240 | static inline int xsm_sysctl_scheduler_op(xsm_default_t def, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_set_target’: ./include/xsm/xsm.h:246:19: warning: unused parameter ‘def’ [-Wunused-parameter] 246 | xsm_default_t def, struct domain *d, struct domain *e) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_domctl’: ./include/xsm/xsm.h:251:44: warning: unused parameter ‘def’ [-Wunused-parameter] 251 | static inline int xsm_domctl(xsm_default_t def, struct domain *d, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_sysctl’: ./include/xsm/xsm.h:256:44: warning: unused parameter ‘def’ [-Wunused-parameter] 256 | static inline int xsm_sysctl(xsm_default_t def, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_readconsole’: ./include/xsm/xsm.h:261:49: warning: unused parameter ‘def’ [-Wunused-parameter] 261 | static inline int xsm_readconsole(xsm_default_t def, uint32_t clear) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_unbound’: ./include/xsm/xsm.h:267:19: warning: unused parameter ‘def’ [-Wunused-parameter] 267 | xsm_default_t def, struct domain *d1, struct evtchn *chn, domid_t id2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_interdomain’: ./include/xsm/xsm.h:273:19: warning: unused parameter ‘def’ [-Wunused-parameter] 273 | xsm_default_t def, struct domain *d1, struct evtchn *chan1, | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_send’: ./include/xsm/xsm.h:285:19: warning: unused parameter ‘def’ [-Wunused-parameter] 285 | xsm_default_t def, struct domain *d, struct evtchn *chn) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_status’: ./include/xsm/xsm.h:291:19: warning: unused parameter ‘def’ [-Wunused-parameter] 291 | xsm_default_t def, struct domain *d, struct evtchn *chn) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_reset’: ./include/xsm/xsm.h:297:19: warning: unused parameter ‘def’ [-Wunused-parameter] 297 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_mapref’: ./include/xsm/xsm.h:303:19: warning: unused parameter ‘def’ [-Wunused-parameter] 303 | xsm_default_t def, struct domain *d1, struct domain *d2, uint32_t flags) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_unmapref’: ./include/xsm/xsm.h:309:19: warning: unused parameter ‘def’ [-Wunused-parameter] 309 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_setup’: ./include/xsm/xsm.h:315:19: warning: unused parameter ‘def’ [-Wunused-parameter] 315 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_transfer’: ./include/xsm/xsm.h:321:19: warning: unused parameter ‘def’ [-Wunused-parameter] 321 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_copy’: ./include/xsm/xsm.h:327:19: warning: unused parameter ‘def’ [-Wunused-parameter] 327 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_query_size’: ./include/xsm/xsm.h:333:19: warning: unused parameter ‘def’ [-Wunused-parameter] 333 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_init_hardware_domain’: ./include/xsm/xsm.h:366:58: warning: unused parameter ‘def’ [-Wunused-parameter] 366 | static inline int xsm_init_hardware_domain(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_get_pod_target’: ./include/xsm/xsm.h:371:52: warning: unused parameter ‘def’ [-Wunused-parameter] 371 | static inline int xsm_get_pod_target(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_set_pod_target’: ./include/xsm/xsm.h:376:52: warning: unused parameter ‘def’ [-Wunused-parameter] 376 | static inline int xsm_set_pod_target(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_exchange’: ./include/xsm/xsm.h:381:53: warning: unused parameter ‘def’ [-Wunused-parameter] 381 | static inline int xsm_memory_exchange(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_adjust_reservation’: ./include/xsm/xsm.h:387:19: warning: unused parameter ‘def’ [-Wunused-parameter] 387 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_stat_reservation’: ./include/xsm/xsm.h:393:19: warning: unused parameter ‘def’ [-Wunused-parameter] 393 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_pin_page’: ./include/xsm/xsm.h:399:19: warning: unused parameter ‘def’ [-Wunused-parameter] 399 | xsm_default_t def, struct domain *d1, struct domain *d2, | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_add_to_physmap’: ./include/xsm/xsm.h:406:19: warning: unused parameter ‘def’ [-Wunused-parameter] 406 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_remove_from_physmap’: ./include/xsm/xsm.h:412:19: warning: unused parameter ‘def’ [-Wunused-parameter] 412 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_map_gmfn_foreign’: ./include/xsm/xsm.h:418:19: warning: unused parameter ‘def’ [-Wunused-parameter] 418 | xsm_default_t def, struct domain *d, struct domain *t) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_claim_pages’: ./include/xsm/xsm.h:423:49: warning: unused parameter ‘def’ [-Wunused-parameter] 423 | static inline int xsm_claim_pages(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_console_io’: ./include/xsm/xsm.h:428:48: warning: unused parameter ‘def’ [-Wunused-parameter] 428 | static inline int xsm_console_io(xsm_default_t def, struct domain *d, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_profile’: ./include/xsm/xsm.h:433:45: warning: unused parameter ‘def’ [-Wunused-parameter] 433 | static inline int xsm_profile(xsm_default_t def, struct domain *d, int op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_kexec’: ./include/xsm/xsm.h:438:43: warning: unused parameter ‘def’ [-Wunused-parameter] 438 | static inline int xsm_kexec(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_schedop_shutdown’: ./include/xsm/xsm.h:444:19: warning: unused parameter ‘def’ [-Wunused-parameter] 444 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_map_domain_pirq’: ./include/xsm/xsm.h:454:53: warning: unused parameter ‘def’ [-Wunused-parameter] 454 | static inline int xsm_map_domain_pirq(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_map_domain_irq’: ./include/xsm/xsm.h:460:19: warning: unused parameter ‘def’ [-Wunused-parameter] 460 | xsm_default_t def, struct domain *d, int irq, void *data) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_unmap_domain_pirq’: ./include/xsm/xsm.h:465:55: warning: unused parameter ‘def’ [-Wunused-parameter] 465 | static inline int xsm_unmap_domain_pirq(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_unmap_domain_irq’: ./include/xsm/xsm.h:471:19: warning: unused parameter ‘def’ [-Wunused-parameter] 471 | xsm_default_t def, struct domain *d, int irq, void *data) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_bind_pt_irq’: ./include/xsm/xsm.h:477:19: warning: unused parameter ‘def’ [-Wunused-parameter] 477 | xsm_default_t def, struct domain *d, struct xen_domctl_bind_pt_irq *bind) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_unbind_pt_irq’: ./include/xsm/xsm.h:483:19: warning: unused parameter ‘def’ [-Wunused-parameter] 483 | xsm_default_t def, struct domain *d, struct xen_domctl_bind_pt_irq *bind) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_irq_permission’: ./include/xsm/xsm.h:489:19: warning: unused parameter ‘def’ [-Wunused-parameter] 489 | xsm_default_t def, struct domain *d, int pirq, uint8_t allow) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_iomem_permission’: ./include/xsm/xsm.h:495:19: warning: unused parameter ‘def’ [-Wunused-parameter] 495 | xsm_default_t def, struct domain *d, uint64_t s, uint64_t e, uint8_t allow) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_iomem_mapping’: ./include/xsm/xsm.h:501:19: warning: unused parameter ‘def’ [-Wunused-parameter] 501 | xsm_default_t def, struct domain *d, uint64_t s, uint64_t e, uint8_t allow) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_pci_config_permission’: ./include/xsm/xsm.h:507:19: warning: unused parameter ‘def’ [-Wunused-parameter] 507 | xsm_default_t def, struct domain *d, uint32_t machine_bdf, uint16_t start, | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_assign_dtdevice’: ./include/xsm/xsm.h:534:19: warning: unused parameter ‘def’ [-Wunused-parameter] 534 | xsm_default_t def, struct domain *d, const char *dtpath) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_deassign_dtdevice’: ./include/xsm/xsm.h:540:19: warning: unused parameter ‘def’ [-Wunused-parameter] 540 | xsm_default_t def, struct domain *d, const char *dtpath) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_plug_pci’: ./include/xsm/xsm.h:547:55: warning: unused parameter ‘def’ [-Wunused-parameter] 547 | static inline int xsm_resource_plug_pci(xsm_default_t def, uint32_t machine_bdf) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_unplug_pci’: ./include/xsm/xsm.h:553:19: warning: unused parameter ‘def’ [-Wunused-parameter] 553 | xsm_default_t def, uint32_t machine_bdf) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_plug_core’: ./include/xsm/xsm.h:558:56: warning: unused parameter ‘def’ [-Wunused-parameter] 558 | static inline int xsm_resource_plug_core(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_unplug_core’: ./include/xsm/xsm.h:563:58: warning: unused parameter ‘def’ [-Wunused-parameter] 563 | static inline int xsm_resource_unplug_core(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_setup_pci’: ./include/xsm/xsm.h:569:19: warning: unused parameter ‘def’ [-Wunused-parameter] 569 | xsm_default_t def, uint32_t machine_bdf) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_setup_gsi’: ./include/xsm/xsm.h:574:56: warning: unused parameter ‘def’ [-Wunused-parameter] 574 | static inline int xsm_resource_setup_gsi(xsm_default_t def, int gsi) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_setup_misc’: ./include/xsm/xsm.h:579:57: warning: unused parameter ‘def’ [-Wunused-parameter] 579 | static inline int xsm_resource_setup_misc(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_page_offline’: ./include/xsm/xsm.h:584:50: warning: unused parameter ‘def’ [-Wunused-parameter] 584 | static inline int xsm_page_offline(xsm_default_t def, uint32_t cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hypfs_op’: ./include/xsm/xsm.h:589:46: warning: unused parameter ‘def’ [-Wunused-parameter] 589 | static inline int xsm_hypfs_op(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hvm_param’: ./include/xsm/xsm.h:607:19: warning: unused parameter ‘def’ [-Wunused-parameter] 607 | xsm_default_t def, struct domain *d, unsigned long op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hvm_param_altp2mhvm’: ./include/xsm/xsm.h:612:57: warning: unused parameter ‘def’ [-Wunused-parameter] 612 | static inline int xsm_hvm_param_altp2mhvm(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hvm_altp2mhvm_op’: ./include/xsm/xsm.h:618:19: warning: unused parameter ‘def’ [-Wunused-parameter] 618 | xsm_default_t def, struct domain *d, uint64_t mode, uint32_t op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_get_vnumainfo’: ./include/xsm/xsm.h:623:51: warning: unused parameter ‘def’ [-Wunused-parameter] 623 | static inline int xsm_get_vnumainfo(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_vm_event_control’: ./include/xsm/xsm.h:629:19: warning: unused parameter ‘def’ [-Wunused-parameter] 629 | xsm_default_t def, struct domain *d, int mode, int op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_mem_access’: ./include/xsm/xsm.h:635:48: warning: unused parameter ‘def’ [-Wunused-parameter] 635 | static inline int xsm_mem_access(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_platform_op’: ./include/xsm/xsm.h:655:49: warning: unused parameter ‘def’ [-Wunused-parameter] 655 | static inline int xsm_platform_op(xsm_default_t def, uint32_t op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_dm_op’: ./include/xsm/xsm.h:738:43: warning: unused parameter ‘def’ [-Wunused-parameter] 738 | static inline int xsm_dm_op(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_xen_version’: ./include/xsm/xsm.h:743:49: warning: unused parameter ‘def’ [-Wunused-parameter] 743 | static inline int xsm_xen_version(xsm_default_t def, uint32_t op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_domain_resource_map’: ./include/xsm/xsm.h:748:57: warning: unused parameter ‘def’ [-Wunused-parameter] 748 | static inline int xsm_domain_resource_map(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ common/vm_event.c: In function ‘vm_event_wake_queued’: common/vm_event.c:161:49: warning: unused parameter ‘d’ [-Wunused-parameter] 161 | static void vm_event_wake_queued(struct domain *d, struct vm_event_domain *ved) | ~~~~~~~~~~~~~~~^ common/vm_event.c: In function ‘monitor_notification’: common/vm_event.c:549:72: warning: unused parameter ‘port’ [-Wunused-parameter] 549 | static void cf_check monitor_notification(struct vcpu *v, unsigned int port) | ~~~~~~~~~~~~~^~~~ CC arch/arm/efi/efi-dom0.o In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/mm.h:69, from ./common/efi/efi.h:9, from arch/arm/efi/efi-dom0.c:24: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ CC common/vmap.o In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/perfc.h:7, from ./include/xen/mm.h:70: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from ./include/xen/domain.h:5, from ./include/xen/sched.h:11, from arch/arm/efi/efi-dom0.c:25: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5, from ./arch/arm/include/asm/domain.h:7, from ./include/xen/domain.h:15: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/mm.h:69, from common/vmap.c:5: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./arch/arm/include/asm/domain.h: In function ‘arch_vcpu_block’: ./arch/arm/include/asm/domain.h:297:49: warning: unused parameter ‘v’ [-Wunused-parameter] 297 | static inline void arch_vcpu_block(struct vcpu *v) {} | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘update_guest_memory_policy’: ./arch/arm/include/asm/domain.h:309:60: warning: unused parameter ‘v’ [-Wunused-parameter] 309 | static inline void update_guest_memory_policy(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h:310:75: warning: unused parameter ‘gmp’ [-Wunused-parameter] 310 | struct guest_memory_policy *gmp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/perfc.h:7, from ./include/xen/mm.h:70: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/sched.h:25: ./include/xen/vpci.h: In function ‘vpci_assign_device’: ./include/xen/vpci.h:278:54: warning: unused parameter ‘pdev’ [-Wunused-parameter] 278 | static inline int vpci_assign_device(struct pci_dev *pdev) | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_deassign_device’: ./include/xen/vpci.h:283:57: warning: unused parameter ‘pdev’ [-Wunused-parameter] 283 | static inline void vpci_deassign_device(struct pci_dev *pdev) { } | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_read’: ./include/xen/vpci.h:287:45: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:287:64: warning: unused parameter ‘reg’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:288:47: warning: unused parameter ‘size’ [-Wunused-parameter] 288 | unsigned int size) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_write’: ./include/xen/vpci.h:294:42: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:294:61: warning: unused parameter ‘reg’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:295:44: warning: unused parameter ‘size’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h:295:59: warning: unused parameter ‘data’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_process_pending’: ./include/xen/vpci.h:300:67: warning: unused parameter ‘v’ [-Wunused-parameter] 300 | static inline bool __must_check vpci_process_pending(struct vcpu *v) | ~~~~~~~~~~~~~^ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/sched.h: In function ‘is_pv_32bit_domain’: ./include/xen/sched.h:1131:67: warning: unused parameter ‘d’ [-Wunused-parameter] 1131 | static always_inline bool is_pv_32bit_domain(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ common/vmap.c: In function ‘vzalloc’: common/vmap.c:332:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 332 | for ( i = 0; i < size; i += PAGE_SIZE ) | ^ CC arch/arm/efi/boot.o In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/mm.h:69, from ./common/efi/efi.h:9, from arch/arm/efi/boot.c:1: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/perfc.h:7, from ./include/xen/mm.h:70: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from arch/arm/efi/boot.c:9: ./include/xen/domain_page.h: In function ‘unmap_domain_page_global’: ./include/xen/domain_page.h:71:57: warning: unused parameter ‘va’ [-Wunused-parameter] 71 | static inline void unmap_domain_page_global(const void *va) {}; | ~~~~~~~~~~~~^~ In file included from arch/arm/efi/boot.c:15: ./include/xen/param.h: In function ‘no_config_param’: ./include/xen/param.h:193:19: warning: operand of ‘?:’ changes signedness from ‘long int’ to ‘size_t’ {aka ‘long unsigned int’} due to unsignedness of other operand [-Wsign-compare] 193 | int len = e ? ({ ASSERT(e >= s); e - s; }) : strlen(s); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ arch/arm/efi/boot.c: In function ‘efi_relocate_esrt’: arch/arm/efi/boot.c:631:56: warning: unused parameter ‘SystemTable’ [-Wunused-parameter] 631 | static void __init efi_relocate_esrt(EFI_SYSTEM_TABLE *SystemTable) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5, from ./arch/arm/include/asm/setup.h:5, from arch/arm/efi/efi-boot.h:8, from arch/arm/efi/boot.c:701: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ arch/arm/efi/efi-boot.h: In function ‘lookup_fdt_config_table’: arch/arm/efi/efi-boot.h:149:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘UINTN’ {aka ‘long unsigned int’} [-Wsign-compare] 149 | for ( i = 0; i < sys_table->NumberOfTableEntries; i++ ) | ^ arch/arm/efi/efi-boot.h: In function ‘efi_process_memory_map_bootinfo’: arch/arm/efi/efi-boot.h:190:28: warning: comparison of integer expressions of different signedness: ‘int’ and ‘UINTN’ {aka ‘long unsigned int’} [-Wsign-compare] 190 | for ( Index = 0; Index < (mmap_size / desc_size); Index++ ) | ^ arch/arm/efi/efi-boot.h: In function ‘efi_arch_relocate_image’: arch/arm/efi/efi-boot.h:370:58: warning: unused parameter ‘delta’ [-Wunused-parameter] 370 | static void __init efi_arch_relocate_image(unsigned long delta) | ~~~~~~~~~~~~~~^~~~~ arch/arm/efi/efi-boot.h: In function ‘efi_arch_cfg_file_late’: arch/arm/efi/efi-boot.h:428:67: warning: unused parameter ‘image’ [-Wunused-parameter] 428 | static void __init efi_arch_cfg_file_late(const EFI_LOADED_IMAGE *image, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ arch/arm/efi/efi-boot.h:429:59: warning: unused parameter ‘dir_handle’ [-Wunused-parameter] 429 | EFI_FILE_HANDLE dir_handle, | ~~~~~~~~~~~~~~~~^~~~~~~~~~ arch/arm/efi/efi-boot.h:430:55: warning: unused parameter ‘section’ [-Wunused-parameter] 430 | const char *section) | ~~~~~~~~~~~~^~~~~~~ arch/arm/efi/efi-boot.h: In function ‘efi_arch_edid’: arch/arm/efi/efi-boot.h:449:45: warning: unused parameter ‘gop_handle’ [-Wunused-parameter] 449 | static void __init efi_arch_edid(EFI_HANDLE gop_handle) | ~~~~~~~~~~~^~~~~~~~~~ arch/arm/efi/efi-boot.h: In function ‘efi_arch_handle_module’: arch/arm/efi/efi-boot.h:521:57: warning: unused parameter ‘name’ [-Wunused-parameter] 521 | const CHAR16 *name, | ~~~~~~~~~~~~~~^~~~ arch/arm/efi/efi-boot.h: In function ‘efi_arch_console_init’: arch/arm/efi/efi-boot.h:980:48: warning: unused parameter ‘cols’ [-Wunused-parameter] 980 | static void __init efi_arch_console_init(UINTN cols, UINTN rows) | ~~~~~~^~~~ arch/arm/efi/efi-boot.h:980:60: warning: unused parameter ‘rows’ [-Wunused-parameter] 980 | static void __init efi_arch_console_init(UINTN cols, UINTN rows) | ~~~~~~^~~~ arch/arm/efi/efi-boot.h: In function ‘efi_arch_video_init’: arch/arm/efi/efi-boot.h:984:70: warning: unused parameter ‘gop’ [-Wunused-parameter] 984 | static void __init efi_arch_video_init(EFI_GRAPHICS_OUTPUT_PROTOCOL *gop, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ arch/arm/efi/efi-boot.h:985:46: warning: unused parameter ‘info_size’ [-Wunused-parameter] 985 | UINTN info_size, | ~~~~~~^~~~~~~~~ arch/arm/efi/efi-boot.h:986:78: warning: unused parameter ‘mode_info’ [-Wunused-parameter] 986 | EFI_GRAPHICS_OUTPUT_MODE_INFORMATION *mode_info) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ arch/arm/efi/boot.c: In function ‘efi_console_set_mode’: arch/arm/efi/boot.c:875:13: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘INT32’ {aka ‘int’} [-Wsign-compare] 875 | i < StdOut->Mode->MaxMode; ++i ) | ^ arch/arm/efi/boot.c:884:15: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘INT32’ {aka ‘int’} [-Wsign-compare] 884 | if ( best != StdOut->Mode->Mode ) | ^~ CC common/vsprintf.o In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/sched.h:6, from common/vsprintf.c:22: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/rwlock.h:6, from ./include/xen/sched.h:7: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/domain.h:5, from ./include/xen/sched.h:11: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233, from ./arch/arm/include/asm/p2m.h:4, from ./arch/arm/include/asm/domain.h:7, from ./include/xen/domain.h:15: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘arch_vcpu_block’: ./arch/arm/include/asm/domain.h:297:49: warning: unused parameter ‘v’ [-Wunused-parameter] 297 | static inline void arch_vcpu_block(struct vcpu *v) {} | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘update_guest_memory_policy’: ./arch/arm/include/asm/domain.h:309:60: warning: unused parameter ‘v’ [-Wunused-parameter] 309 | static inline void update_guest_memory_policy(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h:310:75: warning: unused parameter ‘gmp’ [-Wunused-parameter] 310 | struct guest_memory_policy *gmp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ CC common/wait.o In file included from ./include/xen/sched.h:25: ./include/xen/vpci.h: In function ‘vpci_assign_device’: ./include/xen/vpci.h:278:54: warning: unused parameter ‘pdev’ [-Wunused-parameter] 278 | static inline int vpci_assign_device(struct pci_dev *pdev) | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_deassign_device’: ./include/xen/vpci.h:283:57: warning: unused parameter ‘pdev’ [-Wunused-parameter] 283 | static inline void vpci_deassign_device(struct pci_dev *pdev) { } | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_read’: ./include/xen/vpci.h:287:45: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:287:64: warning: unused parameter ‘reg’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:288:47: warning: unused parameter ‘size’ [-Wunused-parameter] 288 | unsigned int size) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_write’: ./include/xen/vpci.h:294:42: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:294:61: warning: unused parameter ‘reg’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:295:44: warning: unused parameter ‘size’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h:295:59: warning: unused parameter ‘data’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_process_pending’: ./include/xen/vpci.h:300:67: warning: unused parameter ‘v’ [-Wunused-parameter] 300 | static inline bool __must_check vpci_process_pending(struct vcpu *v) | ~~~~~~~~~~~~~^ ./include/xen/sched.h: In function ‘is_pv_32bit_domain’: ./include/xen/sched.h:1131:67: warning: unused parameter ‘d’ [-Wunused-parameter] 1131 | static always_inline bool is_pv_32bit_domain(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ common/vsprintf.c: In function ‘pointer’: common/vsprintf.c:379:22: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] 379 | if ( ++i == field_width ) | ^~ common/vsprintf.c: In function ‘vscnprintf’: common/vsprintf.c:705:11: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 705 | if (i >= size) | ^~ common/vsprintf.c: In function ‘scnprintf’: common/vsprintf.c:757:11: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 757 | if (i >= size) | ^~ In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/sched.h:6, from common/wait.c:22: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/rwlock.h:6, from ./include/xen/sched.h:7: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/domain.h:5, from ./include/xen/sched.h:11: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233, from ./arch/arm/include/asm/p2m.h:4, from ./arch/arm/include/asm/domain.h:7, from ./include/xen/domain.h:15: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘arch_vcpu_block’: ./arch/arm/include/asm/domain.h:297:49: warning: unused parameter ‘v’ [-Wunused-parameter] 297 | static inline void arch_vcpu_block(struct vcpu *v) {} | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘update_guest_memory_policy’: ./arch/arm/include/asm/domain.h:309:60: warning: unused parameter ‘v’ [-Wunused-parameter] 309 | static inline void update_guest_memory_policy(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h:310:75: warning: unused parameter ‘gmp’ [-Wunused-parameter] 310 | struct guest_memory_policy *gmp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from ./include/xen/sched.h:25: ./include/xen/vpci.h: In function ‘vpci_assign_device’: ./include/xen/vpci.h:278:54: warning: unused parameter ‘pdev’ [-Wunused-parameter] 278 | static inline int vpci_assign_device(struct pci_dev *pdev) | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_deassign_device’: ./include/xen/vpci.h:283:57: warning: unused parameter ‘pdev’ [-Wunused-parameter] 283 | static inline void vpci_deassign_device(struct pci_dev *pdev) { } | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_read’: ./include/xen/vpci.h:287:45: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:287:64: warning: unused parameter ‘reg’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:288:47: warning: unused parameter ‘size’ [-Wunused-parameter] 288 | unsigned int size) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_write’: ./include/xen/vpci.h:294:42: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:294:61: warning: unused parameter ‘reg’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:295:44: warning: unused parameter ‘size’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h:295:59: warning: unused parameter ‘data’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_process_pending’: ./include/xen/vpci.h:300:67: warning: unused parameter ‘v’ [-Wunused-parameter] 300 | static inline bool __must_check vpci_process_pending(struct vcpu *v) | ~~~~~~~~~~~~~^ ./include/xen/sched.h: In function ‘is_pv_32bit_domain’: ./include/xen/sched.h:1131:67: warning: unused parameter ‘d’ [-Wunused-parameter] 1131 | static always_inline bool is_pv_32bit_domain(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ CC common/xmalloc_tlsf.o In file included from ./include/xen/irq.h:4, from common/xmalloc_tlsf.c:26: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/rcupdate.h:36, from ./include/xen/irq.h:5: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233, from common/xmalloc_tlsf.c:27: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ CC common/domctl.o In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/mm.h:69, from common/domctl.c:12: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/perfc.h:7, from ./include/xen/mm.h:70: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from ./include/xen/domain.h:5, from ./include/xen/sched.h:11, from common/domctl.c:13: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5, from ./arch/arm/include/asm/domain.h:7, from ./include/xen/domain.h:15: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘arch_vcpu_block’: ./arch/arm/include/asm/domain.h:297:49: warning: unused parameter ‘v’ [-Wunused-parameter] 297 | static inline void arch_vcpu_block(struct vcpu *v) {} | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘update_guest_memory_policy’: ./arch/arm/include/asm/domain.h:309:60: warning: unused parameter ‘v’ [-Wunused-parameter] 309 | static inline void update_guest_memory_policy(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h:310:75: warning: unused parameter ‘gmp’ [-Wunused-parameter] 310 | struct guest_memory_policy *gmp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from ./include/xen/sched.h:25: ./include/xen/vpci.h: In function ‘vpci_assign_device’: ./include/xen/vpci.h:278:54: warning: unused parameter ‘pdev’ [-Wunused-parameter] 278 | static inline int vpci_assign_device(struct pci_dev *pdev) | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_deassign_device’: ./include/xen/vpci.h:283:57: warning: unused parameter ‘pdev’ [-Wunused-parameter] 283 | static inline void vpci_deassign_device(struct pci_dev *pdev) { } | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_read’: ./include/xen/vpci.h:287:45: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:287:64: warning: unused parameter ‘reg’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:288:47: warning: unused parameter ‘size’ [-Wunused-parameter] 288 | unsigned int size) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_write’: ./include/xen/vpci.h:294:42: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:294:61: warning: unused parameter ‘reg’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:295:44: warning: unused parameter ‘size’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h:295:59: warning: unused parameter ‘data’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_process_pending’: ./include/xen/vpci.h:300:67: warning: unused parameter ‘v’ [-Wunused-parameter] 300 | static inline bool __must_check vpci_process_pending(struct vcpu *v) | ~~~~~~~~~~~~~^ ./include/xen/sched.h: In function ‘is_pv_32bit_domain’: ./include/xen/sched.h:1131:67: warning: unused parameter ‘d’ [-Wunused-parameter] 1131 | static always_inline bool is_pv_32bit_domain(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ In file included from ./include/xen/event.h:17, from common/domctl.c:15: ./arch/arm/include/asm/event.h: In function ‘arch_virq_is_global’: ./arch/arm/include/asm/event.h:50:53: warning: unused parameter ‘virq’ [-Wunused-parameter] 50 | static inline bool arch_virq_is_global(unsigned int virq) | ~~~~~~~~~~~~~^~~~ In file included from ./include/xen/grant_table.h:31, from common/domctl.c:16: ./arch/arm/include/asm/grant_table.h: In function ‘gnttab_mark_dirty’: ./arch/arm/include/asm/grant_table.h:20:53: warning: unused parameter ‘d’ [-Wunused-parameter] 20 | static inline void gnttab_mark_dirty(struct domain *d, mfn_t mfn) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/grant_table.h:20:62: warning: unused parameter ‘mfn’ [-Wunused-parameter] 20 | static inline void gnttab_mark_dirty(struct domain *d, mfn_t mfn) | ~~~~~~^~~ ./arch/arm/include/asm/grant_table.h: In function ‘gnttab_host_mapping_get_page_type’: ./arch/arm/include/asm/grant_table.h:27:59: warning: unused parameter ‘ro’ [-Wunused-parameter] 27 | static inline bool gnttab_host_mapping_get_page_type(bool ro, ./arch/arm/include/asm/grant_table.h:28:75: warning: unused parameter ‘ld’ [-Wunused-parameter] 28 | const struct domain *ld, | ~~~~~~~~~~~~~~~~~~~~~^~ ./arch/arm/include/asm/grant_table.h:29:75: warning: unused parameter ‘rd’ [-Wunused-parameter] 29 | const struct domain *rd) | ~~~~~~~~~~~~~~~~~~~~~^~ ./arch/arm/include/asm/grant_table.h: In function ‘gnttab_release_host_mappings’: ./arch/arm/include/asm/grant_table.h:34:70: warning: unused parameter ‘d’ [-Wunused-parameter] 34 | static inline bool gnttab_release_host_mappings(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ In file included from common/domctl.c:17: ./include/xen/domain_page.h: In function ‘unmap_domain_page_global’: ./include/xen/domain_page.h:71:57: warning: unused parameter ‘va’ [-Wunused-parameter] 71 | static inline void unmap_domain_page_global(const void *va) {}; | ~~~~~~~~~~~~^~ In file included from ./include/xen/hypercall.h:22, from common/domctl.c:25: ./include/xsm/xsm.h: In function ‘xsm_domain_create’: ./include/xsm/xsm.h:224:19: warning: unused parameter ‘def’ [-Wunused-parameter] 224 | xsm_default_t def, struct domain *d, uint32_t ssidref) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_getdomaininfo’: ./include/xsm/xsm.h:229:51: warning: unused parameter ‘def’ [-Wunused-parameter] 229 | static inline int xsm_getdomaininfo(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_domctl_scheduler_op’: ./include/xsm/xsm.h:235:19: warning: unused parameter ‘def’ [-Wunused-parameter] 235 | xsm_default_t def, struct domain *d, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_sysctl_scheduler_op’: ./include/xsm/xsm.h:240:57: warning: unused parameter ‘def’ [-Wunused-parameter] 240 | static inline int xsm_sysctl_scheduler_op(xsm_default_t def, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_set_target’: ./include/xsm/xsm.h:246:19: warning: unused parameter ‘def’ [-Wunused-parameter] 246 | xsm_default_t def, struct domain *d, struct domain *e) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_domctl’: ./include/xsm/xsm.h:251:44: warning: unused parameter ‘def’ [-Wunused-parameter] 251 | static inline int xsm_domctl(xsm_default_t def, struct domain *d, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_sysctl’: ./include/xsm/xsm.h:256:44: warning: unused parameter ‘def’ [-Wunused-parameter] 256 | static inline int xsm_sysctl(xsm_default_t def, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_readconsole’: ./include/xsm/xsm.h:261:49: warning: unused parameter ‘def’ [-Wunused-parameter] 261 | static inline int xsm_readconsole(xsm_default_t def, uint32_t clear) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_unbound’: ./include/xsm/xsm.h:267:19: warning: unused parameter ‘def’ [-Wunused-parameter] 267 | xsm_default_t def, struct domain *d1, struct evtchn *chn, domid_t id2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_interdomain’: ./include/xsm/xsm.h:273:19: warning: unused parameter ‘def’ [-Wunused-parameter] 273 | xsm_default_t def, struct domain *d1, struct evtchn *chan1, | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_send’: ./include/xsm/xsm.h:285:19: warning: unused parameter ‘def’ [-Wunused-parameter] 285 | xsm_default_t def, struct domain *d, struct evtchn *chn) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_status’: ./include/xsm/xsm.h:291:19: warning: unused parameter ‘def’ [-Wunused-parameter] 291 | xsm_default_t def, struct domain *d, struct evtchn *chn) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_reset’: ./include/xsm/xsm.h:297:19: warning: unused parameter ‘def’ [-Wunused-parameter] 297 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_mapref’: ./include/xsm/xsm.h:303:19: warning: unused parameter ‘def’ [-Wunused-parameter] 303 | xsm_default_t def, struct domain *d1, struct domain *d2, uint32_t flags) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_unmapref’: ./include/xsm/xsm.h:309:19: warning: unused parameter ‘def’ [-Wunused-parameter] 309 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_setup’: ./include/xsm/xsm.h:315:19: warning: unused parameter ‘def’ [-Wunused-parameter] 315 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_transfer’: ./include/xsm/xsm.h:321:19: warning: unused parameter ‘def’ [-Wunused-parameter] 321 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_copy’: ./include/xsm/xsm.h:327:19: warning: unused parameter ‘def’ [-Wunused-parameter] 327 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_query_size’: ./include/xsm/xsm.h:333:19: warning: unused parameter ‘def’ [-Wunused-parameter] 333 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_init_hardware_domain’: ./include/xsm/xsm.h:366:58: warning: unused parameter ‘def’ [-Wunused-parameter] 366 | static inline int xsm_init_hardware_domain(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_get_pod_target’: ./include/xsm/xsm.h:371:52: warning: unused parameter ‘def’ [-Wunused-parameter] 371 | static inline int xsm_get_pod_target(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_set_pod_target’: ./include/xsm/xsm.h:376:52: warning: unused parameter ‘def’ [-Wunused-parameter] 376 | static inline int xsm_set_pod_target(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_exchange’: ./include/xsm/xsm.h:381:53: warning: unused parameter ‘def’ [-Wunused-parameter] 381 | static inline int xsm_memory_exchange(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_adjust_reservation’: ./include/xsm/xsm.h:387:19: warning: unused parameter ‘def’ [-Wunused-parameter] 387 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_stat_reservation’: ./include/xsm/xsm.h:393:19: warning: unused parameter ‘def’ [-Wunused-parameter] 393 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_pin_page’: ./include/xsm/xsm.h:399:19: warning: unused parameter ‘def’ [-Wunused-parameter] 399 | xsm_default_t def, struct domain *d1, struct domain *d2, | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_add_to_physmap’: ./include/xsm/xsm.h:406:19: warning: unused parameter ‘def’ [-Wunused-parameter] 406 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_remove_from_physmap’: ./include/xsm/xsm.h:412:19: warning: unused parameter ‘def’ [-Wunused-parameter] 412 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_map_gmfn_foreign’: ./include/xsm/xsm.h:418:19: warning: unused parameter ‘def’ [-Wunused-parameter] 418 | xsm_default_t def, struct domain *d, struct domain *t) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_claim_pages’: ./include/xsm/xsm.h:423:49: warning: unused parameter ‘def’ [-Wunused-parameter] 423 | static inline int xsm_claim_pages(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_console_io’: ./include/xsm/xsm.h:428:48: warning: unused parameter ‘def’ [-Wunused-parameter] 428 | static inline int xsm_console_io(xsm_default_t def, struct domain *d, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_profile’: ./include/xsm/xsm.h:433:45: warning: unused parameter ‘def’ [-Wunused-parameter] 433 | static inline int xsm_profile(xsm_default_t def, struct domain *d, int op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_kexec’: ./include/xsm/xsm.h:438:43: warning: unused parameter ‘def’ [-Wunused-parameter] 438 | static inline int xsm_kexec(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_schedop_shutdown’: ./include/xsm/xsm.h:444:19: warning: unused parameter ‘def’ [-Wunused-parameter] 444 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_map_domain_pirq’: ./include/xsm/xsm.h:454:53: warning: unused parameter ‘def’ [-Wunused-parameter] 454 | static inline int xsm_map_domain_pirq(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_map_domain_irq’: ./include/xsm/xsm.h:460:19: warning: unused parameter ‘def’ [-Wunused-parameter] 460 | xsm_default_t def, struct domain *d, int irq, void *data) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_unmap_domain_pirq’: ./include/xsm/xsm.h:465:55: warning: unused parameter ‘def’ [-Wunused-parameter] 465 | static inline int xsm_unmap_domain_pirq(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_unmap_domain_irq’: ./include/xsm/xsm.h:471:19: warning: unused parameter ‘def’ [-Wunused-parameter] 471 | xsm_default_t def, struct domain *d, int irq, void *data) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_bind_pt_irq’: ./include/xsm/xsm.h:477:19: warning: unused parameter ‘def’ [-Wunused-parameter] 477 | xsm_default_t def, struct domain *d, struct xen_domctl_bind_pt_irq *bind) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_unbind_pt_irq’: ./include/xsm/xsm.h:483:19: warning: unused parameter ‘def’ [-Wunused-parameter] 483 | xsm_default_t def, struct domain *d, struct xen_domctl_bind_pt_irq *bind) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_irq_permission’: ./include/xsm/xsm.h:489:19: warning: unused parameter ‘def’ [-Wunused-parameter] 489 | xsm_default_t def, struct domain *d, int pirq, uint8_t allow) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_iomem_permission’: ./include/xsm/xsm.h:495:19: warning: unused parameter ‘def’ [-Wunused-parameter] 495 | xsm_default_t def, struct domain *d, uint64_t s, uint64_t e, uint8_t allow) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_iomem_mapping’: ./include/xsm/xsm.h:501:19: warning: unused parameter ‘def’ [-Wunused-parameter] 501 | xsm_default_t def, struct domain *d, uint64_t s, uint64_t e, uint8_t allow) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_pci_config_permission’: ./include/xsm/xsm.h:507:19: warning: unused parameter ‘def’ [-Wunused-parameter] 507 | xsm_default_t def, struct domain *d, uint32_t machine_bdf, uint16_t start, | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_assign_dtdevice’: ./include/xsm/xsm.h:534:19: warning: unused parameter ‘def’ [-Wunused-parameter] 534 | xsm_default_t def, struct domain *d, const char *dtpath) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_deassign_dtdevice’: ./include/xsm/xsm.h:540:19: warning: unused parameter ‘def’ [-Wunused-parameter] 540 | xsm_default_t def, struct domain *d, const char *dtpath) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_plug_pci’: ./include/xsm/xsm.h:547:55: warning: unused parameter ‘def’ [-Wunused-parameter] 547 | static inline int xsm_resource_plug_pci(xsm_default_t def, uint32_t machine_bdf) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_unplug_pci’: ./include/xsm/xsm.h:553:19: warning: unused parameter ‘def’ [-Wunused-parameter] 553 | xsm_default_t def, uint32_t machine_bdf) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_plug_core’: ./include/xsm/xsm.h:558:56: warning: unused parameter ‘def’ [-Wunused-parameter] 558 | static inline int xsm_resource_plug_core(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_unplug_core’: ./include/xsm/xsm.h:563:58: warning: unused parameter ‘def’ [-Wunused-parameter] 563 | static inline int xsm_resource_unplug_core(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_setup_pci’: ./include/xsm/xsm.h:569:19: warning: unused parameter ‘def’ [-Wunused-parameter] 569 | xsm_default_t def, uint32_t machine_bdf) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_setup_gsi’: ./include/xsm/xsm.h:574:56: warning: unused parameter ‘def’ [-Wunused-parameter] 574 | static inline int xsm_resource_setup_gsi(xsm_default_t def, int gsi) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_setup_misc’: ./include/xsm/xsm.h:579:57: warning: unused parameter ‘def’ [-Wunused-parameter] 579 | static inline int xsm_resource_setup_misc(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_page_offline’: ./include/xsm/xsm.h:584:50: warning: unused parameter ‘def’ [-Wunused-parameter] 584 | static inline int xsm_page_offline(xsm_default_t def, uint32_t cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hypfs_op’: ./include/xsm/xsm.h:589:46: warning: unused parameter ‘def’ [-Wunused-parameter] 589 | static inline int xsm_hypfs_op(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hvm_param’: ./include/xsm/xsm.h:607:19: warning: unused parameter ‘def’ [-Wunused-parameter] 607 | xsm_default_t def, struct domain *d, unsigned long op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hvm_param_altp2mhvm’: ./include/xsm/xsm.h:612:57: warning: unused parameter ‘def’ [-Wunused-parameter] 612 | static inline int xsm_hvm_param_altp2mhvm(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hvm_altp2mhvm_op’: ./include/xsm/xsm.h:618:19: warning: unused parameter ‘def’ [-Wunused-parameter] 618 | xsm_default_t def, struct domain *d, uint64_t mode, uint32_t op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_get_vnumainfo’: ./include/xsm/xsm.h:623:51: warning: unused parameter ‘def’ [-Wunused-parameter] 623 | static inline int xsm_get_vnumainfo(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_vm_event_control’: ./include/xsm/xsm.h:629:19: warning: unused parameter ‘def’ [-Wunused-parameter] 629 | xsm_default_t def, struct domain *d, int mode, int op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_mem_access’: ./include/xsm/xsm.h:635:48: warning: unused parameter ‘def’ [-Wunused-parameter] 635 | static inline int xsm_mem_access(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_platform_op’: ./include/xsm/xsm.h:655:49: warning: unused parameter ‘def’ [-Wunused-parameter] 655 | static inline int xsm_platform_op(xsm_default_t def, uint32_t op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_dm_op’: ./include/xsm/xsm.h:738:43: warning: unused parameter ‘def’ [-Wunused-parameter] 738 | static inline int xsm_dm_op(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_xen_version’: ./include/xsm/xsm.h:743:49: warning: unused parameter ‘def’ [-Wunused-parameter] 743 | static inline int xsm_xen_version(xsm_default_t def, uint32_t op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_domain_resource_map’: ./include/xsm/xsm.h:748:57: warning: unused parameter ‘def’ [-Wunused-parameter] 748 | static inline int xsm_domain_resource_map(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ In file included from ./arch/arm/include/generated/asm/vm_event.h:1, from ./include/xen/vm_event.h:28, from common/domctl.c:26: ./include/asm-generic/vm_event.h: In function ‘vm_event_init_domain’: ./include/asm-generic/vm_event.h:14:55: warning: unused parameter ‘d’ [-Wunused-parameter] 14 | static inline int vm_event_init_domain(struct domain *d) | ~~~~~~~~~~~~~~~^ ./include/asm-generic/vm_event.h: In function ‘vm_event_toggle_singlestep’: ./include/asm-generic/vm_event.h:25:62: warning: unused parameter ‘d’ [-Wunused-parameter] 25 | static inline void vm_event_toggle_singlestep(struct domain *d, struct vcpu *v, | ~~~~~~~~~~~~~~~^ ./include/asm-generic/vm_event.h:25:78: warning: unused parameter ‘v’ [-Wunused-parameter] 25 | static inline void vm_event_toggle_singlestep(struct domain *d, struct vcpu *v, | ~~~~~~~~~~~~~^ ./include/asm-generic/vm_event.h:26:68: warning: unused parameter ‘rsp’ [-Wunused-parameter] 26 | vm_event_response_t *rsp) | ~~~~~~~~~~~~~~~~~~~~~^~~ ./include/asm-generic/vm_event.h: In function ‘vm_event_register_write_resume’: ./include/asm-generic/vm_event.h:32:50: warning: unused parameter ‘v’ [-Wunused-parameter] 32 | void vm_event_register_write_resume(struct vcpu *v, vm_event_response_t *rsp) | ~~~~~~~~~~~~~^ ./include/asm-generic/vm_event.h:32:74: warning: unused parameter ‘rsp’ [-Wunused-parameter] 32 | void vm_event_register_write_resume(struct vcpu *v, vm_event_response_t *rsp) | ~~~~~~~~~~~~~~~~~~~~~^~~ ./include/asm-generic/vm_event.h: In function ‘vm_event_emulate_check’: ./include/asm-generic/vm_event.h:38:42: warning: unused parameter ‘v’ [-Wunused-parameter] 38 | void vm_event_emulate_check(struct vcpu *v, vm_event_response_t *rsp) | ~~~~~~~~~~~~~^ ./include/asm-generic/vm_event.h:38:66: warning: unused parameter ‘rsp’ [-Wunused-parameter] 38 | void vm_event_emulate_check(struct vcpu *v, vm_event_response_t *rsp) | ~~~~~~~~~~~~~~~~~~~~~^~~ ./include/asm-generic/vm_event.h: In function ‘vm_event_sync_event’: ./include/asm-generic/vm_event.h:44:39: warning: unused parameter ‘v’ [-Wunused-parameter] 44 | void vm_event_sync_event(struct vcpu *v, bool value) | ~~~~~~~~~~~~~^ ./include/asm-generic/vm_event.h:44:47: warning: unused parameter ‘value’ [-Wunused-parameter] 44 | void vm_event_sync_event(struct vcpu *v, bool value) ./include/asm-generic/vm_event.h: In function ‘vm_event_reset_vmtrace’: ./include/asm-generic/vm_event.h:50:42: warning: unused parameter ‘v’ [-Wunused-parameter] 50 | void vm_event_reset_vmtrace(struct vcpu *v) | ~~~~~~~~~~~~~^ CC common/monitor.o In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/sched.h:6, from ./include/xen/event.h:12, from common/monitor.c:22: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/rwlock.h:6, from ./include/xen/sched.h:7: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/domain.h:5, from ./include/xen/sched.h:11: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233, from ./arch/arm/include/asm/p2m.h:4, from ./arch/arm/include/asm/domain.h:7, from ./include/xen/domain.h:15: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘arch_vcpu_block’: ./arch/arm/include/asm/domain.h:297:49: warning: unused parameter ‘v’ [-Wunused-parameter] 297 | static inline void arch_vcpu_block(struct vcpu *v) {} | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘update_guest_memory_policy’: ./arch/arm/include/asm/domain.h:309:60: warning: unused parameter ‘v’ [-Wunused-parameter] 309 | static inline void update_guest_memory_policy(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h:310:75: warning: unused parameter ‘gmp’ [-Wunused-parameter] 310 | struct guest_memory_policy *gmp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ CC arch/arm/efi/pe.o In file included from ./include/xen/sched.h:25: ./include/xen/vpci.h: In function ‘vpci_assign_device’: ./include/xen/vpci.h:278:54: warning: unused parameter ‘pdev’ [-Wunused-parameter] 278 | static inline int vpci_assign_device(struct pci_dev *pdev) | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_deassign_device’: ./include/xen/vpci.h:283:57: warning: unused parameter ‘pdev’ [-Wunused-parameter] 283 | static inline void vpci_deassign_device(struct pci_dev *pdev) { } | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_read’: ./include/xen/vpci.h:287:45: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:287:64: warning: unused parameter ‘reg’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:288:47: warning: unused parameter ‘size’ [-Wunused-parameter] 288 | unsigned int size) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_write’: ./include/xen/vpci.h:294:42: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:294:61: warning: unused parameter ‘reg’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:295:44: warning: unused parameter ‘size’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h:295:59: warning: unused parameter ‘data’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_process_pending’: ./include/xen/vpci.h:300:67: warning: unused parameter ‘v’ [-Wunused-parameter] 300 | static inline bool __must_check vpci_process_pending(struct vcpu *v) | ~~~~~~~~~~~~~^ ./include/xen/sched.h: In function ‘is_pv_32bit_domain’: ./include/xen/sched.h:1131:67: warning: unused parameter ‘d’ [-Wunused-parameter] 1131 | static always_inline bool is_pv_32bit_domain(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ In file included from ./include/xen/event.h:17: ./arch/arm/include/asm/event.h: In function ‘arch_virq_is_global’: ./arch/arm/include/asm/event.h:50:53: warning: unused parameter ‘virq’ [-Wunused-parameter] 50 | static inline bool arch_virq_is_global(unsigned int virq) | ~~~~~~~~~~~~~^~~~ In file included from ./arch/arm/include/generated/asm/vm_event.h:1, from ./include/xen/vm_event.h:28, from common/monitor.c:25: ./include/asm-generic/vm_event.h: In function ‘vm_event_init_domain’: ./include/asm-generic/vm_event.h:14:55: warning: unused parameter ‘d’ [-Wunused-parameter] 14 | static inline int vm_event_init_domain(struct domain *d) | ~~~~~~~~~~~~~~~^ ./include/asm-generic/vm_event.h: In function ‘vm_event_toggle_singlestep’: ./include/asm-generic/vm_event.h:25:62: warning: unused parameter ‘d’ [-Wunused-parameter] 25 | static inline void vm_event_toggle_singlestep(struct domain *d, struct vcpu *v, | ~~~~~~~~~~~~~~~^ ./include/asm-generic/vm_event.h:25:78: warning: unused parameter ‘v’ [-Wunused-parameter] 25 | static inline void vm_event_toggle_singlestep(struct domain *d, struct vcpu *v, | ~~~~~~~~~~~~~^ ./include/asm-generic/vm_event.h:26:68: warning: unused parameter ‘rsp’ [-Wunused-parameter] 26 | vm_event_response_t *rsp) | ~~~~~~~~~~~~~~~~~~~~~^~~ ./include/asm-generic/vm_event.h: In function ‘vm_event_register_write_resume’: ./include/asm-generic/vm_event.h:32:50: warning: unused parameter ‘v’ [-Wunused-parameter] 32 | void vm_event_register_write_resume(struct vcpu *v, vm_event_response_t *rsp) | ~~~~~~~~~~~~~^ ./include/asm-generic/vm_event.h:32:74: warning: unused parameter ‘rsp’ [-Wunused-parameter] 32 | void vm_event_register_write_resume(struct vcpu *v, vm_event_response_t *rsp) | ~~~~~~~~~~~~~~~~~~~~~^~~ ./include/asm-generic/vm_event.h: In function ‘vm_event_emulate_check’: ./include/asm-generic/vm_event.h:38:42: warning: unused parameter ‘v’ [-Wunused-parameter] 38 | void vm_event_emulate_check(struct vcpu *v, vm_event_response_t *rsp) | ~~~~~~~~~~~~~^ ./include/asm-generic/vm_event.h:38:66: warning: unused parameter ‘rsp’ [-Wunused-parameter] 38 | void vm_event_emulate_check(struct vcpu *v, vm_event_response_t *rsp) | ~~~~~~~~~~~~~~~~~~~~~^~~ ./include/asm-generic/vm_event.h: In function ‘vm_event_sync_event’: ./include/asm-generic/vm_event.h:44:39: warning: unused parameter ‘v’ [-Wunused-parameter] 44 | void vm_event_sync_event(struct vcpu *v, bool value) | ~~~~~~~~~~~~~^ ./include/asm-generic/vm_event.h:44:47: warning: unused parameter ‘value’ [-Wunused-parameter] 44 | void vm_event_sync_event(struct vcpu *v, bool value) ./include/asm-generic/vm_event.h: In function ‘vm_event_reset_vmtrace’: ./include/asm-generic/vm_event.h:50:42: warning: unused parameter ‘v’ [-Wunused-parameter] 50 | void vm_event_reset_vmtrace(struct vcpu *v) | ~~~~~~~~~~~~~^ In file included from common/monitor.c:26: ./include/xsm/xsm.h: In function ‘xsm_domain_create’: ./include/xsm/xsm.h:224:19: warning: unused parameter ‘def’ [-Wunused-parameter] 224 | xsm_default_t def, struct domain *d, uint32_t ssidref) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_getdomaininfo’: ./include/xsm/xsm.h:229:51: warning: unused parameter ‘def’ [-Wunused-parameter] 229 | static inline int xsm_getdomaininfo(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_domctl_scheduler_op’: ./include/xsm/xsm.h:235:19: warning: unused parameter ‘def’ [-Wunused-parameter] 235 | xsm_default_t def, struct domain *d, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_sysctl_scheduler_op’: ./include/xsm/xsm.h:240:57: warning: unused parameter ‘def’ [-Wunused-parameter] 240 | static inline int xsm_sysctl_scheduler_op(xsm_default_t def, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_set_target’: ./include/xsm/xsm.h:246:19: warning: unused parameter ‘def’ [-Wunused-parameter] 246 | xsm_default_t def, struct domain *d, struct domain *e) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_domctl’: ./include/xsm/xsm.h:251:44: warning: unused parameter ‘def’ [-Wunused-parameter] 251 | static inline int xsm_domctl(xsm_default_t def, struct domain *d, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_sysctl’: ./include/xsm/xsm.h:256:44: warning: unused parameter ‘def’ [-Wunused-parameter] 256 | static inline int xsm_sysctl(xsm_default_t def, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_readconsole’: ./include/xsm/xsm.h:261:49: warning: unused parameter ‘def’ [-Wunused-parameter] 261 | static inline int xsm_readconsole(xsm_default_t def, uint32_t clear) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_unbound’: ./include/xsm/xsm.h:267:19: warning: unused parameter ‘def’ [-Wunused-parameter] 267 | xsm_default_t def, struct domain *d1, struct evtchn *chn, domid_t id2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_interdomain’: ./include/xsm/xsm.h:273:19: warning: unused parameter ‘def’ [-Wunused-parameter] 273 | xsm_default_t def, struct domain *d1, struct evtchn *chan1, | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_send’: ./include/xsm/xsm.h:285:19: warning: unused parameter ‘def’ [-Wunused-parameter] 285 | xsm_default_t def, struct domain *d, struct evtchn *chn) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_status’: ./include/xsm/xsm.h:291:19: warning: unused parameter ‘def’ [-Wunused-parameter] 291 | xsm_default_t def, struct domain *d, struct evtchn *chn) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_reset’: ./include/xsm/xsm.h:297:19: warning: unused parameter ‘def’ [-Wunused-parameter] 297 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_mapref’: ./include/xsm/xsm.h:303:19: warning: unused parameter ‘def’ [-Wunused-parameter] 303 | xsm_default_t def, struct domain *d1, struct domain *d2, uint32_t flags) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_unmapref’: ./include/xsm/xsm.h:309:19: warning: unused parameter ‘def’ [-Wunused-parameter] 309 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_setup’: ./include/xsm/xsm.h:315:19: warning: unused parameter ‘def’ [-Wunused-parameter] 315 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_transfer’: ./include/xsm/xsm.h:321:19: warning: unused parameter ‘def’ [-Wunused-parameter] 321 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_copy’: ./include/xsm/xsm.h:327:19: warning: unused parameter ‘def’ [-Wunused-parameter] 327 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_query_size’: ./include/xsm/xsm.h:333:19: warning: unused parameter ‘def’ [-Wunused-parameter] 333 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_init_hardware_domain’: ./include/xsm/xsm.h:366:58: warning: unused parameter ‘def’ [-Wunused-parameter] 366 | static inline int xsm_init_hardware_domain(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_get_pod_target’: ./include/xsm/xsm.h:371:52: warning: unused parameter ‘def’ [-Wunused-parameter] 371 | static inline int xsm_get_pod_target(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_set_pod_target’: ./include/xsm/xsm.h:376:52: warning: unused parameter ‘def’ [-Wunused-parameter] 376 | static inline int xsm_set_pod_target(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_exchange’: ./include/xsm/xsm.h:381:53: warning: unused parameter ‘def’ [-Wunused-parameter] 381 | static inline int xsm_memory_exchange(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_adjust_reservation’: ./include/xsm/xsm.h:387:19: warning: unused parameter ‘def’ [-Wunused-parameter] 387 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_stat_reservation’: ./include/xsm/xsm.h:393:19: warning: unused parameter ‘def’ [-Wunused-parameter] 393 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_pin_page’: ./include/xsm/xsm.h:399:19: warning: unused parameter ‘def’ [-Wunused-parameter] 399 | xsm_default_t def, struct domain *d1, struct domain *d2, | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_add_to_physmap’: ./include/xsm/xsm.h:406:19: warning: unused parameter ‘def’ [-Wunused-parameter] 406 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_remove_from_physmap’: ./include/xsm/xsm.h:412:19: warning: unused parameter ‘def’ [-Wunused-parameter] 412 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_map_gmfn_foreign’: ./include/xsm/xsm.h:418:19: warning: unused parameter ‘def’ [-Wunused-parameter] 418 | xsm_default_t def, struct domain *d, struct domain *t) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_claim_pages’: ./include/xsm/xsm.h:423:49: warning: unused parameter ‘def’ [-Wunused-parameter] 423 | static inline int xsm_claim_pages(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_console_io’: ./include/xsm/xsm.h:428:48: warning: unused parameter ‘def’ [-Wunused-parameter] 428 | static inline int xsm_console_io(xsm_default_t def, struct domain *d, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_profile’: ./include/xsm/xsm.h:433:45: warning: unused parameter ‘def’ [-Wunused-parameter] 433 | static inline int xsm_profile(xsm_default_t def, struct domain *d, int op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_kexec’: ./include/xsm/xsm.h:438:43: warning: unused parameter ‘def’ [-Wunused-parameter] 438 | static inline int xsm_kexec(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_schedop_shutdown’: ./include/xsm/xsm.h:444:19: warning: unused parameter ‘def’ [-Wunused-parameter] 444 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_map_domain_pirq’: ./include/xsm/xsm.h:454:53: warning: unused parameter ‘def’ [-Wunused-parameter] 454 | static inline int xsm_map_domain_pirq(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_map_domain_irq’: ./include/xsm/xsm.h:460:19: warning: unused parameter ‘def’ [-Wunused-parameter] 460 | xsm_default_t def, struct domain *d, int irq, void *data) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_unmap_domain_pirq’: ./include/xsm/xsm.h:465:55: warning: unused parameter ‘def’ [-Wunused-parameter] 465 | static inline int xsm_unmap_domain_pirq(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_unmap_domain_irq’: ./include/xsm/xsm.h:471:19: warning: unused parameter ‘def’ [-Wunused-parameter] 471 | xsm_default_t def, struct domain *d, int irq, void *data) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_bind_pt_irq’: ./include/xsm/xsm.h:477:19: warning: unused parameter ‘def’ [-Wunused-parameter] 477 | xsm_default_t def, struct domain *d, struct xen_domctl_bind_pt_irq *bind) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_unbind_pt_irq’: ./include/xsm/xsm.h:483:19: warning: unused parameter ‘def’ [-Wunused-parameter] 483 | xsm_default_t def, struct domain *d, struct xen_domctl_bind_pt_irq *bind) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_irq_permission’: ./include/xsm/xsm.h:489:19: warning: unused parameter ‘def’ [-Wunused-parameter] 489 | xsm_default_t def, struct domain *d, int pirq, uint8_t allow) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_iomem_permission’: ./include/xsm/xsm.h:495:19: warning: unused parameter ‘def’ [-Wunused-parameter] 495 | xsm_default_t def, struct domain *d, uint64_t s, uint64_t e, uint8_t allow) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_iomem_mapping’: ./include/xsm/xsm.h:501:19: warning: unused parameter ‘def’ [-Wunused-parameter] 501 | xsm_default_t def, struct domain *d, uint64_t s, uint64_t e, uint8_t allow) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_pci_config_permission’: ./include/xsm/xsm.h:507:19: warning: unused parameter ‘def’ [-Wunused-parameter] 507 | xsm_default_t def, struct domain *d, uint32_t machine_bdf, uint16_t start, | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_assign_dtdevice’: ./include/xsm/xsm.h:534:19: warning: unused parameter ‘def’ [-Wunused-parameter] 534 | xsm_default_t def, struct domain *d, const char *dtpath) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_deassign_dtdevice’: ./include/xsm/xsm.h:540:19: warning: unused parameter ‘def’ [-Wunused-parameter] 540 | xsm_default_t def, struct domain *d, const char *dtpath) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_plug_pci’: ./include/xsm/xsm.h:547:55: warning: unused parameter ‘def’ [-Wunused-parameter] 547 | static inline int xsm_resource_plug_pci(xsm_default_t def, uint32_t machine_bdf) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_unplug_pci’: ./include/xsm/xsm.h:553:19: warning: unused parameter ‘def’ [-Wunused-parameter] 553 | xsm_default_t def, uint32_t machine_bdf) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_plug_core’: ./include/xsm/xsm.h:558:56: warning: unused parameter ‘def’ [-Wunused-parameter] 558 | static inline int xsm_resource_plug_core(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_unplug_core’: ./include/xsm/xsm.h:563:58: warning: unused parameter ‘def’ [-Wunused-parameter] 563 | static inline int xsm_resource_unplug_core(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_setup_pci’: ./include/xsm/xsm.h:569:19: warning: unused parameter ‘def’ [-Wunused-parameter] 569 | xsm_default_t def, uint32_t machine_bdf) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_setup_gsi’: ./include/xsm/xsm.h:574:56: warning: unused parameter ‘def’ [-Wunused-parameter] 574 | static inline int xsm_resource_setup_gsi(xsm_default_t def, int gsi) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_setup_misc’: ./include/xsm/xsm.h:579:57: warning: unused parameter ‘def’ [-Wunused-parameter] 579 | static inline int xsm_resource_setup_misc(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_page_offline’: ./include/xsm/xsm.h:584:50: warning: unused parameter ‘def’ [-Wunused-parameter] 584 | static inline int xsm_page_offline(xsm_default_t def, uint32_t cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hypfs_op’: ./include/xsm/xsm.h:589:46: warning: unused parameter ‘def’ [-Wunused-parameter] 589 | static inline int xsm_hypfs_op(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hvm_param’: ./include/xsm/xsm.h:607:19: warning: unused parameter ‘def’ [-Wunused-parameter] 607 | xsm_default_t def, struct domain *d, unsigned long op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hvm_param_altp2mhvm’: ./include/xsm/xsm.h:612:57: warning: unused parameter ‘def’ [-Wunused-parameter] 612 | static inline int xsm_hvm_param_altp2mhvm(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hvm_altp2mhvm_op’: ./include/xsm/xsm.h:618:19: warning: unused parameter ‘def’ [-Wunused-parameter] 618 | xsm_default_t def, struct domain *d, uint64_t mode, uint32_t op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_get_vnumainfo’: ./include/xsm/xsm.h:623:51: warning: unused parameter ‘def’ [-Wunused-parameter] 623 | static inline int xsm_get_vnumainfo(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_vm_event_control’: ./include/xsm/xsm.h:629:19: warning: unused parameter ‘def’ [-Wunused-parameter] 629 | xsm_default_t def, struct domain *d, int mode, int op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_mem_access’: ./include/xsm/xsm.h:635:48: warning: unused parameter ‘def’ [-Wunused-parameter] 635 | static inline int xsm_mem_access(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_platform_op’: ./include/xsm/xsm.h:655:49: warning: unused parameter ‘def’ [-Wunused-parameter] 655 | static inline int xsm_platform_op(xsm_default_t def, uint32_t op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_dm_op’: ./include/xsm/xsm.h:738:43: warning: unused parameter ‘def’ [-Wunused-parameter] 738 | static inline int xsm_dm_op(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_xen_version’: ./include/xsm/xsm.h:743:49: warning: unused parameter ‘def’ [-Wunused-parameter] 743 | static inline int xsm_xen_version(xsm_default_t def, uint32_t op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_domain_resource_map’: ./include/xsm/xsm.h:748:57: warning: unused parameter ‘def’ [-Wunused-parameter] 748 | static inline int xsm_domain_resource_map(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ In file included from ./arch/arm/include/generated/asm/altp2m.h:1, from common/monitor.c:27: ./include/asm-generic/altp2m.h: In function ‘altp2m_active’: ./include/asm-generic/altp2m.h:11:55: warning: unused parameter ‘d’ [-Wunused-parameter] 11 | static inline bool altp2m_active(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ ./include/asm-generic/altp2m.h: In function ‘altp2m_vcpu_idx’: ./include/asm-generic/altp2m.h:18:63: warning: unused parameter ‘v’ [-Wunused-parameter] 18 | static inline unsigned int altp2m_vcpu_idx(const struct vcpu *v) | ~~~~~~~~~~~~~~~~~~~^ In file included from ./arch/arm/include/asm/monitor.h:30, from common/monitor.c:28: ./include/asm-generic/monitor.h: In function ‘arch_monitor_allow_userspace’: ./include/asm-generic/monitor.h:22:50: warning: unused parameter ‘d’ [-Wunused-parameter] 22 | void arch_monitor_allow_userspace(struct domain *d, bool allow_userspace) | ~~~~~~~~~~~~~~~^ ./include/asm-generic/monitor.h:22:58: warning: unused parameter ‘allow_userspace’ [-Wunused-parameter] 22 | void arch_monitor_allow_userspace(struct domain *d, bool allow_userspace) ./include/asm-generic/monitor.h: In function ‘arch_monitor_domctl_op’: ./include/asm-generic/monitor.h:27:43: warning: unused parameter ‘d’ [-Wunused-parameter] 27 | int arch_monitor_domctl_op(struct domain *d, struct xen_domctl_monitor_op *mop) | ~~~~~~~~~~~~~~~^ ./include/asm-generic/monitor.h:27:76: warning: unused parameter ‘mop’ [-Wunused-parameter] 27 | int arch_monitor_domctl_op(struct domain *d, struct xen_domctl_monitor_op *mop) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./include/asm-generic/monitor.h: In function ‘arch_monitor_init_domain’: ./include/asm-generic/monitor.h:43:45: warning: unused parameter ‘d’ [-Wunused-parameter] 43 | int arch_monitor_init_domain(struct domain *d) | ~~~~~~~~~~~~~~~^ ./include/asm-generic/monitor.h: In function ‘arch_monitor_cleanup_domain’: ./include/asm-generic/monitor.h:50:49: warning: unused parameter ‘d’ [-Wunused-parameter] 50 | void arch_monitor_cleanup_domain(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/monitor.h: In function ‘arch_monitor_get_capabilities’: ./arch/arm/include/asm/monitor.h:35:69: warning: unused parameter ‘d’ [-Wunused-parameter] 35 | static inline uint32_t arch_monitor_get_capabilities(struct domain *d) | ~~~~~~~~~~~~~~~^ In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/mm.h:69, from ./common/efi/efi.h:9, from arch/arm/efi/pe.c:24: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ CC common/sysctl.o In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/perfc.h:7, from ./include/xen/mm.h:70: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/mm.h:69, from common/sysctl.c:11: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/perfc.h:7, from ./include/xen/mm.h:70: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from ./include/xen/domain.h:5, from ./include/xen/sched.h:11, from common/sysctl.c:12: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5, from ./arch/arm/include/asm/domain.h:7, from ./include/xen/domain.h:15: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘arch_vcpu_block’: ./arch/arm/include/asm/domain.h:297:49: warning: unused parameter ‘v’ [-Wunused-parameter] 297 | static inline void arch_vcpu_block(struct vcpu *v) {} | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘update_guest_memory_policy’: ./arch/arm/include/asm/domain.h:309:60: warning: unused parameter ‘v’ [-Wunused-parameter] 309 | static inline void update_guest_memory_policy(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h:310:75: warning: unused parameter ‘gmp’ [-Wunused-parameter] 310 | struct guest_memory_policy *gmp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from ./include/xen/sched.h:25: ./include/xen/vpci.h: In function ‘vpci_assign_device’: ./include/xen/vpci.h:278:54: warning: unused parameter ‘pdev’ [-Wunused-parameter] 278 | static inline int vpci_assign_device(struct pci_dev *pdev) | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_deassign_device’: ./include/xen/vpci.h:283:57: warning: unused parameter ‘pdev’ [-Wunused-parameter] 283 | static inline void vpci_deassign_device(struct pci_dev *pdev) { } | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_read’: ./include/xen/vpci.h:287:45: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:287:64: warning: unused parameter ‘reg’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:288:47: warning: unused parameter ‘size’ [-Wunused-parameter] 288 | unsigned int size) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_write’: ./include/xen/vpci.h:294:42: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:294:61: warning: unused parameter ‘reg’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:295:44: warning: unused parameter ‘size’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h:295:59: warning: unused parameter ‘data’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_process_pending’: ./include/xen/vpci.h:300:67: warning: unused parameter ‘v’ [-Wunused-parameter] 300 | static inline bool __must_check vpci_process_pending(struct vcpu *v) | ~~~~~~~~~~~~~^ ./include/xen/sched.h: In function ‘is_pv_32bit_domain’: ./include/xen/sched.h:1131:67: warning: unused parameter ‘d’ [-Wunused-parameter] 1131 | static always_inline bool is_pv_32bit_domain(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ In file included from ./include/xen/event.h:17, from common/sysctl.c:14: ./arch/arm/include/asm/event.h: In function ‘arch_virq_is_global’: ./arch/arm/include/asm/event.h:50:53: warning: unused parameter ‘virq’ [-Wunused-parameter] 50 | static inline bool arch_virq_is_global(unsigned int virq) | ~~~~~~~~~~~~~^~~~ In file included from ./include/xen/grant_table.h:31, from common/sysctl.c:15: ./arch/arm/include/asm/grant_table.h: In function ‘gnttab_mark_dirty’: ./arch/arm/include/asm/grant_table.h:20:53: warning: unused parameter ‘d’ [-Wunused-parameter] 20 | static inline void gnttab_mark_dirty(struct domain *d, mfn_t mfn) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/grant_table.h:20:62: warning: unused parameter ‘mfn’ [-Wunused-parameter] 20 | static inline void gnttab_mark_dirty(struct domain *d, mfn_t mfn) | ~~~~~~^~~ ./arch/arm/include/asm/grant_table.h: In function ‘gnttab_host_mapping_get_page_type’: ./arch/arm/include/asm/grant_table.h:27:59: warning: unused parameter ‘ro’ [-Wunused-parameter] 27 | static inline bool gnttab_host_mapping_get_page_type(bool ro, ./arch/arm/include/asm/grant_table.h:28:75: warning: unused parameter ‘ld’ [-Wunused-parameter] 28 | const struct domain *ld, | ~~~~~~~~~~~~~~~~~~~~~^~ ./arch/arm/include/asm/grant_table.h:29:75: warning: unused parameter ‘rd’ [-Wunused-parameter] 29 | const struct domain *rd) | ~~~~~~~~~~~~~~~~~~~~~^~ ./arch/arm/include/asm/grant_table.h: In function ‘gnttab_release_host_mappings’: ./arch/arm/include/asm/grant_table.h:34:70: warning: unused parameter ‘d’ [-Wunused-parameter] 34 | static inline bool gnttab_release_host_mappings(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ In file included from common/sysctl.c:16: ./include/xen/domain_page.h: In function ‘unmap_domain_page_global’: ./include/xen/domain_page.h:71:57: warning: unused parameter ‘va’ [-Wunused-parameter] 71 | static inline void unmap_domain_page_global(const void *va) {}; | ~~~~~~~~~~~~^~ In file included from ./include/xen/hypercall.h:22, from common/sysctl.c:23: ./include/xsm/xsm.h: In function ‘xsm_domain_create’: ./include/xsm/xsm.h:224:19: warning: unused parameter ‘def’ [-Wunused-parameter] 224 | xsm_default_t def, struct domain *d, uint32_t ssidref) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_getdomaininfo’: ./include/xsm/xsm.h:229:51: warning: unused parameter ‘def’ [-Wunused-parameter] 229 | static inline int xsm_getdomaininfo(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_domctl_scheduler_op’: ./include/xsm/xsm.h:235:19: warning: unused parameter ‘def’ [-Wunused-parameter] 235 | xsm_default_t def, struct domain *d, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_sysctl_scheduler_op’: ./include/xsm/xsm.h:240:57: warning: unused parameter ‘def’ [-Wunused-parameter] 240 | static inline int xsm_sysctl_scheduler_op(xsm_default_t def, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_set_target’: ./include/xsm/xsm.h:246:19: warning: unused parameter ‘def’ [-Wunused-parameter] 246 | xsm_default_t def, struct domain *d, struct domain *e) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_domctl’: ./include/xsm/xsm.h:251:44: warning: unused parameter ‘def’ [-Wunused-parameter] 251 | static inline int xsm_domctl(xsm_default_t def, struct domain *d, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_sysctl’: ./include/xsm/xsm.h:256:44: warning: unused parameter ‘def’ [-Wunused-parameter] 256 | static inline int xsm_sysctl(xsm_default_t def, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_readconsole’: ./include/xsm/xsm.h:261:49: warning: unused parameter ‘def’ [-Wunused-parameter] 261 | static inline int xsm_readconsole(xsm_default_t def, uint32_t clear) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_unbound’: ./include/xsm/xsm.h:267:19: warning: unused parameter ‘def’ [-Wunused-parameter] 267 | xsm_default_t def, struct domain *d1, struct evtchn *chn, domid_t id2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_interdomain’: ./include/xsm/xsm.h:273:19: warning: unused parameter ‘def’ [-Wunused-parameter] 273 | xsm_default_t def, struct domain *d1, struct evtchn *chan1, | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_send’: ./include/xsm/xsm.h:285:19: warning: unused parameter ‘def’ [-Wunused-parameter] 285 | xsm_default_t def, struct domain *d, struct evtchn *chn) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_status’: ./include/xsm/xsm.h:291:19: warning: unused parameter ‘def’ [-Wunused-parameter] 291 | xsm_default_t def, struct domain *d, struct evtchn *chn) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_reset’: ./include/xsm/xsm.h:297:19: warning: unused parameter ‘def’ [-Wunused-parameter] 297 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_mapref’: ./include/xsm/xsm.h:303:19: warning: unused parameter ‘def’ [-Wunused-parameter] 303 | xsm_default_t def, struct domain *d1, struct domain *d2, uint32_t flags) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_unmapref’: ./include/xsm/xsm.h:309:19: warning: unused parameter ‘def’ [-Wunused-parameter] 309 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_setup’: ./include/xsm/xsm.h:315:19: warning: unused parameter ‘def’ [-Wunused-parameter] 315 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_transfer’: ./include/xsm/xsm.h:321:19: warning: unused parameter ‘def’ [-Wunused-parameter] 321 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_copy’: ./include/xsm/xsm.h:327:19: warning: unused parameter ‘def’ [-Wunused-parameter] 327 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_query_size’: ./include/xsm/xsm.h:333:19: warning: unused parameter ‘def’ [-Wunused-parameter] 333 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_init_hardware_domain’: ./include/xsm/xsm.h:366:58: warning: unused parameter ‘def’ [-Wunused-parameter] 366 | static inline int xsm_init_hardware_domain(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_get_pod_target’: ./include/xsm/xsm.h:371:52: warning: unused parameter ‘def’ [-Wunused-parameter] 371 | static inline int xsm_get_pod_target(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_set_pod_target’: ./include/xsm/xsm.h:376:52: warning: unused parameter ‘def’ [-Wunused-parameter] 376 | static inline int xsm_set_pod_target(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_exchange’: ./include/xsm/xsm.h:381:53: warning: unused parameter ‘def’ [-Wunused-parameter] 381 | static inline int xsm_memory_exchange(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_adjust_reservation’: ./include/xsm/xsm.h:387:19: warning: unused parameter ‘def’ [-Wunused-parameter] 387 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_stat_reservation’: ./include/xsm/xsm.h:393:19: warning: unused parameter ‘def’ [-Wunused-parameter] 393 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_pin_page’: ./include/xsm/xsm.h:399:19: warning: unused parameter ‘def’ [-Wunused-parameter] 399 | xsm_default_t def, struct domain *d1, struct domain *d2, | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_add_to_physmap’: ./include/xsm/xsm.h:406:19: warning: unused parameter ‘def’ [-Wunused-parameter] 406 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_remove_from_physmap’: ./include/xsm/xsm.h:412:19: warning: unused parameter ‘def’ [-Wunused-parameter] 412 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_map_gmfn_foreign’: ./include/xsm/xsm.h:418:19: warning: unused parameter ‘def’ [-Wunused-parameter] 418 | xsm_default_t def, struct domain *d, struct domain *t) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_claim_pages’: ./include/xsm/xsm.h:423:49: warning: unused parameter ‘def’ [-Wunused-parameter] 423 | static inline int xsm_claim_pages(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_console_io’: ./include/xsm/xsm.h:428:48: warning: unused parameter ‘def’ [-Wunused-parameter] 428 | static inline int xsm_console_io(xsm_default_t def, struct domain *d, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_profile’: ./include/xsm/xsm.h:433:45: warning: unused parameter ‘def’ [-Wunused-parameter] 433 | static inline int xsm_profile(xsm_default_t def, struct domain *d, int op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_kexec’: ./include/xsm/xsm.h:438:43: warning: unused parameter ‘def’ [-Wunused-parameter] 438 | static inline int xsm_kexec(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_schedop_shutdown’: ./include/xsm/xsm.h:444:19: warning: unused parameter ‘def’ [-Wunused-parameter] 444 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_map_domain_pirq’: ./include/xsm/xsm.h:454:53: warning: unused parameter ‘def’ [-Wunused-parameter] 454 | static inline int xsm_map_domain_pirq(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_map_domain_irq’: ./include/xsm/xsm.h:460:19: warning: unused parameter ‘def’ [-Wunused-parameter] 460 | xsm_default_t def, struct domain *d, int irq, void *data) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_unmap_domain_pirq’: ./include/xsm/xsm.h:465:55: warning: unused parameter ‘def’ [-Wunused-parameter] 465 | static inline int xsm_unmap_domain_pirq(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_unmap_domain_irq’: ./include/xsm/xsm.h:471:19: warning: unused parameter ‘def’ [-Wunused-parameter] 471 | xsm_default_t def, struct domain *d, int irq, void *data) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_bind_pt_irq’: ./include/xsm/xsm.h:477:19: warning: unused parameter ‘def’ [-Wunused-parameter] 477 | xsm_default_t def, struct domain *d, struct xen_domctl_bind_pt_irq *bind) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_unbind_pt_irq’: ./include/xsm/xsm.h:483:19: warning: unused parameter ‘def’ [-Wunused-parameter] 483 | xsm_default_t def, struct domain *d, struct xen_domctl_bind_pt_irq *bind) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_irq_permission’: ./include/xsm/xsm.h:489:19: warning: unused parameter ‘def’ [-Wunused-parameter] 489 | xsm_default_t def, struct domain *d, int pirq, uint8_t allow) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_iomem_permission’: ./include/xsm/xsm.h:495:19: warning: unused parameter ‘def’ [-Wunused-parameter] 495 | xsm_default_t def, struct domain *d, uint64_t s, uint64_t e, uint8_t allow) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_iomem_mapping’: ./include/xsm/xsm.h:501:19: warning: unused parameter ‘def’ [-Wunused-parameter] 501 | xsm_default_t def, struct domain *d, uint64_t s, uint64_t e, uint8_t allow) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_pci_config_permission’: ./include/xsm/xsm.h:507:19: warning: unused parameter ‘def’ [-Wunused-parameter] 507 | xsm_default_t def, struct domain *d, uint32_t machine_bdf, uint16_t start, | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_assign_dtdevice’: ./include/xsm/xsm.h:534:19: warning: unused parameter ‘def’ [-Wunused-parameter] 534 | xsm_default_t def, struct domain *d, const char *dtpath) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_deassign_dtdevice’: ./include/xsm/xsm.h:540:19: warning: unused parameter ‘def’ [-Wunused-parameter] 540 | xsm_default_t def, struct domain *d, const char *dtpath) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_plug_pci’: ./include/xsm/xsm.h:547:55: warning: unused parameter ‘def’ [-Wunused-parameter] 547 | static inline int xsm_resource_plug_pci(xsm_default_t def, uint32_t machine_bdf) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_unplug_pci’: ./include/xsm/xsm.h:553:19: warning: unused parameter ‘def’ [-Wunused-parameter] 553 | xsm_default_t def, uint32_t machine_bdf) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_plug_core’: ./include/xsm/xsm.h:558:56: warning: unused parameter ‘def’ [-Wunused-parameter] 558 | static inline int xsm_resource_plug_core(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_unplug_core’: ./include/xsm/xsm.h:563:58: warning: unused parameter ‘def’ [-Wunused-parameter] 563 | static inline int xsm_resource_unplug_core(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_setup_pci’: ./include/xsm/xsm.h:569:19: warning: unused parameter ‘def’ [-Wunused-parameter] 569 | xsm_default_t def, uint32_t machine_bdf) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_setup_gsi’: ./include/xsm/xsm.h:574:56: warning: unused parameter ‘def’ [-Wunused-parameter] 574 | static inline int xsm_resource_setup_gsi(xsm_default_t def, int gsi) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_setup_misc’: ./include/xsm/xsm.h:579:57: warning: unused parameter ‘def’ [-Wunused-parameter] 579 | static inline int xsm_resource_setup_misc(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_page_offline’: ./include/xsm/xsm.h:584:50: warning: unused parameter ‘def’ [-Wunused-parameter] 584 | static inline int xsm_page_offline(xsm_default_t def, uint32_t cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hypfs_op’: ./include/xsm/xsm.h:589:46: warning: unused parameter ‘def’ [-Wunused-parameter] 589 | static inline int xsm_hypfs_op(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hvm_param’: ./include/xsm/xsm.h:607:19: warning: unused parameter ‘def’ [-Wunused-parameter] 607 | xsm_default_t def, struct domain *d, unsigned long op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hvm_param_altp2mhvm’: ./include/xsm/xsm.h:612:57: warning: unused parameter ‘def’ [-Wunused-parameter] 612 | static inline int xsm_hvm_param_altp2mhvm(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hvm_altp2mhvm_op’: ./include/xsm/xsm.h:618:19: warning: unused parameter ‘def’ [-Wunused-parameter] 618 | xsm_default_t def, struct domain *d, uint64_t mode, uint32_t op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_get_vnumainfo’: ./include/xsm/xsm.h:623:51: warning: unused parameter ‘def’ [-Wunused-parameter] 623 | static inline int xsm_get_vnumainfo(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_vm_event_control’: ./include/xsm/xsm.h:629:19: warning: unused parameter ‘def’ [-Wunused-parameter] 629 | xsm_default_t def, struct domain *d, int mode, int op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_mem_access’: ./include/xsm/xsm.h:635:48: warning: unused parameter ‘def’ [-Wunused-parameter] 635 | static inline int xsm_mem_access(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_platform_op’: ./include/xsm/xsm.h:655:49: warning: unused parameter ‘def’ [-Wunused-parameter] 655 | static inline int xsm_platform_op(xsm_default_t def, uint32_t op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_dm_op’: ./include/xsm/xsm.h:738:43: warning: unused parameter ‘def’ [-Wunused-parameter] 738 | static inline int xsm_dm_op(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_xen_version’: ./include/xsm/xsm.h:743:49: warning: unused parameter ‘def’ [-Wunused-parameter] 743 | static inline int xsm_xen_version(xsm_default_t def, uint32_t op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_domain_resource_map’: ./include/xsm/xsm.h:748:57: warning: unused parameter ‘def’ [-Wunused-parameter] 748 | static inline int xsm_domain_resource_map(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ In file included from common/sysctl.c:30: ./include/xen/coverage.h: In function ‘sysctl_cov_op’: ./include/xen/coverage.h:8:39: warning: unused parameter ‘unused’ [-Wunused-parameter] 8 | static inline int sysctl_cov_op(void *unused) | ~~~~~~^~~~~~ CC arch/arm/efi/ebmalloc.o In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/mm.h:69, from ./common/efi/efi.h:9, from arch/arm/efi/ebmalloc.c:1: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/perfc.h:7, from ./include/xen/mm.h:70: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ CC arch/arm/efi/runtime.o In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/mm.h:69, from ./common/efi/efi.h:9, from arch/arm/efi/runtime.c:1: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ CC common/ubsan/ubsan.o CC common/sched/boot-cpupool.o In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/perfc.h:7, from ./include/xen/mm.h:70: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from common/ubsan/ubsan.c:13: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/acpi/platform/aclinux.h:54, from ./include/acpi/platform/acenv.h:142, from ./include/acpi/acpi.h:56, from ./include/xen/acpi.h:57, from common/sched/boot-cpupool.c:10: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./include/xen/domain.h:5, from ./include/xen/sched.h:11, from ./arch/arm/include/asm/guest_access.h:5, from ./include/xen/guest_access.h:10, from arch/arm/efi/runtime.c:5: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5, from ./arch/arm/include/asm/domain.h:7, from ./include/xen/domain.h:15: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./arch/arm/include/asm/domain.h: In function ‘arch_vcpu_block’: ./arch/arm/include/asm/domain.h:297:49: warning: unused parameter ‘v’ [-Wunused-parameter] 297 | static inline void arch_vcpu_block(struct vcpu *v) {} | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘update_guest_memory_policy’: ./arch/arm/include/asm/domain.h:309:60: warning: unused parameter ‘v’ [-Wunused-parameter] 309 | static inline void update_guest_memory_policy(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h:310:75: warning: unused parameter ‘gmp’ [-Wunused-parameter] 310 | struct guest_memory_policy *gmp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from ./include/xen/sched.h:25: ./include/xen/vpci.h: In function ‘vpci_assign_device’: ./include/xen/vpci.h:278:54: warning: unused parameter ‘pdev’ [-Wunused-parameter] 278 | static inline int vpci_assign_device(struct pci_dev *pdev) | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_deassign_device’: ./include/xen/vpci.h:283:57: warning: unused parameter ‘pdev’ [-Wunused-parameter] 283 | static inline void vpci_deassign_device(struct pci_dev *pdev) { } | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_read’: ./include/xen/vpci.h:287:45: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:287:64: warning: unused parameter ‘reg’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:288:47: warning: unused parameter ‘size’ [-Wunused-parameter] 288 | unsigned int size) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_write’: ./include/xen/vpci.h:294:42: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:294:61: warning: unused parameter ‘reg’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:295:44: warning: unused parameter ‘size’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h:295:59: warning: unused parameter ‘data’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_process_pending’: ./include/xen/vpci.h:300:67: warning: unused parameter ‘v’ [-Wunused-parameter] 300 | static inline bool __must_check vpci_process_pending(struct vcpu *v) | ~~~~~~~~~~~~~^ common/ubsan/ubsan.c: In function ‘__ubsan_handle_divrem_overflow’: common/ubsan/ubsan.c:256:47: warning: unused parameter ‘lhs’ [-Wunused-parameter] 256 | unsigned long lhs, | ~~~~~~~~~~~~~~^~~ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/perfc.h:7, from ./include/xen/mm.h:70, from ./arch/arm/include/asm/p2m.h:4, from ./arch/arm/include/asm/setup.h:5, from ./arch/arm/include/asm/acpi.h:25, from ./include/acpi/platform/aclinux.h:58: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ ./include/xen/sched.h: In function ‘is_pv_32bit_domain’: ./include/xen/sched.h:1131:67: warning: unused parameter ‘d’ [-Wunused-parameter] 1131 | static always_inline bool is_pv_32bit_domain(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./include/xen/acpi.h: In function ‘acpi_set_cstate_limit’: ./include/xen/acpi.h:192:55: warning: unused parameter ‘new_limit’ [-Wunused-parameter] 192 | static inline void acpi_set_cstate_limit(unsigned int new_limit) { return; } | ~~~~~~~~~~~~~^~~~~~~~~ ./include/xen/acpi.h: In function ‘acpi_set_csubstate_limit’: ./include/xen/acpi.h:194:58: warning: unused parameter ‘new_limit’ [-Wunused-parameter] 194 | static inline void acpi_set_csubstate_limit(unsigned int new_limit) { return; } | ~~~~~~~~~~~~~^~~~~~~~~ In file included from ./include/xen/domain.h:5, from ./include/xen/sched.h:11, from common/sched/boot-cpupool.c:11: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ INIT_O arch/arm/efi/efi-dom0.init.o In file included from ./include/xen/domain.h:15: ./arch/arm/include/asm/domain.h: In function ‘arch_vcpu_block’: ./arch/arm/include/asm/domain.h:297:49: warning: unused parameter ‘v’ [-Wunused-parameter] 297 | static inline void arch_vcpu_block(struct vcpu *v) {} | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘update_guest_memory_policy’: ./arch/arm/include/asm/domain.h:309:60: warning: unused parameter ‘v’ [-Wunused-parameter] 309 | static inline void update_guest_memory_policy(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h:310:75: warning: unused parameter ‘gmp’ [-Wunused-parameter] 310 | struct guest_memory_policy *gmp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from ./include/xen/sched.h:25: ./include/xen/vpci.h: In function ‘vpci_assign_device’: ./include/xen/vpci.h:278:54: warning: unused parameter ‘pdev’ [-Wunused-parameter] 278 | static inline int vpci_assign_device(struct pci_dev *pdev) | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_deassign_device’: ./include/xen/vpci.h:283:57: warning: unused parameter ‘pdev’ [-Wunused-parameter] 283 | static inline void vpci_deassign_device(struct pci_dev *pdev) { } | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_read’: ./include/xen/vpci.h:287:45: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:287:64: warning: unused parameter ‘reg’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:288:47: warning: unused parameter ‘size’ [-Wunused-parameter] 288 | unsigned int size) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_write’: ./include/xen/vpci.h:294:42: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:294:61: warning: unused parameter ‘reg’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:295:44: warning: unused parameter ‘size’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h:295:59: warning: unused parameter ‘data’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_process_pending’: ./include/xen/vpci.h:300:67: warning: unused parameter ‘v’ [-Wunused-parameter] 300 | static inline bool __must_check vpci_process_pending(struct vcpu *v) | ~~~~~~~~~~~~~^ ./include/xen/sched.h: In function ‘is_pv_32bit_domain’: ./include/xen/sched.h:1131:67: warning: unused parameter ‘d’ [-Wunused-parameter] 1131 | static always_inline bool is_pv_32bit_domain(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ INIT_O arch/arm/efi/boot.init.o CC common/libfdt/fdt.o INIT_O arch/arm/efi/pe.init.o LD arch/arm/efi/built_in.o CC arch/arm/gic.o In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/mm.h:69, from arch/arm/gic.c:13: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/perfc.h:7, from ./include/xen/mm.h:70: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from ./include/xen/irq.h:5, from arch/arm/gic.c:14: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/domain.h:5, from ./include/xen/sched.h:11, from arch/arm/gic.c:15: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7, from ./arch/arm/include/asm/domain.h:7, from ./include/xen/domain.h:15: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ CC common/sched/cpupool.o ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘arch_vcpu_block’: ./arch/arm/include/asm/domain.h:297:49: warning: unused parameter ‘v’ [-Wunused-parameter] 297 | static inline void arch_vcpu_block(struct vcpu *v) {} | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘update_guest_memory_policy’: ./arch/arm/include/asm/domain.h:309:60: warning: unused parameter ‘v’ [-Wunused-parameter] 309 | static inline void update_guest_memory_policy(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h:310:75: warning: unused parameter ‘gmp’ [-Wunused-parameter] 310 | struct guest_memory_policy *gmp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from ./include/xen/sched.h:25: ./include/xen/vpci.h: In function ‘vpci_assign_device’: ./include/xen/vpci.h:278:54: warning: unused parameter ‘pdev’ [-Wunused-parameter] 278 | static inline int vpci_assign_device(struct pci_dev *pdev) | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_deassign_device’: ./include/xen/vpci.h:283:57: warning: unused parameter ‘pdev’ [-Wunused-parameter] 283 | static inline void vpci_deassign_device(struct pci_dev *pdev) { } | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_read’: ./include/xen/vpci.h:287:45: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:287:64: warning: unused parameter ‘reg’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:288:47: warning: unused parameter ‘size’ [-Wunused-parameter] 288 | unsigned int size) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_write’: ./include/xen/vpci.h:294:42: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:294:61: warning: unused parameter ‘reg’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:295:44: warning: unused parameter ‘size’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h:295:59: warning: unused parameter ‘data’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_process_pending’: ./include/xen/vpci.h:300:67: warning: unused parameter ‘v’ [-Wunused-parameter] 300 | static inline bool __must_check vpci_process_pending(struct vcpu *v) | ~~~~~~~~~~~~~^ ./include/xen/sched.h: In function ‘is_pv_32bit_domain’: ./include/xen/sched.h:1131:67: warning: unused parameter ‘d’ [-Wunused-parameter] 1131 | static always_inline bool is_pv_32bit_domain(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/cpu.h:5, from common/sched/cpupool.c:14: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from arch/arm/gic.c:20: ./include/xen/acpi.h: In function ‘acpi_set_cstate_limit’: ./include/xen/acpi.h:192:55: warning: unused parameter ‘new_limit’ [-Wunused-parameter] 192 | static inline void acpi_set_cstate_limit(unsigned int new_limit) { return; } | ~~~~~~~~~~~~~^~~~~~~~~ ./include/xen/acpi.h: In function ‘acpi_set_csubstate_limit’: ./include/xen/acpi.h:194:58: warning: unused parameter ‘new_limit’ [-Wunused-parameter] 194 | static inline void acpi_set_csubstate_limit(unsigned int new_limit) { return; } | ~~~~~~~~~~~~~^~~~~~~~~ In file included from ././include/xen/config.h:17, from : arch/arm/gic.c: In function ‘gic_route_irq_to_xen’: arch/arm/gic.c:114:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 114 | ASSERT(desc->irq < gic_number_lines());/* Can't route interrupts that don't exist */ | ^ ./include/xen/compiler.h:21:43: note: in definition of macro ‘unlikely’ 21 | #define unlikely(x) __builtin_expect(!!(x),0) | ^ arch/arm/gic.c:114:5: note: in expansion of macro ‘ASSERT’ 114 | ASSERT(desc->irq < gic_number_lines());/* Can't route interrupts that don't exist */ | ^~~~~~ arch/arm/gic.c: In function ‘maintenance_interrupt’: arch/arm/gic.c:392:39: warning: unused parameter ‘irq’ [-Wunused-parameter] 392 | static void maintenance_interrupt(int irq, void *dev_id) | ~~~~^~~ arch/arm/gic.c:392:50: warning: unused parameter ‘dev_id’ [-Wunused-parameter] 392 | static void maintenance_interrupt(int irq, void *dev_id) | ~~~~~~^~~~~~ arch/arm/gic.c: In function ‘cpu_gic_callback’: arch/arm/gic.c:453:52: warning: unused parameter ‘nfb’ [-Wunused-parameter] 453 | static int cpu_gic_callback(struct notifier_block *nfb, | ~~~~~~~~~~~~~~~~~~~~~~~^~~ arch/arm/gic.c:455:35: warning: unused parameter ‘hcpu’ [-Wunused-parameter] 455 | void *hcpu) | ~~~~~~^~~~ arch/arm/gic.c: At top level: arch/arm/gic.c:480:1: warning: ‘static’ is not at beginning of declaration [-Wold-style-declaration] 480 | __initcall(cpu_gic_notifier_init); | ^~~~~~~~~~ In file included from common/sched/cpupool.c:15: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/domain.h:5, from ./include/xen/sched.h:11, from ./arch/arm/include/asm/guest_access.h:5, from ./include/xen/guest_access.h:10, from common/sched/cpupool.c:16: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233, from ./arch/arm/include/asm/p2m.h:4, from ./arch/arm/include/asm/domain.h:7, from ./include/xen/domain.h:15: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ LD common/ubsan/built_in.o ./arch/arm/include/asm/domain.h: In function ‘arch_vcpu_block’: ./arch/arm/include/asm/domain.h:297:49: warning: unused parameter ‘v’ [-Wunused-parameter] 297 | static inline void arch_vcpu_block(struct vcpu *v) {} | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘update_guest_memory_policy’: ./arch/arm/include/asm/domain.h:309:60: warning: unused parameter ‘v’ [-Wunused-parameter] 309 | static inline void update_guest_memory_policy(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h:310:75: warning: unused parameter ‘gmp’ [-Wunused-parameter] 310 | struct guest_memory_policy *gmp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from ./include/xen/sched.h:25: ./include/xen/vpci.h: In function ‘vpci_assign_device’: ./include/xen/vpci.h:278:54: warning: unused parameter ‘pdev’ [-Wunused-parameter] 278 | static inline int vpci_assign_device(struct pci_dev *pdev) | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_deassign_device’: ./include/xen/vpci.h:283:57: warning: unused parameter ‘pdev’ [-Wunused-parameter] 283 | static inline void vpci_deassign_device(struct pci_dev *pdev) { } | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_read’: ./include/xen/vpci.h:287:45: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:287:64: warning: unused parameter ‘reg’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:288:47: warning: unused parameter ‘size’ [-Wunused-parameter] 288 | unsigned int size) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_write’: ./include/xen/vpci.h:294:42: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:294:61: warning: unused parameter ‘reg’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:295:44: warning: unused parameter ‘size’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h:295:59: warning: unused parameter ‘data’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_process_pending’: ./include/xen/vpci.h:300:67: warning: unused parameter ‘v’ [-Wunused-parameter] 300 | static inline bool __must_check vpci_process_pending(struct vcpu *v) | ~~~~~~~~~~~~~^ CC common/pmap.o ./include/xen/sched.h: In function ‘is_pv_32bit_domain’: ./include/xen/sched.h:1131:67: warning: unused parameter ‘d’ [-Wunused-parameter] 1131 | static always_inline bool is_pv_32bit_domain(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ In file included from common/sched/cpupool.c:22: ./include/xen/param.h: In function ‘no_config_param’: ./include/xen/param.h:193:19: warning: operand of ‘?:’ changes signedness from ‘long int’ to ‘size_t’ {aka ‘long unsigned int’} due to unsignedness of other operand [-Wsign-compare] 193 | int len = e ? ({ ASSERT(e >= s); e - s; }) : strlen(s); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ common/sched/private.h: In function ‘is_unit_online’: ./include/xen/sched.h:357:40: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 357 | (v)->vcpu_id < (u)->next_in_list->unit_id); \ | ^ common/sched/private.h:91:5: note: in expansion of macro ‘for_each_sched_unit_vcpu’ 91 | for_each_sched_unit_vcpu ( unit, v ) | ^~~~~~~~~~~~~~~~~~~~~~~~ common/sched/private.h: In function ‘unit_runnable’: ./include/xen/sched.h:357:40: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 357 | (v)->vcpu_id < (u)->next_in_list->unit_id); \ | ^ common/sched/private.h:108:5: note: in expansion of macro ‘for_each_sched_unit_vcpu’ 108 | for_each_sched_unit_vcpu ( unit, v ) | ^~~~~~~~~~~~~~~~~~~~~~~~ common/sched/private.h: In function ‘unit_runnable_state’: ./include/xen/sched.h:357:40: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 357 | (v)->vcpu_id < (u)->next_in_list->unit_id); \ | ^ common/sched/private.h:135:5: note: in expansion of macro ‘for_each_sched_unit_vcpu’ 135 | for_each_sched_unit_vcpu ( unit, v ) | ^~~~~~~~~~~~~~~~~~~~~~~~ common/sched/private.h: In function ‘sched_set_res’: ./include/xen/sched.h:357:40: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 357 | (v)->vcpu_id < (u)->next_in_list->unit_id); \ | ^ common/sched/private.h:154:5: note: in expansion of macro ‘for_each_sched_unit_vcpu’ 154 | for_each_sched_unit_vcpu ( unit, v ) | ^~~~~~~~~~~~~~~~~~~~~~~~ common/sched/private.h: In function ‘sched_set_pause_flags’: ./include/xen/sched.h:357:40: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 357 | (v)->vcpu_id < (u)->next_in_list->unit_id); \ | ^ common/sched/private.h:176:5: note: in expansion of macro ‘for_each_sched_unit_vcpu’ 176 | for_each_sched_unit_vcpu ( unit, v ) | ^~~~~~~~~~~~~~~~~~~~~~~~ common/sched/private.h: In function ‘sched_clear_pause_flags’: ./include/xen/sched.h:357:40: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 357 | (v)->vcpu_id < (u)->next_in_list->unit_id); \ | ^ common/sched/private.h:186:5: note: in expansion of macro ‘for_each_sched_unit_vcpu’ 186 | for_each_sched_unit_vcpu ( unit, v ) | ^~~~~~~~~~~~~~~~~~~~~~~~ common/sched/private.h: In function ‘sched_unit_pause_nosync’: ./include/xen/sched.h:357:40: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 357 | (v)->vcpu_id < (u)->next_in_list->unit_id); \ | ^ common/sched/private.h:530:5: note: in expansion of macro ‘for_each_sched_unit_vcpu’ 530 | for_each_sched_unit_vcpu ( unit, v ) | ^~~~~~~~~~~~~~~~~~~~~~~~ common/sched/private.h: In function ‘sched_unit_unpause’: ./include/xen/sched.h:357:40: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 357 | (v)->vcpu_id < (u)->next_in_list->unit_id); \ | ^ common/sched/private.h:538:5: note: in expansion of macro ‘for_each_sched_unit_vcpu’ 538 | for_each_sched_unit_vcpu ( unit, v ) | ^~~~~~~~~~~~~~~~~~~~~~~~ common/sched/cpupool.c: In function ‘sched_gran_get’: common/sched/cpupool.c:103:39: warning: unused parameter ‘str’ [-Wunused-parameter] 103 | static int sched_gran_get(const char *str, enum sched_gran *mode) | ~~~~~~~~~~~~^~~ common/sched/cpupool.c:103:61: warning: unused parameter ‘mode’ [-Wunused-parameter] 103 | static int sched_gran_get(const char *str, enum sched_gran *mode) | ~~~~~~~~~~~~~~~~~^~~~ common/sched/cpupool.c: In function ‘cpupool_assign_cpu_locked’: common/sched/cpupool.c:449:30: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 449 | if ( (cpupool_moving_cpu == cpu) && (c != cpupool_cpu_moving) ) | ^~ common/sched/cpupool.c:458:28: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 458 | if (cpupool_moving_cpu == cpu) | ^~ common/sched/cpupool.c: In function ‘cpupool_unassign_cpu_start’: common/sched/cpupool.c:528:18: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] 528 | && (cpu != cpupool_moving_cpu) ) | ^~ common/sched/cpupool.c:537:15: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] 537 | (cpu != cpupool_moving_cpu) ) | ^~ common/sched/cpupool.c: In function ‘cpupool_unassign_cpu’: common/sched/cpupool.c:626:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 626 | if ( work_cpu == master_cpu ) | ^~ common/sched/cpupool.c:629:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 629 | if ( work_cpu == master_cpu ) | ^~ common/sched/cpupool.c: In function ‘cpupool_cpu_add’: common/sched/cpupool.c:711:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 711 | cpumask_weight(cpus) == cpupool_get_granularity(cpupool0) ) | ^~ common/sched/cpupool.c: In function ‘dump_runq’: common/sched/cpupool.c:987:39: warning: unused parameter ‘key’ [-Wunused-parameter] 987 | void cf_check dump_runq(unsigned char key) | ~~~~~~~~~~~~~~^~~ common/sched/cpupool.c: In function ‘cpu_callback’: common/sched/cpupool.c:1017:28: warning: unused parameter ‘nfb’ [-Wunused-parameter] 1017 | struct notifier_block *nfb, unsigned long action, void *hcpu) | ~~~~~~~~~~~~~~~~~~~~~~~^~~ common/sched/cpupool.c: In function ‘cpupool_dir_read’: common/sched/cpupool.c:1091:31: warning: unused parameter ‘entry’ [-Wunused-parameter] 1091 | const struct hypfs_entry *entry, XEN_GUEST_HANDLE_PARAM(void) uaddr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ common/sched/cpupool.c: In function ‘cpupool_dir_exit’: common/sched/cpupool.c:1141:65: warning: unused parameter ‘entry’ [-Wunused-parameter] 1141 | static void cf_check cpupool_dir_exit(const struct hypfs_entry *entry) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ common/sched/cpupool.c: In function ‘cpupool_dir_findentry’: common/sched/cpupool.c:1149:35: warning: unused parameter ‘dir’ [-Wunused-parameter] 1149 | const struct hypfs_entry_dir *dir, const char *name, unsigned int name_len) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ common/sched/cpupool.c: In function ‘cpupool_gran_read’: common/sched/cpupool.c:1168:31: warning: unused parameter ‘entry’ [-Wunused-parameter] 1168 | const struct hypfs_entry *entry, XEN_GUEST_HANDLE_PARAM(void) uaddr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ common/sched/cpupool.c: In function ‘hypfs_gran_getsize’: common/sched/cpupool.c:1186:75: warning: unused parameter ‘entry’ [-Wunused-parameter] 1186 | static unsigned int cf_check hypfs_gran_getsize(const struct hypfs_entry *entry) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ common/sched/cpupool.c: In function ‘cpupool_gran_write’: common/sched/cpupool.c:1202:30: warning: unused parameter ‘leaf’ [-Wunused-parameter] 1202 | struct hypfs_entry_leaf *leaf, XEN_GUEST_HANDLE_PARAM(const_void) uaddr, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ common/sched/cpupool.c: At top level: common/sched/cpupool.c:1329:1: warning: ‘static’ is not at beginning of declaration [-Wold-style-declaration] 1329 | __initcall(cpupool_init); | ^~~~~~~~~~ In file included from ./include/xen/irq.h:4, from common/pmap.c:3: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/rcupdate.h:36, from ./include/xen/irq.h:5: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233, from ./arch/arm/include/asm/pmap.h:4, from common/pmap.c:6: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7, from ./arch/arm/include/asm/setup.h:5, from ./arch/arm/include/asm/acpi.h:25, from ./include/acpi/platform/aclinux.h:58, from ./include/acpi/platform/acenv.h:142, from ./include/acpi/acpi.h:56, from ./include/xen/acpi.h:57, from ./arch/arm/include/asm/fixmap.h:7, from ./arch/arm/include/asm/pmap.h:6: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ CC common/libfdt/fdt_ro.o ./include/xen/acpi.h: In function ‘acpi_set_cstate_limit’: ./include/xen/acpi.h:192:55: warning: unused parameter ‘new_limit’ [-Wunused-parameter] 192 | static inline void acpi_set_cstate_limit(unsigned int new_limit) { return; } | ~~~~~~~~~~~~~^~~~~~~~~ ./include/xen/acpi.h: In function ‘acpi_set_csubstate_limit’: ./include/xen/acpi.h:194:58: warning: unused parameter ‘new_limit’ [-Wunused-parameter] 194 | static inline void acpi_set_csubstate_limit(unsigned int new_limit) { return; } | ~~~~~~~~~~~~~^~~~~~~~~ CC common/warning.o In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/softirq.h:16, from common/warning.c:4: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/current.h:8, from ./arch/arm/include/asm/smp.h:6: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ CC arch/arm/gic-v2.o CC arch/arm/guestcopy.o In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/mm.h:69, from arch/arm/gic-v2.c:13: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/perfc.h:7, from ./include/xen/mm.h:70: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/mm.h:69, from ./include/xen/domain_page.h:12, from arch/arm/guestcopy.c:2: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./include/xen/irq.h:5, from arch/arm/gic-v2.c:15: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/perfc.h:7, from ./include/xen/mm.h:70: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ In file included from ./include/xen/domain.h:5, from ./include/xen/sched.h:11, from ./include/xen/iocap.h:10, from arch/arm/gic-v2.c:16: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7, from ./arch/arm/include/asm/domain.h:7, from ./include/xen/domain.h:15: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ ./arch/arm/include/asm/domain.h: In function ‘arch_vcpu_block’: ./arch/arm/include/asm/domain.h:297:49: warning: unused parameter ‘v’ [-Wunused-parameter] 297 | static inline void arch_vcpu_block(struct vcpu *v) {} | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘update_guest_memory_policy’: ./arch/arm/include/asm/domain.h:309:60: warning: unused parameter ‘v’ [-Wunused-parameter] 309 | static inline void update_guest_memory_policy(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h:310:75: warning: unused parameter ‘gmp’ [-Wunused-parameter] 310 | struct guest_memory_policy *gmp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./include/xen/domain_page.h: In function ‘unmap_domain_page_global’: ./include/xen/domain_page.h:71:57: warning: unused parameter ‘va’ [-Wunused-parameter] 71 | static inline void unmap_domain_page_global(const void *va) {}; | ~~~~~~~~~~~~^~ In file included from ./include/xen/sched.h:25: ./include/xen/vpci.h: In function ‘vpci_assign_device’: ./include/xen/vpci.h:278:54: warning: unused parameter ‘pdev’ [-Wunused-parameter] 278 | static inline int vpci_assign_device(struct pci_dev *pdev) | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_deassign_device’: ./include/xen/vpci.h:283:57: warning: unused parameter ‘pdev’ [-Wunused-parameter] 283 | static inline void vpci_deassign_device(struct pci_dev *pdev) { } | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_read’: ./include/xen/vpci.h:287:45: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:287:64: warning: unused parameter ‘reg’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:288:47: warning: unused parameter ‘size’ [-Wunused-parameter] 288 | unsigned int size) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_write’: ./include/xen/vpci.h:294:42: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:294:61: warning: unused parameter ‘reg’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:295:44: warning: unused parameter ‘size’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h:295:59: warning: unused parameter ‘data’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~^~~~ In file included from ./include/xen/domain.h:5, from ./include/xen/sched.h:11, from ./arch/arm/include/asm/guest_access.h:5, from ./include/xen/guest_access.h:10, from arch/arm/guestcopy.c:3: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ ./include/xen/vpci.h: In function ‘vpci_process_pending’: ./include/xen/vpci.h:300:67: warning: unused parameter ‘v’ [-Wunused-parameter] 300 | static inline bool __must_check vpci_process_pending(struct vcpu *v) | ~~~~~~~~~~~~~^ In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5, from ./arch/arm/include/asm/domain.h:7, from ./include/xen/domain.h:15: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./include/xen/sched.h: In function ‘is_pv_32bit_domain’: ./include/xen/sched.h:1131:67: warning: unused parameter ‘d’ [-Wunused-parameter] 1131 | static always_inline bool is_pv_32bit_domain(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘arch_vcpu_block’: ./arch/arm/include/asm/domain.h:297:49: warning: unused parameter ‘v’ [-Wunused-parameter] 297 | static inline void arch_vcpu_block(struct vcpu *v) {} | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘update_guest_memory_policy’: ./arch/arm/include/asm/domain.h:309:60: warning: unused parameter ‘v’ [-Wunused-parameter] 309 | static inline void update_guest_memory_policy(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h:310:75: warning: unused parameter ‘gmp’ [-Wunused-parameter] 310 | struct guest_memory_policy *gmp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from arch/arm/gic-v2.c:24: ./include/xen/acpi.h: In function ‘acpi_set_cstate_limit’: ./include/xen/acpi.h:192:55: warning: unused parameter ‘new_limit’ [-Wunused-parameter] 192 | static inline void acpi_set_cstate_limit(unsigned int new_limit) { return; } | ~~~~~~~~~~~~~^~~~~~~~~ ./include/xen/acpi.h: In function ‘acpi_set_csubstate_limit’: ./include/xen/acpi.h:194:58: warning: unused parameter ‘new_limit’ [-Wunused-parameter] 194 | static inline void acpi_set_csubstate_limit(unsigned int new_limit) { return; } | ~~~~~~~~~~~~~^~~~~~~~~ In file included from ./include/xen/sched.h:25: ./include/xen/vpci.h: In function ‘vpci_assign_device’: ./include/xen/vpci.h:278:54: warning: unused parameter ‘pdev’ [-Wunused-parameter] 278 | static inline int vpci_assign_device(struct pci_dev *pdev) | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_deassign_device’: ./include/xen/vpci.h:283:57: warning: unused parameter ‘pdev’ [-Wunused-parameter] 283 | static inline void vpci_deassign_device(struct pci_dev *pdev) { } | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_read’: ./include/xen/vpci.h:287:45: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:287:64: warning: unused parameter ‘reg’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:288:47: warning: unused parameter ‘size’ [-Wunused-parameter] 288 | unsigned int size) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_write’: ./include/xen/vpci.h:294:42: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:294:61: warning: unused parameter ‘reg’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:295:44: warning: unused parameter ‘size’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h:295:59: warning: unused parameter ‘data’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_process_pending’: ./include/xen/vpci.h:300:67: warning: unused parameter ‘v’ [-Wunused-parameter] 300 | static inline bool __must_check vpci_process_pending(struct vcpu *v) | ~~~~~~~~~~~~~^ arch/arm/gic-v2.c: In function ‘gicv2_dist_init’: arch/arm/gic-v2.c:357:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 357 | for ( i = 32; i < nr_lines; i += 16 ) | ^ arch/arm/gic-v2.c:361:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 361 | for ( i = 32; i < nr_lines; i += 4 ) | ^ arch/arm/gic-v2.c:365:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 365 | for ( i = 32; i < nr_lines; i += 4 ) | ^ arch/arm/gic-v2.c:369:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 369 | for ( i = 32; i < nr_lines; i += 32 ) | ^ arch/arm/gic-v2.c: In function ‘gicv2_read_apr’: arch/arm/gic-v2.c:587:40: warning: unused parameter ‘apr_reg’ [-Wunused-parameter] 587 | static unsigned int gicv2_read_apr(int apr_reg) | ~~~~^~~~~~~ ./include/xen/sched.h: In function ‘is_pv_32bit_domain’: arch/arm/gic-v2.c: In function ‘gicv2_irq_ack’: ./include/xen/sched.h:1131:67: warning: unused parameter ‘d’ [-Wunused-parameter] 1131 | static always_inline bool is_pv_32bit_domain(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ arch/arm/gic-v2.c:636:44: warning: unused parameter ‘desc’ [-Wunused-parameter] 636 | static void gicv2_irq_ack(struct irq_desc *desc) | ~~~~~~~~~~~~~~~~~^~~~ arch/arm/gic-v2.c: In function ‘gicv2_is_aliased’: arch/arm/gic-v2.c:904:38: warning: unused parameter ‘cbase’ [-Wunused-parameter] 904 | static bool gicv2_is_aliased(paddr_t cbase, paddr_t csize) | ~~~~~~~~^~~~~ arch/arm/gic-v2.c: In function ‘gicv2_get_hwdom_extra_madt_size’: arch/arm/gic-v2.c:1102:75: warning: unused parameter ‘d’ [-Wunused-parameter] 1102 | static unsigned long gicv2_get_hwdom_extra_madt_size(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ arch/arm/gic-v2.c: In function ‘gicv2_do_LPI’: arch/arm/gic-v2.c:1308:39: warning: unused parameter ‘lpi’ [-Wunused-parameter] 1308 | static void gicv2_do_LPI(unsigned int lpi) | ~~~~~~~~~~~~~^~~ arch/arm/gic-v2.c: At top level: arch/arm/gic-v2.c:1314:1: warning: ‘static’ is not at beginning of declaration [-Wold-style-declaration] 1314 | const static struct gic_hw_operations gicv2_ops = { | ^~~~~ arch/arm/gic-v2.c: In function ‘gicv2_dt_preinit’: arch/arm/gic-v2.c:1352:48: warning: unused parameter ‘data’ [-Wunused-parameter] 1352 | const void *data) | ~~~~~~~~~~~~^~~~ arch/arm/gic-v2.c: In function ‘gicv2_acpi_preinit’: arch/arm/gic-v2.c:1375:50: warning: unused parameter ‘data’ [-Wunused-parameter] 1375 | static int __init gicv2_acpi_preinit(const void *data) | ~~~~~~~~~~~~^~~~ CC arch/arm/guest_atomics.o In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/cpu.h:5, from arch/arm/guest_atomics.c:5: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/rwlock.h:6, from ./include/xen/sched.h:7, from ./arch/arm/include/asm/guest_atomics.h:5, from arch/arm/guest_atomics.c:7: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/domain.h:5, from ./include/xen/sched.h:11: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233, from ./arch/arm/include/asm/p2m.h:4, from ./arch/arm/include/asm/domain.h:7, from ./include/xen/domain.h:15: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘arch_vcpu_block’: ./arch/arm/include/asm/domain.h:297:49: warning: unused parameter ‘v’ [-Wunused-parameter] 297 | static inline void arch_vcpu_block(struct vcpu *v) {} | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘update_guest_memory_policy’: ./arch/arm/include/asm/domain.h:309:60: warning: unused parameter ‘v’ [-Wunused-parameter] 309 | static inline void update_guest_memory_policy(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h:310:75: warning: unused parameter ‘gmp’ [-Wunused-parameter] 310 | struct guest_memory_policy *gmp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from ./include/xen/sched.h:25: ./include/xen/vpci.h: In function ‘vpci_assign_device’: ./include/xen/vpci.h:278:54: warning: unused parameter ‘pdev’ [-Wunused-parameter] 278 | static inline int vpci_assign_device(struct pci_dev *pdev) | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_deassign_device’: ./include/xen/vpci.h:283:57: warning: unused parameter ‘pdev’ [-Wunused-parameter] 283 | static inline void vpci_deassign_device(struct pci_dev *pdev) { } | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_read’: ./include/xen/vpci.h:287:45: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:287:64: warning: unused parameter ‘reg’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:288:47: warning: unused parameter ‘size’ [-Wunused-parameter] 288 | unsigned int size) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_write’: ./include/xen/vpci.h:294:42: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:294:61: warning: unused parameter ‘reg’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:295:44: warning: unused parameter ‘size’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h:295:59: warning: unused parameter ‘data’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_process_pending’: ./include/xen/vpci.h:300:67: warning: unused parameter ‘v’ [-Wunused-parameter] 300 | static inline bool __must_check vpci_process_pending(struct vcpu *v) | ~~~~~~~~~~~~~^ ./include/xen/sched.h: In function ‘is_pv_32bit_domain’: ./include/xen/sched.h:1131:67: warning: unused parameter ‘d’ [-Wunused-parameter] 1131 | static always_inline bool is_pv_32bit_domain(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ arch/arm/guest_atomics.c: In function ‘cpu_guest_safe_atomic_callback’: arch/arm/guest_atomics.c:49:66: warning: unused parameter ‘nfb’ [-Wunused-parameter] 49 | static int cpu_guest_safe_atomic_callback(struct notifier_block *nfb, | ~~~~~~~~~~~~~~~~~~~~~~~^~~ arch/arm/guest_atomics.c:51:49: warning: unused parameter ‘hcpu’ [-Wunused-parameter] 51 | void *hcpu) | ~~~~~~^~~~ arch/arm/guest_atomics.c: At top level: arch/arm/guest_atomics.c:71:1: warning: ‘static’ is not at beginning of declaration [-Wold-style-declaration] 71 | presmp_initcall(guest_safe_atomic_init); | ^~~~~~~~~~~~~~~ CC common/libfdt/fdt_wip.o CC arch/arm/guest_walk.o In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/mm.h:69, from ./include/xen/domain_page.h:12, from arch/arm/guest_walk.c:7: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/perfc.h:7, from ./include/xen/mm.h:70: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ CC common/libfdt/fdt_sw.o In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ ./include/xen/domain_page.h: In function ‘unmap_domain_page_global’: ./include/xen/domain_page.h:71:57: warning: unused parameter ‘va’ [-Wunused-parameter] 71 | static inline void unmap_domain_page_global(const void *va) {}; | ~~~~~~~~~~~~^~ In file included from ./include/xen/domain.h:5, from ./include/xen/sched.h:11, from ./arch/arm/include/asm/guest_access.h:5, from ./include/xen/guest_access.h:10, from arch/arm/guest_walk.c:8: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5, from ./arch/arm/include/asm/domain.h:7, from ./include/xen/domain.h:15: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘arch_vcpu_block’: ./arch/arm/include/asm/domain.h:297:49: warning: unused parameter ‘v’ [-Wunused-parameter] 297 | static inline void arch_vcpu_block(struct vcpu *v) {} | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘update_guest_memory_policy’: ./arch/arm/include/asm/domain.h:309:60: warning: unused parameter ‘v’ [-Wunused-parameter] 309 | static inline void update_guest_memory_policy(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h:310:75: warning: unused parameter ‘gmp’ [-Wunused-parameter] 310 | struct guest_memory_policy *gmp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from ./include/xen/sched.h:25: ./include/xen/vpci.h: In function ‘vpci_assign_device’: ./include/xen/vpci.h:278:54: warning: unused parameter ‘pdev’ [-Wunused-parameter] 278 | static inline int vpci_assign_device(struct pci_dev *pdev) | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_deassign_device’: ./include/xen/vpci.h:283:57: warning: unused parameter ‘pdev’ [-Wunused-parameter] 283 | static inline void vpci_deassign_device(struct pci_dev *pdev) { } | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_read’: ./include/xen/vpci.h:287:45: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:287:64: warning: unused parameter ‘reg’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:288:47: warning: unused parameter ‘size’ [-Wunused-parameter] 288 | unsigned int size) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_write’: ./include/xen/vpci.h:294:42: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:294:61: warning: unused parameter ‘reg’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:295:44: warning: unused parameter ‘size’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h:295:59: warning: unused parameter ‘data’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_process_pending’: ./include/xen/vpci.h:300:67: warning: unused parameter ‘v’ [-Wunused-parameter] 300 | static inline bool __must_check vpci_process_pending(struct vcpu *v) | ~~~~~~~~~~~~~^ ./include/xen/sched.h: In function ‘is_pv_32bit_domain’: ./include/xen/sched.h:1131:67: warning: unused parameter ‘d’ [-Wunused-parameter] 1131 | static always_inline bool is_pv_32bit_domain(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ CC common/libfdt/fdt_rw.o CC arch/arm/hvm.o In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/sched.h:6, from ./arch/arm/include/asm/guest_access.h:5, from ./include/xen/guest_access.h:10, from arch/arm/hvm.c:11: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/rwlock.h:6, from ./include/xen/sched.h:7: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/domain.h:5, from ./include/xen/sched.h:11: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233, from ./arch/arm/include/asm/p2m.h:4, from ./arch/arm/include/asm/domain.h:7, from ./include/xen/domain.h:15: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘arch_vcpu_block’: ./arch/arm/include/asm/domain.h:297:49: warning: unused parameter ‘v’ [-Wunused-parameter] 297 | static inline void arch_vcpu_block(struct vcpu *v) {} | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘update_guest_memory_policy’: ./arch/arm/include/asm/domain.h:309:60: warning: unused parameter ‘v’ [-Wunused-parameter] 309 | static inline void update_guest_memory_policy(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h:310:75: warning: unused parameter ‘gmp’ [-Wunused-parameter] 310 | struct guest_memory_policy *gmp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from ./include/xen/sched.h:25: ./include/xen/vpci.h: In function ‘vpci_assign_device’: ./include/xen/vpci.h:278:54: warning: unused parameter ‘pdev’ [-Wunused-parameter] 278 | static inline int vpci_assign_device(struct pci_dev *pdev) | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_deassign_device’: ./include/xen/vpci.h:283:57: warning: unused parameter ‘pdev’ [-Wunused-parameter] 283 | static inline void vpci_deassign_device(struct pci_dev *pdev) { } | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_read’: ./include/xen/vpci.h:287:45: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:287:64: warning: unused parameter ‘reg’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:288:47: warning: unused parameter ‘size’ [-Wunused-parameter] 288 | unsigned int size) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_write’: ./include/xen/vpci.h:294:42: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:294:61: warning: unused parameter ‘reg’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:295:44: warning: unused parameter ‘size’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h:295:59: warning: unused parameter ‘data’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_process_pending’: ./include/xen/vpci.h:300:67: warning: unused parameter ‘v’ [-Wunused-parameter] 300 | static inline bool __must_check vpci_process_pending(struct vcpu *v) | ~~~~~~~~~~~~~^ CC common/sched/arinc653.o ./include/xen/sched.h: In function ‘is_pv_32bit_domain’: ./include/xen/sched.h:1131:67: warning: unused parameter ‘d’ [-Wunused-parameter] 1131 | static always_inline bool is_pv_32bit_domain(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ In file included from ./include/xen/hypercall.h:22, from arch/arm/hvm.c:12: ./include/xsm/xsm.h: In function ‘xsm_domain_create’: ./include/xsm/xsm.h:224:19: warning: unused parameter ‘def’ [-Wunused-parameter] 224 | xsm_default_t def, struct domain *d, uint32_t ssidref) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_getdomaininfo’: ./include/xsm/xsm.h:229:51: warning: unused parameter ‘def’ [-Wunused-parameter] 229 | static inline int xsm_getdomaininfo(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_domctl_scheduler_op’: ./include/xsm/xsm.h:235:19: warning: unused parameter ‘def’ [-Wunused-parameter] 235 | xsm_default_t def, struct domain *d, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_sysctl_scheduler_op’: ./include/xsm/xsm.h:240:57: warning: unused parameter ‘def’ [-Wunused-parameter] 240 | static inline int xsm_sysctl_scheduler_op(xsm_default_t def, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_set_target’: ./include/xsm/xsm.h:246:19: warning: unused parameter ‘def’ [-Wunused-parameter] 246 | xsm_default_t def, struct domain *d, struct domain *e) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_domctl’: ./include/xsm/xsm.h:251:44: warning: unused parameter ‘def’ [-Wunused-parameter] 251 | static inline int xsm_domctl(xsm_default_t def, struct domain *d, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_sysctl’: ./include/xsm/xsm.h:256:44: warning: unused parameter ‘def’ [-Wunused-parameter] 256 | static inline int xsm_sysctl(xsm_default_t def, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_readconsole’: ./include/xsm/xsm.h:261:49: warning: unused parameter ‘def’ [-Wunused-parameter] 261 | static inline int xsm_readconsole(xsm_default_t def, uint32_t clear) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_unbound’: ./include/xsm/xsm.h:267:19: warning: unused parameter ‘def’ [-Wunused-parameter] 267 | xsm_default_t def, struct domain *d1, struct evtchn *chn, domid_t id2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_interdomain’: ./include/xsm/xsm.h:273:19: warning: unused parameter ‘def’ [-Wunused-parameter] 273 | xsm_default_t def, struct domain *d1, struct evtchn *chan1, | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_send’: ./include/xsm/xsm.h:285:19: warning: unused parameter ‘def’ [-Wunused-parameter] 285 | xsm_default_t def, struct domain *d, struct evtchn *chn) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_status’: ./include/xsm/xsm.h:291:19: warning: unused parameter ‘def’ [-Wunused-parameter] 291 | xsm_default_t def, struct domain *d, struct evtchn *chn) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_reset’: ./include/xsm/xsm.h:297:19: warning: unused parameter ‘def’ [-Wunused-parameter] 297 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_mapref’: ./include/xsm/xsm.h:303:19: warning: unused parameter ‘def’ [-Wunused-parameter] 303 | xsm_default_t def, struct domain *d1, struct domain *d2, uint32_t flags) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_unmapref’: ./include/xsm/xsm.h:309:19: warning: unused parameter ‘def’ [-Wunused-parameter] 309 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_setup’: ./include/xsm/xsm.h:315:19: warning: unused parameter ‘def’ [-Wunused-parameter] 315 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_transfer’: ./include/xsm/xsm.h:321:19: warning: unused parameter ‘def’ [-Wunused-parameter] 321 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_copy’: ./include/xsm/xsm.h:327:19: warning: unused parameter ‘def’ [-Wunused-parameter] 327 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_query_size’: ./include/xsm/xsm.h:333:19: warning: unused parameter ‘def’ [-Wunused-parameter] 333 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_init_hardware_domain’: ./include/xsm/xsm.h:366:58: warning: unused parameter ‘def’ [-Wunused-parameter] 366 | static inline int xsm_init_hardware_domain(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_get_pod_target’: ./include/xsm/xsm.h:371:52: warning: unused parameter ‘def’ [-Wunused-parameter] 371 | static inline int xsm_get_pod_target(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_set_pod_target’: ./include/xsm/xsm.h:376:52: warning: unused parameter ‘def’ [-Wunused-parameter] 376 | static inline int xsm_set_pod_target(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_exchange’: ./include/xsm/xsm.h:381:53: warning: unused parameter ‘def’ [-Wunused-parameter] 381 | static inline int xsm_memory_exchange(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_adjust_reservation’: ./include/xsm/xsm.h:387:19: warning: unused parameter ‘def’ [-Wunused-parameter] 387 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_stat_reservation’: ./include/xsm/xsm.h:393:19: warning: unused parameter ‘def’ [-Wunused-parameter] 393 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_pin_page’: ./include/xsm/xsm.h:399:19: warning: unused parameter ‘def’ [-Wunused-parameter] 399 | xsm_default_t def, struct domain *d1, struct domain *d2, | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_add_to_physmap’: ./include/xsm/xsm.h:406:19: warning: unused parameter ‘def’ [-Wunused-parameter] 406 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_remove_from_physmap’: ./include/xsm/xsm.h:412:19: warning: unused parameter ‘def’ [-Wunused-parameter] 412 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_map_gmfn_foreign’: ./include/xsm/xsm.h:418:19: warning: unused parameter ‘def’ [-Wunused-parameter] 418 | xsm_default_t def, struct domain *d, struct domain *t) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_claim_pages’: ./include/xsm/xsm.h:423:49: warning: unused parameter ‘def’ [-Wunused-parameter] 423 | static inline int xsm_claim_pages(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_console_io’: ./include/xsm/xsm.h:428:48: warning: unused parameter ‘def’ [-Wunused-parameter] 428 | static inline int xsm_console_io(xsm_default_t def, struct domain *d, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_profile’: ./include/xsm/xsm.h:433:45: warning: unused parameter ‘def’ [-Wunused-parameter] 433 | static inline int xsm_profile(xsm_default_t def, struct domain *d, int op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_kexec’: ./include/xsm/xsm.h:438:43: warning: unused parameter ‘def’ [-Wunused-parameter] 438 | static inline int xsm_kexec(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_schedop_shutdown’: ./include/xsm/xsm.h:444:19: warning: unused parameter ‘def’ [-Wunused-parameter] 444 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_map_domain_pirq’: ./include/xsm/xsm.h:454:53: warning: unused parameter ‘def’ [-Wunused-parameter] 454 | static inline int xsm_map_domain_pirq(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_map_domain_irq’: ./include/xsm/xsm.h:460:19: warning: unused parameter ‘def’ [-Wunused-parameter] 460 | xsm_default_t def, struct domain *d, int irq, void *data) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_unmap_domain_pirq’: ./include/xsm/xsm.h:465:55: warning: unused parameter ‘def’ [-Wunused-parameter] 465 | static inline int xsm_unmap_domain_pirq(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_unmap_domain_irq’: ./include/xsm/xsm.h:471:19: warning: unused parameter ‘def’ [-Wunused-parameter] 471 | xsm_default_t def, struct domain *d, int irq, void *data) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_bind_pt_irq’: ./include/xsm/xsm.h:477:19: warning: unused parameter ‘def’ [-Wunused-parameter] 477 | xsm_default_t def, struct domain *d, struct xen_domctl_bind_pt_irq *bind) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_unbind_pt_irq’: ./include/xsm/xsm.h:483:19: warning: unused parameter ‘def’ [-Wunused-parameter] 483 | xsm_default_t def, struct domain *d, struct xen_domctl_bind_pt_irq *bind) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_irq_permission’: ./include/xsm/xsm.h:489:19: warning: unused parameter ‘def’ [-Wunused-parameter] 489 | xsm_default_t def, struct domain *d, int pirq, uint8_t allow) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_iomem_permission’: ./include/xsm/xsm.h:495:19: warning: unused parameter ‘def’ [-Wunused-parameter] 495 | xsm_default_t def, struct domain *d, uint64_t s, uint64_t e, uint8_t allow) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_iomem_mapping’: ./include/xsm/xsm.h:501:19: warning: unused parameter ‘def’ [-Wunused-parameter] 501 | xsm_default_t def, struct domain *d, uint64_t s, uint64_t e, uint8_t allow) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_pci_config_permission’: ./include/xsm/xsm.h:507:19: warning: unused parameter ‘def’ [-Wunused-parameter] 507 | xsm_default_t def, struct domain *d, uint32_t machine_bdf, uint16_t start, | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_assign_dtdevice’: ./include/xsm/xsm.h:534:19: warning: unused parameter ‘def’ [-Wunused-parameter] 534 | xsm_default_t def, struct domain *d, const char *dtpath) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_deassign_dtdevice’: ./include/xsm/xsm.h:540:19: warning: unused parameter ‘def’ [-Wunused-parameter] 540 | xsm_default_t def, struct domain *d, const char *dtpath) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_plug_pci’: ./include/xsm/xsm.h:547:55: warning: unused parameter ‘def’ [-Wunused-parameter] 547 | static inline int xsm_resource_plug_pci(xsm_default_t def, uint32_t machine_bdf) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_unplug_pci’: ./include/xsm/xsm.h:553:19: warning: unused parameter ‘def’ [-Wunused-parameter] 553 | xsm_default_t def, uint32_t machine_bdf) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_plug_core’: ./include/xsm/xsm.h:558:56: warning: unused parameter ‘def’ [-Wunused-parameter] 558 | static inline int xsm_resource_plug_core(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_unplug_core’: ./include/xsm/xsm.h:563:58: warning: unused parameter ‘def’ [-Wunused-parameter] 563 | static inline int xsm_resource_unplug_core(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_setup_pci’: ./include/xsm/xsm.h:569:19: warning: unused parameter ‘def’ [-Wunused-parameter] 569 | xsm_default_t def, uint32_t machine_bdf) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_setup_gsi’: ./include/xsm/xsm.h:574:56: warning: unused parameter ‘def’ [-Wunused-parameter] 574 | static inline int xsm_resource_setup_gsi(xsm_default_t def, int gsi) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_setup_misc’: ./include/xsm/xsm.h:579:57: warning: unused parameter ‘def’ [-Wunused-parameter] 579 | static inline int xsm_resource_setup_misc(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_page_offline’: ./include/xsm/xsm.h:584:50: warning: unused parameter ‘def’ [-Wunused-parameter] 584 | static inline int xsm_page_offline(xsm_default_t def, uint32_t cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hypfs_op’: ./include/xsm/xsm.h:589:46: warning: unused parameter ‘def’ [-Wunused-parameter] 589 | static inline int xsm_hypfs_op(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hvm_param’: ./include/xsm/xsm.h:607:19: warning: unused parameter ‘def’ [-Wunused-parameter] 607 | xsm_default_t def, struct domain *d, unsigned long op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hvm_param_altp2mhvm’: ./include/xsm/xsm.h:612:57: warning: unused parameter ‘def’ [-Wunused-parameter] 612 | static inline int xsm_hvm_param_altp2mhvm(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hvm_altp2mhvm_op’: ./include/xsm/xsm.h:618:19: warning: unused parameter ‘def’ [-Wunused-parameter] 618 | xsm_default_t def, struct domain *d, uint64_t mode, uint32_t op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_get_vnumainfo’: ./include/xsm/xsm.h:623:51: warning: unused parameter ‘def’ [-Wunused-parameter] 623 | static inline int xsm_get_vnumainfo(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_vm_event_control’: ./include/xsm/xsm.h:629:19: warning: unused parameter ‘def’ [-Wunused-parameter] 629 | xsm_default_t def, struct domain *d, int mode, int op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_mem_access’: ./include/xsm/xsm.h:635:48: warning: unused parameter ‘def’ [-Wunused-parameter] 635 | static inline int xsm_mem_access(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_platform_op’: ./include/xsm/xsm.h:655:49: warning: unused parameter ‘def’ [-Wunused-parameter] 655 | static inline int xsm_platform_op(xsm_default_t def, uint32_t op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_dm_op’: ./include/xsm/xsm.h:738:43: warning: unused parameter ‘def’ [-Wunused-parameter] 738 | static inline int xsm_dm_op(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_xen_version’: ./include/xsm/xsm.h:743:49: warning: unused parameter ‘def’ [-Wunused-parameter] 743 | static inline int xsm_xen_version(xsm_default_t def, uint32_t op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_domain_resource_map’: ./include/xsm/xsm.h:748:57: warning: unused parameter ‘def’ [-Wunused-parameter] 748 | static inline int xsm_domain_resource_map(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/sched.h:6, from common/sched/arinc653.c:28: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ CC common/libfdt/fdt_strerror.o In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/rwlock.h:6, from ./include/xen/sched.h:7: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/domain.h:5, from ./include/xen/sched.h:11: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233, from ./arch/arm/include/asm/p2m.h:4, from ./arch/arm/include/asm/domain.h:7, from ./include/xen/domain.h:15: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘arch_vcpu_block’: ./arch/arm/include/asm/domain.h:297:49: warning: unused parameter ‘v’ [-Wunused-parameter] 297 | static inline void arch_vcpu_block(struct vcpu *v) {} | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘update_guest_memory_policy’: ./arch/arm/include/asm/domain.h:309:60: warning: unused parameter ‘v’ [-Wunused-parameter] 309 | static inline void update_guest_memory_policy(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h:310:75: warning: unused parameter ‘gmp’ [-Wunused-parameter] 310 | struct guest_memory_policy *gmp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from ./include/xen/sched.h:25: ./include/xen/vpci.h: In function ‘vpci_assign_device’: ./include/xen/vpci.h:278:54: warning: unused parameter ‘pdev’ [-Wunused-parameter] 278 | static inline int vpci_assign_device(struct pci_dev *pdev) | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_deassign_device’: ./include/xen/vpci.h:283:57: warning: unused parameter ‘pdev’ [-Wunused-parameter] 283 | static inline void vpci_deassign_device(struct pci_dev *pdev) { } | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_read’: ./include/xen/vpci.h:287:45: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:287:64: warning: unused parameter ‘reg’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:288:47: warning: unused parameter ‘size’ [-Wunused-parameter] 288 | unsigned int size) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_write’: ./include/xen/vpci.h:294:42: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:294:61: warning: unused parameter ‘reg’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:295:44: warning: unused parameter ‘size’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h:295:59: warning: unused parameter ‘data’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_process_pending’: ./include/xen/vpci.h:300:67: warning: unused parameter ‘v’ [-Wunused-parameter] 300 | static inline bool __must_check vpci_process_pending(struct vcpu *v) | ~~~~~~~~~~~~~^ ./include/xen/sched.h: In function ‘is_pv_32bit_domain’: ./include/xen/sched.h:1131:67: warning: unused parameter ‘d’ [-Wunused-parameter] 1131 | static always_inline bool is_pv_32bit_domain(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ common/sched/private.h: In function ‘is_unit_online’: ./include/xen/sched.h:357:40: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 357 | (v)->vcpu_id < (u)->next_in_list->unit_id); \ | ^ common/sched/private.h:91:5: note: in expansion of macro ‘for_each_sched_unit_vcpu’ 91 | for_each_sched_unit_vcpu ( unit, v ) | ^~~~~~~~~~~~~~~~~~~~~~~~ common/sched/private.h: In function ‘unit_runnable’: ./include/xen/sched.h:357:40: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 357 | (v)->vcpu_id < (u)->next_in_list->unit_id); \ | ^ common/sched/private.h:108:5: note: in expansion of macro ‘for_each_sched_unit_vcpu’ 108 | for_each_sched_unit_vcpu ( unit, v ) | ^~~~~~~~~~~~~~~~~~~~~~~~ common/sched/private.h: In function ‘unit_runnable_state’: ./include/xen/sched.h:357:40: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 357 | (v)->vcpu_id < (u)->next_in_list->unit_id); \ | ^ common/sched/private.h:135:5: note: in expansion of macro ‘for_each_sched_unit_vcpu’ 135 | for_each_sched_unit_vcpu ( unit, v ) | ^~~~~~~~~~~~~~~~~~~~~~~~ common/sched/private.h: In function ‘sched_set_res’: ./include/xen/sched.h:357:40: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 357 | (v)->vcpu_id < (u)->next_in_list->unit_id); \ | ^ common/sched/private.h:154:5: note: in expansion of macro ‘for_each_sched_unit_vcpu’ 154 | for_each_sched_unit_vcpu ( unit, v ) | ^~~~~~~~~~~~~~~~~~~~~~~~ common/sched/private.h: In function ‘sched_set_pause_flags’: ./include/xen/sched.h:357:40: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 357 | (v)->vcpu_id < (u)->next_in_list->unit_id); \ | ^ common/sched/private.h:176:5: note: in expansion of macro ‘for_each_sched_unit_vcpu’ 176 | for_each_sched_unit_vcpu ( unit, v ) | ^~~~~~~~~~~~~~~~~~~~~~~~ common/sched/private.h: In function ‘sched_clear_pause_flags’: ./include/xen/sched.h:357:40: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 357 | (v)->vcpu_id < (u)->next_in_list->unit_id); \ | ^ common/sched/private.h:186:5: note: in expansion of macro ‘for_each_sched_unit_vcpu’ 186 | for_each_sched_unit_vcpu ( unit, v ) | ^~~~~~~~~~~~~~~~~~~~~~~~ CC arch/arm/io.o common/sched/private.h: In function ‘sched_unit_pause_nosync’: ./include/xen/sched.h:357:40: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 357 | (v)->vcpu_id < (u)->next_in_list->unit_id); \ | ^ common/sched/private.h:530:5: note: in expansion of macro ‘for_each_sched_unit_vcpu’ 530 | for_each_sched_unit_vcpu ( unit, v ) | ^~~~~~~~~~~~~~~~~~~~~~~~ common/sched/private.h: In function ‘sched_unit_unpause’: ./include/xen/sched.h:357:40: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 357 | (v)->vcpu_id < (u)->next_in_list->unit_id); \ | ^ common/sched/private.h:538:5: note: in expansion of macro ‘for_each_sched_unit_vcpu’ 538 | for_each_sched_unit_vcpu ( unit, v ) | ^~~~~~~~~~~~~~~~~~~~~~~~ common/sched/arinc653.c: In function ‘find_unit’: common/sched/arinc653.c:193:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 193 | && (unit_id == aunit->unit->unit_id) ) | ^~ common/sched/arinc653.c: In function ‘arinc653_sched_set’: common/sched/arinc653.c:261:24: warning: comparison of integer expressions of different signedness: ‘s_time_t’ {aka ‘long int’} and ‘uint64_t’ {aka ‘long unsigned int’} [-Wsign-compare] 261 | if ( total_runtime > schedule->major_frame ) | ^ common/sched/arinc653.c: In function ‘a653sched_alloc_udata’: common/sched/arinc653.c:386:29: warning: unused parameter ‘dd’ [-Wunused-parameter] 386 | void *dd) | ~~~~~~^~ common/sched/arinc653.c: In function ‘a653sched_unit_sleep’: common/sched/arinc653.c:473:46: warning: unused parameter ‘ops’ [-Wunused-parameter] 473 | a653sched_unit_sleep(const struct scheduler *ops, struct sched_unit *unit) | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ common/sched/arinc653.c: In function ‘a653sched_unit_wake’: common/sched/arinc653.c:493:45: warning: unused parameter ‘ops’ [-Wunused-parameter] 493 | a653sched_unit_wake(const struct scheduler *ops, struct sched_unit *unit) | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ common/sched/arinc653.c: In function ‘a653sched_pick_resource’: common/sched/arinc653.c:608:49: warning: unused parameter ‘ops’ [-Wunused-parameter] 608 | a653sched_pick_resource(const struct scheduler *ops, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ common/sched/arinc653.c: In function ‘a653_switch_sched’: common/sched/arinc653.c:638:37: warning: unused parameter ‘new_ops’ [-Wunused-parameter] 638 | a653_switch_sched(struct scheduler *new_ops, unsigned int cpu, | ~~~~~~~~~~~~~~~~~~^~~~~~~ In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/sched.h:6, from ./include/xen/ioreq.h:22, from arch/arm/io.c:10: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ CC common/libfdt/fdt_empty_tree.o In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/rwlock.h:6, from ./include/xen/sched.h:7: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/domain.h:5, from ./include/xen/sched.h:11: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233, from ./arch/arm/include/asm/p2m.h:4, from ./arch/arm/include/asm/domain.h:7, from ./include/xen/domain.h:15: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘arch_vcpu_block’: ./arch/arm/include/asm/domain.h:297:49: warning: unused parameter ‘v’ [-Wunused-parameter] 297 | static inline void arch_vcpu_block(struct vcpu *v) {} | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘update_guest_memory_policy’: ./arch/arm/include/asm/domain.h:309:60: warning: unused parameter ‘v’ [-Wunused-parameter] 309 | static inline void update_guest_memory_policy(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h:310:75: warning: unused parameter ‘gmp’ [-Wunused-parameter] 310 | struct guest_memory_policy *gmp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from ./include/xen/sched.h:25: ./include/xen/vpci.h: In function ‘vpci_assign_device’: ./include/xen/vpci.h:278:54: warning: unused parameter ‘pdev’ [-Wunused-parameter] 278 | static inline int vpci_assign_device(struct pci_dev *pdev) | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_deassign_device’: ./include/xen/vpci.h:283:57: warning: unused parameter ‘pdev’ [-Wunused-parameter] 283 | static inline void vpci_deassign_device(struct pci_dev *pdev) { } | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_read’: ./include/xen/vpci.h:287:45: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:287:64: warning: unused parameter ‘reg’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:288:47: warning: unused parameter ‘size’ [-Wunused-parameter] 288 | unsigned int size) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_write’: ./include/xen/vpci.h:294:42: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:294:61: warning: unused parameter ‘reg’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:295:44: warning: unused parameter ‘size’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h:295:59: warning: unused parameter ‘data’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_process_pending’: ./include/xen/vpci.h:300:67: warning: unused parameter ‘v’ [-Wunused-parameter] 300 | static inline bool __must_check vpci_process_pending(struct vcpu *v) | ~~~~~~~~~~~~~^ ./include/xen/sched.h: In function ‘is_pv_32bit_domain’: ./include/xen/sched.h:1131:67: warning: unused parameter ‘d’ [-Wunused-parameter] 1131 | static always_inline bool is_pv_32bit_domain(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ In file included from arch/arm/io.c:17: ./arch/arm/include/asm/ioreq.h: In function ‘handle_pio’: ./arch/arm/include/asm/ioreq.h:41:40: warning: unused parameter ‘port’ [-Wunused-parameter] 41 | static inline bool handle_pio(uint16_t port, unsigned int size, int dir) | ~~~~~~~~~^~~~ ./arch/arm/include/asm/ioreq.h:41:59: warning: unused parameter ‘size’ [-Wunused-parameter] 41 | static inline bool handle_pio(uint16_t port, unsigned int size, int dir) | ~~~~~~~~~~~~~^~~~ ./arch/arm/include/asm/ioreq.h:41:69: warning: unused parameter ‘dir’ [-Wunused-parameter] 41 | static inline bool handle_pio(uint16_t port, unsigned int size, int dir) | ~~~~^~~ ./arch/arm/include/asm/ioreq.h: In function ‘msix_write_completion’: ./arch/arm/include/asm/ioreq.h:51:55: warning: unused parameter ‘v’ [-Wunused-parameter] 51 | static inline void msix_write_completion(struct vcpu *v) | ~~~~~~~~~~~~~^ arch/arm/io.c: In function ‘swap_mmio_handler’: arch/arm/io.c:74:58: warning: unused parameter ‘size’ [-Wunused-parameter] 74 | static void swap_mmio_handler(void *_a, void *_b, size_t size) | ~~~~~~~^~~~ CC common/libfdt/fdt_addresses.o CC common/libfdt/fdt_overlay.o CC arch/arm/ioreq.o In file included from ./include/xen/domain.h:5, from arch/arm/ioreq.c:8: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/timer.h:11, from ./arch/arm/include/asm/domain.h:5, from ./include/xen/domain.h:15: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/perfc.h:7, from ./include/xen/mm.h:70, from ./arch/arm/include/asm/p2m.h:4, from ./arch/arm/include/asm/domain.h:7: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ CC common/libfdt/fdt_check.o ./arch/arm/include/asm/domain.h: In function ‘arch_vcpu_block’: ./arch/arm/include/asm/domain.h:297:49: warning: unused parameter ‘v’ [-Wunused-parameter] 297 | static inline void arch_vcpu_block(struct vcpu *v) {} | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘update_guest_memory_policy’: ./arch/arm/include/asm/domain.h:309:60: warning: unused parameter ‘v’ [-Wunused-parameter] 309 | static inline void update_guest_memory_policy(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h:310:75: warning: unused parameter ‘gmp’ [-Wunused-parameter] 310 | struct guest_memory_policy *gmp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from ./include/xen/sched.h:25, from ./include/xen/ioreq.h:22, from arch/arm/ioreq.c:9: ./include/xen/vpci.h: In function ‘vpci_assign_device’: ./include/xen/vpci.h:278:54: warning: unused parameter ‘pdev’ [-Wunused-parameter] 278 | static inline int vpci_assign_device(struct pci_dev *pdev) | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_deassign_device’: ./include/xen/vpci.h:283:57: warning: unused parameter ‘pdev’ [-Wunused-parameter] 283 | static inline void vpci_deassign_device(struct pci_dev *pdev) { } | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_read’: ./include/xen/vpci.h:287:45: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:287:64: warning: unused parameter ‘reg’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:288:47: warning: unused parameter ‘size’ [-Wunused-parameter] 288 | unsigned int size) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_write’: ./include/xen/vpci.h:294:42: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:294:61: warning: unused parameter ‘reg’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:295:44: warning: unused parameter ‘size’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h:295:59: warning: unused parameter ‘data’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_process_pending’: ./include/xen/vpci.h:300:67: warning: unused parameter ‘v’ [-Wunused-parameter] 300 | static inline bool __must_check vpci_process_pending(struct vcpu *v) | ~~~~~~~~~~~~~^ CC arch/arm/irq.o ./include/xen/sched.h: In function ‘is_pv_32bit_domain’: ./include/xen/sched.h:1131:67: warning: unused parameter ‘d’ [-Wunused-parameter] 1131 | static always_inline bool is_pv_32bit_domain(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ In file included from arch/arm/ioreq.c:12: ./arch/arm/include/asm/ioreq.h: In function ‘handle_pio’: ./arch/arm/include/asm/ioreq.h:41:40: warning: unused parameter ‘port’ [-Wunused-parameter] 41 | static inline bool handle_pio(uint16_t port, unsigned int size, int dir) | ~~~~~~~~~^~~~ ./arch/arm/include/asm/ioreq.h:41:59: warning: unused parameter ‘size’ [-Wunused-parameter] 41 | static inline bool handle_pio(uint16_t port, unsigned int size, int dir) | ~~~~~~~~~~~~~^~~~ ./arch/arm/include/asm/ioreq.h:41:69: warning: unused parameter ‘dir’ [-Wunused-parameter] 41 | static inline bool handle_pio(uint16_t port, unsigned int size, int dir) | ~~~~^~~ ./arch/arm/include/asm/ioreq.h: In function ‘msix_write_completion’: ./arch/arm/include/asm/ioreq.h:51:55: warning: unused parameter ‘v’ [-Wunused-parameter] 51 | static inline void msix_write_completion(struct vcpu *v) | ~~~~~~~~~~~~~^ arch/arm/ioreq.c: In function ‘arch_vcpu_ioreq_completion’: arch/arm/ioreq.c:138:53: warning: unused parameter ‘completion’ [-Wunused-parameter] 138 | bool arch_vcpu_ioreq_completion(enum vio_completion completion) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ arch/arm/ioreq.c: In function ‘arch_ioreq_server_map_pages’: arch/arm/ioreq.c:152:54: warning: unused parameter ‘s’ [-Wunused-parameter] 152 | int arch_ioreq_server_map_pages(struct ioreq_server *s) | ~~~~~~~~~~~~~~~~~~~~~^ arch/arm/ioreq.c: In function ‘arch_ioreq_server_unmap_pages’: arch/arm/ioreq.c:157:57: warning: unused parameter ‘s’ [-Wunused-parameter] 157 | void arch_ioreq_server_unmap_pages(struct ioreq_server *s) | ~~~~~~~~~~~~~~~~~~~~~^ arch/arm/ioreq.c: In function ‘arch_ioreq_server_enable’: arch/arm/ioreq.c:161:52: warning: unused parameter ‘s’ [-Wunused-parameter] 161 | void arch_ioreq_server_enable(struct ioreq_server *s) | ~~~~~~~~~~~~~~~~~~~~~^ arch/arm/ioreq.c: In function ‘arch_ioreq_server_disable’: arch/arm/ioreq.c:165:53: warning: unused parameter ‘s’ [-Wunused-parameter] 165 | void arch_ioreq_server_disable(struct ioreq_server *s) | ~~~~~~~~~~~~~~~~~~~~~^ arch/arm/ioreq.c: In function ‘arch_ioreq_server_destroy’: arch/arm/ioreq.c:169:53: warning: unused parameter ‘s’ [-Wunused-parameter] 169 | void arch_ioreq_server_destroy(struct ioreq_server *s) | ~~~~~~~~~~~~~~~~~~~~~^ arch/arm/ioreq.c: In function ‘arch_ioreq_server_map_mem_type’: arch/arm/ioreq.c:173:51: warning: unused parameter ‘d’ [-Wunused-parameter] 173 | int arch_ioreq_server_map_mem_type(struct domain *d, | ~~~~~~~~~~~~~~~^ arch/arm/ioreq.c:174:57: warning: unused parameter ‘s’ [-Wunused-parameter] 174 | struct ioreq_server *s, | ~~~~~~~~~~~~~~~~~~~~~^ arch/arm/ioreq.c:175:45: warning: unused parameter ‘flags’ [-Wunused-parameter] 175 | uint32_t flags) | ~~~~~~~~~^~~~~ arch/arm/ioreq.c: In function ‘arch_ioreq_server_map_mem_type_completed’: arch/arm/ioreq.c:180:62: warning: unused parameter ‘d’ [-Wunused-parameter] 180 | void arch_ioreq_server_map_mem_type_completed(struct domain *d, | ~~~~~~~~~~~~~~~^ arch/arm/ioreq.c:181:68: warning: unused parameter ‘s’ [-Wunused-parameter] 181 | struct ioreq_server *s, | ~~~~~~~~~~~~~~~~~~~~~^ arch/arm/ioreq.c:182:56: warning: unused parameter ‘flags’ [-Wunused-parameter] 182 | uint32_t flags) | ~~~~~~~~~^~~~~ arch/arm/ioreq.c: In function ‘arch_ioreq_server_destroy_all’: arch/arm/ioreq.c:186:51: warning: unused parameter ‘d’ [-Wunused-parameter] 186 | bool arch_ioreq_server_destroy_all(struct domain *d) | ~~~~~~~~~~~~~~~^ arch/arm/ioreq.c: In function ‘arch_ioreq_server_get_type_addr’: arch/arm/ioreq.c:191:59: warning: unused parameter ‘d’ [-Wunused-parameter] 191 | bool arch_ioreq_server_get_type_addr(const struct domain *d, | ~~~~~~~~~~~~~~~~~~~~~^ arch/arm/ioreq.c: In function ‘arch_ioreq_domain_init’: arch/arm/ioreq.c:206:44: warning: unused parameter ‘d’ [-Wunused-parameter] 206 | void arch_ioreq_domain_init(struct domain *d) | ~~~~~~~~~~~~~~~^ In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/cpu.h:5, from arch/arm/irq.c:11: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./include/xen/irq.h:4, from arch/arm/irq.c:14: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/irq.h:5: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ LD common/libfdt/libfdt-temp.o CC common/sched/credit.o In file included from ./include/xen/domain.h:5, from ./include/xen/sched.h:11, from arch/arm/irq.c:17: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233, from ./arch/arm/include/asm/p2m.h:4, from ./arch/arm/include/asm/domain.h:7, from ./include/xen/domain.h:15: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘arch_vcpu_block’: ./arch/arm/include/asm/domain.h:297:49: warning: unused parameter ‘v’ [-Wunused-parameter] 297 | static inline void arch_vcpu_block(struct vcpu *v) {} | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘update_guest_memory_policy’: ./arch/arm/include/asm/domain.h:309:60: warning: unused parameter ‘v’ [-Wunused-parameter] 309 | static inline void update_guest_memory_policy(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h:310:75: warning: unused parameter ‘gmp’ [-Wunused-parameter] 310 | struct guest_memory_policy *gmp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from ./include/xen/sched.h:25: ./include/xen/vpci.h: In function ‘vpci_assign_device’: ./include/xen/vpci.h:278:54: warning: unused parameter ‘pdev’ [-Wunused-parameter] 278 | static inline int vpci_assign_device(struct pci_dev *pdev) | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_deassign_device’: ./include/xen/vpci.h:283:57: warning: unused parameter ‘pdev’ [-Wunused-parameter] 283 | static inline void vpci_deassign_device(struct pci_dev *pdev) { } | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_read’: ./include/xen/vpci.h:287:45: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:287:64: warning: unused parameter ‘reg’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:288:47: warning: unused parameter ‘size’ [-Wunused-parameter] 288 | unsigned int size) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_write’: ./include/xen/vpci.h:294:42: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:294:61: warning: unused parameter ‘reg’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:295:44: warning: unused parameter ‘size’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h:295:59: warning: unused parameter ‘data’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_process_pending’: ./include/xen/vpci.h:300:67: warning: unused parameter ‘v’ [-Wunused-parameter] 300 | static inline bool __must_check vpci_process_pending(struct vcpu *v) | ~~~~~~~~~~~~~^ ./include/xen/sched.h: In function ‘is_pv_32bit_domain’: ./include/xen/sched.h:1131:67: warning: unused parameter ‘d’ [-Wunused-parameter] 1131 | static always_inline bool is_pv_32bit_domain(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ arch/arm/irq.c: In function ‘cpu_callback’: arch/arm/irq.c:126:48: warning: unused parameter ‘nfb’ [-Wunused-parameter] 126 | static int cpu_callback(struct notifier_block *nfb, unsigned long action, | ~~~~~~~~~~~~~~~~~~~~~~~^~~ arch/arm/irq.c: In function ‘alloc_pirq_struct’: arch/arm/irq.c:602:47: warning: unused parameter ‘d’ [-Wunused-parameter] 602 | struct pirq *alloc_pirq_struct(struct domain *d) | ~~~~~~~~~~~~~~~^ arch/arm/irq.c: In function ‘pirq_guest_bind’: arch/arm/irq.c:612:34: warning: unused parameter ‘v’ [-Wunused-parameter] 612 | int pirq_guest_bind(struct vcpu *v, struct pirq *pirq, int will_share) | ~~~~~~~~~~~~~^ arch/arm/irq.c:612:50: warning: unused parameter ‘pirq’ [-Wunused-parameter] 612 | int pirq_guest_bind(struct vcpu *v, struct pirq *pirq, int will_share) | ~~~~~~~~~~~~~^~~~ arch/arm/irq.c:612:60: warning: unused parameter ‘will_share’ [-Wunused-parameter] 612 | int pirq_guest_bind(struct vcpu *v, struct pirq *pirq, int will_share) | ~~~~^~~~~~~~~~ arch/arm/irq.c: In function ‘pirq_guest_unbind’: OBJCOPY common/libfdt/libfdt.o arch/arm/irq.c:617:39: warning: unused parameter ‘d’ [-Wunused-parameter] 617 | void pirq_guest_unbind(struct domain *d, struct pirq *pirq) | ~~~~~~~~~~~~~~~^ arch/arm/irq.c:617:55: warning: unused parameter ‘pirq’ [-Wunused-parameter] 617 | void pirq_guest_unbind(struct domain *d, struct pirq *pirq) | ~~~~~~~~~~~~~^~~~ arch/arm/irq.c: In function ‘pirq_set_affinity’: arch/arm/irq.c:622:39: warning: unused parameter ‘d’ [-Wunused-parameter] 622 | void pirq_set_affinity(struct domain *d, int pirq, const cpumask_t *mask) | ~~~~~~~~~~~~~~~^ arch/arm/irq.c:622:46: warning: unused parameter ‘pirq’ [-Wunused-parameter] 622 | void pirq_set_affinity(struct domain *d, int pirq, const cpumask_t *mask) | ~~~~^~~~ arch/arm/irq.c:622:69: warning: unused parameter ‘mask’ [-Wunused-parameter] 622 | void pirq_set_affinity(struct domain *d, int pirq, const cpumask_t *mask) | ~~~~~~~~~~~~~~~~~^~~~ LD common/libfdt/built_in.o In file included from common/sched/credit.c:13: ./include/xen/param.h: In function ‘no_config_param’: ./include/xen/param.h:193:19: warning: operand of ‘?:’ changes signedness from ‘long int’ to ‘size_t’ {aka ‘long unsigned int’} due to unsignedness of other operand [-Wsign-compare] 193 | int len = e ? ({ ASSERT(e >= s); e - s; }) : strlen(s); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/sched.h:6, from common/sched/credit.c:14: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ CC common/config_data.o CC arch/arm/kernel.o In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/rwlock.h:6, from ./include/xen/sched.h:7: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/domain.h:5, from ./include/xen/sched.h:11: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233, from ./arch/arm/include/asm/p2m.h:4, from ./arch/arm/include/asm/domain.h:7, from ./include/xen/domain.h:15: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ INIT_O common/pmap.init.o In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ INIT_O common/warning.init.o ./arch/arm/include/asm/domain.h: In function ‘arch_vcpu_block’: ./arch/arm/include/asm/domain.h:297:49: warning: unused parameter ‘v’ [-Wunused-parameter] 297 | static inline void arch_vcpu_block(struct vcpu *v) {} | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘update_guest_memory_policy’: ./arch/arm/include/asm/domain.h:309:60: warning: unused parameter ‘v’ [-Wunused-parameter] 309 | static inline void update_guest_memory_policy(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h:310:75: warning: unused parameter ‘gmp’ [-Wunused-parameter] 310 | struct guest_memory_policy *gmp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from ./include/xen/sched.h:25: ./include/xen/vpci.h: In function ‘vpci_assign_device’: ./include/xen/vpci.h:278:54: warning: unused parameter ‘pdev’ [-Wunused-parameter] 278 | static inline int vpci_assign_device(struct pci_dev *pdev) | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_deassign_device’: ./include/xen/vpci.h:283:57: warning: unused parameter ‘pdev’ [-Wunused-parameter] 283 | static inline void vpci_deassign_device(struct pci_dev *pdev) { } | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_read’: ./include/xen/vpci.h:287:45: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:287:64: warning: unused parameter ‘reg’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:288:47: warning: unused parameter ‘size’ [-Wunused-parameter] 288 | unsigned int size) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_write’: ./include/xen/vpci.h:294:42: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:294:61: warning: unused parameter ‘reg’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:295:44: warning: unused parameter ‘size’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h:295:59: warning: unused parameter ‘data’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_process_pending’: ./include/xen/vpci.h:300:67: warning: unused parameter ‘v’ [-Wunused-parameter] 300 | static inline bool __must_check vpci_process_pending(struct vcpu *v) | ~~~~~~~~~~~~~^ ./include/xen/sched.h: In function ‘is_pv_32bit_domain’: ./include/xen/sched.h:1131:67: warning: unused parameter ‘d’ [-Wunused-parameter] 1131 | static always_inline bool is_pv_32bit_domain(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ CC arch/arm/livepatch.o In file included from ./include/xen/event.h:17, from common/sched/credit.c:17: ./arch/arm/include/asm/event.h: In function ‘arch_virq_is_global’: ./arch/arm/include/asm/event.h:50:53: warning: unused parameter ‘virq’ [-Wunused-parameter] 50 | static inline bool arch_virq_is_global(unsigned int virq) | ~~~~~~~~~~~~~^~~~ common/sched/private.h: In function ‘is_unit_online’: ./include/xen/sched.h:357:40: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 357 | (v)->vcpu_id < (u)->next_in_list->unit_id); \ | ^ common/sched/private.h:91:5: note: in expansion of macro ‘for_each_sched_unit_vcpu’ 91 | for_each_sched_unit_vcpu ( unit, v ) | ^~~~~~~~~~~~~~~~~~~~~~~~ common/sched/private.h: In function ‘unit_runnable’: ./include/xen/sched.h:357:40: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 357 | (v)->vcpu_id < (u)->next_in_list->unit_id); \ | ^ common/sched/private.h:108:5: note: in expansion of macro ‘for_each_sched_unit_vcpu’ 108 | for_each_sched_unit_vcpu ( unit, v ) | ^~~~~~~~~~~~~~~~~~~~~~~~ common/sched/private.h: In function ‘unit_runnable_state’: ./include/xen/sched.h:357:40: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 357 | (v)->vcpu_id < (u)->next_in_list->unit_id); \ | ^ common/sched/private.h:135:5: note: in expansion of macro ‘for_each_sched_unit_vcpu’ 135 | for_each_sched_unit_vcpu ( unit, v ) | ^~~~~~~~~~~~~~~~~~~~~~~~ common/sched/private.h: In function ‘sched_set_res’: ./include/xen/sched.h:357:40: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 357 | (v)->vcpu_id < (u)->next_in_list->unit_id); \ | ^ common/sched/private.h:154:5: note: in expansion of macro ‘for_each_sched_unit_vcpu’ 154 | for_each_sched_unit_vcpu ( unit, v ) | ^~~~~~~~~~~~~~~~~~~~~~~~ common/sched/private.h: In function ‘sched_set_pause_flags’: ./include/xen/sched.h:357:40: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 357 | (v)->vcpu_id < (u)->next_in_list->unit_id); \ | ^ common/sched/private.h:176:5: note: in expansion of macro ‘for_each_sched_unit_vcpu’ 176 | for_each_sched_unit_vcpu ( unit, v ) | ^~~~~~~~~~~~~~~~~~~~~~~~ common/sched/private.h: In function ‘sched_clear_pause_flags’: ./include/xen/sched.h:357:40: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 357 | (v)->vcpu_id < (u)->next_in_list->unit_id); \ | ^ common/sched/private.h:186:5: note: in expansion of macro ‘for_each_sched_unit_vcpu’ 186 | for_each_sched_unit_vcpu ( unit, v ) | ^~~~~~~~~~~~~~~~~~~~~~~~ common/sched/private.h: In function ‘sched_unit_pause_nosync’: ./include/xen/sched.h:357:40: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 357 | (v)->vcpu_id < (u)->next_in_list->unit_id); \ | ^ common/sched/private.h:530:5: note: in expansion of macro ‘for_each_sched_unit_vcpu’ 530 | for_each_sched_unit_vcpu ( unit, v ) | ^~~~~~~~~~~~~~~~~~~~~~~~ common/sched/private.h: In function ‘sched_unit_unpause’: ./include/xen/sched.h:357:40: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 357 | (v)->vcpu_id < (u)->next_in_list->unit_id); \ | ^ common/sched/private.h:538:5: note: in expansion of macro ‘for_each_sched_unit_vcpu’ 538 | for_each_sched_unit_vcpu ( unit, v ) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/livepatch.h:17, from arch/arm/livepatch.c:9: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ././include/xen/config.h:17, from : common/sched/credit.c: In function ‘__runq_tickle’: common/sched/credit.c:389:60: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 389 | ASSERT(cpumask_cycle(cpu, unit->cpu_hard_affinity) == cpu); | ^~ ./include/xen/compiler.h:21:43: note: in definition of macro ‘unlikely’ 21 | #define unlikely(x) __builtin_expect(!!(x),0) | ^ common/sched/credit.c:389:9: note: in expansion of macro ‘ASSERT’ 389 | ASSERT(cpumask_cycle(cpu, unit->cpu_hard_affinity) == cpu); | ^~~~~~ In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/mm.h:69, from ./include/xen/domain_page.h:12, from arch/arm/kernel.c:7: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ common/sched/credit.c: In function ‘csched_deinit_pdata’: common/sched/credit.c:557:23: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] 557 | if ( (prv->master == cpu) && (prv->ncpus > 0) ) | ^~ common/sched/credit.c:562:34: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 562 | if ( prv->balance_bias[node] == cpu ) | ^~ common/sched/credit.c: In function ‘csched_alloc_pdata’: common/sched/credit.c:576:44: warning: unused parameter ‘ops’ [-Wunused-parameter] 576 | csched_alloc_pdata(const struct scheduler *ops, int cpu) | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ common/sched/credit.c:576:53: warning: unused parameter ‘cpu’ [-Wunused-parameter] 576 | csched_alloc_pdata(const struct scheduler *ops, int cpu) | ~~~~^~~ common/sched/credit.c: In function ‘_csched_cpu_pick’: common/sched/credit.c:769:19: warning: operand of ‘?:’ changes signedness from ‘int’ to ‘unsigned int’ due to unsignedness of other operand [-Wsign-compare] 769 | : cpumask_cycle(sched_unit_master(unit), cpus); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ common/sched/credit.c:789:38: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] 789 | if ( sched_unit_master(unit) == cpu && is_runq_idle(cpu) ) | ^~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ common/sched/credit.c: In function ‘csched_alloc_udata’: common/sched/credit.c:1008:29: warning: unused parameter ‘ops’ [-Wunused-parameter] 1008 | const struct scheduler *ops, struct sched_unit *unit, void *dd) | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ common/sched/credit.c: In function ‘csched_free_udata’: common/sched/credit.c:1054:43: warning: unused parameter ‘ops’ [-Wunused-parameter] 1054 | csched_free_udata(const struct scheduler *ops, void *priv) | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ common/sched/credit.c: In function ‘csched_unit_sleep’: common/sched/credit.c:1091:43: warning: unused parameter ‘ops’ [-Wunused-parameter] 1091 | csched_unit_sleep(const struct scheduler *ops, struct sched_unit *unit) | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ common/sched/credit.c: In function ‘csched_unit_wake’: common/sched/credit.c:1116:42: warning: unused parameter ‘ops’ [-Wunused-parameter] 1116 | csched_unit_wake(const struct scheduler *ops, struct sched_unit *unit) | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ common/sched/credit.c: In function ‘csched_unit_yield’: common/sched/credit.c:1177:43: warning: unused parameter ‘ops’ [-Wunused-parameter] 1177 | csched_unit_yield(const struct scheduler *ops, struct sched_unit *unit) | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ common/sched/credit.c: In function ‘csched_aff_cntl’: common/sched/credit.c:1231:41: warning: unused parameter ‘ops’ [-Wunused-parameter] 1231 | csched_aff_cntl(const struct scheduler *ops, struct sched_unit *unit, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ common/sched/credit.c:1232:57: warning: unused parameter ‘soft’ [-Wunused-parameter] 1232 | const cpumask_t *hard, const cpumask_t *soft) | ~~~~~~~~~~~~~~~~~^~~~ common/sched/credit.c: In function ‘csched_alloc_domdata’: common/sched/credit.c:1302:46: warning: unused parameter ‘ops’ [-Wunused-parameter] 1302 | csched_alloc_domdata(const struct scheduler *ops, struct domain *dom) | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ common/sched/credit.c: In function ‘csched_free_domdata’: common/sched/credit.c:1320:45: warning: unused parameter ‘ops’ [-Wunused-parameter] 1320 | csched_free_domdata(const struct scheduler *ops, void *data) | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ common/sched/credit.c: In function ‘csched_runq_sort’: common/sched/credit.c:1343:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare] 1343 | if ( sort_epoch == spc->runq_sort_last ) | ^~ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/perfc.h:7, from ./include/xen/mm.h:70: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ common/sched/credit.c: In function ‘csched_acct’: ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: common/sched/credit.c:1522:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare] 1522 | credit < -credit_cap && | ^ ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ common/sched/credit.c:1530:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 1530 | if ( credit < -prv->credits_per_tslice ) | ^ common/sched/credit.c:1555:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 1555 | if ( credit > prv->credits_per_tslice ) | ^ In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/mm.h:69, from arch/arm/livepatch.c:10: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ common/sched/credit.c: In function ‘csched_load_balance’: common/sched/credit.c:1749:28: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 1749 | if ( first_cpu >= nr_cpu_ids ) | ^~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ ./include/xen/domain_page.h: In function ‘unmap_domain_page_global’: ./include/xen/domain_page.h:71:57: warning: unused parameter ‘va’ [-Wunused-parameter] 71 | static inline void unmap_domain_page_global(const void *va) {}; | ~~~~~~~~~~~~^~ In file included from ./include/xen/domain.h:5, from ./include/xen/sched.h:11, from ./arch/arm/include/asm/guest_access.h:5, from ./include/xen/guest_access.h:10, from arch/arm/kernel.c:9: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/perfc.h:7, from ./include/xen/mm.h:70: ./include/xen/cpumask.h: In function ‘cpumask_last’: In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5, from ./arch/arm/include/asm/domain.h:7, from ./include/xen/domain.h:15: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./arch/arm/include/asm/domain.h: In function ‘arch_vcpu_block’: ./arch/arm/include/asm/domain.h:297:49: warning: unused parameter ‘v’ [-Wunused-parameter] 297 | static inline void arch_vcpu_block(struct vcpu *v) {} | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘update_guest_memory_policy’: ./arch/arm/include/asm/domain.h:309:60: warning: unused parameter ‘v’ [-Wunused-parameter] 309 | static inline void update_guest_memory_policy(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h:310:75: warning: unused parameter ‘gmp’ [-Wunused-parameter] 310 | struct guest_memory_policy *gmp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ arch/arm/livepatch.c: In function ‘arch_livepatch_symbol_ok’: arch/arm/livepatch.c:113:59: warning: unused parameter ‘elf’ [-Wunused-parameter] 113 | bool arch_livepatch_symbol_ok(const struct livepatch_elf *elf, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from ./include/xen/sched.h:25: ./include/xen/vpci.h: In function ‘vpci_assign_device’: ./include/xen/vpci.h:278:54: warning: unused parameter ‘pdev’ [-Wunused-parameter] 278 | static inline int vpci_assign_device(struct pci_dev *pdev) | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_deassign_device’: ./include/xen/vpci.h:283:57: warning: unused parameter ‘pdev’ [-Wunused-parameter] 283 | static inline void vpci_deassign_device(struct pci_dev *pdev) { } | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_read’: ./include/xen/vpci.h:287:45: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:287:64: warning: unused parameter ‘reg’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:288:47: warning: unused parameter ‘size’ [-Wunused-parameter] 288 | unsigned int size) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_write’: ./include/xen/vpci.h:294:42: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:294:61: warning: unused parameter ‘reg’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:295:44: warning: unused parameter ‘size’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h:295:59: warning: unused parameter ‘data’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_process_pending’: ./include/xen/vpci.h:300:67: warning: unused parameter ‘v’ [-Wunused-parameter] 300 | static inline bool __must_check vpci_process_pending(struct vcpu *v) | ~~~~~~~~~~~~~^ ./include/xen/sched.h: In function ‘is_pv_32bit_domain’: ./include/xen/sched.h:1131:67: warning: unused parameter ‘d’ [-Wunused-parameter] 1131 | static always_inline bool is_pv_32bit_domain(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ CC arch/arm/mem_access.o In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/mm.h:69, from ./include/xen/mem_access.h:26, from arch/arm/mem_access.c:8: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ CC arch/arm/mm.o In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/perfc.h:7, from ./include/xen/mm.h:70: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from ./include/xen/mem_access.h:37: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/mm.h:69, from ./include/xen/domain_page.h:12, from arch/arm/mm.c:11: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./include/xen/domain.h:5, from ./include/xen/sched.h:11, from arch/arm/mem_access.c:10: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5, from ./arch/arm/include/asm/domain.h:7, from ./include/xen/domain.h:15: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/perfc.h:7, from ./include/xen/mm.h:70: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ ./arch/arm/include/asm/domain.h: In function ‘arch_vcpu_block’: ./arch/arm/include/asm/domain.h:297:49: warning: unused parameter ‘v’ [-Wunused-parameter] 297 | static inline void arch_vcpu_block(struct vcpu *v) {} | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘update_guest_memory_policy’: ./arch/arm/include/asm/domain.h:309:60: warning: unused parameter ‘v’ [-Wunused-parameter] 309 | static inline void update_guest_memory_policy(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h:310:75: warning: unused parameter ‘gmp’ [-Wunused-parameter] 310 | struct guest_memory_policy *gmp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ In file included from ./include/xen/sched.h:25: ./include/xen/vpci.h: In function ‘vpci_assign_device’: ./include/xen/vpci.h:278:54: warning: unused parameter ‘pdev’ [-Wunused-parameter] 278 | static inline int vpci_assign_device(struct pci_dev *pdev) | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_deassign_device’: ./include/xen/vpci.h:283:57: warning: unused parameter ‘pdev’ [-Wunused-parameter] 283 | static inline void vpci_deassign_device(struct pci_dev *pdev) { } | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_read’: ./include/xen/vpci.h:287:45: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:287:64: warning: unused parameter ‘reg’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:288:47: warning: unused parameter ‘size’ [-Wunused-parameter] 288 | unsigned int size) | ~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/vpci.h: In function ‘vpci_write’: ./include/xen/vpci.h:294:42: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:294:61: warning: unused parameter ‘reg’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ ./include/xen/vpci.h:295:44: warning: unused parameter ‘size’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h:295:59: warning: unused parameter ‘data’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_process_pending’: ./include/xen/vpci.h:300:67: warning: unused parameter ‘v’ [-Wunused-parameter] 300 | static inline bool __must_check vpci_process_pending(struct vcpu *v) | ~~~~~~~~~~~~~^ ./include/xen/domain_page.h: In function ‘unmap_domain_page_global’: ./include/xen/domain_page.h:71:57: warning: unused parameter ‘va’ [-Wunused-parameter] 71 | static inline void unmap_domain_page_global(const void *va) {}; | ~~~~~~~~~~~~^~ CC arch/arm/monitor.o In file included from ./include/xen/domain.h:5, from ./include/xen/sched.h:11, from ./arch/arm/include/asm/grant_table.h:7, from ./include/xen/grant_table.h:31, from arch/arm/mm.c:12: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5, from ./arch/arm/include/asm/domain.h:7, from ./include/xen/domain.h:15: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/sched.h: In function ‘is_pv_32bit_domain’: In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./include/xen/sched.h:1131:67: warning: unused parameter ‘d’ [-Wunused-parameter] 1131 | static always_inline bool is_pv_32bit_domain(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ In file included from ./arch/arm/include/generated/asm/vm_event.h:1, from ./include/xen/vm_event.h:28, from arch/arm/mem_access.c:11: ./include/asm-generic/vm_event.h: In function ‘vm_event_init_domain’: ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./include/asm-generic/vm_event.h:14:55: warning: unused parameter ‘d’ [-Wunused-parameter] 14 | static inline int vm_event_init_domain(struct domain *d) | ~~~~~~~~~~~~~~~^ ./include/asm-generic/vm_event.h: In function ‘vm_event_toggle_singlestep’: ./include/asm-generic/vm_event.h:25:62: warning: unused parameter ‘d’ [-Wunused-parameter] 25 | static inline void vm_event_toggle_singlestep(struct domain *d, struct vcpu *v, | ~~~~~~~~~~~~~~~^ ./include/asm-generic/vm_event.h:25:78: warning: unused parameter ‘v’ [-Wunused-parameter] 25 | static inline void vm_event_toggle_singlestep(struct domain *d, struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./include/asm-generic/vm_event.h:26:68: warning: unused parameter ‘rsp’ [-Wunused-parameter] 26 | vm_event_response_t *rsp) | ~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./include/asm-generic/vm_event.h: In function ‘vm_event_register_write_resume’: ./include/asm-generic/vm_event.h:32:50: warning: unused parameter ‘v’ [-Wunused-parameter] 32 | void vm_event_register_write_resume(struct vcpu *v, vm_event_response_t *rsp) | ~~~~~~~~~~~~~^ ./include/asm-generic/vm_event.h:32:74: warning: unused parameter ‘rsp’ [-Wunused-parameter] 32 | void vm_event_register_write_resume(struct vcpu *v, vm_event_response_t *rsp) | ~~~~~~~~~~~~~~~~~~~~~^~~ ./include/asm-generic/vm_event.h: In function ‘vm_event_emulate_check’: ./include/asm-generic/vm_event.h:38:42: warning: unused parameter ‘v’ [-Wunused-parameter] 38 | void vm_event_emulate_check(struct vcpu *v, vm_event_response_t *rsp) | ~~~~~~~~~~~~~^ ./include/asm-generic/vm_event.h:38:66: warning: unused parameter ‘rsp’ [-Wunused-parameter] 38 | void vm_event_emulate_check(struct vcpu *v, vm_event_response_t *rsp) | ~~~~~~~~~~~~~~~~~~~~~^~~ ./include/asm-generic/vm_event.h: In function ‘vm_event_sync_event’: ./include/asm-generic/vm_event.h:44:39: warning: unused parameter ‘v’ [-Wunused-parameter] 44 | void vm_event_sync_event(struct vcpu *v, bool value) | ~~~~~~~~~~~~~^ ./include/asm-generic/vm_event.h:44:47: warning: unused parameter ‘value’ [-Wunused-parameter] 44 | void vm_event_sync_event(struct vcpu *v, bool value) ./include/asm-generic/vm_event.h: In function ‘vm_event_reset_vmtrace’: ./include/asm-generic/vm_event.h:50:42: warning: unused parameter ‘v’ [-Wunused-parameter] 50 | void vm_event_reset_vmtrace(struct vcpu *v) | ~~~~~~~~~~~~~^ In file included from arch/arm/mem_access.c:13: ./arch/arm/include/asm/event.h: In function ‘arch_virq_is_global’: ./arch/arm/include/asm/event.h:50:53: warning: unused parameter ‘virq’ [-Wunused-parameter] 50 | static inline bool arch_virq_is_global(unsigned int virq) | ~~~~~~~~~~~~~^~~~ arch/arm/mem_access.c: In function ‘p2m_set_mem_access’: arch/arm/mem_access.c:345:38: warning: unused parameter ‘altp2m_idx’ [-Wunused-parameter] 345 | unsigned int altp2m_idx) | ~~~~~~~~~~~~~^~~~~~~~~~ arch/arm/mem_access.c: In function ‘p2m_set_mem_access_multi’: arch/arm/mem_access.c:423:46: warning: unused parameter ‘d’ [-Wunused-parameter] 423 | long p2m_set_mem_access_multi(struct domain *d, | ~~~~~~~~~~~~~~~^ arch/arm/mem_access.c:424:68: warning: unused parameter ‘pfn_list’ [-Wunused-parameter] 424 | const XEN_GUEST_HANDLE(const_uint64) pfn_list, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ arch/arm/mem_access.c:425:67: warning: unused parameter ‘access_list’ [-Wunused-parameter] 425 | const XEN_GUEST_HANDLE(const_uint8) access_list, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ arch/arm/mem_access.c:426:40: warning: unused parameter ‘nr’ [-Wunused-parameter] 426 | uint32_t nr, uint32_t start, uint32_t mask, | ~~~~~~~~~^~ arch/arm/mem_access.c:426:53: warning: unused parameter ‘start’ [-Wunused-parameter] 426 | uint32_t nr, uint32_t start, uint32_t mask, | ~~~~~~~~~^~~~~ arch/arm/mem_access.c:426:69: warning: unused parameter ‘mask’ [-Wunused-parameter] 426 | uint32_t nr, uint32_t start, uint32_t mask, | ~~~~~~~~~^~~~ arch/arm/mem_access.c:427:44: warning: unused parameter ‘altp2m_idx’ [-Wunused-parameter] 427 | unsigned int altp2m_idx) | ~~~~~~~~~~~~~^~~~~~~~~~ ./arch/arm/include/asm/domain.h: In function ‘arch_vcpu_block’: ./arch/arm/include/asm/domain.h:297:49: warning: unused parameter ‘v’ [-Wunused-parameter] 297 | static inline void arch_vcpu_block(struct vcpu *v) {} | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘update_guest_memory_policy’: ./arch/arm/include/asm/domain.h:309:60: warning: unused parameter ‘v’ [-Wunused-parameter] 309 | static inline void update_guest_memory_policy(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h:310:75: warning: unused parameter ‘gmp’ [-Wunused-parameter] 310 | struct guest_memory_policy *gmp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from ./include/xen/sched.h:25: ./include/xen/vpci.h: In function ‘vpci_assign_device’: ./include/xen/vpci.h:278:54: warning: unused parameter ‘pdev’ [-Wunused-parameter] 278 | static inline int vpci_assign_device(struct pci_dev *pdev) | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_deassign_device’: ./include/xen/vpci.h:283:57: warning: unused parameter ‘pdev’ [-Wunused-parameter] 283 | static inline void vpci_deassign_device(struct pci_dev *pdev) { } | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_read’: ./include/xen/vpci.h:287:45: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:287:64: warning: unused parameter ‘reg’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:288:47: warning: unused parameter ‘size’ [-Wunused-parameter] 288 | unsigned int size) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_write’: ./include/xen/vpci.h:294:42: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:294:61: warning: unused parameter ‘reg’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:295:44: warning: unused parameter ‘size’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h:295:59: warning: unused parameter ‘data’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_process_pending’: ./include/xen/vpci.h:300:67: warning: unused parameter ‘v’ [-Wunused-parameter] 300 | static inline bool __must_check vpci_process_pending(struct vcpu *v) | ~~~~~~~~~~~~~^ In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/sched.h:6, from ./include/xen/vm_event.h:26, from arch/arm/monitor.c:10: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ ./include/xen/sched.h: In function ‘is_pv_32bit_domain’: ./include/xen/sched.h:1131:67: warning: unused parameter ‘d’ [-Wunused-parameter] 1131 | static always_inline bool is_pv_32bit_domain(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/grant_table.h: In function ‘gnttab_mark_dirty’: ./arch/arm/include/asm/grant_table.h:20:53: warning: unused parameter ‘d’ [-Wunused-parameter] 20 | static inline void gnttab_mark_dirty(struct domain *d, mfn_t mfn) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/grant_table.h:20:62: warning: unused parameter ‘mfn’ [-Wunused-parameter] 20 | static inline void gnttab_mark_dirty(struct domain *d, mfn_t mfn) | ~~~~~~^~~ ./arch/arm/include/asm/grant_table.h: In function ‘gnttab_host_mapping_get_page_type’: ./arch/arm/include/asm/grant_table.h:27:59: warning: unused parameter ‘ro’ [-Wunused-parameter] 27 | static inline bool gnttab_host_mapping_get_page_type(bool ro, ./arch/arm/include/asm/grant_table.h:28:75: warning: unused parameter ‘ld’ [-Wunused-parameter] 28 | const struct domain *ld, | ~~~~~~~~~~~~~~~~~~~~~^~ ./arch/arm/include/asm/grant_table.h:29:75: warning: unused parameter ‘rd’ [-Wunused-parameter] 29 | const struct domain *rd) | ~~~~~~~~~~~~~~~~~~~~~^~ ./arch/arm/include/asm/grant_table.h: In function ‘gnttab_release_host_mappings’: ./arch/arm/include/asm/grant_table.h:34:70: warning: unused parameter ‘d’ [-Wunused-parameter] 34 | static inline bool gnttab_release_host_mappings(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ In file included from arch/arm/mm.c:16: ./include/xsm/xsm.h: In function ‘xsm_domain_create’: ./include/xsm/xsm.h:224:19: warning: unused parameter ‘def’ [-Wunused-parameter] 224 | xsm_default_t def, struct domain *d, uint32_t ssidref) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_getdomaininfo’: ./include/xsm/xsm.h:229:51: warning: unused parameter ‘def’ [-Wunused-parameter] 229 | static inline int xsm_getdomaininfo(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_domctl_scheduler_op’: ./include/xsm/xsm.h:235:19: warning: unused parameter ‘def’ [-Wunused-parameter] 235 | xsm_default_t def, struct domain *d, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_sysctl_scheduler_op’: ./include/xsm/xsm.h:240:57: warning: unused parameter ‘def’ [-Wunused-parameter] 240 | static inline int xsm_sysctl_scheduler_op(xsm_default_t def, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_set_target’: ./include/xsm/xsm.h:246:19: warning: unused parameter ‘def’ [-Wunused-parameter] 246 | xsm_default_t def, struct domain *d, struct domain *e) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_domctl’: ./include/xsm/xsm.h:251:44: warning: unused parameter ‘def’ [-Wunused-parameter] 251 | static inline int xsm_domctl(xsm_default_t def, struct domain *d, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_sysctl’: ./include/xsm/xsm.h:256:44: warning: unused parameter ‘def’ [-Wunused-parameter] 256 | static inline int xsm_sysctl(xsm_default_t def, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_readconsole’: ./include/xsm/xsm.h:261:49: warning: unused parameter ‘def’ [-Wunused-parameter] 261 | static inline int xsm_readconsole(xsm_default_t def, uint32_t clear) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_unbound’: ./include/xsm/xsm.h:267:19: warning: unused parameter ‘def’ [-Wunused-parameter] 267 | xsm_default_t def, struct domain *d1, struct evtchn *chn, domid_t id2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_interdomain’: ./include/xsm/xsm.h:273:19: warning: unused parameter ‘def’ [-Wunused-parameter] 273 | xsm_default_t def, struct domain *d1, struct evtchn *chan1, | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_send’: ./include/xsm/xsm.h:285:19: warning: unused parameter ‘def’ [-Wunused-parameter] 285 | xsm_default_t def, struct domain *d, struct evtchn *chn) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_status’: ./include/xsm/xsm.h:291:19: warning: unused parameter ‘def’ [-Wunused-parameter] 291 | xsm_default_t def, struct domain *d, struct evtchn *chn) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_reset’: ./include/xsm/xsm.h:297:19: warning: unused parameter ‘def’ [-Wunused-parameter] 297 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_mapref’: ./include/xsm/xsm.h:303:19: warning: unused parameter ‘def’ [-Wunused-parameter] 303 | xsm_default_t def, struct domain *d1, struct domain *d2, uint32_t flags) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_unmapref’: ./include/xsm/xsm.h:309:19: warning: unused parameter ‘def’ [-Wunused-parameter] 309 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_setup’: ./include/xsm/xsm.h:315:19: warning: unused parameter ‘def’ [-Wunused-parameter] 315 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_transfer’: ./include/xsm/xsm.h:321:19: warning: unused parameter ‘def’ [-Wunused-parameter] 321 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_copy’: ./include/xsm/xsm.h:327:19: warning: unused parameter ‘def’ [-Wunused-parameter] 327 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_query_size’: ./include/xsm/xsm.h:333:19: warning: unused parameter ‘def’ [-Wunused-parameter] 333 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_init_hardware_domain’: ./include/xsm/xsm.h:366:58: warning: unused parameter ‘def’ [-Wunused-parameter] 366 | static inline int xsm_init_hardware_domain(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_get_pod_target’: ./include/xsm/xsm.h:371:52: warning: unused parameter ‘def’ [-Wunused-parameter] 371 | static inline int xsm_get_pod_target(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_set_pod_target’: ./include/xsm/xsm.h:376:52: warning: unused parameter ‘def’ [-Wunused-parameter] 376 | static inline int xsm_set_pod_target(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_exchange’: ./include/xsm/xsm.h:381:53: warning: unused parameter ‘def’ [-Wunused-parameter] 381 | static inline int xsm_memory_exchange(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_adjust_reservation’: ./include/xsm/xsm.h:387:19: warning: unused parameter ‘def’ [-Wunused-parameter] 387 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_stat_reservation’: ./include/xsm/xsm.h:393:19: warning: unused parameter ‘def’ [-Wunused-parameter] 393 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_pin_page’: ./include/xsm/xsm.h:399:19: warning: unused parameter ‘def’ [-Wunused-parameter] 399 | xsm_default_t def, struct domain *d1, struct domain *d2, | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_add_to_physmap’: ./include/xsm/xsm.h:406:19: warning: unused parameter ‘def’ [-Wunused-parameter] 406 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_remove_from_physmap’: ./include/xsm/xsm.h:412:19: warning: unused parameter ‘def’ [-Wunused-parameter] 412 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/xsm/xsm.h: In function ‘xsm_map_gmfn_foreign’: ./include/xsm/xsm.h:418:19: warning: unused parameter ‘def’ [-Wunused-parameter] 418 | xsm_default_t def, struct domain *d, struct domain *t) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_claim_pages’: ./include/xsm/xsm.h:423:49: warning: unused parameter ‘def’ [-Wunused-parameter] 423 | static inline int xsm_claim_pages(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_console_io’: ./include/xsm/xsm.h:428:48: warning: unused parameter ‘def’ [-Wunused-parameter] 428 | static inline int xsm_console_io(xsm_default_t def, struct domain *d, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_profile’: ./include/xsm/xsm.h:433:45: warning: unused parameter ‘def’ [-Wunused-parameter] 433 | static inline int xsm_profile(xsm_default_t def, struct domain *d, int op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_kexec’: ./include/xsm/xsm.h:438:43: warning: unused parameter ‘def’ [-Wunused-parameter] 438 | static inline int xsm_kexec(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_schedop_shutdown’: ./include/xsm/xsm.h:444:19: warning: unused parameter ‘def’ [-Wunused-parameter] 444 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_map_domain_pirq’: ./include/xsm/xsm.h:454:53: warning: unused parameter ‘def’ [-Wunused-parameter] 454 | static inline int xsm_map_domain_pirq(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_map_domain_irq’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/xsm/xsm.h:460:19: warning: unused parameter ‘def’ [-Wunused-parameter] 460 | xsm_default_t def, struct domain *d, int irq, void *data) | ~~~~~~~~~~~~~~^~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/xsm/xsm.h: In function ‘xsm_unmap_domain_pirq’: ./include/xsm/xsm.h:465:55: warning: unused parameter ‘def’ [-Wunused-parameter] 465 | static inline int xsm_unmap_domain_pirq(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_unmap_domain_irq’: ./include/xsm/xsm.h:471:19: warning: unused parameter ‘def’ [-Wunused-parameter] 471 | xsm_default_t def, struct domain *d, int irq, void *data) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_bind_pt_irq’: ./include/xsm/xsm.h:477:19: warning: unused parameter ‘def’ [-Wunused-parameter] 477 | xsm_default_t def, struct domain *d, struct xen_domctl_bind_pt_irq *bind) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_unbind_pt_irq’: ./include/xsm/xsm.h:483:19: warning: unused parameter ‘def’ [-Wunused-parameter] 483 | xsm_default_t def, struct domain *d, struct xen_domctl_bind_pt_irq *bind) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_irq_permission’: ./include/xsm/xsm.h:489:19: warning: unused parameter ‘def’ [-Wunused-parameter] 489 | xsm_default_t def, struct domain *d, int pirq, uint8_t allow) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_iomem_permission’: ./include/xsm/xsm.h:495:19: warning: unused parameter ‘def’ [-Wunused-parameter] 495 | xsm_default_t def, struct domain *d, uint64_t s, uint64_t e, uint8_t allow) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_iomem_mapping’: ./include/xsm/xsm.h:501:19: warning: unused parameter ‘def’ [-Wunused-parameter] 501 | xsm_default_t def, struct domain *d, uint64_t s, uint64_t e, uint8_t allow) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_pci_config_permission’: ./include/xsm/xsm.h:507:19: warning: unused parameter ‘def’ [-Wunused-parameter] 507 | xsm_default_t def, struct domain *d, uint32_t machine_bdf, uint16_t start, | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_assign_dtdevice’: ./include/xsm/xsm.h:534:19: warning: unused parameter ‘def’ [-Wunused-parameter] 534 | xsm_default_t def, struct domain *d, const char *dtpath) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_deassign_dtdevice’: ./include/xsm/xsm.h:540:19: warning: unused parameter ‘def’ [-Wunused-parameter] 540 | xsm_default_t def, struct domain *d, const char *dtpath) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_plug_pci’: ./include/xsm/xsm.h:547:55: warning: unused parameter ‘def’ [-Wunused-parameter] 547 | static inline int xsm_resource_plug_pci(xsm_default_t def, uint32_t machine_bdf) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_unplug_pci’: ./include/xsm/xsm.h:553:19: warning: unused parameter ‘def’ [-Wunused-parameter] 553 | xsm_default_t def, uint32_t machine_bdf) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_plug_core’: ./include/xsm/xsm.h:558:56: warning: unused parameter ‘def’ [-Wunused-parameter] 558 | static inline int xsm_resource_plug_core(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_unplug_core’: ./include/xsm/xsm.h:563:58: warning: unused parameter ‘def’ [-Wunused-parameter] 563 | static inline int xsm_resource_unplug_core(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_setup_pci’: ./include/xsm/xsm.h:569:19: warning: unused parameter ‘def’ [-Wunused-parameter] 569 | xsm_default_t def, uint32_t machine_bdf) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_setup_gsi’: ./include/xsm/xsm.h:574:56: warning: unused parameter ‘def’ [-Wunused-parameter] 574 | static inline int xsm_resource_setup_gsi(xsm_default_t def, int gsi) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_setup_misc’: ./include/xsm/xsm.h:579:57: warning: unused parameter ‘def’ [-Wunused-parameter] 579 | static inline int xsm_resource_setup_misc(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_page_offline’: ./include/xsm/xsm.h:584:50: warning: unused parameter ‘def’ [-Wunused-parameter] 584 | static inline int xsm_page_offline(xsm_default_t def, uint32_t cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hypfs_op’: ./include/xsm/xsm.h:589:46: warning: unused parameter ‘def’ [-Wunused-parameter] 589 | static inline int xsm_hypfs_op(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hvm_param’: ./include/xsm/xsm.h:607:19: warning: unused parameter ‘def’ [-Wunused-parameter] 607 | xsm_default_t def, struct domain *d, unsigned long op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hvm_param_altp2mhvm’: ./include/xsm/xsm.h:612:57: warning: unused parameter ‘def’ [-Wunused-parameter] 612 | static inline int xsm_hvm_param_altp2mhvm(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hvm_altp2mhvm_op’: ./include/xsm/xsm.h:618:19: warning: unused parameter ‘def’ [-Wunused-parameter] 618 | xsm_default_t def, struct domain *d, uint64_t mode, uint32_t op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_get_vnumainfo’: ./include/xsm/xsm.h:623:51: warning: unused parameter ‘def’ [-Wunused-parameter] 623 | static inline int xsm_get_vnumainfo(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_vm_event_control’: ./include/xsm/xsm.h:629:19: warning: unused parameter ‘def’ [-Wunused-parameter] 629 | xsm_default_t def, struct domain *d, int mode, int op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_mem_access’: ./include/xsm/xsm.h:635:48: warning: unused parameter ‘def’ [-Wunused-parameter] 635 | static inline int xsm_mem_access(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_platform_op’: ./include/xsm/xsm.h:655:49: warning: unused parameter ‘def’ [-Wunused-parameter] 655 | static inline int xsm_platform_op(xsm_default_t def, uint32_t op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_dm_op’: ./include/xsm/xsm.h:738:43: warning: unused parameter ‘def’ [-Wunused-parameter] 738 | static inline int xsm_dm_op(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_xen_version’: ./include/xsm/xsm.h:743:49: warning: unused parameter ‘def’ [-Wunused-parameter] 743 | static inline int xsm_xen_version(xsm_default_t def, uint32_t op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_domain_resource_map’: ./include/xsm/xsm.h:748:57: warning: unused parameter ‘def’ [-Wunused-parameter] 748 | static inline int xsm_domain_resource_map(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ arch/arm/mm.c: In function ‘steal_page’: arch/arm/mm.c:86:20: warning: unused parameter ‘d’ [-Wunused-parameter] 86 | struct domain *d, struct page_info *page, unsigned int memflags) | ~~~~~~~~~~~~~~~^ arch/arm/mm.c:86:41: warning: unused parameter ‘page’ [-Wunused-parameter] 86 | struct domain *d, struct page_info *page, unsigned int memflags) | ~~~~~~~~~~~~~~~~~~^~~~ arch/arm/mm.c:86:60: warning: unused parameter ‘memflags’ [-Wunused-parameter] 86 | struct domain *d, struct page_info *page, unsigned int memflags) | ~~~~~~~~~~~~~^~~~~~~~ arch/arm/mm.c: In function ‘page_is_ram_type’: arch/arm/mm.c:91:36: warning: unused parameter ‘mfn’ [-Wunused-parameter] 91 | int page_is_ram_type(unsigned long mfn, unsigned long mem_type) | ~~~~~~~~~~~~~~^~~ arch/arm/mm.c:91:55: warning: unused parameter ‘mem_type’ [-Wunused-parameter] 91 | int page_is_ram_type(unsigned long mfn, unsigned long mem_type) | ~~~~~~~~~~~~~~^~~~~~~~ arch/arm/mm.c: In function ‘arch_memory_op’: arch/arm/mm.c:273:58: warning: unused parameter ‘arg’ [-Wunused-parameter] 273 | long arch_memory_op(int op, XEN_GUEST_HANDLE_PARAM(void) arg) arch/arm/mm.c: In function ‘get_page_type’: arch/arm/mm.c:372:37: warning: unused parameter ‘page’ [-Wunused-parameter] 372 | int get_page_type(struct page_info *page, unsigned long type) | ~~~~~~~~~~~~~~~~~~^~~~ arch/arm/mm.c:372:57: warning: unused parameter ‘type’ [-Wunused-parameter] 372 | int get_page_type(struct page_info *page, unsigned long type) | ~~~~~~~~~~~~~~^~~~ arch/arm/mm.c: In function ‘put_page_type’: arch/arm/mm.c:377:38: warning: unused parameter ‘page’ [-Wunused-parameter] 377 | void put_page_type(struct page_info *page) | ~~~~~~~~~~~~~~~~~~^~~~ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/rwlock.h:6, from ./include/xen/sched.h:7: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/domain.h:5, from ./include/xen/sched.h:11: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233, from ./arch/arm/include/asm/p2m.h:4, from ./arch/arm/include/asm/domain.h:7, from ./include/xen/domain.h:15: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘arch_vcpu_block’: ./arch/arm/include/asm/domain.h:297:49: warning: unused parameter ‘v’ [-Wunused-parameter] 297 | static inline void arch_vcpu_block(struct vcpu *v) {} | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘update_guest_memory_policy’: ./arch/arm/include/asm/domain.h:309:60: warning: unused parameter ‘v’ [-Wunused-parameter] 309 | static inline void update_guest_memory_policy(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h:310:75: warning: unused parameter ‘gmp’ [-Wunused-parameter] 310 | struct guest_memory_policy *gmp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from ./include/xen/sched.h:25: ./include/xen/vpci.h: In function ‘vpci_assign_device’: ./include/xen/vpci.h:278:54: warning: unused parameter ‘pdev’ [-Wunused-parameter] 278 | static inline int vpci_assign_device(struct pci_dev *pdev) | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_deassign_device’: ./include/xen/vpci.h:283:57: warning: unused parameter ‘pdev’ [-Wunused-parameter] 283 | static inline void vpci_deassign_device(struct pci_dev *pdev) { } | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_read’: ./include/xen/vpci.h:287:45: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:287:64: warning: unused parameter ‘reg’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:288:47: warning: unused parameter ‘size’ [-Wunused-parameter] 288 | unsigned int size) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_write’: ./include/xen/vpci.h:294:42: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:294:61: warning: unused parameter ‘reg’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:295:44: warning: unused parameter ‘size’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h:295:59: warning: unused parameter ‘data’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_process_pending’: ./include/xen/vpci.h:300:67: warning: unused parameter ‘v’ [-Wunused-parameter] 300 | static inline bool __must_check vpci_process_pending(struct vcpu *v) | ~~~~~~~~~~~~~^ ./include/xen/sched.h: In function ‘is_pv_32bit_domain’: ./include/xen/sched.h:1131:67: warning: unused parameter ‘d’ [-Wunused-parameter] 1131 | static always_inline bool is_pv_32bit_domain(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ In file included from ./arch/arm/include/generated/asm/vm_event.h:1, from ./include/xen/vm_event.h:28: ./include/asm-generic/vm_event.h: In function ‘vm_event_init_domain’: ./include/asm-generic/vm_event.h:14:55: warning: unused parameter ‘d’ [-Wunused-parameter] 14 | static inline int vm_event_init_domain(struct domain *d) | ~~~~~~~~~~~~~~~^ ./include/asm-generic/vm_event.h: In function ‘vm_event_toggle_singlestep’: ./include/asm-generic/vm_event.h:25:62: warning: unused parameter ‘d’ [-Wunused-parameter] 25 | static inline void vm_event_toggle_singlestep(struct domain *d, struct vcpu *v, | ~~~~~~~~~~~~~~~^ ./include/asm-generic/vm_event.h:25:78: warning: unused parameter ‘v’ [-Wunused-parameter] 25 | static inline void vm_event_toggle_singlestep(struct domain *d, struct vcpu *v, | ~~~~~~~~~~~~~^ ./include/asm-generic/vm_event.h:26:68: warning: unused parameter ‘rsp’ [-Wunused-parameter] 26 | vm_event_response_t *rsp) | ~~~~~~~~~~~~~~~~~~~~~^~~ ./include/asm-generic/vm_event.h: In function ‘vm_event_register_write_resume’: ./include/asm-generic/vm_event.h:32:50: warning: unused parameter ‘v’ [-Wunused-parameter] 32 | void vm_event_register_write_resume(struct vcpu *v, vm_event_response_t *rsp) | ~~~~~~~~~~~~~^ ./include/asm-generic/vm_event.h:32:74: warning: unused parameter ‘rsp’ [-Wunused-parameter] 32 | void vm_event_register_write_resume(struct vcpu *v, vm_event_response_t *rsp) | ~~~~~~~~~~~~~~~~~~~~~^~~ ./include/asm-generic/vm_event.h: In function ‘vm_event_emulate_check’: ./include/asm-generic/vm_event.h:38:42: warning: unused parameter ‘v’ [-Wunused-parameter] 38 | void vm_event_emulate_check(struct vcpu *v, vm_event_response_t *rsp) | ~~~~~~~~~~~~~^ ./include/asm-generic/vm_event.h:38:66: warning: unused parameter ‘rsp’ [-Wunused-parameter] 38 | void vm_event_emulate_check(struct vcpu *v, vm_event_response_t *rsp) | ~~~~~~~~~~~~~~~~~~~~~^~~ ./include/asm-generic/vm_event.h: In function ‘vm_event_sync_event’: ./include/asm-generic/vm_event.h:44:39: warning: unused parameter ‘v’ [-Wunused-parameter] 44 | void vm_event_sync_event(struct vcpu *v, bool value) | ~~~~~~~~~~~~~^ ./include/asm-generic/vm_event.h:44:47: warning: unused parameter ‘value’ [-Wunused-parameter] 44 | void vm_event_sync_event(struct vcpu *v, bool value) ./include/asm-generic/vm_event.h: In function ‘vm_event_reset_vmtrace’: ./include/asm-generic/vm_event.h:50:42: warning: unused parameter ‘v’ [-Wunused-parameter] 50 | void vm_event_reset_vmtrace(struct vcpu *v) | ~~~~~~~~~~~~~^ In file included from ./arch/arm/include/asm/monitor.h:30, from arch/arm/monitor.c:12: ./include/asm-generic/monitor.h: In function ‘arch_monitor_allow_userspace’: ./include/asm-generic/monitor.h:22:50: warning: unused parameter ‘d’ [-Wunused-parameter] 22 | void arch_monitor_allow_userspace(struct domain *d, bool allow_userspace) | ~~~~~~~~~~~~~~~^ ./include/asm-generic/monitor.h:22:58: warning: unused parameter ‘allow_userspace’ [-Wunused-parameter] 22 | void arch_monitor_allow_userspace(struct domain *d, bool allow_userspace) ./include/asm-generic/monitor.h: In function ‘arch_monitor_domctl_op’: ./include/asm-generic/monitor.h:27:43: warning: unused parameter ‘d’ [-Wunused-parameter] 27 | int arch_monitor_domctl_op(struct domain *d, struct xen_domctl_monitor_op *mop) | ~~~~~~~~~~~~~~~^ ./include/asm-generic/monitor.h:27:76: warning: unused parameter ‘mop’ [-Wunused-parameter] 27 | int arch_monitor_domctl_op(struct domain *d, struct xen_domctl_monitor_op *mop) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./include/asm-generic/monitor.h: In function ‘arch_monitor_init_domain’: ./include/asm-generic/monitor.h:43:45: warning: unused parameter ‘d’ [-Wunused-parameter] 43 | int arch_monitor_init_domain(struct domain *d) | ~~~~~~~~~~~~~~~^ ./include/asm-generic/monitor.h: In function ‘arch_monitor_cleanup_domain’: ./include/asm-generic/monitor.h:50:49: warning: unused parameter ‘d’ [-Wunused-parameter] 50 | void arch_monitor_cleanup_domain(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/monitor.h: In function ‘arch_monitor_get_capabilities’: ./arch/arm/include/asm/monitor.h:35:69: warning: unused parameter ‘d’ [-Wunused-parameter] 35 | static inline uint32_t arch_monitor_get_capabilities(struct domain *d) | ~~~~~~~~~~~~~~~^ CC arch/arm/p2m.o In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/sched.h:6, from ./include/xen/iocap.h:10, from arch/arm/p2m.c:2: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/rwlock.h:6, from ./include/xen/sched.h:7: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/domain.h:5, from ./include/xen/sched.h:11: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233, from ./arch/arm/include/asm/p2m.h:4, from ./arch/arm/include/asm/domain.h:7, from ./include/xen/domain.h:15: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘arch_vcpu_block’: ./arch/arm/include/asm/domain.h:297:49: warning: unused parameter ‘v’ [-Wunused-parameter] 297 | static inline void arch_vcpu_block(struct vcpu *v) {} | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘update_guest_memory_policy’: ./arch/arm/include/asm/domain.h:309:60: warning: unused parameter ‘v’ [-Wunused-parameter] 309 | static inline void update_guest_memory_policy(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h:310:75: warning: unused parameter ‘gmp’ [-Wunused-parameter] 310 | struct guest_memory_policy *gmp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from ./include/xen/sched.h:25: ./include/xen/vpci.h: In function ‘vpci_assign_device’: ./include/xen/vpci.h:278:54: warning: unused parameter ‘pdev’ [-Wunused-parameter] 278 | static inline int vpci_assign_device(struct pci_dev *pdev) | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_deassign_device’: ./include/xen/vpci.h:283:57: warning: unused parameter ‘pdev’ [-Wunused-parameter] 283 | static inline void vpci_deassign_device(struct pci_dev *pdev) { } | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_read’: ./include/xen/vpci.h:287:45: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:287:64: warning: unused parameter ‘reg’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:288:47: warning: unused parameter ‘size’ [-Wunused-parameter] 288 | unsigned int size) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_write’: ./include/xen/vpci.h:294:42: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:294:61: warning: unused parameter ‘reg’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:295:44: warning: unused parameter ‘size’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h:295:59: warning: unused parameter ‘data’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_process_pending’: ./include/xen/vpci.h:300:67: warning: unused parameter ‘v’ [-Wunused-parameter] 300 | static inline bool __must_check vpci_process_pending(struct vcpu *v) | ~~~~~~~~~~~~~^ ./include/xen/sched.h: In function ‘is_pv_32bit_domain’: ./include/xen/sched.h:1131:67: warning: unused parameter ‘d’ [-Wunused-parameter] 1131 | static always_inline bool is_pv_32bit_domain(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ In file included from arch/arm/p2m.c:7: ./arch/arm/include/asm/event.h: In function ‘arch_virq_is_global’: ./arch/arm/include/asm/event.h:50:53: warning: unused parameter ‘virq’ [-Wunused-parameter] 50 | static inline bool arch_virq_is_global(unsigned int virq) | ~~~~~~~~~~~~~^~~~ arch/arm/p2m.c: In function ‘memory_type_changed’: arch/arm/p2m.c:37:41: warning: unused parameter ‘d’ [-Wunused-parameter] 37 | void memory_type_changed(struct domain *d) | ~~~~~~~~~~~~~~~^ arch/arm/p2m.c: In function ‘guest_physmap_mark_populate_on_demand’: arch/arm/p2m.c:86:58: warning: unused parameter ‘d’ [-Wunused-parameter] 86 | int guest_physmap_mark_populate_on_demand(struct domain *d, | ~~~~~~~~~~~~~~~^ arch/arm/p2m.c:87:57: warning: unused parameter ‘gfn’ [-Wunused-parameter] 87 | unsigned long gfn, | ~~~~~~~~~~~~~~^~~ arch/arm/p2m.c:88:56: warning: unused parameter ‘order’ [-Wunused-parameter] 88 | unsigned int order) | ~~~~~~~~~~~~~^~~~~ arch/arm/p2m.c: In function ‘p2m_pod_decrease_reservation’: arch/arm/p2m.c:93:59: warning: unused parameter ‘d’ [-Wunused-parameter] 93 | unsigned long p2m_pod_decrease_reservation(struct domain *d, gfn_t gfn, | ~~~~~~~~~~~~~~~^ arch/arm/p2m.c:93:68: warning: unused parameter ‘gfn’ [-Wunused-parameter] 93 | unsigned long p2m_pod_decrease_reservation(struct domain *d, gfn_t gfn, | ~~~~~~^~~ arch/arm/p2m.c:94:57: warning: unused parameter ‘order’ [-Wunused-parameter] 94 | unsigned int order) | ~~~~~~~~~~~~~^~~~~ arch/arm/p2m.c: In function ‘p2m_alloc_vmid’: arch/arm/p2m.c:283:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 283 | if ( nr == MAX_VMID ) | ^~ CC arch/arm/percpu.o In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/current.h:8, from ./include/asm-generic/percpu.h:8, from ./arch/arm/include/generated/asm/percpu.h:1, from ./include/xen/percpu.h:30, from arch/arm/percpu.c:2: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ CC arch/arm/platform.o In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43, from ./include/xen/cpu.h:5, from arch/arm/percpu.c:3: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/sched.h:6, from ./arch/arm/include/asm/platform.h:4, from arch/arm/platform.c:11: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/perfc.h:7, from ./include/xen/mm.h:70, from arch/arm/percpu.c:5: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/rwlock.h:6, from ./include/xen/sched.h:7: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from arch/arm/percpu.c:6: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ arch/arm/percpu.c: In function ‘init_percpu_area’: arch/arm/percpu.c:22:32: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare] 22 | if ( __per_cpu_offset[cpu] != INVALID_PERCPU_AREA ) | ^~ arch/arm/percpu.c: In function ‘cpu_percpu_callback’: arch/arm/percpu.c:54:28: warning: unused parameter ‘nfb’ [-Wunused-parameter] 54 | struct notifier_block *nfb, unsigned long action, void *hcpu) | ~~~~~~~~~~~~~~~~~~~~~~~^~~ arch/arm/percpu.c: At top level: arch/arm/percpu.c:85:1: warning: ‘static’ is not at beginning of declaration [-Wold-style-declaration] 85 | presmp_initcall(percpu_presmp_init); | ^~~~~~~~~~~~~~~ In file included from ./include/xen/domain.h:5, from ./include/xen/sched.h:11: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233, from ./arch/arm/include/asm/p2m.h:4, from ./arch/arm/include/asm/domain.h:7, from ./include/xen/domain.h:15: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘arch_vcpu_block’: ./arch/arm/include/asm/domain.h:297:49: warning: unused parameter ‘v’ [-Wunused-parameter] 297 | static inline void arch_vcpu_block(struct vcpu *v) {} | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘update_guest_memory_policy’: ./arch/arm/include/asm/domain.h:309:60: warning: unused parameter ‘v’ [-Wunused-parameter] 309 | static inline void update_guest_memory_policy(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h:310:75: warning: unused parameter ‘gmp’ [-Wunused-parameter] 310 | struct guest_memory_policy *gmp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from ./include/xen/sched.h:25: ./include/xen/vpci.h: In function ‘vpci_assign_device’: ./include/xen/vpci.h:278:54: warning: unused parameter ‘pdev’ [-Wunused-parameter] 278 | static inline int vpci_assign_device(struct pci_dev *pdev) | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_deassign_device’: ./include/xen/vpci.h:283:57: warning: unused parameter ‘pdev’ [-Wunused-parameter] 283 | static inline void vpci_deassign_device(struct pci_dev *pdev) { } | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_read’: ./include/xen/vpci.h:287:45: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:287:64: warning: unused parameter ‘reg’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:288:47: warning: unused parameter ‘size’ [-Wunused-parameter] 288 | unsigned int size) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_write’: ./include/xen/vpci.h:294:42: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:294:61: warning: unused parameter ‘reg’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:295:44: warning: unused parameter ‘size’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h:295:59: warning: unused parameter ‘data’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_process_pending’: ./include/xen/vpci.h:300:67: warning: unused parameter ‘v’ [-Wunused-parameter] 300 | static inline bool __must_check vpci_process_pending(struct vcpu *v) | ~~~~~~~~~~~~~^ ./include/xen/sched.h: In function ‘is_pv_32bit_domain’: ./include/xen/sched.h:1131:67: warning: unused parameter ‘d’ [-Wunused-parameter] 1131 | static always_inline bool is_pv_32bit_domain(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ CC arch/arm/platform_hypercall.o In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/sched.h:6, from arch/arm/platform_hypercall.c:11: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/rwlock.h:6, from ./include/xen/sched.h:7: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ CC arch/arm/physdev.o In file included from ./include/xen/domain.h:5, from ./include/xen/sched.h:11: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ CC arch/arm/processor.o In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233, from ./arch/arm/include/asm/p2m.h:4, from ./arch/arm/include/asm/domain.h:7, from ./include/xen/domain.h:15: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/sched.h:6, from arch/arm/physdev.c:11: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/sched.h:6, from ./arch/arm/include/asm/procinfo.h:24, from arch/arm/processor.c:10: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/rwlock.h:6, from ./include/xen/sched.h:7: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./include/xen/domain.h:5, from ./include/xen/sched.h:11: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ ./arch/arm/include/asm/domain.h: In function ‘arch_vcpu_block’: ./arch/arm/include/asm/domain.h:297:49: warning: unused parameter ‘v’ [-Wunused-parameter] 297 | static inline void arch_vcpu_block(struct vcpu *v) {} | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘update_guest_memory_policy’: ./arch/arm/include/asm/domain.h:309:60: warning: unused parameter ‘v’ [-Wunused-parameter] 309 | static inline void update_guest_memory_policy(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h:310:75: warning: unused parameter ‘gmp’ [-Wunused-parameter] 310 | struct guest_memory_policy *gmp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233, from ./arch/arm/include/asm/p2m.h:4, from ./arch/arm/include/asm/domain.h:7, from ./include/xen/domain.h:15: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/rwlock.h:6, from ./include/xen/sched.h:7: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ In file included from ./include/xen/sched.h:25: ./include/xen/vpci.h: In function ‘vpci_assign_device’: ./include/xen/vpci.h:278:54: warning: unused parameter ‘pdev’ [-Wunused-parameter] 278 | static inline int vpci_assign_device(struct pci_dev *pdev) | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_deassign_device’: ./include/xen/vpci.h:283:57: warning: unused parameter ‘pdev’ [-Wunused-parameter] 283 | static inline void vpci_deassign_device(struct pci_dev *pdev) { } | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_read’: ./include/xen/vpci.h:287:45: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:287:64: warning: unused parameter ‘reg’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ In file included from ./include/xen/domain.h:5, from ./include/xen/sched.h:11: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ ./include/xen/vpci.h:288:47: warning: unused parameter ‘size’ [-Wunused-parameter] 288 | unsigned int size) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_write’: ./include/xen/vpci.h:294:42: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:294:61: warning: unused parameter ‘reg’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:295:44: warning: unused parameter ‘size’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h:295:59: warning: unused parameter ‘data’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_process_pending’: ./include/xen/vpci.h:300:67: warning: unused parameter ‘v’ [-Wunused-parameter] 300 | static inline bool __must_check vpci_process_pending(struct vcpu *v) | ~~~~~~~~~~~~~^ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233, from ./arch/arm/include/asm/p2m.h:4, from ./arch/arm/include/asm/domain.h:7, from ./include/xen/domain.h:15: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ ./include/xen/sched.h: In function ‘is_pv_32bit_domain’: ./include/xen/sched.h:1131:67: warning: unused parameter ‘d’ [-Wunused-parameter] 1131 | static always_inline bool is_pv_32bit_domain(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./arch/arm/include/asm/domain.h: In function ‘arch_vcpu_block’: ./arch/arm/include/asm/domain.h:297:49: warning: unused parameter ‘v’ [-Wunused-parameter] 297 | static inline void arch_vcpu_block(struct vcpu *v) {} | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘update_guest_memory_policy’: ./arch/arm/include/asm/domain.h:309:60: warning: unused parameter ‘v’ [-Wunused-parameter] 309 | static inline void update_guest_memory_policy(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h:310:75: warning: unused parameter ‘gmp’ [-Wunused-parameter] 310 | struct guest_memory_policy *gmp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ In file included from ./include/xen/sched.h:25: ./include/xen/vpci.h: In function ‘vpci_assign_device’: ./include/xen/vpci.h:278:54: warning: unused parameter ‘pdev’ [-Wunused-parameter] 278 | static inline int vpci_assign_device(struct pci_dev *pdev) | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_deassign_device’: ./include/xen/vpci.h:283:57: warning: unused parameter ‘pdev’ [-Wunused-parameter] 283 | static inline void vpci_deassign_device(struct pci_dev *pdev) { } | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_read’: ./include/xen/vpci.h:287:45: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:287:64: warning: unused parameter ‘reg’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:288:47: warning: unused parameter ‘size’ [-Wunused-parameter] 288 | unsigned int size) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_write’: ./include/xen/vpci.h:294:42: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:294:61: warning: unused parameter ‘reg’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:295:44: warning: unused parameter ‘size’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h:295:59: warning: unused parameter ‘data’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_process_pending’: ./include/xen/vpci.h:300:67: warning: unused parameter ‘v’ [-Wunused-parameter] 300 | static inline bool __must_check vpci_process_pending(struct vcpu *v) | ~~~~~~~~~~~~~^ ./include/xen/sched.h: In function ‘is_pv_32bit_domain’: ./include/xen/sched.h:1131:67: warning: unused parameter ‘d’ [-Wunused-parameter] 1131 | static always_inline bool is_pv_32bit_domain(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ In file included from ./include/xen/hypercall.h:22, from arch/arm/platform_hypercall.c:13: ./include/xsm/xsm.h: In function ‘xsm_domain_create’: ./include/xsm/xsm.h:224:19: warning: unused parameter ‘def’ [-Wunused-parameter] 224 | xsm_default_t def, struct domain *d, uint32_t ssidref) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_getdomaininfo’: ./include/xsm/xsm.h:229:51: warning: unused parameter ‘def’ [-Wunused-parameter] 229 | static inline int xsm_getdomaininfo(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_domctl_scheduler_op’: ./include/xsm/xsm.h:235:19: warning: unused parameter ‘def’ [-Wunused-parameter] 235 | xsm_default_t def, struct domain *d, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_sysctl_scheduler_op’: ./include/xsm/xsm.h:240:57: warning: unused parameter ‘def’ [-Wunused-parameter] 240 | static inline int xsm_sysctl_scheduler_op(xsm_default_t def, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_set_target’: ./include/xsm/xsm.h:246:19: warning: unused parameter ‘def’ [-Wunused-parameter] 246 | xsm_default_t def, struct domain *d, struct domain *e) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_domctl’: ./include/xsm/xsm.h:251:44: warning: unused parameter ‘def’ [-Wunused-parameter] 251 | static inline int xsm_domctl(xsm_default_t def, struct domain *d, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_sysctl’: ./include/xsm/xsm.h:256:44: warning: unused parameter ‘def’ [-Wunused-parameter] 256 | static inline int xsm_sysctl(xsm_default_t def, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_readconsole’: ./arch/arm/include/asm/domain.h: In function ‘arch_vcpu_block’: ./include/xsm/xsm.h:261:49: warning: unused parameter ‘def’ [-Wunused-parameter] 261 | static inline int xsm_readconsole(xsm_default_t def, uint32_t clear) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/domain.h:297:49: warning: unused parameter ‘v’ [-Wunused-parameter] 297 | static inline void arch_vcpu_block(struct vcpu *v) {} | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘update_guest_memory_policy’: ./arch/arm/include/asm/domain.h:309:60: warning: unused parameter ‘v’ [-Wunused-parameter] 309 | static inline void update_guest_memory_policy(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h:310:75: warning: unused parameter ‘gmp’ [-Wunused-parameter] 310 | struct guest_memory_policy *gmp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_unbound’: ./include/xsm/xsm.h:267:19: warning: unused parameter ‘def’ [-Wunused-parameter] 267 | xsm_default_t def, struct domain *d1, struct evtchn *chn, domid_t id2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_interdomain’: ./include/xsm/xsm.h:273:19: warning: unused parameter ‘def’ [-Wunused-parameter] 273 | xsm_default_t def, struct domain *d1, struct evtchn *chan1, | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_send’: ./include/xsm/xsm.h:285:19: warning: unused parameter ‘def’ [-Wunused-parameter] 285 | xsm_default_t def, struct domain *d, struct evtchn *chn) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_status’: ./include/xsm/xsm.h:291:19: warning: unused parameter ‘def’ [-Wunused-parameter] 291 | xsm_default_t def, struct domain *d, struct evtchn *chn) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_reset’: ./include/xsm/xsm.h:297:19: warning: unused parameter ‘def’ [-Wunused-parameter] 297 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ In file included from ./include/xen/hypercall.h:22, from arch/arm/physdev.c:12: ./include/xsm/xsm.h: In function ‘xsm_domain_create’: ./include/xsm/xsm.h:224:19: warning: unused parameter ‘def’ [-Wunused-parameter] 224 | xsm_default_t def, struct domain *d, uint32_t ssidref) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_getdomaininfo’: ./include/xsm/xsm.h:229:51: warning: unused parameter ‘def’ [-Wunused-parameter] 229 | static inline int xsm_getdomaininfo(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_domctl_scheduler_op’: ./include/xsm/xsm.h:235:19: warning: unused parameter ‘def’ [-Wunused-parameter] 235 | xsm_default_t def, struct domain *d, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_sysctl_scheduler_op’: ./include/xsm/xsm.h:240:57: warning: unused parameter ‘def’ [-Wunused-parameter] 240 | static inline int xsm_sysctl_scheduler_op(xsm_default_t def, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_set_target’: ./include/xsm/xsm.h:246:19: warning: unused parameter ‘def’ [-Wunused-parameter] 246 | xsm_default_t def, struct domain *d, struct domain *e) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_domctl’: ./include/xsm/xsm.h:251:44: warning: unused parameter ‘def’ [-Wunused-parameter] 251 | static inline int xsm_domctl(xsm_default_t def, struct domain *d, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_sysctl’: ./include/xsm/xsm.h:256:44: warning: unused parameter ‘def’ [-Wunused-parameter] 256 | static inline int xsm_sysctl(xsm_default_t def, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_readconsole’: ./include/xsm/xsm.h:261:49: warning: unused parameter ‘def’ [-Wunused-parameter] 261 | static inline int xsm_readconsole(xsm_default_t def, uint32_t clear) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_unbound’: ./include/xsm/xsm.h:267:19: warning: unused parameter ‘def’ [-Wunused-parameter] 267 | xsm_default_t def, struct domain *d1, struct evtchn *chn, domid_t id2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_interdomain’: ./include/xsm/xsm.h:273:19: warning: unused parameter ‘def’ [-Wunused-parameter] 273 | xsm_default_t def, struct domain *d1, struct evtchn *chan1, | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_send’: ./include/xsm/xsm.h:285:19: warning: unused parameter ‘def’ [-Wunused-parameter] 285 | xsm_default_t def, struct domain *d, struct evtchn *chn) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_status’: ./include/xsm/xsm.h:291:19: warning: unused parameter ‘def’ [-Wunused-parameter] 291 | xsm_default_t def, struct domain *d, struct evtchn *chn) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_reset’: ./include/xsm/xsm.h:297:19: warning: unused parameter ‘def’ [-Wunused-parameter] 297 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_mapref’: ./include/xsm/xsm.h:303:19: warning: unused parameter ‘def’ [-Wunused-parameter] 303 | xsm_default_t def, struct domain *d1, struct domain *d2, uint32_t flags) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_unmapref’: ./include/xsm/xsm.h:309:19: warning: unused parameter ‘def’ [-Wunused-parameter] 309 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_setup’: ./include/xsm/xsm.h:315:19: warning: unused parameter ‘def’ [-Wunused-parameter] 315 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_transfer’: ./include/xsm/xsm.h:321:19: warning: unused parameter ‘def’ [-Wunused-parameter] 321 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_copy’: ./include/xsm/xsm.h:327:19: warning: unused parameter ‘def’ [-Wunused-parameter] 327 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_query_size’: ./include/xsm/xsm.h:333:19: warning: unused parameter ‘def’ [-Wunused-parameter] 333 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_init_hardware_domain’: ./include/xsm/xsm.h:366:58: warning: unused parameter ‘def’ [-Wunused-parameter] 366 | static inline int xsm_init_hardware_domain(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_get_pod_target’: ./include/xsm/xsm.h:371:52: warning: unused parameter ‘def’ [-Wunused-parameter] 371 | static inline int xsm_get_pod_target(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_set_pod_target’: ./include/xsm/xsm.h:376:52: warning: unused parameter ‘def’ [-Wunused-parameter] 376 | static inline int xsm_set_pod_target(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_exchange’: ./include/xsm/xsm.h:381:53: warning: unused parameter ‘def’ [-Wunused-parameter] 381 | static inline int xsm_memory_exchange(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_adjust_reservation’: ./include/xsm/xsm.h:387:19: warning: unused parameter ‘def’ [-Wunused-parameter] 387 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_stat_reservation’: ./include/xsm/xsm.h:393:19: warning: unused parameter ‘def’ [-Wunused-parameter] 393 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_pin_page’: ./include/xsm/xsm.h:399:19: warning: unused parameter ‘def’ [-Wunused-parameter] 399 | xsm_default_t def, struct domain *d1, struct domain *d2, | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_add_to_physmap’: ./include/xsm/xsm.h:406:19: warning: unused parameter ‘def’ [-Wunused-parameter] 406 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_remove_from_physmap’: ./include/xsm/xsm.h:412:19: warning: unused parameter ‘def’ [-Wunused-parameter] 412 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_map_gmfn_foreign’: ./include/xsm/xsm.h:418:19: warning: unused parameter ‘def’ [-Wunused-parameter] 418 | xsm_default_t def, struct domain *d, struct domain *t) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_claim_pages’: ./include/xsm/xsm.h:423:49: warning: unused parameter ‘def’ [-Wunused-parameter] 423 | static inline int xsm_claim_pages(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_console_io’: ./include/xsm/xsm.h:428:48: warning: unused parameter ‘def’ [-Wunused-parameter] 428 | static inline int xsm_console_io(xsm_default_t def, struct domain *d, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_profile’: ./include/xsm/xsm.h:433:45: warning: unused parameter ‘def’ [-Wunused-parameter] 433 | static inline int xsm_profile(xsm_default_t def, struct domain *d, int op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_kexec’: ./include/xsm/xsm.h:438:43: warning: unused parameter ‘def’ [-Wunused-parameter] 438 | static inline int xsm_kexec(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_schedop_shutdown’: ./include/xsm/xsm.h:444:19: warning: unused parameter ‘def’ [-Wunused-parameter] 444 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_map_domain_pirq’: ./include/xsm/xsm.h:454:53: warning: unused parameter ‘def’ [-Wunused-parameter] 454 | static inline int xsm_map_domain_pirq(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_map_domain_irq’: ./include/xsm/xsm.h:460:19: warning: unused parameter ‘def’ [-Wunused-parameter] 460 | xsm_default_t def, struct domain *d, int irq, void *data) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_unmap_domain_pirq’: ./include/xsm/xsm.h:465:55: warning: unused parameter ‘def’ [-Wunused-parameter] 465 | static inline int xsm_unmap_domain_pirq(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_unmap_domain_irq’: ./include/xsm/xsm.h:471:19: warning: unused parameter ‘def’ [-Wunused-parameter] 471 | xsm_default_t def, struct domain *d, int irq, void *data) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_bind_pt_irq’: ./include/xsm/xsm.h:477:19: warning: unused parameter ‘def’ [-Wunused-parameter] 477 | xsm_default_t def, struct domain *d, struct xen_domctl_bind_pt_irq *bind) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_unbind_pt_irq’: ./include/xsm/xsm.h:483:19: warning: unused parameter ‘def’ [-Wunused-parameter] 483 | xsm_default_t def, struct domain *d, struct xen_domctl_bind_pt_irq *bind) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_irq_permission’: ./include/xsm/xsm.h:489:19: warning: unused parameter ‘def’ [-Wunused-parameter] 489 | xsm_default_t def, struct domain *d, int pirq, uint8_t allow) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_iomem_permission’: ./include/xsm/xsm.h:495:19: warning: unused parameter ‘def’ [-Wunused-parameter] 495 | xsm_default_t def, struct domain *d, uint64_t s, uint64_t e, uint8_t allow) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_iomem_mapping’: ./include/xsm/xsm.h:501:19: warning: unused parameter ‘def’ [-Wunused-parameter] 501 | xsm_default_t def, struct domain *d, uint64_t s, uint64_t e, uint8_t allow) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_pci_config_permission’: ./include/xsm/xsm.h:507:19: warning: unused parameter ‘def’ [-Wunused-parameter] 507 | xsm_default_t def, struct domain *d, uint32_t machine_bdf, uint16_t start, | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_assign_dtdevice’: ./include/xsm/xsm.h:534:19: warning: unused parameter ‘def’ [-Wunused-parameter] 534 | xsm_default_t def, struct domain *d, const char *dtpath) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_deassign_dtdevice’: In file included from ./include/xen/sched.h:25: ./include/xen/vpci.h: In function ‘vpci_assign_device’: ./include/xen/vpci.h:278:54: warning: unused parameter ‘pdev’ [-Wunused-parameter] 278 | static inline int vpci_assign_device(struct pci_dev *pdev) | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_deassign_device’: ./include/xsm/xsm.h:540:19: warning: unused parameter ‘def’ [-Wunused-parameter] 540 | xsm_default_t def, struct domain *d, const char *dtpath) | ~~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:283:57: warning: unused parameter ‘pdev’ [-Wunused-parameter] 283 | static inline void vpci_deassign_device(struct pci_dev *pdev) { } | ~~~~~~~~~~~~~~~~^~~~ ./include/xsm/xsm.h: In function ‘xsm_resource_plug_pci’: ./include/xsm/xsm.h:547:55: warning: unused parameter ‘def’ [-Wunused-parameter] 547 | static inline int xsm_resource_plug_pci(xsm_default_t def, uint32_t machine_bdf) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_unplug_pci’: ./include/xsm/xsm.h:553:19: warning: unused parameter ‘def’ [-Wunused-parameter] 553 | xsm_default_t def, uint32_t machine_bdf) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_plug_core’: ./include/xen/vpci.h: In function ‘vpci_read’: ./include/xen/vpci.h:287:45: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:287:64: warning: unused parameter ‘reg’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:288:47: warning: unused parameter ‘size’ [-Wunused-parameter] 288 | unsigned int size) | ~~~~~~~~~~~~~^~~~ ./include/xsm/xsm.h:558:56: warning: unused parameter ‘def’ [-Wunused-parameter] 558 | static inline int xsm_resource_plug_core(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_unplug_core’: ./include/xen/vpci.h: In function ‘vpci_write’: ./include/xen/vpci.h:294:42: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:294:61: warning: unused parameter ‘reg’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:295:44: warning: unused parameter ‘size’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~~~~~^~~~ ./include/xsm/xsm.h:563:58: warning: unused parameter ‘def’ [-Wunused-parameter] 563 | static inline int xsm_resource_unplug_core(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:295:59: warning: unused parameter ‘data’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~^~~~ ./include/xsm/xsm.h: In function ‘xsm_resource_setup_pci’: ./include/xen/vpci.h: In function ‘vpci_process_pending’: ./include/xen/vpci.h:300:67: warning: unused parameter ‘v’ [-Wunused-parameter] 300 | static inline bool __must_check vpci_process_pending(struct vcpu *v) | ~~~~~~~~~~~~~^ ./include/xsm/xsm.h:569:19: warning: unused parameter ‘def’ [-Wunused-parameter] 569 | xsm_default_t def, uint32_t machine_bdf) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_setup_gsi’: ./include/xsm/xsm.h:574:56: warning: unused parameter ‘def’ [-Wunused-parameter] 574 | static inline int xsm_resource_setup_gsi(xsm_default_t def, int gsi) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_setup_misc’: ./include/xsm/xsm.h:579:57: warning: unused parameter ‘def’ [-Wunused-parameter] 579 | static inline int xsm_resource_setup_misc(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_page_offline’: ./include/xsm/xsm.h:584:50: warning: unused parameter ‘def’ [-Wunused-parameter] 584 | static inline int xsm_page_offline(xsm_default_t def, uint32_t cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hypfs_op’: ./include/xsm/xsm.h:589:46: warning: unused parameter ‘def’ [-Wunused-parameter] 589 | static inline int xsm_hypfs_op(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hvm_param’: ./include/xsm/xsm.h:607:19: warning: unused parameter ‘def’ [-Wunused-parameter] 607 | xsm_default_t def, struct domain *d, unsigned long op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hvm_param_altp2mhvm’: ./include/xsm/xsm.h:612:57: warning: unused parameter ‘def’ [-Wunused-parameter] 612 | static inline int xsm_hvm_param_altp2mhvm(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hvm_altp2mhvm_op’: ./include/xsm/xsm.h:618:19: warning: unused parameter ‘def’ [-Wunused-parameter] 618 | xsm_default_t def, struct domain *d, uint64_t mode, uint32_t op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_get_vnumainfo’: ./include/xsm/xsm.h:623:51: warning: unused parameter ‘def’ [-Wunused-parameter] 623 | static inline int xsm_get_vnumainfo(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_vm_event_control’: ./include/xsm/xsm.h:629:19: warning: unused parameter ‘def’ [-Wunused-parameter] 629 | xsm_default_t def, struct domain *d, int mode, int op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_mem_access’: ./include/xsm/xsm.h:635:48: warning: unused parameter ‘def’ [-Wunused-parameter] 635 | static inline int xsm_mem_access(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_platform_op’: ./include/xsm/xsm.h:655:49: warning: unused parameter ‘def’ [-Wunused-parameter] 655 | static inline int xsm_platform_op(xsm_default_t def, uint32_t op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_dm_op’: ./include/xsm/xsm.h:738:43: warning: unused parameter ‘def’ [-Wunused-parameter] 738 | static inline int xsm_dm_op(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_xen_version’: ./include/xsm/xsm.h:743:49: warning: unused parameter ‘def’ [-Wunused-parameter] 743 | static inline int xsm_xen_version(xsm_default_t def, uint32_t op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_domain_resource_map’: ./include/xsm/xsm.h:748:57: warning: unused parameter ‘def’ [-Wunused-parameter] 748 | static inline int xsm_domain_resource_map(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_mapref’: ./include/xsm/xsm.h:303:19: warning: unused parameter ‘def’ [-Wunused-parameter] 303 | xsm_default_t def, struct domain *d1, struct domain *d2, uint32_t flags) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_unmapref’: ./include/xsm/xsm.h:309:19: warning: unused parameter ‘def’ [-Wunused-parameter] 309 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ arch/arm/physdev.c: In function ‘do_arm_physdev_op’: arch/arm/physdev.c:15:61: warning: unused parameter ‘arg’ [-Wunused-parameter] 15 | int do_arm_physdev_op(int cmd, XEN_GUEST_HANDLE_PARAM(void) arg) ./include/xsm/xsm.h: In function ‘xsm_grant_setup’: ./include/xsm/xsm.h:315:19: warning: unused parameter ‘def’ [-Wunused-parameter] 315 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_transfer’: ./include/xen/sched.h: In function ‘is_pv_32bit_domain’: ./include/xen/sched.h:1131:67: warning: unused parameter ‘d’ [-Wunused-parameter] 1131 | static always_inline bool is_pv_32bit_domain(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ ./include/xsm/xsm.h:321:19: warning: unused parameter ‘def’ [-Wunused-parameter] 321 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_copy’: ./include/xsm/xsm.h:327:19: warning: unused parameter ‘def’ [-Wunused-parameter] 327 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_query_size’: ./include/xsm/xsm.h:333:19: warning: unused parameter ‘def’ [-Wunused-parameter] 333 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_init_hardware_domain’: ./include/xsm/xsm.h:366:58: warning: unused parameter ‘def’ [-Wunused-parameter] 366 | static inline int xsm_init_hardware_domain(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_get_pod_target’: ./include/xsm/xsm.h:371:52: warning: unused parameter ‘def’ [-Wunused-parameter] 371 | static inline int xsm_get_pod_target(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_set_pod_target’: ./include/xsm/xsm.h:376:52: warning: unused parameter ‘def’ [-Wunused-parameter] 376 | static inline int xsm_set_pod_target(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_exchange’: ./include/xsm/xsm.h:381:53: warning: unused parameter ‘def’ [-Wunused-parameter] 381 | static inline int xsm_memory_exchange(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_adjust_reservation’: ./include/xsm/xsm.h:387:19: warning: unused parameter ‘def’ [-Wunused-parameter] 387 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_stat_reservation’: ./include/xsm/xsm.h:393:19: warning: unused parameter ‘def’ [-Wunused-parameter] 393 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_pin_page’: ./include/xsm/xsm.h:399:19: warning: unused parameter ‘def’ [-Wunused-parameter] 399 | xsm_default_t def, struct domain *d1, struct domain *d2, | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_add_to_physmap’: ./include/xsm/xsm.h:406:19: warning: unused parameter ‘def’ [-Wunused-parameter] 406 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_remove_from_physmap’: ./include/xsm/xsm.h:412:19: warning: unused parameter ‘def’ [-Wunused-parameter] 412 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_map_gmfn_foreign’: ./include/xsm/xsm.h:418:19: warning: unused parameter ‘def’ [-Wunused-parameter] 418 | xsm_default_t def, struct domain *d, struct domain *t) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_claim_pages’: ./include/xsm/xsm.h:423:49: warning: unused parameter ‘def’ [-Wunused-parameter] 423 | static inline int xsm_claim_pages(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_console_io’: ./include/xsm/xsm.h:428:48: warning: unused parameter ‘def’ [-Wunused-parameter] 428 | static inline int xsm_console_io(xsm_default_t def, struct domain *d, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_profile’: ./include/xsm/xsm.h:433:45: warning: unused parameter ‘def’ [-Wunused-parameter] 433 | static inline int xsm_profile(xsm_default_t def, struct domain *d, int op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_kexec’: ./include/xsm/xsm.h:438:43: warning: unused parameter ‘def’ [-Wunused-parameter] 438 | static inline int xsm_kexec(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_schedop_shutdown’: ./include/xsm/xsm.h:444:19: warning: unused parameter ‘def’ [-Wunused-parameter] 444 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_map_domain_pirq’: ./include/xsm/xsm.h:454:53: warning: unused parameter ‘def’ [-Wunused-parameter] 454 | static inline int xsm_map_domain_pirq(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_map_domain_irq’: ./include/xsm/xsm.h:460:19: warning: unused parameter ‘def’ [-Wunused-parameter] 460 | xsm_default_t def, struct domain *d, int irq, void *data) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_unmap_domain_pirq’: ./include/xsm/xsm.h:465:55: warning: unused parameter ‘def’ [-Wunused-parameter] 465 | static inline int xsm_unmap_domain_pirq(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_unmap_domain_irq’: ./include/xsm/xsm.h:471:19: warning: unused parameter ‘def’ [-Wunused-parameter] 471 | xsm_default_t def, struct domain *d, int irq, void *data) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_bind_pt_irq’: ./include/xsm/xsm.h:477:19: warning: unused parameter ‘def’ [-Wunused-parameter] 477 | xsm_default_t def, struct domain *d, struct xen_domctl_bind_pt_irq *bind) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_unbind_pt_irq’: ./include/xsm/xsm.h:483:19: warning: unused parameter ‘def’ [-Wunused-parameter] 483 | xsm_default_t def, struct domain *d, struct xen_domctl_bind_pt_irq *bind) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_irq_permission’: ./include/xsm/xsm.h:489:19: warning: unused parameter ‘def’ [-Wunused-parameter] 489 | xsm_default_t def, struct domain *d, int pirq, uint8_t allow) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_iomem_permission’: ./include/xsm/xsm.h:495:19: warning: unused parameter ‘def’ [-Wunused-parameter] 495 | xsm_default_t def, struct domain *d, uint64_t s, uint64_t e, uint8_t allow) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_iomem_mapping’: ./include/xsm/xsm.h:501:19: warning: unused parameter ‘def’ [-Wunused-parameter] 501 | xsm_default_t def, struct domain *d, uint64_t s, uint64_t e, uint8_t allow) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_pci_config_permission’: ./include/xsm/xsm.h:507:19: warning: unused parameter ‘def’ [-Wunused-parameter] 507 | xsm_default_t def, struct domain *d, uint32_t machine_bdf, uint16_t start, | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_assign_dtdevice’: ./include/xsm/xsm.h:534:19: warning: unused parameter ‘def’ [-Wunused-parameter] 534 | xsm_default_t def, struct domain *d, const char *dtpath) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_deassign_dtdevice’: ./include/xsm/xsm.h:540:19: warning: unused parameter ‘def’ [-Wunused-parameter] 540 | xsm_default_t def, struct domain *d, const char *dtpath) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_plug_pci’: ./include/xsm/xsm.h:547:55: warning: unused parameter ‘def’ [-Wunused-parameter] 547 | static inline int xsm_resource_plug_pci(xsm_default_t def, uint32_t machine_bdf) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_unplug_pci’: ./include/xsm/xsm.h:553:19: warning: unused parameter ‘def’ [-Wunused-parameter] 553 | xsm_default_t def, uint32_t machine_bdf) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_plug_core’: ./include/xsm/xsm.h:558:56: warning: unused parameter ‘def’ [-Wunused-parameter] 558 | static inline int xsm_resource_plug_core(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_unplug_core’: ./include/xsm/xsm.h:563:58: warning: unused parameter ‘def’ [-Wunused-parameter] 563 | static inline int xsm_resource_unplug_core(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_setup_pci’: ./include/xsm/xsm.h:569:19: warning: unused parameter ‘def’ [-Wunused-parameter] 569 | xsm_default_t def, uint32_t machine_bdf) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_setup_gsi’: ./include/xsm/xsm.h:574:56: warning: unused parameter ‘def’ [-Wunused-parameter] 574 | static inline int xsm_resource_setup_gsi(xsm_default_t def, int gsi) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_setup_misc’: ./include/xsm/xsm.h:579:57: warning: unused parameter ‘def’ [-Wunused-parameter] 579 | static inline int xsm_resource_setup_misc(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_page_offline’: ./include/xsm/xsm.h:584:50: warning: unused parameter ‘def’ [-Wunused-parameter] 584 | static inline int xsm_page_offline(xsm_default_t def, uint32_t cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hypfs_op’: ./include/xsm/xsm.h:589:46: warning: unused parameter ‘def’ [-Wunused-parameter] 589 | static inline int xsm_hypfs_op(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hvm_param’: ./include/xsm/xsm.h:607:19: warning: unused parameter ‘def’ [-Wunused-parameter] 607 | xsm_default_t def, struct domain *d, unsigned long op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hvm_param_altp2mhvm’: ./include/xsm/xsm.h:612:57: warning: unused parameter ‘def’ [-Wunused-parameter] 612 | static inline int xsm_hvm_param_altp2mhvm(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hvm_altp2mhvm_op’: ./include/xsm/xsm.h:618:19: warning: unused parameter ‘def’ [-Wunused-parameter] 618 | xsm_default_t def, struct domain *d, uint64_t mode, uint32_t op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_get_vnumainfo’: ./include/xsm/xsm.h:623:51: warning: unused parameter ‘def’ [-Wunused-parameter] 623 | static inline int xsm_get_vnumainfo(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_vm_event_control’: ./include/xsm/xsm.h:629:19: warning: unused parameter ‘def’ [-Wunused-parameter] 629 | xsm_default_t def, struct domain *d, int mode, int op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_mem_access’: ./include/xsm/xsm.h:635:48: warning: unused parameter ‘def’ [-Wunused-parameter] 635 | static inline int xsm_mem_access(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_platform_op’: ./include/xsm/xsm.h:655:49: warning: unused parameter ‘def’ [-Wunused-parameter] 655 | static inline int xsm_platform_op(xsm_default_t def, uint32_t op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_dm_op’: ./include/xsm/xsm.h:738:43: warning: unused parameter ‘def’ [-Wunused-parameter] 738 | static inline int xsm_dm_op(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_xen_version’: ./include/xsm/xsm.h:743:49: warning: unused parameter ‘def’ [-Wunused-parameter] 743 | static inline int xsm_xen_version(xsm_default_t def, uint32_t op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_domain_resource_map’: ./include/xsm/xsm.h:748:57: warning: unused parameter ‘def’ [-Wunused-parameter] 748 | static inline int xsm_domain_resource_map(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ In file included from arch/arm/platform_hypercall.c:18: ./arch/arm/include/asm/event.h: In function ‘arch_virq_is_global’: ./arch/arm/include/asm/event.h:50:53: warning: unused parameter ‘virq’ [-Wunused-parameter] 50 | static inline bool arch_virq_is_global(unsigned int virq) | ~~~~~~~~~~~~~^~~~ CC arch/arm/psci.o CC arch/arm/setup.o In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/acpi/platform/aclinux.h:54, from ./include/acpi/platform/acenv.h:142, from ./include/acpi/acpi.h:56, from ./include/xen/acpi.h:57, from arch/arm/psci.c:12: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/current.h:8, from ./include/asm-generic/percpu.h:8, from ./arch/arm/include/generated/asm/percpu.h:1, from ./include/xen/percpu.h:30, from ./include/xen/rwlock.h:4, from ./include/xen/device_tree.h:22, from arch/arm/setup.c:12: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/rwlock.h:6: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43, from ./include/xen/rwlock.h:7: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/perfc.h:7, from ./include/xen/mm.h:70, from ./arch/arm/include/asm/p2m.h:4, from ./arch/arm/include/asm/setup.h:5, from ./arch/arm/include/asm/acpi.h:25, from ./include/acpi/platform/aclinux.h:58: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233, from ./include/xen/domain_page.h:12, from arch/arm/setup.c:13: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ ./include/xen/domain_page.h: In function ‘unmap_domain_page_global’: ./include/xen/domain_page.h:71:57: warning: unused parameter ‘va’ [-Wunused-parameter] 71 | static inline void unmap_domain_page_global(const void *va) {}; | ~~~~~~~~~~~~^~ In file included from ./include/xen/domain.h:5, from ./include/xen/sched.h:11, from ./arch/arm/include/asm/grant_table.h:7, from ./include/xen/grant_table.h:31, from arch/arm/setup.c:14: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5, from ./arch/arm/include/asm/domain.h:7, from ./include/xen/domain.h:15: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./include/xen/acpi.h: In function ‘acpi_set_cstate_limit’: ./include/xen/acpi.h:192:55: warning: unused parameter ‘new_limit’ [-Wunused-parameter] 192 | static inline void acpi_set_cstate_limit(unsigned int new_limit) { return; } | ~~~~~~~~~~~~~^~~~~~~~~ ./include/xen/acpi.h: In function ‘acpi_set_csubstate_limit’: ./include/xen/acpi.h:194:58: warning: unused parameter ‘new_limit’ [-Wunused-parameter] 194 | static inline void acpi_set_csubstate_limit(unsigned int new_limit) { return; } | ~~~~~~~~~~~~~^~~~~~~~~ ./arch/arm/include/asm/domain.h: In function ‘arch_vcpu_block’: ./arch/arm/include/asm/domain.h:297:49: warning: unused parameter ‘v’ [-Wunused-parameter] 297 | static inline void arch_vcpu_block(struct vcpu *v) {} | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘update_guest_memory_policy’: ./arch/arm/include/asm/domain.h:309:60: warning: unused parameter ‘v’ [-Wunused-parameter] 309 | static inline void update_guest_memory_policy(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h:310:75: warning: unused parameter ‘gmp’ [-Wunused-parameter] 310 | struct guest_memory_policy *gmp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from ./include/xen/sched.h:25: ./include/xen/vpci.h: In function ‘vpci_assign_device’: ./include/xen/vpci.h:278:54: warning: unused parameter ‘pdev’ [-Wunused-parameter] 278 | static inline int vpci_assign_device(struct pci_dev *pdev) | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_deassign_device’: ./include/xen/vpci.h:283:57: warning: unused parameter ‘pdev’ [-Wunused-parameter] 283 | static inline void vpci_deassign_device(struct pci_dev *pdev) { } | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_read’: ./include/xen/vpci.h:287:45: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:287:64: warning: unused parameter ‘reg’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:288:47: warning: unused parameter ‘size’ [-Wunused-parameter] 288 | unsigned int size) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_write’: ./include/xen/vpci.h:294:42: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:294:61: warning: unused parameter ‘reg’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:295:44: warning: unused parameter ‘size’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h:295:59: warning: unused parameter ‘data’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_process_pending’: ./include/xen/vpci.h:300:67: warning: unused parameter ‘v’ [-Wunused-parameter] 300 | static inline bool __must_check vpci_process_pending(struct vcpu *v) | ~~~~~~~~~~~~~^ ./include/xen/sched.h: In function ‘is_pv_32bit_domain’: ./include/xen/sched.h:1131:67: warning: unused parameter ‘d’ [-Wunused-parameter] 1131 | static always_inline bool is_pv_32bit_domain(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/grant_table.h: In function ‘gnttab_mark_dirty’: ./arch/arm/include/asm/grant_table.h:20:53: warning: unused parameter ‘d’ [-Wunused-parameter] 20 | static inline void gnttab_mark_dirty(struct domain *d, mfn_t mfn) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/grant_table.h:20:62: warning: unused parameter ‘mfn’ [-Wunused-parameter] 20 | static inline void gnttab_mark_dirty(struct domain *d, mfn_t mfn) | ~~~~~~^~~ ./arch/arm/include/asm/grant_table.h: In function ‘gnttab_host_mapping_get_page_type’: ./arch/arm/include/asm/grant_table.h:27:59: warning: unused parameter ‘ro’ [-Wunused-parameter] 27 | static inline bool gnttab_host_mapping_get_page_type(bool ro, ./arch/arm/include/asm/grant_table.h:28:75: warning: unused parameter ‘ld’ [-Wunused-parameter] 28 | const struct domain *ld, | ~~~~~~~~~~~~~~~~~~~~~^~ ./arch/arm/include/asm/grant_table.h:29:75: warning: unused parameter ‘rd’ [-Wunused-parameter] 29 | const struct domain *rd) | ~~~~~~~~~~~~~~~~~~~~~^~ ./arch/arm/include/asm/grant_table.h: In function ‘gnttab_release_host_mappings’: ./arch/arm/include/asm/grant_table.h:34:70: warning: unused parameter ‘d’ [-Wunused-parameter] 34 | static inline bool gnttab_release_host_mappings(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ In file included from arch/arm/setup.c:17: ./include/xen/serial.h: At top level: ./include/xen/serial.h:166:1: warning: ‘inline’ is not at beginning of declaration [-Wold-style-declaration] 166 | static void inline xhci_dbc_uart_init(void) {} | ^~~~~~ In file included from arch/arm/setup.c:24: ./include/xen/param.h: In function ‘no_config_param’: ./include/xen/param.h:193:19: warning: operand of ‘?:’ changes signedness from ‘long int’ to ‘size_t’ {aka ‘long unsigned int’} due to unsignedness of other operand [-Wsign-compare] 193 | int len = e ? ({ ASSERT(e >= s); e - s; }) : strlen(s); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC arch/arm/shutdown.o In file included from arch/arm/setup.c:33: ./include/xen/acpi.h: In function ‘acpi_set_cstate_limit’: ./include/xen/acpi.h:192:55: warning: unused parameter ‘new_limit’ [-Wunused-parameter] 192 | static inline void acpi_set_cstate_limit(unsigned int new_limit) { return; } | ~~~~~~~~~~~~~^~~~~~~~~ ./include/xen/acpi.h: In function ‘acpi_set_csubstate_limit’: ./include/xen/acpi.h:194:58: warning: unused parameter ‘new_limit’ [-Wunused-parameter] 194 | static inline void acpi_set_csubstate_limit(unsigned int new_limit) { return; } | ~~~~~~~~~~~~~^~~~~~~~~ In file included from ./include/xen/hypercall.h:22, from arch/arm/setup.c:35: ./include/xsm/xsm.h: In function ‘xsm_domain_create’: ./include/xsm/xsm.h:224:19: warning: unused parameter ‘def’ [-Wunused-parameter] 224 | xsm_default_t def, struct domain *d, uint32_t ssidref) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_getdomaininfo’: ./include/xsm/xsm.h:229:51: warning: unused parameter ‘def’ [-Wunused-parameter] 229 | static inline int xsm_getdomaininfo(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_domctl_scheduler_op’: ./include/xsm/xsm.h:235:19: warning: unused parameter ‘def’ [-Wunused-parameter] 235 | xsm_default_t def, struct domain *d, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_sysctl_scheduler_op’: ./include/xsm/xsm.h:240:57: warning: unused parameter ‘def’ [-Wunused-parameter] 240 | static inline int xsm_sysctl_scheduler_op(xsm_default_t def, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_set_target’: ./include/xsm/xsm.h:246:19: warning: unused parameter ‘def’ [-Wunused-parameter] 246 | xsm_default_t def, struct domain *d, struct domain *e) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_domctl’: ./include/xsm/xsm.h:251:44: warning: unused parameter ‘def’ [-Wunused-parameter] 251 | static inline int xsm_domctl(xsm_default_t def, struct domain *d, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_sysctl’: ./include/xsm/xsm.h:256:44: warning: unused parameter ‘def’ [-Wunused-parameter] 256 | static inline int xsm_sysctl(xsm_default_t def, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_readconsole’: ./include/xsm/xsm.h:261:49: warning: unused parameter ‘def’ [-Wunused-parameter] 261 | static inline int xsm_readconsole(xsm_default_t def, uint32_t clear) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_unbound’: ./include/xsm/xsm.h:267:19: warning: unused parameter ‘def’ [-Wunused-parameter] 267 | xsm_default_t def, struct domain *d1, struct evtchn *chn, domid_t id2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_interdomain’: ./include/xsm/xsm.h:273:19: warning: unused parameter ‘def’ [-Wunused-parameter] 273 | xsm_default_t def, struct domain *d1, struct evtchn *chan1, | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_send’: ./include/xsm/xsm.h:285:19: warning: unused parameter ‘def’ [-Wunused-parameter] 285 | xsm_default_t def, struct domain *d, struct evtchn *chn) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_status’: ./include/xsm/xsm.h:291:19: warning: unused parameter ‘def’ [-Wunused-parameter] 291 | xsm_default_t def, struct domain *d, struct evtchn *chn) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_reset’: ./include/xsm/xsm.h:297:19: warning: unused parameter ‘def’ [-Wunused-parameter] 297 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_mapref’: ./include/xsm/xsm.h:303:19: warning: unused parameter ‘def’ [-Wunused-parameter] 303 | xsm_default_t def, struct domain *d1, struct domain *d2, uint32_t flags) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_unmapref’: ./include/xsm/xsm.h:309:19: warning: unused parameter ‘def’ [-Wunused-parameter] 309 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_setup’: ./include/xsm/xsm.h:315:19: warning: unused parameter ‘def’ [-Wunused-parameter] 315 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_transfer’: ./include/xsm/xsm.h:321:19: warning: unused parameter ‘def’ [-Wunused-parameter] 321 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_copy’: ./include/xsm/xsm.h:327:19: warning: unused parameter ‘def’ [-Wunused-parameter] 327 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_query_size’: ./include/xsm/xsm.h:333:19: warning: unused parameter ‘def’ [-Wunused-parameter] 333 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_init_hardware_domain’: ./include/xsm/xsm.h:366:58: warning: unused parameter ‘def’ [-Wunused-parameter] 366 | static inline int xsm_init_hardware_domain(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_get_pod_target’: ./include/xsm/xsm.h:371:52: warning: unused parameter ‘def’ [-Wunused-parameter] 371 | static inline int xsm_get_pod_target(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_set_pod_target’: ./include/xsm/xsm.h:376:52: warning: unused parameter ‘def’ [-Wunused-parameter] 376 | static inline int xsm_set_pod_target(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_exchange’: ./include/xsm/xsm.h:381:53: warning: unused parameter ‘def’ [-Wunused-parameter] 381 | static inline int xsm_memory_exchange(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_adjust_reservation’: ./include/xsm/xsm.h:387:19: warning: unused parameter ‘def’ [-Wunused-parameter] 387 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_stat_reservation’: ./include/xsm/xsm.h:393:19: warning: unused parameter ‘def’ [-Wunused-parameter] 393 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_pin_page’: ./include/xsm/xsm.h:399:19: warning: unused parameter ‘def’ [-Wunused-parameter] 399 | xsm_default_t def, struct domain *d1, struct domain *d2, | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_add_to_physmap’: ./include/xsm/xsm.h:406:19: warning: unused parameter ‘def’ [-Wunused-parameter] 406 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_remove_from_physmap’: ./include/xsm/xsm.h:412:19: warning: unused parameter ‘def’ [-Wunused-parameter] 412 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_map_gmfn_foreign’: ./include/xsm/xsm.h:418:19: warning: unused parameter ‘def’ [-Wunused-parameter] 418 | xsm_default_t def, struct domain *d, struct domain *t) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_claim_pages’: ./include/xsm/xsm.h:423:49: warning: unused parameter ‘def’ [-Wunused-parameter] 423 | static inline int xsm_claim_pages(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_console_io’: ./include/xsm/xsm.h:428:48: warning: unused parameter ‘def’ [-Wunused-parameter] 428 | static inline int xsm_console_io(xsm_default_t def, struct domain *d, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_profile’: ./include/xsm/xsm.h:433:45: warning: unused parameter ‘def’ [-Wunused-parameter] 433 | static inline int xsm_profile(xsm_default_t def, struct domain *d, int op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_kexec’: ./include/xsm/xsm.h:438:43: warning: unused parameter ‘def’ [-Wunused-parameter] 438 | static inline int xsm_kexec(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_schedop_shutdown’: ./include/xsm/xsm.h:444:19: warning: unused parameter ‘def’ [-Wunused-parameter] 444 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_map_domain_pirq’: ./include/xsm/xsm.h:454:53: warning: unused parameter ‘def’ [-Wunused-parameter] 454 | static inline int xsm_map_domain_pirq(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_map_domain_irq’: ./include/xsm/xsm.h:460:19: warning: unused parameter ‘def’ [-Wunused-parameter] 460 | xsm_default_t def, struct domain *d, int irq, void *data) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_unmap_domain_pirq’: ./include/xsm/xsm.h:465:55: warning: unused parameter ‘def’ [-Wunused-parameter] 465 | static inline int xsm_unmap_domain_pirq(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_unmap_domain_irq’: ./include/xsm/xsm.h:471:19: warning: unused parameter ‘def’ [-Wunused-parameter] 471 | xsm_default_t def, struct domain *d, int irq, void *data) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_bind_pt_irq’: ./include/xsm/xsm.h:477:19: warning: unused parameter ‘def’ [-Wunused-parameter] 477 | xsm_default_t def, struct domain *d, struct xen_domctl_bind_pt_irq *bind) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_unbind_pt_irq’: ./include/xsm/xsm.h:483:19: warning: unused parameter ‘def’ [-Wunused-parameter] 483 | xsm_default_t def, struct domain *d, struct xen_domctl_bind_pt_irq *bind) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_irq_permission’: ./include/xsm/xsm.h:489:19: warning: unused parameter ‘def’ [-Wunused-parameter] 489 | xsm_default_t def, struct domain *d, int pirq, uint8_t allow) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_iomem_permission’: ./include/xsm/xsm.h:495:19: warning: unused parameter ‘def’ [-Wunused-parameter] 495 | xsm_default_t def, struct domain *d, uint64_t s, uint64_t e, uint8_t allow) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_iomem_mapping’: ./include/xsm/xsm.h:501:19: warning: unused parameter ‘def’ [-Wunused-parameter] 501 | xsm_default_t def, struct domain *d, uint64_t s, uint64_t e, uint8_t allow) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_pci_config_permission’: ./include/xsm/xsm.h:507:19: warning: unused parameter ‘def’ [-Wunused-parameter] 507 | xsm_default_t def, struct domain *d, uint32_t machine_bdf, uint16_t start, | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_assign_dtdevice’: ./include/xsm/xsm.h:534:19: warning: unused parameter ‘def’ [-Wunused-parameter] 534 | xsm_default_t def, struct domain *d, const char *dtpath) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_deassign_dtdevice’: ./include/xsm/xsm.h:540:19: warning: unused parameter ‘def’ [-Wunused-parameter] 540 | xsm_default_t def, struct domain *d, const char *dtpath) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_plug_pci’: ./include/xsm/xsm.h:547:55: warning: unused parameter ‘def’ [-Wunused-parameter] 547 | static inline int xsm_resource_plug_pci(xsm_default_t def, uint32_t machine_bdf) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_unplug_pci’: ./include/xsm/xsm.h:553:19: warning: unused parameter ‘def’ [-Wunused-parameter] 553 | xsm_default_t def, uint32_t machine_bdf) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_plug_core’: ./include/xsm/xsm.h:558:56: warning: unused parameter ‘def’ [-Wunused-parameter] 558 | static inline int xsm_resource_plug_core(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_unplug_core’: ./include/xsm/xsm.h:563:58: warning: unused parameter ‘def’ [-Wunused-parameter] 563 | static inline int xsm_resource_unplug_core(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_setup_pci’: ./include/xsm/xsm.h:569:19: warning: unused parameter ‘def’ [-Wunused-parameter] 569 | xsm_default_t def, uint32_t machine_bdf) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_setup_gsi’: ./include/xsm/xsm.h:574:56: warning: unused parameter ‘def’ [-Wunused-parameter] 574 | static inline int xsm_resource_setup_gsi(xsm_default_t def, int gsi) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_setup_misc’: ./include/xsm/xsm.h:579:57: warning: unused parameter ‘def’ [-Wunused-parameter] 579 | static inline int xsm_resource_setup_misc(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_page_offline’: ./include/xsm/xsm.h:584:50: warning: unused parameter ‘def’ [-Wunused-parameter] 584 | static inline int xsm_page_offline(xsm_default_t def, uint32_t cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hypfs_op’: ./include/xsm/xsm.h:589:46: warning: unused parameter ‘def’ [-Wunused-parameter] 589 | static inline int xsm_hypfs_op(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hvm_param’: ./include/xsm/xsm.h:607:19: warning: unused parameter ‘def’ [-Wunused-parameter] 607 | xsm_default_t def, struct domain *d, unsigned long op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hvm_param_altp2mhvm’: ./include/xsm/xsm.h:612:57: warning: unused parameter ‘def’ [-Wunused-parameter] 612 | static inline int xsm_hvm_param_altp2mhvm(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hvm_altp2mhvm_op’: ./include/xsm/xsm.h:618:19: warning: unused parameter ‘def’ [-Wunused-parameter] 618 | xsm_default_t def, struct domain *d, uint64_t mode, uint32_t op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_get_vnumainfo’: ./include/xsm/xsm.h:623:51: warning: unused parameter ‘def’ [-Wunused-parameter] 623 | static inline int xsm_get_vnumainfo(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_vm_event_control’: ./include/xsm/xsm.h:629:19: warning: unused parameter ‘def’ [-Wunused-parameter] 629 | xsm_default_t def, struct domain *d, int mode, int op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_mem_access’: ./include/xsm/xsm.h:635:48: warning: unused parameter ‘def’ [-Wunused-parameter] 635 | static inline int xsm_mem_access(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_platform_op’: ./include/xsm/xsm.h:655:49: warning: unused parameter ‘def’ [-Wunused-parameter] 655 | static inline int xsm_platform_op(xsm_default_t def, uint32_t op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_dm_op’: ./include/xsm/xsm.h:738:43: warning: unused parameter ‘def’ [-Wunused-parameter] 738 | static inline int xsm_dm_op(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_xen_version’: ./include/xsm/xsm.h:743:49: warning: unused parameter ‘def’ [-Wunused-parameter] 743 | static inline int xsm_xen_version(xsm_default_t def, uint32_t op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_domain_resource_map’: ./include/xsm/xsm.h:748:57: warning: unused parameter ‘def’ [-Wunused-parameter] 748 | static inline int xsm_domain_resource_map(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ arch/arm/setup.c: In function ‘add_boot_module’: arch/arm/setup.c:383:21: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] 383 | for ( i = 0 ; i < mods->nr_mods ; i++ ) | ^ arch/arm/setup.c: In function ‘boot_cmdline_find_by_kind’: arch/arm/setup.c:458:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 458 | for ( i = 0 ; i < cmds->nr_mods ; i++ ) | ^ arch/arm/setup.c: In function ‘boot_module_find_by_addr_and_kind’: arch/arm/setup.c:489:20: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] 489 | for (i = 0 ; i < mods->nr_mods ; i++ ) | ^ arch/arm/setup.c: In function ‘init_pdx’: arch/arm/setup.c:600:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 600 | for ( bank = 0 ; bank < mem->nr_banks; bank++ ) | ^ arch/arm/setup.c:608:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 608 | for ( bank = 0 ; bank < mem->nr_banks; bank++ ) | ^ arch/arm/setup.c:619:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 619 | for ( bank = 0 ; bank < mem->nr_banks; bank++ ) | ^ arch/arm/setup.c: In function ‘start_xen’: ./include/xen/cpumask.h:375:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 375 | (cpu) < nr_cpu_ids; \ | ^ ./include/xen/cpumask.h:460:36: note: in expansion of macro ‘for_each_cpu’ 460 | #define for_each_present_cpu(cpu) for_each_cpu(cpu, &cpu_present_map) | ^~~~~~~~~~~~ arch/arm/setup.c:841:5: note: in expansion of macro ‘for_each_present_cpu’ 841 | for_each_present_cpu ( i ) | ^~~~~~~~~~~~~~~~~~~~ arch/arm/setup.c:843:33: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 843 | if ( (num_online_cpus() < nr_cpu_ids) && !cpu_online(i) ) | ^ In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/cpu.h:5, from arch/arm/shutdown.c:3: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ CC arch/arm/smp.o In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from arch/arm/shutdown.c:7: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/mm.h:69, from arch/arm/smp.c:2: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./include/xen/domain.h:5, from ./include/xen/sched.h:11, from ./arch/arm/include/asm/platform.h:4, from arch/arm/shutdown.c:8: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233, from ./arch/arm/include/asm/p2m.h:4, from ./arch/arm/include/asm/domain.h:7, from ./include/xen/domain.h:15: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/perfc.h:7, from ./include/xen/mm.h:70: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ ./arch/arm/include/asm/domain.h: In function ‘arch_vcpu_block’: ./arch/arm/include/asm/domain.h:297:49: warning: unused parameter ‘v’ [-Wunused-parameter] 297 | static inline void arch_vcpu_block(struct vcpu *v) {} | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘update_guest_memory_policy’: ./arch/arm/include/asm/domain.h:309:60: warning: unused parameter ‘v’ [-Wunused-parameter] 309 | static inline void update_guest_memory_policy(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h:310:75: warning: unused parameter ‘gmp’ [-Wunused-parameter] 310 | struct guest_memory_policy *gmp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from ./include/xen/irq.h:5, from ./arch/arm/include/asm/gic.h:163, from arch/arm/smp.c:6: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ arch/arm/smp.c: In function ‘arch_flush_tlb_mask’: arch/arm/smp.c:9:43: warning: unused parameter ‘mask’ [-Wunused-parameter] 9 | void arch_flush_tlb_mask(const cpumask_t *mask) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/sched.h:25: ./include/xen/vpci.h: In function ‘vpci_assign_device’: ./include/xen/vpci.h:278:54: warning: unused parameter ‘pdev’ [-Wunused-parameter] 278 | static inline int vpci_assign_device(struct pci_dev *pdev) | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_deassign_device’: ./include/xen/vpci.h:283:57: warning: unused parameter ‘pdev’ [-Wunused-parameter] 283 | static inline void vpci_deassign_device(struct pci_dev *pdev) { } | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_read’: ./include/xen/vpci.h:287:45: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:287:64: warning: unused parameter ‘reg’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:288:47: warning: unused parameter ‘size’ [-Wunused-parameter] 288 | unsigned int size) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_write’: ./include/xen/vpci.h:294:42: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:294:61: warning: unused parameter ‘reg’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:295:44: warning: unused parameter ‘size’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h:295:59: warning: unused parameter ‘data’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_process_pending’: ./include/xen/vpci.h:300:67: warning: unused parameter ‘v’ [-Wunused-parameter] 300 | static inline bool __must_check vpci_process_pending(struct vcpu *v) | ~~~~~~~~~~~~~^ ./include/xen/sched.h: In function ‘is_pv_32bit_domain’: ./include/xen/sched.h:1131:67: warning: unused parameter ‘d’ [-Wunused-parameter] 1131 | static always_inline bool is_pv_32bit_domain(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ arch/arm/shutdown.c: In function ‘halt_this_cpu’: arch/arm/shutdown.c:11:42: warning: unused parameter ‘arg’ [-Wunused-parameter] 11 | static void noreturn halt_this_cpu(void *arg) | ~~~~~~^~~ CC arch/arm/smpboot.o CC arch/arm/static-evtchn.o In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/acpi/platform/aclinux.h:54, from ./include/acpi/platform/acenv.h:142, from ./include/acpi/acpi.h:56, from ./include/xen/acpi.h:57, from arch/arm/smpboot.c:10: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/sched.h:6, from ./include/xen/event.h:12, from arch/arm/static-evtchn.c:3: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/perfc.h:7, from ./include/xen/mm.h:70, from ./arch/arm/include/asm/p2m.h:4, from ./arch/arm/include/asm/setup.h:5, from ./arch/arm/include/asm/acpi.h:25, from ./include/acpi/platform/aclinux.h:58: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/rwlock.h:6, from ./include/xen/sched.h:7: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/domain.h:5, from ./include/xen/sched.h:11: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ ./include/xen/acpi.h: In function ‘acpi_set_cstate_limit’: ./include/xen/acpi.h:192:55: warning: unused parameter ‘new_limit’ [-Wunused-parameter] 192 | static inline void acpi_set_cstate_limit(unsigned int new_limit) { return; } | ~~~~~~~~~~~~~^~~~~~~~~ ./include/xen/acpi.h: In function ‘acpi_set_csubstate_limit’: ./include/xen/acpi.h:194:58: warning: unused parameter ‘new_limit’ [-Wunused-parameter] 194 | static inline void acpi_set_csubstate_limit(unsigned int new_limit) { return; } | ~~~~~~~~~~~~~^~~~~~~~~ In file included from arch/arm/smpboot.c:15: ./include/xen/domain_page.h: In function ‘unmap_domain_page_global’: ./include/xen/domain_page.h:71:57: warning: unused parameter ‘va’ [-Wunused-parameter] 71 | static inline void unmap_domain_page_global(const void *va) {}; | ~~~~~~~~~~~~^~ In file included from arch/arm/smpboot.c:19: ./include/xen/param.h: In function ‘no_config_param’: ./include/xen/param.h:193:19: warning: operand of ‘?:’ changes signedness from ‘long int’ to ‘size_t’ {aka ‘long unsigned int’} due to unsignedness of other operand [-Wsign-compare] 193 | int len = e ? ({ ASSERT(e >= s); e - s; }) : strlen(s); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./include/xen/domain.h:5, from ./include/xen/sched.h:11, from arch/arm/smpboot.c:20: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233, from ./arch/arm/include/asm/p2m.h:4, from ./arch/arm/include/asm/domain.h:7, from ./include/xen/domain.h:15: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from ./include/xen/domain.h:15: ./arch/arm/include/asm/domain.h: In function ‘arch_vcpu_block’: ./arch/arm/include/asm/domain.h:297:49: warning: unused parameter ‘v’ [-Wunused-parameter] 297 | static inline void arch_vcpu_block(struct vcpu *v) {} | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘update_guest_memory_policy’: ./arch/arm/include/asm/domain.h:309:60: warning: unused parameter ‘v’ [-Wunused-parameter] 309 | static inline void update_guest_memory_policy(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h:310:75: warning: unused parameter ‘gmp’ [-Wunused-parameter] 310 | struct guest_memory_policy *gmp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ In file included from ./include/xen/sched.h:25: ./include/xen/vpci.h: In function ‘vpci_assign_device’: ./include/xen/vpci.h:278:54: warning: unused parameter ‘pdev’ [-Wunused-parameter] 278 | static inline int vpci_assign_device(struct pci_dev *pdev) | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_deassign_device’: ./include/xen/vpci.h:283:57: warning: unused parameter ‘pdev’ [-Wunused-parameter] 283 | static inline void vpci_deassign_device(struct pci_dev *pdev) { } | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_read’: ./include/xen/vpci.h:287:45: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:287:64: warning: unused parameter ‘reg’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:288:47: warning: unused parameter ‘size’ [-Wunused-parameter] 288 | unsigned int size) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_write’: ./include/xen/vpci.h:294:42: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:294:61: warning: unused parameter ‘reg’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:295:44: warning: unused parameter ‘size’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h:295:59: warning: unused parameter ‘data’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_process_pending’: ./include/xen/vpci.h:300:67: warning: unused parameter ‘v’ [-Wunused-parameter] 300 | static inline bool __must_check vpci_process_pending(struct vcpu *v) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./include/xen/sched.h: In function ‘is_pv_32bit_domain’: ./include/xen/sched.h:1131:67: warning: unused parameter ‘d’ [-Wunused-parameter] 1131 | static always_inline bool is_pv_32bit_domain(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ arch/arm/smpboot.c: In function ‘dt_smp_init_cpus’: arch/arm/smpboot.c:169:22: warning: comparison of integer expressions of different signedness: ‘u32’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 169 | if ( reg_len < dt_cells_to_size(dt_n_addr_cells(cpu)) ) | ^ arch/arm/smpboot.c: In function ‘cpu_up_send_sgi’: arch/arm/smpboot.c:471:32: warning: unused parameter ‘cpu’ [-Wunused-parameter] 471 | int __init cpu_up_send_sgi(int cpu) | ~~~~^~~ arch/arm/smpboot.c: In function ‘cpu_smpboot_callback’: arch/arm/smpboot.c:570:56: warning: unused parameter ‘nfb’ [-Wunused-parameter] 570 | static int cpu_smpboot_callback(struct notifier_block *nfb, | ~~~~~~~~~~~~~~~~~~~~~~~^~~ arch/arm/smpboot.c: At top level: arch/arm/smpboot.c:608:1: warning: ‘static’ is not at beginning of declaration [-Wold-style-declaration] 608 | presmp_initcall(cpu_smpboot_notifier_init); | ^~~~~~~~~~~~~~~ ./arch/arm/include/asm/domain.h: In function ‘arch_vcpu_block’: ./arch/arm/include/asm/domain.h:297:49: warning: unused parameter ‘v’ [-Wunused-parameter] 297 | static inline void arch_vcpu_block(struct vcpu *v) {} | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘update_guest_memory_policy’: ./arch/arm/include/asm/domain.h:309:60: warning: unused parameter ‘v’ [-Wunused-parameter] 309 | static inline void update_guest_memory_policy(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h:310:75: warning: unused parameter ‘gmp’ [-Wunused-parameter] 310 | struct guest_memory_policy *gmp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from ./include/xen/sched.h:25: ./include/xen/vpci.h: In function ‘vpci_assign_device’: ./include/xen/vpci.h:278:54: warning: unused parameter ‘pdev’ [-Wunused-parameter] 278 | static inline int vpci_assign_device(struct pci_dev *pdev) | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_deassign_device’: ./include/xen/vpci.h:283:57: warning: unused parameter ‘pdev’ [-Wunused-parameter] 283 | static inline void vpci_deassign_device(struct pci_dev *pdev) { } | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_read’: ./include/xen/vpci.h:287:45: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:287:64: warning: unused parameter ‘reg’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:288:47: warning: unused parameter ‘size’ [-Wunused-parameter] 288 | unsigned int size) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_write’: ./include/xen/vpci.h:294:42: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:294:61: warning: unused parameter ‘reg’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:295:44: warning: unused parameter ‘size’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h:295:59: warning: unused parameter ‘data’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_process_pending’: ./include/xen/vpci.h:300:67: warning: unused parameter ‘v’ [-Wunused-parameter] 300 | static inline bool __must_check vpci_process_pending(struct vcpu *v) | ~~~~~~~~~~~~~^ ./include/xen/sched.h: In function ‘is_pv_32bit_domain’: ./include/xen/sched.h:1131:67: warning: unused parameter ‘d’ [-Wunused-parameter] 1131 | static always_inline bool is_pv_32bit_domain(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ In file included from ./include/xen/event.h:17: ./arch/arm/include/asm/event.h: In function ‘arch_virq_is_global’: ./arch/arm/include/asm/event.h:50:53: warning: unused parameter ‘virq’ [-Wunused-parameter] 50 | static inline bool arch_virq_is_global(unsigned int virq) | ~~~~~~~~~~~~~^~~~ arch/arm/static-evtchn.c: In function ‘get_evtchn_dt_property’: arch/arm/static-evtchn.c:22:22: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 22 | if ( !len || len < dt_cells_to_size(STATIC_EVTCHN_NODE_SIZE_CELLS) ) | ^ CC arch/arm/static-memory.o In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/sched.h:6, from arch/arm/static-memory.c:3: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ CC arch/arm/static-shmem.o In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/rwlock.h:6, from ./include/xen/sched.h:7: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/domain.h:5, from ./include/xen/sched.h:11: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/current.h:8, from ./include/asm-generic/percpu.h:8, from ./arch/arm/include/generated/asm/percpu.h:1, from ./include/xen/percpu.h:30, from ./include/xen/rwlock.h:4, from ./include/xen/device_tree.h:22, from arch/arm/static-shmem.c:3: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233, from ./arch/arm/include/asm/p2m.h:4, from ./arch/arm/include/asm/domain.h:7, from ./include/xen/domain.h:15: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/rwlock.h:6: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43, from ./include/xen/rwlock.h:7: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘arch_vcpu_block’: ./arch/arm/include/asm/domain.h:297:49: warning: unused parameter ‘v’ [-Wunused-parameter] 297 | static inline void arch_vcpu_block(struct vcpu *v) {} | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘update_guest_memory_policy’: ./arch/arm/include/asm/domain.h:309:60: warning: unused parameter ‘v’ [-Wunused-parameter] 309 | static inline void update_guest_memory_policy(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h:310:75: warning: unused parameter ‘gmp’ [-Wunused-parameter] 310 | struct guest_memory_policy *gmp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from ./include/xen/sched.h:25: ./include/xen/vpci.h: In function ‘vpci_assign_device’: ./include/xen/vpci.h:278:54: warning: unused parameter ‘pdev’ [-Wunused-parameter] 278 | static inline int vpci_assign_device(struct pci_dev *pdev) | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_deassign_device’: ./include/xen/vpci.h:283:57: warning: unused parameter ‘pdev’ [-Wunused-parameter] 283 | static inline void vpci_deassign_device(struct pci_dev *pdev) { } | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_read’: ./include/xen/vpci.h:287:45: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:287:64: warning: unused parameter ‘reg’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:288:47: warning: unused parameter ‘size’ [-Wunused-parameter] 288 | unsigned int size) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_write’: ./include/xen/vpci.h:294:42: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:294:61: warning: unused parameter ‘reg’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:295:44: warning: unused parameter ‘size’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h:295:59: warning: unused parameter ‘data’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_process_pending’: ./include/xen/vpci.h:300:67: warning: unused parameter ‘v’ [-Wunused-parameter] 300 | static inline bool __must_check vpci_process_pending(struct vcpu *v) | ~~~~~~~~~~~~~^ In file included from ./include/xen/domain.h:5, from ./include/xen/sched.h:11, from arch/arm/static-shmem.c:6: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233, from ./arch/arm/include/asm/p2m.h:4, from ./arch/arm/include/asm/domain.h:7, from ./include/xen/domain.h:15: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/sched.h: In function ‘is_pv_32bit_domain’: ./include/xen/sched.h:1131:67: warning: unused parameter ‘d’ [-Wunused-parameter] 1131 | static always_inline bool is_pv_32bit_domain(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘arch_vcpu_block’: ./arch/arm/include/asm/domain.h:297:49: warning: unused parameter ‘v’ [-Wunused-parameter] 297 | static inline void arch_vcpu_block(struct vcpu *v) {} | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘update_guest_memory_policy’: ./arch/arm/include/asm/domain.h:309:60: warning: unused parameter ‘v’ [-Wunused-parameter] 309 | static inline void update_guest_memory_policy(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h:310:75: warning: unused parameter ‘gmp’ [-Wunused-parameter] 310 | struct guest_memory_policy *gmp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from ./include/xen/sched.h:25: ./include/xen/vpci.h: In function ‘vpci_assign_device’: ./include/xen/vpci.h:278:54: warning: unused parameter ‘pdev’ [-Wunused-parameter] 278 | static inline int vpci_assign_device(struct pci_dev *pdev) | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_deassign_device’: ./include/xen/vpci.h:283:57: warning: unused parameter ‘pdev’ [-Wunused-parameter] 283 | static inline void vpci_deassign_device(struct pci_dev *pdev) { } | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_read’: ./include/xen/vpci.h:287:45: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:287:64: warning: unused parameter ‘reg’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:288:47: warning: unused parameter ‘size’ [-Wunused-parameter] 288 | unsigned int size) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_write’: ./include/xen/vpci.h:294:42: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:294:61: warning: unused parameter ‘reg’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:295:44: warning: unused parameter ‘size’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h:295:59: warning: unused parameter ‘data’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_process_pending’: ./include/xen/vpci.h:300:67: warning: unused parameter ‘v’ [-Wunused-parameter] 300 | static inline bool __must_check vpci_process_pending(struct vcpu *v) | ~~~~~~~~~~~~~^ ./include/xen/sched.h: In function ‘is_pv_32bit_domain’: ./include/xen/sched.h:1131:67: warning: unused parameter ‘d’ [-Wunused-parameter] 1131 | static always_inline bool is_pv_32bit_domain(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ arch/arm/static-shmem.c: In function ‘acquire_nr_borrower_domain’: arch/arm/static-shmem.c:22:61: warning: unused parameter ‘d’ [-Wunused-parameter] 22 | static int __init acquire_nr_borrower_domain(struct domain *d, | ~~~~~~~~~~~~~~~^ arch/arm/static-shmem.c: In function ‘assign_shared_memory’: arch/arm/static-shmem.c:169:17: warning: comparison of unsigned expression in ‘>= 0’ is always true [-Wtype-limits] 169 | while ( --i >= 0 ) | ^~ CC arch/arm/sysctl.o In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/current.h:8, from ./include/asm-generic/percpu.h:8, from ./arch/arm/include/generated/asm/percpu.h:1, from ./include/xen/percpu.h:30, from ./include/xen/rwlock.h:4, from ./include/xen/device_tree.h:22, from ./include/xen/dt-overlay.h:14, from arch/arm/sysctl.c:12: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/rwlock.h:6: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43, from ./include/xen/rwlock.h:7: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ CC arch/arm/time.o In file included from ./include/xen/domain.h:5, from ./include/xen/sched.h:11, from ./include/xsm/xsm.h:19, from ./include/xen/hypercall.h:22, from arch/arm/sysctl.c:14: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233, from ./arch/arm/include/asm/p2m.h:4, from ./arch/arm/include/asm/domain.h:7, from ./include/xen/domain.h:15: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/current.h:8, from ./include/asm-generic/percpu.h:8, from ./arch/arm/include/generated/asm/percpu.h:1, from ./include/xen/percpu.h:30, from ./include/xen/rwlock.h:4, from ./include/xen/device_tree.h:22, from arch/arm/time.c:12: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/domain.h: In function ‘arch_vcpu_block’: ./arch/arm/include/asm/domain.h:297:49: warning: unused parameter ‘v’ [-Wunused-parameter] 297 | static inline void arch_vcpu_block(struct vcpu *v) {} | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘update_guest_memory_policy’: ./arch/arm/include/asm/domain.h:309:60: warning: unused parameter ‘v’ [-Wunused-parameter] 309 | static inline void update_guest_memory_policy(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h:310:75: warning: unused parameter ‘gmp’ [-Wunused-parameter] 310 | struct guest_memory_policy *gmp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from ./include/xen/sched.h:25: ./include/xen/vpci.h: In function ‘vpci_assign_device’: ./include/xen/vpci.h:278:54: warning: unused parameter ‘pdev’ [-Wunused-parameter] 278 | static inline int vpci_assign_device(struct pci_dev *pdev) | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_deassign_device’: ./include/xen/vpci.h:283:57: warning: unused parameter ‘pdev’ [-Wunused-parameter] 283 | static inline void vpci_deassign_device(struct pci_dev *pdev) { } | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_read’: ./include/xen/vpci.h:287:45: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:287:64: warning: unused parameter ‘reg’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:288:47: warning: unused parameter ‘size’ [-Wunused-parameter] 288 | unsigned int size) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_write’: ./include/xen/vpci.h:294:42: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:294:61: warning: unused parameter ‘reg’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:295:44: warning: unused parameter ‘size’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h:295:59: warning: unused parameter ‘data’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_process_pending’: ./include/xen/vpci.h:300:67: warning: unused parameter ‘v’ [-Wunused-parameter] 300 | static inline bool __must_check vpci_process_pending(struct vcpu *v) | ~~~~~~~~~~~~~^ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/rwlock.h:6: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ ./include/xen/sched.h: In function ‘is_pv_32bit_domain’: ./include/xen/sched.h:1131:67: warning: unused parameter ‘d’ [-Wunused-parameter] 1131 | static always_inline bool is_pv_32bit_domain(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ ./include/xsm/xsm.h: In function ‘xsm_domain_create’: ./include/xsm/xsm.h:224:19: warning: unused parameter ‘def’ [-Wunused-parameter] 224 | xsm_default_t def, struct domain *d, uint32_t ssidref) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_getdomaininfo’: ./include/xsm/xsm.h:229:51: warning: unused parameter ‘def’ [-Wunused-parameter] 229 | static inline int xsm_getdomaininfo(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_domctl_scheduler_op’: ./include/xsm/xsm.h:235:19: warning: unused parameter ‘def’ [-Wunused-parameter] 235 | xsm_default_t def, struct domain *d, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_sysctl_scheduler_op’: ./include/xsm/xsm.h:240:57: warning: unused parameter ‘def’ [-Wunused-parameter] 240 | static inline int xsm_sysctl_scheduler_op(xsm_default_t def, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_set_target’: ./include/xsm/xsm.h:246:19: warning: unused parameter ‘def’ [-Wunused-parameter] 246 | xsm_default_t def, struct domain *d, struct domain *e) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_domctl’: ./include/xsm/xsm.h:251:44: warning: unused parameter ‘def’ [-Wunused-parameter] 251 | static inline int xsm_domctl(xsm_default_t def, struct domain *d, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_sysctl’: ./include/xsm/xsm.h:256:44: warning: unused parameter ‘def’ [-Wunused-parameter] 256 | static inline int xsm_sysctl(xsm_default_t def, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_readconsole’: ./include/xsm/xsm.h:261:49: warning: unused parameter ‘def’ [-Wunused-parameter] 261 | static inline int xsm_readconsole(xsm_default_t def, uint32_t clear) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_unbound’: ./include/xsm/xsm.h:267:19: warning: unused parameter ‘def’ [-Wunused-parameter] 267 | xsm_default_t def, struct domain *d1, struct evtchn *chn, domid_t id2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_interdomain’: ./include/xsm/xsm.h:273:19: warning: unused parameter ‘def’ [-Wunused-parameter] 273 | xsm_default_t def, struct domain *d1, struct evtchn *chan1, | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_send’: ./include/xsm/xsm.h:285:19: warning: unused parameter ‘def’ [-Wunused-parameter] 285 | xsm_default_t def, struct domain *d, struct evtchn *chn) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_status’: ./include/xsm/xsm.h:291:19: warning: unused parameter ‘def’ [-Wunused-parameter] 291 | xsm_default_t def, struct domain *d, struct evtchn *chn) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_reset’: ./include/xsm/xsm.h:297:19: warning: unused parameter ‘def’ [-Wunused-parameter] 297 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_mapref’: ./include/xsm/xsm.h:303:19: warning: unused parameter ‘def’ [-Wunused-parameter] 303 | xsm_default_t def, struct domain *d1, struct domain *d2, uint32_t flags) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_unmapref’: ./include/xsm/xsm.h:309:19: warning: unused parameter ‘def’ [-Wunused-parameter] 309 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_setup’: ./include/xsm/xsm.h:315:19: warning: unused parameter ‘def’ [-Wunused-parameter] 315 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_transfer’: ./include/xsm/xsm.h:321:19: warning: unused parameter ‘def’ [-Wunused-parameter] 321 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_copy’: ./include/xsm/xsm.h:327:19: warning: unused parameter ‘def’ [-Wunused-parameter] 327 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_query_size’: ./include/xsm/xsm.h:333:19: warning: unused parameter ‘def’ [-Wunused-parameter] 333 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_init_hardware_domain’: ./include/xsm/xsm.h:366:58: warning: unused parameter ‘def’ [-Wunused-parameter] 366 | static inline int xsm_init_hardware_domain(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_get_pod_target’: ./include/xsm/xsm.h:371:52: warning: unused parameter ‘def’ [-Wunused-parameter] 371 | static inline int xsm_get_pod_target(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_set_pod_target’: ./include/xsm/xsm.h:376:52: warning: unused parameter ‘def’ [-Wunused-parameter] 376 | static inline int xsm_set_pod_target(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_exchange’: ./include/xsm/xsm.h:381:53: warning: unused parameter ‘def’ [-Wunused-parameter] 381 | static inline int xsm_memory_exchange(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_adjust_reservation’: ./include/xsm/xsm.h:387:19: warning: unused parameter ‘def’ [-Wunused-parameter] 387 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_stat_reservation’: ./include/xsm/xsm.h:393:19: warning: unused parameter ‘def’ [-Wunused-parameter] 393 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_pin_page’: ./include/xsm/xsm.h:399:19: warning: unused parameter ‘def’ [-Wunused-parameter] 399 | xsm_default_t def, struct domain *d1, struct domain *d2, | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_add_to_physmap’: ./include/xsm/xsm.h:406:19: warning: unused parameter ‘def’ [-Wunused-parameter] 406 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_remove_from_physmap’: ./include/xsm/xsm.h:412:19: warning: unused parameter ‘def’ [-Wunused-parameter] 412 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_map_gmfn_foreign’: ./include/xsm/xsm.h:418:19: warning: unused parameter ‘def’ [-Wunused-parameter] 418 | xsm_default_t def, struct domain *d, struct domain *t) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_claim_pages’: ./include/xsm/xsm.h:423:49: warning: unused parameter ‘def’ [-Wunused-parameter] 423 | static inline int xsm_claim_pages(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_console_io’: ./include/xsm/xsm.h:428:48: warning: unused parameter ‘def’ [-Wunused-parameter] 428 | static inline int xsm_console_io(xsm_default_t def, struct domain *d, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_profile’: ./include/xsm/xsm.h:433:45: warning: unused parameter ‘def’ [-Wunused-parameter] 433 | static inline int xsm_profile(xsm_default_t def, struct domain *d, int op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_kexec’: ./include/xsm/xsm.h:438:43: warning: unused parameter ‘def’ [-Wunused-parameter] 438 | static inline int xsm_kexec(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_schedop_shutdown’: ./include/xsm/xsm.h:444:19: warning: unused parameter ‘def’ [-Wunused-parameter] 444 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_map_domain_pirq’: ./include/xsm/xsm.h:454:53: warning: unused parameter ‘def’ [-Wunused-parameter] 454 | static inline int xsm_map_domain_pirq(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_map_domain_irq’: ./include/xsm/xsm.h:460:19: warning: unused parameter ‘def’ [-Wunused-parameter] 460 | xsm_default_t def, struct domain *d, int irq, void *data) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_unmap_domain_pirq’: ./include/xsm/xsm.h:465:55: warning: unused parameter ‘def’ [-Wunused-parameter] 465 | static inline int xsm_unmap_domain_pirq(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_unmap_domain_irq’: ./include/xsm/xsm.h:471:19: warning: unused parameter ‘def’ [-Wunused-parameter] 471 | xsm_default_t def, struct domain *d, int irq, void *data) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_bind_pt_irq’: ./include/xsm/xsm.h:477:19: warning: unused parameter ‘def’ [-Wunused-parameter] 477 | xsm_default_t def, struct domain *d, struct xen_domctl_bind_pt_irq *bind) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_unbind_pt_irq’: ./include/xsm/xsm.h:483:19: warning: unused parameter ‘def’ [-Wunused-parameter] 483 | xsm_default_t def, struct domain *d, struct xen_domctl_bind_pt_irq *bind) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_irq_permission’: ./include/xsm/xsm.h:489:19: warning: unused parameter ‘def’ [-Wunused-parameter] 489 | xsm_default_t def, struct domain *d, int pirq, uint8_t allow) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_iomem_permission’: ./include/xsm/xsm.h:495:19: warning: unused parameter ‘def’ [-Wunused-parameter] 495 | xsm_default_t def, struct domain *d, uint64_t s, uint64_t e, uint8_t allow) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_iomem_mapping’: ./include/xsm/xsm.h:501:19: warning: unused parameter ‘def’ [-Wunused-parameter] 501 | xsm_default_t def, struct domain *d, uint64_t s, uint64_t e, uint8_t allow) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_pci_config_permission’: ./include/xsm/xsm.h:507:19: warning: unused parameter ‘def’ [-Wunused-parameter] 507 | xsm_default_t def, struct domain *d, uint32_t machine_bdf, uint16_t start, | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_assign_dtdevice’: ./include/xsm/xsm.h:534:19: warning: unused parameter ‘def’ [-Wunused-parameter] 534 | xsm_default_t def, struct domain *d, const char *dtpath) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_deassign_dtdevice’: ./include/xsm/xsm.h:540:19: warning: unused parameter ‘def’ [-Wunused-parameter] 540 | xsm_default_t def, struct domain *d, const char *dtpath) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_plug_pci’: ./include/xsm/xsm.h:547:55: warning: unused parameter ‘def’ [-Wunused-parameter] 547 | static inline int xsm_resource_plug_pci(xsm_default_t def, uint32_t machine_bdf) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_unplug_pci’: ./include/xsm/xsm.h:553:19: warning: unused parameter ‘def’ [-Wunused-parameter] 553 | xsm_default_t def, uint32_t machine_bdf) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_plug_core’: ./include/xsm/xsm.h:558:56: warning: unused parameter ‘def’ [-Wunused-parameter] 558 | static inline int xsm_resource_plug_core(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_unplug_core’: ./include/xsm/xsm.h:563:58: warning: unused parameter ‘def’ [-Wunused-parameter] 563 | static inline int xsm_resource_unplug_core(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_setup_pci’: ./include/xsm/xsm.h:569:19: warning: unused parameter ‘def’ [-Wunused-parameter] 569 | xsm_default_t def, uint32_t machine_bdf) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_setup_gsi’: ./include/xsm/xsm.h:574:56: warning: unused parameter ‘def’ [-Wunused-parameter] 574 | static inline int xsm_resource_setup_gsi(xsm_default_t def, int gsi) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_setup_misc’: ./include/xsm/xsm.h:579:57: warning: unused parameter ‘def’ [-Wunused-parameter] 579 | static inline int xsm_resource_setup_misc(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_page_offline’: ./include/xsm/xsm.h:584:50: warning: unused parameter ‘def’ [-Wunused-parameter] 584 | static inline int xsm_page_offline(xsm_default_t def, uint32_t cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hypfs_op’: ./include/xsm/xsm.h:589:46: warning: unused parameter ‘def’ [-Wunused-parameter] 589 | static inline int xsm_hypfs_op(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hvm_param’: ./include/xsm/xsm.h:607:19: warning: unused parameter ‘def’ [-Wunused-parameter] 607 | xsm_default_t def, struct domain *d, unsigned long op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hvm_param_altp2mhvm’: ./include/xsm/xsm.h:612:57: warning: unused parameter ‘def’ [-Wunused-parameter] 612 | static inline int xsm_hvm_param_altp2mhvm(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hvm_altp2mhvm_op’: ./include/xsm/xsm.h:618:19: warning: unused parameter ‘def’ [-Wunused-parameter] 618 | xsm_default_t def, struct domain *d, uint64_t mode, uint32_t op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_get_vnumainfo’: ./include/xsm/xsm.h:623:51: warning: unused parameter ‘def’ [-Wunused-parameter] 623 | static inline int xsm_get_vnumainfo(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_vm_event_control’: ./include/xsm/xsm.h:629:19: warning: unused parameter ‘def’ [-Wunused-parameter] 629 | xsm_default_t def, struct domain *d, int mode, int op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_mem_access’: ./include/xsm/xsm.h:635:48: warning: unused parameter ‘def’ [-Wunused-parameter] 635 | static inline int xsm_mem_access(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_platform_op’: ./include/xsm/xsm.h:655:49: warning: unused parameter ‘def’ [-Wunused-parameter] 655 | static inline int xsm_platform_op(xsm_default_t def, uint32_t op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_dm_op’: ./include/xsm/xsm.h:738:43: warning: unused parameter ‘def’ [-Wunused-parameter] 738 | static inline int xsm_dm_op(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_xen_version’: ./include/xsm/xsm.h:743:49: warning: unused parameter ‘def’ [-Wunused-parameter] 743 | static inline int xsm_xen_version(xsm_default_t def, uint32_t op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_domain_resource_map’: ./include/xsm/xsm.h:748:57: warning: unused parameter ‘def’ [-Wunused-parameter] 748 | static inline int xsm_domain_resource_map(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ arch/arm/sysctl.c: In function ‘arch_do_sysctl’: arch/arm/sysctl.c:27:58: warning: unused parameter ‘u_sysctl’ [-Wunused-parameter] 27 | XEN_GUEST_HANDLE_PARAM(xen_sysctl_t) u_sysctl) In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43, from ./include/xen/rwlock.h:7: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./include/xen/irq.h:5, from arch/arm/time.c:14: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233, from arch/arm/time.c:16: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ CC arch/arm/traps.o ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from ./include/xen/domain.h:5, from ./include/xen/sched.h:11, from arch/arm/time.c:18: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7, from ./arch/arm/include/asm/domain.h:7, from ./include/xen/domain.h:15: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘arch_vcpu_block’: ./arch/arm/include/asm/domain.h:297:49: warning: unused parameter ‘v’ [-Wunused-parameter] 297 | static inline void arch_vcpu_block(struct vcpu *v) {} | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘update_guest_memory_policy’: ./arch/arm/include/asm/domain.h:309:60: warning: unused parameter ‘v’ [-Wunused-parameter] 309 | static inline void update_guest_memory_policy(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h:310:75: warning: unused parameter ‘gmp’ [-Wunused-parameter] 310 | struct guest_memory_policy *gmp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ CC arch/arm/vcpreg.o In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/acpi/platform/aclinux.h:54, from ./include/acpi/platform/acenv.h:142, from ./include/acpi/acpi.h:56, from ./include/xen/acpi.h:57, from arch/arm/traps.c:10: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./include/xen/sched.h:25: ./include/xen/vpci.h: In function ‘vpci_assign_device’: ./include/xen/vpci.h:278:54: warning: unused parameter ‘pdev’ [-Wunused-parameter] 278 | static inline int vpci_assign_device(struct pci_dev *pdev) | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_deassign_device’: ./include/xen/vpci.h:283:57: warning: unused parameter ‘pdev’ [-Wunused-parameter] 283 | static inline void vpci_deassign_device(struct pci_dev *pdev) { } | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_read’: ./include/xen/vpci.h:287:45: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:287:64: warning: unused parameter ‘reg’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:288:47: warning: unused parameter ‘size’ [-Wunused-parameter] 288 | unsigned int size) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_write’: ./include/xen/vpci.h:294:42: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:294:61: warning: unused parameter ‘reg’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:295:44: warning: unused parameter ‘size’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h:295:59: warning: unused parameter ‘data’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_process_pending’: ./include/xen/vpci.h:300:67: warning: unused parameter ‘v’ [-Wunused-parameter] 300 | static inline bool __must_check vpci_process_pending(struct vcpu *v) | ~~~~~~~~~~~~~^ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/xen/sched.h: In function ‘is_pv_32bit_domain’: ./include/xen/sched.h:1131:67: warning: unused parameter ‘d’ [-Wunused-parameter] 1131 | static always_inline bool is_pv_32bit_domain(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ In file included from ./include/xen/event.h:17, from arch/arm/time.c:22: ./arch/arm/include/asm/event.h: In function ‘arch_virq_is_global’: ./arch/arm/include/asm/event.h:50:53: warning: unused parameter ‘virq’ [-Wunused-parameter] 50 | static inline bool arch_virq_is_global(unsigned int virq) | ~~~~~~~~~~~~~^~~~ In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/sched.h:6, from arch/arm/vcpreg.c:10: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/perfc.h:7, from ./include/xen/mm.h:70, from ./arch/arm/include/asm/p2m.h:4, from ./arch/arm/include/asm/setup.h:5, from ./arch/arm/include/asm/acpi.h:25, from ./include/acpi/platform/aclinux.h:58: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from arch/arm/time.c:23: ./include/xen/acpi.h: In function ‘acpi_set_cstate_limit’: ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/acpi.h:192:55: warning: unused parameter ‘new_limit’ [-Wunused-parameter] 192 | static inline void acpi_set_cstate_limit(unsigned int new_limit) { return; } | ~~~~~~~~~~~~~^~~~~~~~~ ./include/xen/acpi.h: In function ‘acpi_set_csubstate_limit’: ./include/xen/acpi.h:194:58: warning: unused parameter ‘new_limit’ [-Wunused-parameter] 194 | static inline void acpi_set_csubstate_limit(unsigned int new_limit) { return; } | ~~~~~~~~~~~~~^~~~~~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ arch/arm/time.c: In function ‘htimer_interrupt’: arch/arm/time.c:244:34: warning: unused parameter ‘irq’ [-Wunused-parameter] 244 | static void htimer_interrupt(int irq, void *dev_id) | ~~~~^~~ arch/arm/time.c:244:45: warning: unused parameter ‘dev_id’ [-Wunused-parameter] 244 | static void htimer_interrupt(int irq, void *dev_id) | ~~~~~~^~~~~~ arch/arm/time.c: In function ‘vtimer_interrupt’: arch/arm/time.c:258:34: warning: unused parameter ‘irq’ [-Wunused-parameter] 258 | static void vtimer_interrupt(int irq, void *dev_id) | ~~~~^~~ arch/arm/time.c:258:45: warning: unused parameter ‘dev_id’ [-Wunused-parameter] 258 | static void vtimer_interrupt(int irq, void *dev_id) | ~~~~~~^~~~~~ arch/arm/time.c: In function ‘update_vcpu_system_time’: arch/arm/time.c:358:43: warning: unused parameter ‘v’ [-Wunused-parameter] 358 | void update_vcpu_system_time(struct vcpu *v) | ~~~~~~~~~~~~~^ arch/arm/time.c: In function ‘cpu_time_callback’: arch/arm/time.c:375:53: warning: unused parameter ‘nfb’ [-Wunused-parameter] 375 | static int cpu_time_callback(struct notifier_block *nfb, | ~~~~~~~~~~~~~~~~~~~~~~~^~~ arch/arm/time.c:377:36: warning: unused parameter ‘hcpu’ [-Wunused-parameter] 377 | void *hcpu) | ~~~~~~^~~~ arch/arm/time.c: At top level: In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ arch/arm/time.c:401:1: warning: ‘static’ is not at beginning of declaration [-Wold-style-declaration] 401 | __initcall(cpu_time_notifier_init); | ^~~~~~~~~~ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/rwlock.h:6, from ./include/xen/sched.h:7: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/domain.h:5, from ./include/xen/sched.h:11: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ ./include/xen/acpi.h: In function ‘acpi_set_cstate_limit’: ./include/xen/acpi.h:192:55: warning: unused parameter ‘new_limit’ [-Wunused-parameter] 192 | static inline void acpi_set_cstate_limit(unsigned int new_limit) { return; } | ~~~~~~~~~~~~~^~~~~~~~~ ./include/xen/acpi.h: In function ‘acpi_set_csubstate_limit’: ./include/xen/acpi.h:194:58: warning: unused parameter ‘new_limit’ [-Wunused-parameter] 194 | static inline void acpi_set_csubstate_limit(unsigned int new_limit) { return; } | ~~~~~~~~~~~~~^~~~~~~~~ In file included from arch/arm/traps.c:11: ./include/xen/domain_page.h: In function ‘unmap_domain_page_global’: ./include/xen/domain_page.h:71:57: warning: unused parameter ‘va’ [-Wunused-parameter] 71 | static inline void unmap_domain_page_global(const void *va) {}; | ~~~~~~~~~~~~^~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233, from ./arch/arm/include/asm/p2m.h:4, from ./arch/arm/include/asm/domain.h:7, from ./include/xen/domain.h:15: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/domain.h:5, from ./include/xen/sched.h:11, from ./include/xsm/xsm.h:19, from ./include/xen/hypercall.h:22, from arch/arm/traps.c:13: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ In file included from ./include/xen/domain.h:15: ./arch/arm/include/asm/domain.h: In function ‘arch_vcpu_block’: ./arch/arm/include/asm/domain.h:297:49: warning: unused parameter ‘v’ [-Wunused-parameter] 297 | static inline void arch_vcpu_block(struct vcpu *v) {} | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘update_guest_memory_policy’: ./arch/arm/include/asm/domain.h:309:60: warning: unused parameter ‘v’ [-Wunused-parameter] 309 | static inline void update_guest_memory_policy(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h:310:75: warning: unused parameter ‘gmp’ [-Wunused-parameter] 310 | struct guest_memory_policy *gmp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from ./include/xen/sched.h:25: ./include/xen/vpci.h: In function ‘vpci_assign_device’: ./include/xen/vpci.h:278:54: warning: unused parameter ‘pdev’ [-Wunused-parameter] 278 | static inline int vpci_assign_device(struct pci_dev *pdev) | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_deassign_device’: ./include/xen/vpci.h:283:57: warning: unused parameter ‘pdev’ [-Wunused-parameter] 283 | static inline void vpci_deassign_device(struct pci_dev *pdev) { } | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_read’: ./include/xen/vpci.h:287:45: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:287:64: warning: unused parameter ‘reg’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:288:47: warning: unused parameter ‘size’ [-Wunused-parameter] 288 | unsigned int size) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_write’: ./include/xen/vpci.h:294:42: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:294:61: warning: unused parameter ‘reg’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:295:44: warning: unused parameter ‘size’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h:295:59: warning: unused parameter ‘data’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_process_pending’: ./include/xen/vpci.h:300:67: warning: unused parameter ‘v’ [-Wunused-parameter] 300 | static inline bool __must_check vpci_process_pending(struct vcpu *v) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘arch_vcpu_block’: ./arch/arm/include/asm/domain.h:297:49: warning: unused parameter ‘v’ [-Wunused-parameter] 297 | static inline void arch_vcpu_block(struct vcpu *v) {} | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘update_guest_memory_policy’: ./arch/arm/include/asm/domain.h:309:60: warning: unused parameter ‘v’ [-Wunused-parameter] 309 | static inline void update_guest_memory_policy(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h:310:75: warning: unused parameter ‘gmp’ [-Wunused-parameter] 310 | struct guest_memory_policy *gmp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./include/xen/sched.h: In function ‘is_pv_32bit_domain’: ./include/xen/sched.h:1131:67: warning: unused parameter ‘d’ [-Wunused-parameter] 1131 | static always_inline bool is_pv_32bit_domain(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ ./include/xsm/xsm.h: In function ‘xsm_domain_create’: ./include/xsm/xsm.h:224:19: warning: unused parameter ‘def’ [-Wunused-parameter] 224 | xsm_default_t def, struct domain *d, uint32_t ssidref) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_getdomaininfo’: ./include/xsm/xsm.h:229:51: warning: unused parameter ‘def’ [-Wunused-parameter] 229 | static inline int xsm_getdomaininfo(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_domctl_scheduler_op’: ./include/xsm/xsm.h:235:19: warning: unused parameter ‘def’ [-Wunused-parameter] 235 | xsm_default_t def, struct domain *d, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_sysctl_scheduler_op’: ./include/xsm/xsm.h:240:57: warning: unused parameter ‘def’ [-Wunused-parameter] 240 | static inline int xsm_sysctl_scheduler_op(xsm_default_t def, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_set_target’: ./include/xsm/xsm.h:246:19: warning: unused parameter ‘def’ [-Wunused-parameter] 246 | xsm_default_t def, struct domain *d, struct domain *e) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_domctl’: ./include/xsm/xsm.h:251:44: warning: unused parameter ‘def’ [-Wunused-parameter] 251 | static inline int xsm_domctl(xsm_default_t def, struct domain *d, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_sysctl’: ./include/xsm/xsm.h:256:44: warning: unused parameter ‘def’ [-Wunused-parameter] 256 | static inline int xsm_sysctl(xsm_default_t def, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_readconsole’: ./include/xsm/xsm.h:261:49: warning: unused parameter ‘def’ [-Wunused-parameter] 261 | static inline int xsm_readconsole(xsm_default_t def, uint32_t clear) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_unbound’: ./include/xsm/xsm.h:267:19: warning: unused parameter ‘def’ [-Wunused-parameter] 267 | xsm_default_t def, struct domain *d1, struct evtchn *chn, domid_t id2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_interdomain’: ./include/xsm/xsm.h:273:19: warning: unused parameter ‘def’ [-Wunused-parameter] 273 | xsm_default_t def, struct domain *d1, struct evtchn *chan1, | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_send’: ./include/xsm/xsm.h:285:19: warning: unused parameter ‘def’ [-Wunused-parameter] 285 | xsm_default_t def, struct domain *d, struct evtchn *chn) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_status’: ./include/xsm/xsm.h:291:19: warning: unused parameter ‘def’ [-Wunused-parameter] 291 | xsm_default_t def, struct domain *d, struct evtchn *chn) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_reset’: ./include/xsm/xsm.h:297:19: warning: unused parameter ‘def’ [-Wunused-parameter] 297 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_mapref’: ./include/xsm/xsm.h:303:19: warning: unused parameter ‘def’ [-Wunused-parameter] 303 | xsm_default_t def, struct domain *d1, struct domain *d2, uint32_t flags) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_unmapref’: ./include/xsm/xsm.h:309:19: warning: unused parameter ‘def’ [-Wunused-parameter] 309 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_setup’: ./include/xsm/xsm.h:315:19: warning: unused parameter ‘def’ [-Wunused-parameter] 315 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_transfer’: ./include/xsm/xsm.h:321:19: warning: unused parameter ‘def’ [-Wunused-parameter] 321 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_copy’: ./include/xsm/xsm.h:327:19: warning: unused parameter ‘def’ [-Wunused-parameter] 327 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_query_size’: ./include/xsm/xsm.h:333:19: warning: unused parameter ‘def’ [-Wunused-parameter] 333 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_init_hardware_domain’: ./include/xsm/xsm.h:366:58: warning: unused parameter ‘def’ [-Wunused-parameter] 366 | static inline int xsm_init_hardware_domain(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_get_pod_target’: ./include/xsm/xsm.h:371:52: warning: unused parameter ‘def’ [-Wunused-parameter] 371 | static inline int xsm_get_pod_target(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_set_pod_target’: ./include/xsm/xsm.h:376:52: warning: unused parameter ‘def’ [-Wunused-parameter] 376 | static inline int xsm_set_pod_target(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_exchange’: ./include/xsm/xsm.h:381:53: warning: unused parameter ‘def’ [-Wunused-parameter] 381 | static inline int xsm_memory_exchange(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_adjust_reservation’: ./include/xsm/xsm.h:387:19: warning: unused parameter ‘def’ [-Wunused-parameter] 387 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_stat_reservation’: ./include/xsm/xsm.h:393:19: warning: unused parameter ‘def’ [-Wunused-parameter] 393 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_pin_page’: ./include/xsm/xsm.h:399:19: warning: unused parameter ‘def’ [-Wunused-parameter] 399 | xsm_default_t def, struct domain *d1, struct domain *d2, | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_add_to_physmap’: ./include/xsm/xsm.h:406:19: warning: unused parameter ‘def’ [-Wunused-parameter] 406 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_remove_from_physmap’: ./include/xsm/xsm.h:412:19: warning: unused parameter ‘def’ [-Wunused-parameter] 412 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_map_gmfn_foreign’: ./include/xsm/xsm.h:418:19: warning: unused parameter ‘def’ [-Wunused-parameter] 418 | xsm_default_t def, struct domain *d, struct domain *t) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_claim_pages’: ./include/xsm/xsm.h:423:49: warning: unused parameter ‘def’ [-Wunused-parameter] 423 | static inline int xsm_claim_pages(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_console_io’: ./include/xsm/xsm.h:428:48: warning: unused parameter ‘def’ [-Wunused-parameter] 428 | static inline int xsm_console_io(xsm_default_t def, struct domain *d, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_profile’: ./include/xsm/xsm.h:433:45: warning: unused parameter ‘def’ [-Wunused-parameter] 433 | static inline int xsm_profile(xsm_default_t def, struct domain *d, int op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_kexec’: ./include/xsm/xsm.h:438:43: warning: unused parameter ‘def’ [-Wunused-parameter] 438 | static inline int xsm_kexec(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_schedop_shutdown’: In file included from ./include/xen/sched.h:25: ./include/xen/vpci.h: In function ‘vpci_assign_device’: ./include/xsm/xsm.h:444:19: warning: unused parameter ‘def’ [-Wunused-parameter] 444 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_map_domain_pirq’: ./include/xsm/xsm.h:454:53: warning: unused parameter ‘def’ [-Wunused-parameter] 454 | static inline int xsm_map_domain_pirq(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_map_domain_irq’: ./include/xen/vpci.h:278:54: warning: unused parameter ‘pdev’ [-Wunused-parameter] 278 | static inline int vpci_assign_device(struct pci_dev *pdev) | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_deassign_device’: ./include/xsm/xsm.h:460:19: warning: unused parameter ‘def’ [-Wunused-parameter] 460 | xsm_default_t def, struct domain *d, int irq, void *data) | ~~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:283:57: warning: unused parameter ‘pdev’ [-Wunused-parameter] 283 | static inline void vpci_deassign_device(struct pci_dev *pdev) { } | ~~~~~~~~~~~~~~~~^~~~ ./include/xsm/xsm.h: In function ‘xsm_unmap_domain_pirq’: ./include/xsm/xsm.h:465:55: warning: unused parameter ‘def’ [-Wunused-parameter] 465 | static inline int xsm_unmap_domain_pirq(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_unmap_domain_irq’: ./include/xsm/xsm.h:471:19: warning: unused parameter ‘def’ [-Wunused-parameter] 471 | xsm_default_t def, struct domain *d, int irq, void *data) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_bind_pt_irq’: ./include/xsm/xsm.h:477:19: warning: unused parameter ‘def’ [-Wunused-parameter] 477 | xsm_default_t def, struct domain *d, struct xen_domctl_bind_pt_irq *bind) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_unbind_pt_irq’: ./include/xsm/xsm.h:483:19: warning: unused parameter ‘def’ [-Wunused-parameter] 483 | xsm_default_t def, struct domain *d, struct xen_domctl_bind_pt_irq *bind) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_irq_permission’: ./include/xsm/xsm.h:489:19: warning: unused parameter ‘def’ [-Wunused-parameter] 489 | xsm_default_t def, struct domain *d, int pirq, uint8_t allow) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_iomem_permission’: ./include/xsm/xsm.h:495:19: warning: unused parameter ‘def’ [-Wunused-parameter] 495 | xsm_default_t def, struct domain *d, uint64_t s, uint64_t e, uint8_t allow) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_iomem_mapping’: ./include/xsm/xsm.h:501:19: warning: unused parameter ‘def’ [-Wunused-parameter] 501 | xsm_default_t def, struct domain *d, uint64_t s, uint64_t e, uint8_t allow) | ~~~~~~~~~~~~~~^~~ ./include/xen/vpci.h: In function ‘vpci_read’: ./include/xen/vpci.h:287:45: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:287:64: warning: unused parameter ‘reg’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:288:47: warning: unused parameter ‘size’ [-Wunused-parameter] 288 | unsigned int size) | ~~~~~~~~~~~~~^~~~ ./include/xsm/xsm.h: In function ‘xsm_pci_config_permission’: ./include/xsm/xsm.h:507:19: warning: unused parameter ‘def’ [-Wunused-parameter] 507 | xsm_default_t def, struct domain *d, uint32_t machine_bdf, uint16_t start, | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_assign_dtdevice’: ./include/xen/vpci.h: In function ‘vpci_write’: ./include/xen/vpci.h:294:42: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:294:61: warning: unused parameter ‘reg’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:295:44: warning: unused parameter ‘size’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h:295:59: warning: unused parameter ‘data’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_process_pending’: ./include/xen/vpci.h:300:67: warning: unused parameter ‘v’ [-Wunused-parameter] 300 | static inline bool __must_check vpci_process_pending(struct vcpu *v) | ~~~~~~~~~~~~~^ ./include/xsm/xsm.h:534:19: warning: unused parameter ‘def’ [-Wunused-parameter] 534 | xsm_default_t def, struct domain *d, const char *dtpath) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_deassign_dtdevice’: ./include/xsm/xsm.h:540:19: warning: unused parameter ‘def’ [-Wunused-parameter] 540 | xsm_default_t def, struct domain *d, const char *dtpath) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_plug_pci’: ./include/xsm/xsm.h:547:55: warning: unused parameter ‘def’ [-Wunused-parameter] 547 | static inline int xsm_resource_plug_pci(xsm_default_t def, uint32_t machine_bdf) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_unplug_pci’: ./include/xsm/xsm.h:553:19: warning: unused parameter ‘def’ [-Wunused-parameter] 553 | xsm_default_t def, uint32_t machine_bdf) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_plug_core’: ./include/xsm/xsm.h:558:56: warning: unused parameter ‘def’ [-Wunused-parameter] 558 | static inline int xsm_resource_plug_core(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_unplug_core’: ./include/xsm/xsm.h:563:58: warning: unused parameter ‘def’ [-Wunused-parameter] 563 | static inline int xsm_resource_unplug_core(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_setup_pci’: ./include/xsm/xsm.h:569:19: warning: unused parameter ‘def’ [-Wunused-parameter] 569 | xsm_default_t def, uint32_t machine_bdf) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_setup_gsi’: ./include/xsm/xsm.h:574:56: warning: unused parameter ‘def’ [-Wunused-parameter] 574 | static inline int xsm_resource_setup_gsi(xsm_default_t def, int gsi) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_setup_misc’: ./include/xsm/xsm.h:579:57: warning: unused parameter ‘def’ [-Wunused-parameter] 579 | static inline int xsm_resource_setup_misc(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_page_offline’: ./include/xsm/xsm.h:584:50: warning: unused parameter ‘def’ [-Wunused-parameter] 584 | static inline int xsm_page_offline(xsm_default_t def, uint32_t cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hypfs_op’: ./include/xsm/xsm.h:589:46: warning: unused parameter ‘def’ [-Wunused-parameter] 589 | static inline int xsm_hypfs_op(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hvm_param’: ./include/xsm/xsm.h:607:19: warning: unused parameter ‘def’ [-Wunused-parameter] 607 | xsm_default_t def, struct domain *d, unsigned long op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hvm_param_altp2mhvm’: ./include/xsm/xsm.h:612:57: warning: unused parameter ‘def’ [-Wunused-parameter] 612 | static inline int xsm_hvm_param_altp2mhvm(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hvm_altp2mhvm_op’: ./include/xsm/xsm.h:618:19: warning: unused parameter ‘def’ [-Wunused-parameter] 618 | xsm_default_t def, struct domain *d, uint64_t mode, uint32_t op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_get_vnumainfo’: ./include/xsm/xsm.h:623:51: warning: unused parameter ‘def’ [-Wunused-parameter] 623 | static inline int xsm_get_vnumainfo(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_vm_event_control’: ./include/xsm/xsm.h:629:19: warning: unused parameter ‘def’ [-Wunused-parameter] 629 | xsm_default_t def, struct domain *d, int mode, int op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_mem_access’: ./include/xsm/xsm.h:635:48: warning: unused parameter ‘def’ [-Wunused-parameter] 635 | static inline int xsm_mem_access(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_platform_op’: ./include/xsm/xsm.h:655:49: warning: unused parameter ‘def’ [-Wunused-parameter] 655 | static inline int xsm_platform_op(xsm_default_t def, uint32_t op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_dm_op’: ./include/xsm/xsm.h:738:43: warning: unused parameter ‘def’ [-Wunused-parameter] 738 | static inline int xsm_dm_op(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_xen_version’: ./include/xsm/xsm.h:743:49: warning: unused parameter ‘def’ [-Wunused-parameter] 743 | static inline int xsm_xen_version(xsm_default_t def, uint32_t op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_domain_resource_map’: ./include/xsm/xsm.h:748:57: warning: unused parameter ‘def’ [-Wunused-parameter] 748 | static inline int xsm_domain_resource_map(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xen/sched.h: In function ‘is_pv_32bit_domain’: ./include/xen/sched.h:1131:67: warning: unused parameter ‘d’ [-Wunused-parameter] 1131 | static always_inline bool is_pv_32bit_domain(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ In file included from arch/arm/traps.c:21: ./include/xen/param.h: In function ‘no_config_param’: ./include/xen/param.h:193:19: warning: operand of ‘?:’ changes signedness from ‘long int’ to ‘size_t’ {aka ‘long unsigned int’} due to unsignedness of other operand [-Wsign-compare] 193 | int len = e ? ({ ASSERT(e >= s); e - s; }) : strlen(s); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ arch/arm/vcpreg.c: In function ‘vreg_emulate_SCTLR’: arch/arm/vcpreg.c:62:40: warning: unused parameter ‘regs’ [-Wunused-parameter] 62 | static bool func(struct cpu_user_regs *regs, type##sz##_t *r, bool read) \ | ~~~~~~~~~~~~~~~~~~~~~~^~~~ arch/arm/vcpreg.c:75:34: note: in expansion of macro ‘TVM_REG’ 75 | #define TVM_REG32(regname, xreg) TVM_REG(32, vreg_emulate_##regname, xreg) | ^~~~~~~ arch/arm/vcpreg.c:125:1: note: in expansion of macro ‘TVM_REG32’ 125 | TVM_REG32(SCTLR, SCTLR_EL1) | ^~~~~~~~~ arch/arm/vcpreg.c: In function ‘vreg_emulate_TTBR0_32’: arch/arm/vcpreg.c:62:40: warning: unused parameter ‘regs’ [-Wunused-parameter] 62 | static bool func(struct cpu_user_regs *regs, type##sz##_t *r, bool read) \ | ~~~~~~~~~~~~~~~~~~~~~~^~~~ arch/arm/vcpreg.c:75:34: note: in expansion of macro ‘TVM_REG’ 75 | #define TVM_REG32(regname, xreg) TVM_REG(32, vreg_emulate_##regname, xreg) | ^~~~~~~ arch/arm/vcpreg.c:137:1: note: in expansion of macro ‘TVM_REG32’ 137 | TVM_REG32(TTBR0_32, TTBR0_EL1) | ^~~~~~~~~ arch/arm/vcpreg.c: In function ‘vreg_emulate_TTBR1_32’: arch/arm/vcpreg.c:62:40: warning: unused parameter ‘regs’ [-Wunused-parameter] 62 | static bool func(struct cpu_user_regs *regs, type##sz##_t *r, bool read) \ | ~~~~~~~~~~~~~~~~~~~~~~^~~~ arch/arm/vcpreg.c:75:34: note: in expansion of macro ‘TVM_REG’ 75 | #define TVM_REG32(regname, xreg) TVM_REG(32, vreg_emulate_##regname, xreg) | ^~~~~~~ arch/arm/vcpreg.c:138:1: note: in expansion of macro ‘TVM_REG32’ 138 | TVM_REG32(TTBR1_32, TTBR1_EL1) | ^~~~~~~~~ arch/arm/vcpreg.c: In function ‘vreg_emulate_TTBR0’: arch/arm/vcpreg.c:62:40: warning: unused parameter ‘regs’ [-Wunused-parameter] 62 | static bool func(struct cpu_user_regs *regs, type##sz##_t *r, bool read) \ | ~~~~~~~~~~~~~~~~~~~~~~^~~~ arch/arm/vcpreg.c:76:34: note: in expansion of macro ‘TVM_REG’ 76 | #define TVM_REG64(regname, xreg) TVM_REG(64, vreg_emulate_##regname, xreg) | ^~~~~~~ arch/arm/vcpreg.c:140:1: note: in expansion of macro ‘TVM_REG64’ 140 | TVM_REG64(TTBR0, TTBR0_EL1) | ^~~~~~~~~ arch/arm/vcpreg.c: In function ‘vreg_emulate_TTBR1’: arch/arm/vcpreg.c:62:40: warning: unused parameter ‘regs’ [-Wunused-parameter] 62 | static bool func(struct cpu_user_regs *regs, type##sz##_t *r, bool read) \ | ~~~~~~~~~~~~~~~~~~~~~~^~~~ arch/arm/vcpreg.c:76:34: note: in expansion of macro ‘TVM_REG’ 76 | #define TVM_REG64(regname, xreg) TVM_REG(64, vreg_emulate_##regname, xreg) | ^~~~~~~ arch/arm/vcpreg.c:141:1: note: in expansion of macro ‘TVM_REG64’ 141 | TVM_REG64(TTBR1, TTBR1_EL1) | ^~~~~~~~~ arch/arm/vcpreg.c: In function ‘vreg_emulate_TCR_EL1’: arch/arm/vcpreg.c:86:55: warning: unused parameter ‘regs’ [-Wunused-parameter] 86 | static bool vreg_emulate_##xreg(struct cpu_user_regs *regs, register_t *r, \ | ~~~~~~~~~~~~~~~~~~~~~~^~~~ arch/arm/vcpreg.c:143:1: note: in expansion of macro ‘TVM_REG32_COMBINED’ 143 | TVM_REG32_COMBINED(TTBCR, TTBCR2, TCR_EL1) | ^~~~~~~~~~~~~~~~~~ arch/arm/vcpreg.c: In function ‘vreg_emulate_DACR’: arch/arm/vcpreg.c:62:40: warning: unused parameter ‘regs’ [-Wunused-parameter] 62 | static bool func(struct cpu_user_regs *regs, type##sz##_t *r, bool read) \ | ~~~~~~~~~~~~~~~~~~~~~~^~~~ arch/arm/vcpreg.c:75:34: note: in expansion of macro ‘TVM_REG’ 75 | #define TVM_REG32(regname, xreg) TVM_REG(32, vreg_emulate_##regname, xreg) | ^~~~~~~ arch/arm/vcpreg.c:144:1: note: in expansion of macro ‘TVM_REG32’ 144 | TVM_REG32(DACR, DACR32_EL2) | ^~~~~~~~~ In file included from arch/arm/traps.c:36: ./arch/arm/include/asm/event.h: In function ‘arch_virq_is_global’: ./arch/arm/include/asm/event.h:50:53: warning: unused parameter ‘virq’ [-Wunused-parameter] 50 | static inline bool arch_virq_is_global(unsigned int virq) | ~~~~~~~~~~~~~^~~~ arch/arm/vcpreg.c: In function ‘vreg_emulate_DFSR’: arch/arm/vcpreg.c:62:40: warning: unused parameter ‘regs’ [-Wunused-parameter] 62 | static bool func(struct cpu_user_regs *regs, type##sz##_t *r, bool read) \ | ~~~~~~~~~~~~~~~~~~~~~~^~~~ arch/arm/vcpreg.c:75:34: note: in expansion of macro ‘TVM_REG’ 75 | #define TVM_REG32(regname, xreg) TVM_REG(32, vreg_emulate_##regname, xreg) | ^~~~~~~ arch/arm/vcpreg.c:145:1: note: in expansion of macro ‘TVM_REG32’ 145 | TVM_REG32(DFSR, ESR_EL1) | ^~~~~~~~~ arch/arm/vcpreg.c: In function ‘vreg_emulate_IFSR’: arch/arm/vcpreg.c:62:40: warning: unused parameter ‘regs’ [-Wunused-parameter] 62 | static bool func(struct cpu_user_regs *regs, type##sz##_t *r, bool read) \ | ~~~~~~~~~~~~~~~~~~~~~~^~~~ arch/arm/vcpreg.c:75:34: note: in expansion of macro ‘TVM_REG’ 75 | #define TVM_REG32(regname, xreg) TVM_REG(32, vreg_emulate_##regname, xreg) | ^~~~~~~ arch/arm/vcpreg.c:146:1: note: in expansion of macro ‘TVM_REG32’ 146 | TVM_REG32(IFSR, IFSR32_EL2) | ^~~~~~~~~ arch/arm/vcpreg.c: In function ‘vreg_emulate_FAR_EL1’: arch/arm/vcpreg.c:86:55: warning: unused parameter ‘regs’ [-Wunused-parameter] 86 | static bool vreg_emulate_##xreg(struct cpu_user_regs *regs, register_t *r, \ | ~~~~~~~~~~~~~~~~~~~~~~^~~~ arch/arm/vcpreg.c:148:1: note: in expansion of macro ‘TVM_REG32_COMBINED’ 148 | TVM_REG32_COMBINED(DFAR, IFAR, FAR_EL1) | ^~~~~~~~~~~~~~~~~~ arch/arm/vcpreg.c: In function ‘vreg_emulate_ADFSR’: arch/arm/vcpreg.c:62:40: warning: unused parameter ‘regs’ [-Wunused-parameter] 62 | static bool func(struct cpu_user_regs *regs, type##sz##_t *r, bool read) \ | ~~~~~~~~~~~~~~~~~~~~~~^~~~ arch/arm/vcpreg.c:75:34: note: in expansion of macro ‘TVM_REG’ 75 | #define TVM_REG32(regname, xreg) TVM_REG(32, vreg_emulate_##regname, xreg) | ^~~~~~~ arch/arm/vcpreg.c:149:1: note: in expansion of macro ‘TVM_REG32’ 149 | TVM_REG32(ADFSR, AFSR0_EL1) | ^~~~~~~~~ arch/arm/vcpreg.c: In function ‘vreg_emulate_AIFSR’: arch/arm/vcpreg.c:62:40: warning: unused parameter ‘regs’ [-Wunused-parameter] 62 | static bool func(struct cpu_user_regs *regs, type##sz##_t *r, bool read) \ | ~~~~~~~~~~~~~~~~~~~~~~^~~~ arch/arm/vcpreg.c:75:34: note: in expansion of macro ‘TVM_REG’ 75 | #define TVM_REG32(regname, xreg) TVM_REG(32, vreg_emulate_##regname, xreg) | ^~~~~~~ arch/arm/vcpreg.c:150:1: note: in expansion of macro ‘TVM_REG32’ 150 | TVM_REG32(AIFSR, AFSR1_EL1) | ^~~~~~~~~ arch/arm/traps.c: At top level: arch/arm/traps.c:147:1: warning: ‘static’ is not at beginning of declaration [-Wold-style-declaration] 147 | __initcall(update_serrors_cpu_caps); | ^~~~~~~~~~ arch/arm/vcpreg.c: In function ‘vreg_emulate_MAIR_EL1’: arch/arm/vcpreg.c:86:55: warning: unused parameter ‘regs’ [-Wunused-parameter] 86 | static bool vreg_emulate_##xreg(struct cpu_user_regs *regs, register_t *r, \ | ~~~~~~~~~~~~~~~~~~~~~~^~~~ arch/arm/vcpreg.c:152:1: note: in expansion of macro ‘TVM_REG32_COMBINED’ 152 | TVM_REG32_COMBINED(MAIR0, MAIR1, MAIR_EL1) | ^~~~~~~~~~~~~~~~~~ arch/arm/vcpreg.c: In function ‘vreg_emulate_AMAIR_EL1’: arch/arm/vcpreg.c:86:55: warning: unused parameter ‘regs’ [-Wunused-parameter] 86 | static bool vreg_emulate_##xreg(struct cpu_user_regs *regs, register_t *r, \ | ~~~~~~~~~~~~~~~~~~~~~~^~~~ arch/arm/vcpreg.c:154:1: note: in expansion of macro ‘TVM_REG32_COMBINED’ 154 | TVM_REG32_COMBINED(AMAIR0, AMAIR1, AMAIR_EL1) | ^~~~~~~~~~~~~~~~~~ arch/arm/vcpreg.c: In function ‘vreg_emulate_CONTEXTIDR’: arch/arm/vcpreg.c:62:40: warning: unused parameter ‘regs’ [-Wunused-parameter] 62 | static bool func(struct cpu_user_regs *regs, type##sz##_t *r, bool read) \ | ~~~~~~~~~~~~~~~~~~~~~~^~~~ arch/arm/vcpreg.c:75:34: note: in expansion of macro ‘TVM_REG’ 75 | #define TVM_REG32(regname, xreg) TVM_REG(32, vreg_emulate_##regname, xreg) | ^~~~~~~ arch/arm/vcpreg.c:155:1: note: in expansion of macro ‘TVM_REG32’ 155 | TVM_REG32(CONTEXTIDR, CONTEXTIDR_EL1) | ^~~~~~~~~ arch/arm/traps.c: In function ‘show_registers_32’: arch/arm/traps.c:760:50: warning: unused parameter ‘v’ [-Wunused-parameter] 760 | const struct vcpu *v) | ~~~~~~~~~~~~~~~~~~~^ arch/arm/traps.c: In function ‘show_registers_64’: arch/arm/traps.c:837:50: warning: unused parameter ‘v’ [-Wunused-parameter] 837 | const struct vcpu *v) | ~~~~~~~~~~~~~~~~~~~^ arch/arm/traps.c: In function ‘dep_sched_op_compat’: arch/arm/traps.c:1340:30: warning: unused parameter ‘cmd’ [-Wunused-parameter] 1340 | long dep_sched_op_compat(int cmd, unsigned long arg) | ~~~~^~~ arch/arm/traps.c:1340:49: warning: unused parameter ‘arg’ [-Wunused-parameter] 1340 | long dep_sched_op_compat(int cmd, unsigned long arg) | ~~~~~~~~~~~~~~^~~ arch/arm/traps.c: In function ‘dep_event_channel_op_compat’: arch/arm/traps.c:1345:70: warning: unused parameter ‘uop’ [-Wunused-parameter] 1345 | long dep_event_channel_op_compat(XEN_GUEST_HANDLE_PARAM(evtchn_op_t) uop) arch/arm/traps.c: In function ‘dep_physdev_op_compat’: arch/arm/traps.c:1350:65: warning: unused parameter ‘uop’ [-Wunused-parameter] 1350 | long dep_physdev_op_compat(XEN_GUEST_HANDLE_PARAM(physdev_op_t) uop) arch/arm/traps.c: In function ‘do_trap_hypercall’: arch/arm/traps.c:1423:63: warning: comparison of integer expressions of different signedness: ‘uint64_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1423 | if ( !curr->hcall_preempted && HYPERCALL_RESULT_REG(regs) != -ENOSYS ) | ^~ arch/arm/traps.c: In function ‘handle_wo_wi’: arch/arm/traps.c:1659:23: warning: unused parameter ‘regidx’ [-Wunused-parameter] 1659 | int regidx, | ~~~~^~~~~~ arch/arm/traps.c: In function ‘get_hfar’: arch/arm/traps.c:1713:37: warning: unused parameter ‘is_data’ [-Wunused-parameter] 1713 | static inline vaddr_t get_hfar(bool is_data) CC arch/arm/vgic/vgic.o In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/sched.h:6, from arch/arm/vgic/vgic.c:20: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/rwlock.h:6, from ./include/xen/sched.h:7: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/domain.h:5, from ./include/xen/sched.h:11: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233, from ./arch/arm/include/asm/p2m.h:4, from ./arch/arm/include/asm/domain.h:7, from ./include/xen/domain.h:15: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘arch_vcpu_block’: ./arch/arm/include/asm/domain.h:297:49: warning: unused parameter ‘v’ [-Wunused-parameter] 297 | static inline void arch_vcpu_block(struct vcpu *v) {} | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘update_guest_memory_policy’: ./arch/arm/include/asm/domain.h:309:60: warning: unused parameter ‘v’ [-Wunused-parameter] 309 | static inline void update_guest_memory_policy(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h:310:75: warning: unused parameter ‘gmp’ [-Wunused-parameter] 310 | struct guest_memory_policy *gmp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from ./include/xen/sched.h:25: ./include/xen/vpci.h: In function ‘vpci_assign_device’: ./include/xen/vpci.h:278:54: warning: unused parameter ‘pdev’ [-Wunused-parameter] 278 | static inline int vpci_assign_device(struct pci_dev *pdev) | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_deassign_device’: ./include/xen/vpci.h:283:57: warning: unused parameter ‘pdev’ [-Wunused-parameter] 283 | static inline void vpci_deassign_device(struct pci_dev *pdev) { } | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_read’: ./include/xen/vpci.h:287:45: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:287:64: warning: unused parameter ‘reg’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:288:47: warning: unused parameter ‘size’ [-Wunused-parameter] 288 | unsigned int size) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_write’: ./include/xen/vpci.h:294:42: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:294:61: warning: unused parameter ‘reg’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:295:44: warning: unused parameter ‘size’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h:295:59: warning: unused parameter ‘data’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_process_pending’: ./include/xen/vpci.h:300:67: warning: unused parameter ‘v’ [-Wunused-parameter] 300 | static inline bool __must_check vpci_process_pending(struct vcpu *v) | ~~~~~~~~~~~~~^ ./include/xen/sched.h: In function ‘is_pv_32bit_domain’: ./include/xen/sched.h:1131:67: warning: unused parameter ‘d’ [-Wunused-parameter] 1131 | static always_inline bool is_pv_32bit_domain(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ In file included from arch/arm/vgic/vgic.c:21: ./arch/arm/include/asm/event.h: In function ‘arch_virq_is_global’: ./arch/arm/include/asm/event.h:50:53: warning: unused parameter ‘virq’ [-Wunused-parameter] 50 | static inline bool arch_virq_is_global(unsigned int virq) | ~~~~~~~~~~~~~^~~~ arch/arm/vgic/vgic.c: In function ‘vgic_irq_cmp’: arch/arm/vgic/vgic.c:212:31: warning: unused parameter ‘priv’ [-Wunused-parameter] 212 | static int vgic_irq_cmp(void *priv, struct list_head *a, struct list_head *b) | ~~~~~~^~~~ arch/arm/vgic/vgic.c: In function ‘vgic_queue_irq_unlock’: arch/arm/vgic/vgic.c:281:43: warning: unused parameter ‘d’ [-Wunused-parameter] 281 | void vgic_queue_irq_unlock(struct domain *d, struct vgic_irq *irq, | ~~~~~~~~~~~~~~~^ arch/arm/vgic/vgic.c: In function ‘vgic_flush_lr_state’: arch/arm/vgic/vgic.c:566:38: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 566 | if ( compute_ap_list_depth(vcpu) > gic_get_nr_lrs() ) | ^ arch/arm/vgic/vgic.c:578:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 578 | if ( count == gic_get_nr_lrs() ) | ^~ arch/arm/vgic/vgic.c: In function ‘vgic_allocate_virq’: arch/arm/vgic/vgic.c:745:19: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] 745 | if ( virq >= end ) | ^~ arch/arm/vgic/vgic.c: In function ‘vgic_clear_pending_irqs’: arch/arm/vgic/vgic.c:782:43: warning: unused parameter ‘v’ [-Wunused-parameter] 782 | void vgic_clear_pending_irqs(struct vcpu *v) | ~~~~~~~~~~~~~^ arch/arm/vgic/vgic.c: In function ‘vgic_emulate’: arch/arm/vgic/vgic.c:852:41: warning: unused parameter ‘regs’ [-Wunused-parameter] 852 | bool vgic_emulate(struct cpu_user_regs *regs, union hsr hsr) | ~~~~~~~~~~~~~~~~~~~~~~^~~~ arch/arm/vgic/vgic.c:852:57: warning: unused parameter ‘hsr’ [-Wunused-parameter] 852 | bool vgic_emulate(struct cpu_user_regs *regs, union hsr hsr) | ~~~~~~~~~~^~~ arch/arm/vgic/vgic.c: In function ‘vgic_connect_hw_irq’: arch/arm/vgic/vgic.c:893:35: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 893 | if ( desc && irq->hwintid != desc->irq ) | ^~ In file included from ././include/xen/config.h:17, from : arch/arm/vgic/vgic.c: In function ‘vgic_sync_hardware_irq’: arch/arm/vgic/vgic.c:927:33: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare] 927 | ASSERT(irq->hw && desc->irq == irq->hwintid); | ^~ ./include/xen/compiler.h:21:43: note: in definition of macro ‘unlikely’ 21 | #define unlikely(x) __builtin_expect(!!(x),0) | ^ arch/arm/vgic/vgic.c:927:5: note: in expansion of macro ‘ASSERT’ 927 | ASSERT(irq->hw && desc->irq == irq->hwintid); | ^~~~~~ CC arch/arm/vm_event.o In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/sched.h:6, from arch/arm/vm_event.c:10: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/rwlock.h:6, from ./include/xen/sched.h:7: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/domain.h:5, from ./include/xen/sched.h:11: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233, from ./arch/arm/include/asm/p2m.h:4, from ./arch/arm/include/asm/domain.h:7, from ./include/xen/domain.h:15: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘arch_vcpu_block’: ./arch/arm/include/asm/domain.h:297:49: warning: unused parameter ‘v’ [-Wunused-parameter] 297 | static inline void arch_vcpu_block(struct vcpu *v) {} | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘update_guest_memory_policy’: ./arch/arm/include/asm/domain.h:309:60: warning: unused parameter ‘v’ [-Wunused-parameter] 309 | static inline void update_guest_memory_policy(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h:310:75: warning: unused parameter ‘gmp’ [-Wunused-parameter] 310 | struct guest_memory_policy *gmp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from ./include/xen/sched.h:25: ./include/xen/vpci.h: In function ‘vpci_assign_device’: ./include/xen/vpci.h:278:54: warning: unused parameter ‘pdev’ [-Wunused-parameter] 278 | static inline int vpci_assign_device(struct pci_dev *pdev) | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_deassign_device’: ./include/xen/vpci.h:283:57: warning: unused parameter ‘pdev’ [-Wunused-parameter] 283 | static inline void vpci_deassign_device(struct pci_dev *pdev) { } | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_read’: ./include/xen/vpci.h:287:45: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:287:64: warning: unused parameter ‘reg’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:288:47: warning: unused parameter ‘size’ [-Wunused-parameter] 288 | unsigned int size) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_write’: ./include/xen/vpci.h:294:42: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:294:61: warning: unused parameter ‘reg’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:295:44: warning: unused parameter ‘size’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h:295:59: warning: unused parameter ‘data’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_process_pending’: ./include/xen/vpci.h:300:67: warning: unused parameter ‘v’ [-Wunused-parameter] 300 | static inline bool __must_check vpci_process_pending(struct vcpu *v) | ~~~~~~~~~~~~~^ ./include/xen/sched.h: In function ‘is_pv_32bit_domain’: ./include/xen/sched.h:1131:67: warning: unused parameter ‘d’ [-Wunused-parameter] 1131 | static always_inline bool is_pv_32bit_domain(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ In file included from ./arch/arm/include/generated/asm/vm_event.h:1, from ./include/xen/vm_event.h:28, from arch/arm/vm_event.c:11: ./include/asm-generic/vm_event.h: In function ‘vm_event_init_domain’: ./include/asm-generic/vm_event.h:14:55: warning: unused parameter ‘d’ [-Wunused-parameter] 14 | static inline int vm_event_init_domain(struct domain *d) | ~~~~~~~~~~~~~~~^ ./include/asm-generic/vm_event.h: In function ‘vm_event_toggle_singlestep’: ./include/asm-generic/vm_event.h:25:62: warning: unused parameter ‘d’ [-Wunused-parameter] 25 | static inline void vm_event_toggle_singlestep(struct domain *d, struct vcpu *v, | ~~~~~~~~~~~~~~~^ ./include/asm-generic/vm_event.h:25:78: warning: unused parameter ‘v’ [-Wunused-parameter] 25 | static inline void vm_event_toggle_singlestep(struct domain *d, struct vcpu *v, | ~~~~~~~~~~~~~^ ./include/asm-generic/vm_event.h:26:68: warning: unused parameter ‘rsp’ [-Wunused-parameter] 26 | vm_event_response_t *rsp) | ~~~~~~~~~~~~~~~~~~~~~^~~ ./include/asm-generic/vm_event.h: In function ‘vm_event_register_write_resume’: ./include/asm-generic/vm_event.h:32:50: warning: unused parameter ‘v’ [-Wunused-parameter] 32 | void vm_event_register_write_resume(struct vcpu *v, vm_event_response_t *rsp) | ~~~~~~~~~~~~~^ ./include/asm-generic/vm_event.h:32:74: warning: unused parameter ‘rsp’ [-Wunused-parameter] 32 | void vm_event_register_write_resume(struct vcpu *v, vm_event_response_t *rsp) | ~~~~~~~~~~~~~~~~~~~~~^~~ ./include/asm-generic/vm_event.h: In function ‘vm_event_emulate_check’: ./include/asm-generic/vm_event.h:38:42: warning: unused parameter ‘v’ [-Wunused-parameter] 38 | void vm_event_emulate_check(struct vcpu *v, vm_event_response_t *rsp) | ~~~~~~~~~~~~~^ ./include/asm-generic/vm_event.h:38:66: warning: unused parameter ‘rsp’ [-Wunused-parameter] 38 | void vm_event_emulate_check(struct vcpu *v, vm_event_response_t *rsp) | ~~~~~~~~~~~~~~~~~~~~~^~~ ./include/asm-generic/vm_event.h: In function ‘vm_event_sync_event’: ./include/asm-generic/vm_event.h:44:39: warning: unused parameter ‘v’ [-Wunused-parameter] 44 | void vm_event_sync_event(struct vcpu *v, bool value) | ~~~~~~~~~~~~~^ ./include/asm-generic/vm_event.h:44:47: warning: unused parameter ‘value’ [-Wunused-parameter] 44 | void vm_event_sync_event(struct vcpu *v, bool value) ./include/asm-generic/vm_event.h: In function ‘vm_event_reset_vmtrace’: ./include/asm-generic/vm_event.h:50:42: warning: unused parameter ‘v’ [-Wunused-parameter] 50 | void vm_event_reset_vmtrace(struct vcpu *v) | ~~~~~~~~~~~~~^ arch/arm/vm_event.c: In function ‘vm_event_monitor_next_interrupt’: arch/arm/vm_event.c:34:51: warning: unused parameter ‘v’ [-Wunused-parameter] 34 | void vm_event_monitor_next_interrupt(struct vcpu *v) | ~~~~~~~~~~~~~^ CC arch/arm/vtimer.o In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/acpi/platform/aclinux.h:54, from ./include/acpi/platform/acenv.h:142, from ./include/acpi/acpi.h:56, from ./include/xen/acpi.h:57, from arch/arm/vtimer.c:11: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/perfc.h:7, from ./include/xen/mm.h:70, from ./arch/arm/include/asm/p2m.h:4, from ./arch/arm/include/asm/setup.h:5, from ./arch/arm/include/asm/acpi.h:25, from ./include/acpi/platform/aclinux.h:58: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./include/xen/acpi.h: In function ‘acpi_set_cstate_limit’: ./include/xen/acpi.h:192:55: warning: unused parameter ‘new_limit’ [-Wunused-parameter] 192 | static inline void acpi_set_cstate_limit(unsigned int new_limit) { return; } | ~~~~~~~~~~~~~^~~~~~~~~ ./include/xen/acpi.h: In function ‘acpi_set_csubstate_limit’: ./include/xen/acpi.h:194:58: warning: unused parameter ‘new_limit’ [-Wunused-parameter] 194 | static inline void acpi_set_csubstate_limit(unsigned int new_limit) { return; } | ~~~~~~~~~~~~~^~~~~~~~~ In file included from ./include/xen/domain.h:5, from ./include/xen/sched.h:11, from arch/arm/vtimer.c:14: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ In file included from ./include/xen/domain.h:15: ./arch/arm/include/asm/domain.h: In function ‘arch_vcpu_block’: ./arch/arm/include/asm/domain.h:297:49: warning: unused parameter ‘v’ [-Wunused-parameter] 297 | static inline void arch_vcpu_block(struct vcpu *v) {} | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘update_guest_memory_policy’: ./arch/arm/include/asm/domain.h:309:60: warning: unused parameter ‘v’ [-Wunused-parameter] 309 | static inline void update_guest_memory_policy(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h:310:75: warning: unused parameter ‘gmp’ [-Wunused-parameter] 310 | struct guest_memory_policy *gmp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from ./include/xen/sched.h:25: ./include/xen/vpci.h: In function ‘vpci_assign_device’: ./include/xen/vpci.h:278:54: warning: unused parameter ‘pdev’ [-Wunused-parameter] 278 | static inline int vpci_assign_device(struct pci_dev *pdev) | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_deassign_device’: ./include/xen/vpci.h:283:57: warning: unused parameter ‘pdev’ [-Wunused-parameter] 283 | static inline void vpci_deassign_device(struct pci_dev *pdev) { } | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_read’: ./include/xen/vpci.h:287:45: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:287:64: warning: unused parameter ‘reg’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:288:47: warning: unused parameter ‘size’ [-Wunused-parameter] 288 | unsigned int size) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_write’: ./include/xen/vpci.h:294:42: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:294:61: warning: unused parameter ‘reg’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:295:44: warning: unused parameter ‘size’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h:295:59: warning: unused parameter ‘data’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_process_pending’: ./include/xen/vpci.h:300:67: warning: unused parameter ‘v’ [-Wunused-parameter] 300 | static inline bool __must_check vpci_process_pending(struct vcpu *v) | ~~~~~~~~~~~~~^ ./include/xen/sched.h: In function ‘is_pv_32bit_domain’: ./include/xen/sched.h:1131:67: warning: unused parameter ‘d’ [-Wunused-parameter] 1131 | static always_inline bool is_pv_32bit_domain(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ CC arch/arm/vgic/vgic-v2.o In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/current.h:8, from ./include/asm-generic/percpu.h:8, from ./arch/arm/include/generated/asm/percpu.h:1, from ./include/xen/percpu.h:30, from ./include/xen/rwlock.h:4, from ./arch/arm/include/asm/mmio.h:23, from ./arch/arm/include/asm/new_vgic.h:20, from arch/arm/vgic/vgic-v2.c:18: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/rwlock.h:6: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43, from ./include/xen/rwlock.h:7: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233, from ./arch/arm/include/asm/new_vgic.h:22: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from ./include/xen/irq.h:5, from ./arch/arm/include/asm/gic.h:163, from arch/arm/vgic/vgic-v2.c:19: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/domain.h:5, from ./include/xen/sched.h:11, from arch/arm/vgic/vgic-v2.c:21: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7, from ./arch/arm/include/asm/domain.h:7, from ./include/xen/domain.h:15: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘arch_vcpu_block’: ./arch/arm/include/asm/domain.h:297:49: warning: unused parameter ‘v’ [-Wunused-parameter] 297 | static inline void arch_vcpu_block(struct vcpu *v) {} | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘update_guest_memory_policy’: ./arch/arm/include/asm/domain.h:309:60: warning: unused parameter ‘v’ [-Wunused-parameter] 309 | static inline void update_guest_memory_policy(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h:310:75: warning: unused parameter ‘gmp’ [-Wunused-parameter] 310 | struct guest_memory_policy *gmp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from ./include/xen/sched.h:25: ./include/xen/vpci.h: In function ‘vpci_assign_device’: ./include/xen/vpci.h:278:54: warning: unused parameter ‘pdev’ [-Wunused-parameter] 278 | static inline int vpci_assign_device(struct pci_dev *pdev) | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_deassign_device’: ./include/xen/vpci.h:283:57: warning: unused parameter ‘pdev’ [-Wunused-parameter] 283 | static inline void vpci_deassign_device(struct pci_dev *pdev) { } | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_read’: ./include/xen/vpci.h:287:45: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:287:64: warning: unused parameter ‘reg’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:288:47: warning: unused parameter ‘size’ [-Wunused-parameter] 288 | unsigned int size) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_write’: ./include/xen/vpci.h:294:42: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:294:61: warning: unused parameter ‘reg’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:295:44: warning: unused parameter ‘size’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h:295:59: warning: unused parameter ‘data’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_process_pending’: ./include/xen/vpci.h:300:67: warning: unused parameter ‘v’ [-Wunused-parameter] 300 | static inline bool __must_check vpci_process_pending(struct vcpu *v) | ~~~~~~~~~~~~~^ ./include/xen/sched.h: In function ‘is_pv_32bit_domain’: ./include/xen/sched.h:1131:67: warning: unused parameter ‘d’ [-Wunused-parameter] 1131 | static always_inline bool is_pv_32bit_domain(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ arch/arm/vgic/vgic-v2.c: In function ‘vgic_v2_populate_lr’: arch/arm/vgic/vgic-v2.c:192:39: warning: unused parameter ‘vcpu’ [-Wunused-parameter] 192 | void vgic_v2_populate_lr(struct vcpu *vcpu, struct vgic_irq *irq, int lr) | ~~~~~~~~~~~~~^~~~ arch/arm/vgic/vgic-v2.c: In function ‘vgic_v2_enable’: arch/arm/vgic/vgic-v2.c:252:34: warning: unused parameter ‘vcpu’ [-Wunused-parameter] 252 | void vgic_v2_enable(struct vcpu *vcpu) | ~~~~~~~~~~~~~^~~~ CC arch/arm/vpl011.o In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/sched.h:6, from ./include/xen/event.h:12, from arch/arm/vpl011.c:14: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/rwlock.h:6, from ./include/xen/sched.h:7: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/domain.h:5, from ./include/xen/sched.h:11: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233, from ./arch/arm/include/asm/p2m.h:4, from ./arch/arm/include/asm/domain.h:7, from ./include/xen/domain.h:15: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ CC arch/arm/vgic/vgic-mmio.o ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘arch_vcpu_block’: ./arch/arm/include/asm/domain.h:297:49: warning: unused parameter ‘v’ [-Wunused-parameter] 297 | static inline void arch_vcpu_block(struct vcpu *v) {} | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘update_guest_memory_policy’: ./arch/arm/include/asm/domain.h:309:60: warning: unused parameter ‘v’ [-Wunused-parameter] 309 | static inline void update_guest_memory_policy(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h:310:75: warning: unused parameter ‘gmp’ [-Wunused-parameter] 310 | struct guest_memory_policy *gmp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from ./include/xen/sched.h:25: ./include/xen/vpci.h: In function ‘vpci_assign_device’: ./include/xen/vpci.h:278:54: warning: unused parameter ‘pdev’ [-Wunused-parameter] 278 | static inline int vpci_assign_device(struct pci_dev *pdev) | ~~~~~~~~~~~~~~~~^~~~ In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/sched.h:6, from arch/arm/vgic/vgic-mmio.c:17: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h: In function ‘vpci_deassign_device’: ./include/xen/vpci.h:283:57: warning: unused parameter ‘pdev’ [-Wunused-parameter] 283 | static inline void vpci_deassign_device(struct pci_dev *pdev) { } | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_read’: ./include/xen/vpci.h:287:45: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:287:64: warning: unused parameter ‘reg’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:288:47: warning: unused parameter ‘size’ [-Wunused-parameter] 288 | unsigned int size) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_write’: ./include/xen/vpci.h:294:42: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:294:61: warning: unused parameter ‘reg’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:295:44: warning: unused parameter ‘size’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h:295:59: warning: unused parameter ‘data’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_process_pending’: ./include/xen/vpci.h:300:67: warning: unused parameter ‘v’ [-Wunused-parameter] 300 | static inline bool __must_check vpci_process_pending(struct vcpu *v) | ~~~~~~~~~~~~~^ CC arch/arm/vsmc.o ./include/xen/sched.h: In function ‘is_pv_32bit_domain’: In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/xen/sched.h:1131:67: warning: unused parameter ‘d’ [-Wunused-parameter] 1131 | static always_inline bool is_pv_32bit_domain(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ In file included from ./include/xen/event.h:17: ./arch/arm/include/asm/event.h: In function ‘arch_virq_is_global’: ./arch/arm/include/asm/event.h:50:53: warning: unused parameter ‘virq’ [-Wunused-parameter] 50 | static inline bool arch_virq_is_global(unsigned int virq) | ~~~~~~~~~~~~~^~~~ In file included from arch/arm/vpl011.c:21: ./include/xen/serial.h: At top level: ./include/xen/serial.h:166:1: warning: ‘inline’ is not at beginning of declaration [-Wold-style-declaration] 166 | static void inline xhci_dbc_uart_init(void) {} | ^~~~~~ arch/arm/vpl011.c: In function ‘vpl011_mmio_read’: arch/arm/vpl011.c:346:35: warning: unused parameter ‘priv’ [-Wunused-parameter] 346 | void *priv) | ~~~~~~^~~~ arch/arm/vpl011.c: In function ‘vpl011_mmio_write’: arch/arm/vpl011.c:435:36: warning: unused parameter ‘priv’ [-Wunused-parameter] 435 | void *priv) | ~~~~~~^~~~ arch/arm/vpl011.c: In function ‘vpl011_notification’: arch/arm/vpl011.c:601:62: warning: unused parameter ‘port’ [-Wunused-parameter] 601 | static void vpl011_notification(struct vcpu *v, unsigned int port) | ~~~~~~~~~~~~~^~~~ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/rwlock.h:6, from ./include/xen/sched.h:7: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./arch/arm/include/asm/cpuerrata.h:4, from arch/arm/vsmc.c:13: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./include/xen/domain.h:5, from ./include/xen/sched.h:11: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43, from ./include/xen/sched.h:6, from ./arch/arm/include/asm/monitor.h:25, from arch/arm/vsmc.c:15: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233, from ./arch/arm/include/asm/p2m.h:4, from ./arch/arm/include/asm/domain.h:7, from ./include/xen/domain.h:15: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/rwlock.h:6, from ./include/xen/sched.h:7: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ ./arch/arm/include/asm/domain.h: In function ‘arch_vcpu_block’: ./arch/arm/include/asm/domain.h:297:49: warning: unused parameter ‘v’ [-Wunused-parameter] 297 | static inline void arch_vcpu_block(struct vcpu *v) {} | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘update_guest_memory_policy’: ./arch/arm/include/asm/domain.h:309:60: warning: unused parameter ‘v’ [-Wunused-parameter] 309 | static inline void update_guest_memory_policy(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h:310:75: warning: unused parameter ‘gmp’ [-Wunused-parameter] 310 | struct guest_memory_policy *gmp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from ./include/xen/domain.h:5, from ./include/xen/sched.h:11: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ In file included from ./include/xen/sched.h:25: ./include/xen/vpci.h: In function ‘vpci_assign_device’: ./include/xen/vpci.h:278:54: warning: unused parameter ‘pdev’ [-Wunused-parameter] 278 | static inline int vpci_assign_device(struct pci_dev *pdev) | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_deassign_device’: ./include/xen/vpci.h:283:57: warning: unused parameter ‘pdev’ [-Wunused-parameter] 283 | static inline void vpci_deassign_device(struct pci_dev *pdev) { } | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_read’: ./include/xen/vpci.h:287:45: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:287:64: warning: unused parameter ‘reg’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:288:47: warning: unused parameter ‘size’ [-Wunused-parameter] 288 | unsigned int size) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_write’: ./include/xen/vpci.h:294:42: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:294:61: warning: unused parameter ‘reg’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:295:44: warning: unused parameter ‘size’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h:295:59: warning: unused parameter ‘data’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_process_pending’: ./include/xen/vpci.h:300:67: warning: unused parameter ‘v’ [-Wunused-parameter] 300 | static inline bool __must_check vpci_process_pending(struct vcpu *v) | ~~~~~~~~~~~~~^ ./include/xen/sched.h: In function ‘is_pv_32bit_domain’: ./include/xen/sched.h:1131:67: warning: unused parameter ‘d’ [-Wunused-parameter] 1131 | static always_inline bool is_pv_32bit_domain(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233, from ./arch/arm/include/asm/p2m.h:4, from ./arch/arm/include/asm/domain.h:7, from ./include/xen/domain.h:15: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ arch/arm/vgic/vgic-mmio.c: In function ‘vgic_mmio_read_raz’: arch/arm/vgic/vgic-mmio.c:24:47: warning: unused parameter ‘vcpu’ [-Wunused-parameter] 24 | unsigned long vgic_mmio_read_raz(struct vcpu *vcpu, | ~~~~~~~~~~~~~^~~~ arch/arm/vgic/vgic-mmio.c:25:42: warning: unused parameter ‘addr’ [-Wunused-parameter] 25 | paddr_t addr, unsigned int len) | ~~~~~~~~^~~~ arch/arm/vgic/vgic-mmio.c:25:61: warning: unused parameter ‘len’ [-Wunused-parameter] 25 | paddr_t addr, unsigned int len) | ~~~~~~~~~~~~~^~~ arch/arm/vgic/vgic-mmio.c: In function ‘vgic_mmio_read_rao’: arch/arm/vgic/vgic-mmio.c:30:47: warning: unused parameter ‘vcpu’ [-Wunused-parameter] 30 | unsigned long vgic_mmio_read_rao(struct vcpu *vcpu, | ~~~~~~~~~~~~~^~~~ arch/arm/vgic/vgic-mmio.c:31:42: warning: unused parameter ‘addr’ [-Wunused-parameter] 31 | paddr_t addr, unsigned int len) | ~~~~~~~~^~~~ arch/arm/vgic/vgic-mmio.c:31:61: warning: unused parameter ‘len’ [-Wunused-parameter] 31 | paddr_t addr, unsigned int len) | ~~~~~~~~~~~~~^~~ arch/arm/vgic/vgic-mmio.c: In function ‘vgic_mmio_write_wi’: arch/arm/vgic/vgic-mmio.c:36:38: warning: unused parameter ‘vcpu’ [-Wunused-parameter] 36 | void vgic_mmio_write_wi(struct vcpu *vcpu, paddr_t addr, | ~~~~~~~~~~~~~^~~~ arch/arm/vgic/vgic-mmio.c:36:52: warning: unused parameter ‘addr’ [-Wunused-parameter] 36 | void vgic_mmio_write_wi(struct vcpu *vcpu, paddr_t addr, | ~~~~~~~~^~~~ arch/arm/vgic/vgic-mmio.c:37:38: warning: unused parameter ‘len’ [-Wunused-parameter] 37 | unsigned int len, unsigned long val) | ~~~~~~~~~~~~~^~~ arch/arm/vgic/vgic-mmio.c:37:57: warning: unused parameter ‘val’ [-Wunused-parameter] 37 | unsigned int len, unsigned long val) | ~~~~~~~~~~~~~~^~~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from ././include/xen/config.h:17, from : arch/arm/vgic/vgic-mmio.c: In function ‘vgic_mmio_write_spending’: arch/arm/vgic/vgic-mmio.c:216:41: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare] 216 | ASSERT(irq->hw && desc->irq == irq->hwintid); | ^~ ./include/xen/compiler.h:21:43: note: in definition of macro ‘unlikely’ 21 | #define unlikely(x) __builtin_expect(!!(x),0) | ^ arch/arm/vgic/vgic-mmio.c:216:13: note: in expansion of macro ‘ASSERT’ 216 | ASSERT(irq->hw && desc->irq == irq->hwintid); | ^~~~~~ In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ arch/arm/vgic/vgic-mmio.c: In function ‘vgic_mmio_write_cpending’: arch/arm/vgic/vgic-mmio.c:269:41: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare] 269 | ASSERT(irq->hw && desc->irq == irq->hwintid); | ^~ ./include/xen/compiler.h:21:43: note: in definition of macro ‘unlikely’ 21 | #define unlikely(x) __builtin_expect(!!(x),0) | ^ arch/arm/vgic/vgic-mmio.c:269:13: note: in expansion of macro ‘ASSERT’ 269 | ASSERT(irq->hw && desc->irq == irq->hwintid); | ^~~~~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ arch/arm/vgic/vgic-mmio.c: In function ‘vgic_mmio_read_config’: arch/arm/vgic/vgic-mmio.c:433:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 433 | for ( i = 0; i < len * 4; i++ ) | ^ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ arch/arm/vgic/vgic-mmio.c: In function ‘vgic_mmio_write_config’: ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: arch/arm/vgic/vgic-mmio.c:454:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 454 | for ( i = 0; i < len * 4; i++ ) | ^ ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘arch_vcpu_block’: ./arch/arm/include/asm/domain.h:297:49: warning: unused parameter ‘v’ [-Wunused-parameter] 297 | static inline void arch_vcpu_block(struct vcpu *v) {} | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘update_guest_memory_policy’: ./arch/arm/include/asm/domain.h:309:60: warning: unused parameter ‘v’ [-Wunused-parameter] 309 | static inline void update_guest_memory_policy(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h:310:75: warning: unused parameter ‘gmp’ [-Wunused-parameter] 310 | struct guest_memory_policy *gmp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from ./include/xen/sched.h:25: ./include/xen/vpci.h: In function ‘vpci_assign_device’: ./include/xen/vpci.h:278:54: warning: unused parameter ‘pdev’ [-Wunused-parameter] 278 | static inline int vpci_assign_device(struct pci_dev *pdev) | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_deassign_device’: ./include/xen/vpci.h:283:57: warning: unused parameter ‘pdev’ [-Wunused-parameter] 283 | static inline void vpci_deassign_device(struct pci_dev *pdev) { } | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_read’: ./include/xen/vpci.h:287:45: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:287:64: warning: unused parameter ‘reg’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:288:47: warning: unused parameter ‘size’ [-Wunused-parameter] 288 | unsigned int size) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_write’: ./include/xen/vpci.h:294:42: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:294:61: warning: unused parameter ‘reg’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:295:44: warning: unused parameter ‘size’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h:295:59: warning: unused parameter ‘data’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_process_pending’: ./include/xen/vpci.h:300:67: warning: unused parameter ‘v’ [-Wunused-parameter] 300 | static inline bool __must_check vpci_process_pending(struct vcpu *v) | ~~~~~~~~~~~~~^ ./include/xen/sched.h: In function ‘is_pv_32bit_domain’: ./include/xen/sched.h:1131:67: warning: unused parameter ‘d’ [-Wunused-parameter] 1131 | static always_inline bool is_pv_32bit_domain(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ In file included from ./arch/arm/include/asm/monitor.h:30: ./include/asm-generic/monitor.h: In function ‘arch_monitor_allow_userspace’: ./include/asm-generic/monitor.h:22:50: warning: unused parameter ‘d’ [-Wunused-parameter] 22 | void arch_monitor_allow_userspace(struct domain *d, bool allow_userspace) | ~~~~~~~~~~~~~~~^ ./include/asm-generic/monitor.h:22:58: warning: unused parameter ‘allow_userspace’ [-Wunused-parameter] 22 | void arch_monitor_allow_userspace(struct domain *d, bool allow_userspace) ./include/asm-generic/monitor.h: In function ‘arch_monitor_domctl_op’: ./include/asm-generic/monitor.h:27:43: warning: unused parameter ‘d’ [-Wunused-parameter] 27 | int arch_monitor_domctl_op(struct domain *d, struct xen_domctl_monitor_op *mop) | ~~~~~~~~~~~~~~~^ ./include/asm-generic/monitor.h:27:76: warning: unused parameter ‘mop’ [-Wunused-parameter] 27 | int arch_monitor_domctl_op(struct domain *d, struct xen_domctl_monitor_op *mop) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./include/asm-generic/monitor.h: In function ‘arch_monitor_init_domain’: ./include/asm-generic/monitor.h:43:45: warning: unused parameter ‘d’ [-Wunused-parameter] 43 | int arch_monitor_init_domain(struct domain *d) | ~~~~~~~~~~~~~~~^ ./include/asm-generic/monitor.h: In function ‘arch_monitor_cleanup_domain’: ./include/asm-generic/monitor.h:50:49: warning: unused parameter ‘d’ [-Wunused-parameter] 50 | void arch_monitor_cleanup_domain(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/monitor.h: In function ‘arch_monitor_get_capabilities’: ./arch/arm/include/asm/monitor.h:35:69: warning: unused parameter ‘d’ [-Wunused-parameter] 35 | static inline uint32_t arch_monitor_get_capabilities(struct domain *d) | ~~~~~~~~~~~~~~~^ arch/arm/vsmc.c: In function ‘is_psci_fid’: arch/arm/vsmc.c:196:15: warning: comparison of unsigned expression in ‘>= 0’ is always true [-Wtype-limits] 196 | return fn >= PSCI_FNUM_MIN_VALUE && fn <= PSCI_FNUM_MAX_VALUE; | ^~ arch/arm/vsmc.c: In function ‘vsmccc_handle_call’: arch/arm/vsmc.c:274:17: warning: comparison of unsigned expression in ‘>= 0’ is always true [-Wtype-limits] 274 | if ( funcid >= ARM_SMCCC_RESERVED_RANGE_START && | ^~ CC arch/arm/vpsci.o In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/sched.h:6, from arch/arm/vpsci.c:3: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/rwlock.h:6, from ./include/xen/sched.h:7: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/domain.h:5, from ./include/xen/sched.h:11: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233, from ./arch/arm/include/asm/p2m.h:4, from ./arch/arm/include/asm/domain.h:7, from ./include/xen/domain.h:15: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘arch_vcpu_block’: ./arch/arm/include/asm/domain.h:297:49: warning: unused parameter ‘v’ [-Wunused-parameter] 297 | static inline void arch_vcpu_block(struct vcpu *v) {} | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘update_guest_memory_policy’: ./arch/arm/include/asm/domain.h:309:60: warning: unused parameter ‘v’ [-Wunused-parameter] 309 | static inline void update_guest_memory_policy(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h:310:75: warning: unused parameter ‘gmp’ [-Wunused-parameter] 310 | struct guest_memory_policy *gmp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from ./include/xen/sched.h:25: ./include/xen/vpci.h: In function ‘vpci_assign_device’: ./include/xen/vpci.h:278:54: warning: unused parameter ‘pdev’ [-Wunused-parameter] 278 | static inline int vpci_assign_device(struct pci_dev *pdev) | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_deassign_device’: ./include/xen/vpci.h:283:57: warning: unused parameter ‘pdev’ [-Wunused-parameter] 283 | static inline void vpci_deassign_device(struct pci_dev *pdev) { } | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_read’: ./include/xen/vpci.h:287:45: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:287:64: warning: unused parameter ‘reg’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:288:47: warning: unused parameter ‘size’ [-Wunused-parameter] 288 | unsigned int size) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_write’: ./include/xen/vpci.h:294:42: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:294:61: warning: unused parameter ‘reg’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:295:44: warning: unused parameter ‘size’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h:295:59: warning: unused parameter ‘data’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_process_pending’: ./include/xen/vpci.h:300:67: warning: unused parameter ‘v’ [-Wunused-parameter] 300 | static inline bool __must_check vpci_process_pending(struct vcpu *v) | ~~~~~~~~~~~~~^ ./include/xen/sched.h: In function ‘is_pv_32bit_domain’: ./include/xen/sched.h:1131:67: warning: unused parameter ‘d’ [-Wunused-parameter] 1131 | static always_inline bool is_pv_32bit_domain(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ In file included from arch/arm/vpsci.c:9: ./arch/arm/include/asm/event.h: In function ‘arch_virq_is_global’: ./arch/arm/include/asm/event.h:50:53: warning: unused parameter ‘virq’ [-Wunused-parameter] 50 | static inline bool arch_virq_is_global(unsigned int virq) | ~~~~~~~~~~~~~^~~~ arch/arm/vpsci.c: In function ‘do_psci_cpu_off’: arch/arm/vpsci.c:102:41: warning: unused parameter ‘power_state’ [-Wunused-parameter] 102 | static int32_t do_psci_cpu_off(uint32_t power_state) | ~~~~~~~~~^~~~~~~~~~~ arch/arm/vpsci.c: In function ‘do_psci_0_2_cpu_suspend’: arch/arm/vpsci.c:119:52: warning: unused parameter ‘power_state’ [-Wunused-parameter] 119 | static register_t do_psci_0_2_cpu_suspend(uint32_t power_state, | ~~~~~~~~~^~~~~~~~~~~ arch/arm/vpsci.c:120:54: warning: unused parameter ‘entry_point’ [-Wunused-parameter] 120 | register_t entry_point, | ~~~~~~~~~~~^~~~~~~~~~~ arch/arm/vpsci.c:121:54: warning: unused parameter ‘context_id’ [-Wunused-parameter] 121 | register_t context_id) | ~~~~~~~~~~~^~~~~~~~~~ arch/arm/vpsci.c: In function ‘do_vpsci_0_1_call’: arch/arm/vpsci.c:237:61: warning: unused parameter ‘fid’ [-Wunused-parameter] 237 | bool do_vpsci_0_1_call(struct cpu_user_regs *regs, uint32_t fid) | ~~~~~~~~~^~~ CC common/sched/credit2.o In file included from common/sched/credit2.c:15: ./include/xen/param.h: In function ‘no_config_param’: ./include/xen/param.h:193:19: warning: operand of ‘?:’ changes signedness from ‘long int’ to ‘size_t’ {aka ‘long unsigned int’} due to unsignedness of other operand [-Wsign-compare] 193 | int len = e ? ({ ASSERT(e >= s); e - s; }) : strlen(s); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/sched.h:6, from common/sched/credit2.c:16: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/rwlock.h:6, from ./include/xen/sched.h:7: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/domain.h:5, from ./include/xen/sched.h:11: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233, from ./arch/arm/include/asm/p2m.h:4, from ./arch/arm/include/asm/domain.h:7, from ./include/xen/domain.h:15: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ CC arch/arm/vuart.o ./arch/arm/include/asm/domain.h: In function ‘arch_vcpu_block’: ./arch/arm/include/asm/domain.h:297:49: warning: unused parameter ‘v’ [-Wunused-parameter] 297 | static inline void arch_vcpu_block(struct vcpu *v) {} | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘update_guest_memory_policy’: ./arch/arm/include/asm/domain.h:309:60: warning: unused parameter ‘v’ [-Wunused-parameter] 309 | static inline void update_guest_memory_policy(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h:310:75: warning: unused parameter ‘gmp’ [-Wunused-parameter] 310 | struct guest_memory_policy *gmp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from ./include/xen/sched.h:25: ./include/xen/vpci.h: In function ‘vpci_assign_device’: ./include/xen/vpci.h:278:54: warning: unused parameter ‘pdev’ [-Wunused-parameter] 278 | static inline int vpci_assign_device(struct pci_dev *pdev) | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_deassign_device’: ./include/xen/vpci.h:283:57: warning: unused parameter ‘pdev’ [-Wunused-parameter] 283 | static inline void vpci_deassign_device(struct pci_dev *pdev) { } | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_read’: ./include/xen/vpci.h:287:45: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:287:64: warning: unused parameter ‘reg’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:288:47: warning: unused parameter ‘size’ [-Wunused-parameter] 288 | unsigned int size) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_write’: ./include/xen/vpci.h:294:42: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:294:61: warning: unused parameter ‘reg’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:295:44: warning: unused parameter ‘size’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h:295:59: warning: unused parameter ‘data’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_process_pending’: ./include/xen/vpci.h:300:67: warning: unused parameter ‘v’ [-Wunused-parameter] 300 | static inline bool __must_check vpci_process_pending(struct vcpu *v) | ~~~~~~~~~~~~~^ ./include/xen/sched.h: In function ‘is_pv_32bit_domain’: ./include/xen/sched.h:1131:67: warning: unused parameter ‘d’ [-Wunused-parameter] 1131 | static always_inline bool is_pv_32bit_domain(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ In file included from ./include/xen/event.h:17, from common/sched/credit2.c:19: ./arch/arm/include/asm/event.h: In function ‘arch_virq_is_global’: ./arch/arm/include/asm/event.h:50:53: warning: unused parameter ‘virq’ [-Wunused-parameter] 50 | static inline bool arch_virq_is_global(unsigned int virq) | ~~~~~~~~~~~~~^~~~ common/sched/private.h: In function ‘is_unit_online’: ./include/xen/sched.h:357:40: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 357 | (v)->vcpu_id < (u)->next_in_list->unit_id); \ | ^ common/sched/private.h:91:5: note: in expansion of macro ‘for_each_sched_unit_vcpu’ 91 | for_each_sched_unit_vcpu ( unit, v ) | ^~~~~~~~~~~~~~~~~~~~~~~~ common/sched/private.h: In function ‘unit_runnable’: ./include/xen/sched.h:357:40: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 357 | (v)->vcpu_id < (u)->next_in_list->unit_id); \ | ^ common/sched/private.h:108:5: note: in expansion of macro ‘for_each_sched_unit_vcpu’ 108 | for_each_sched_unit_vcpu ( unit, v ) | ^~~~~~~~~~~~~~~~~~~~~~~~ common/sched/private.h: In function ‘unit_runnable_state’: ./include/xen/sched.h:357:40: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 357 | (v)->vcpu_id < (u)->next_in_list->unit_id); \ | ^ common/sched/private.h:135:5: note: in expansion of macro ‘for_each_sched_unit_vcpu’ 135 | for_each_sched_unit_vcpu ( unit, v ) | ^~~~~~~~~~~~~~~~~~~~~~~~ common/sched/private.h: In function ‘sched_set_res’: ./include/xen/sched.h:357:40: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 357 | (v)->vcpu_id < (u)->next_in_list->unit_id); \ | ^ common/sched/private.h:154:5: note: in expansion of macro ‘for_each_sched_unit_vcpu’ 154 | for_each_sched_unit_vcpu ( unit, v ) | ^~~~~~~~~~~~~~~~~~~~~~~~ common/sched/private.h: In function ‘sched_set_pause_flags’: ./include/xen/sched.h:357:40: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 357 | (v)->vcpu_id < (u)->next_in_list->unit_id); \ | ^ common/sched/private.h:176:5: note: in expansion of macro ‘for_each_sched_unit_vcpu’ 176 | for_each_sched_unit_vcpu ( unit, v ) | ^~~~~~~~~~~~~~~~~~~~~~~~ common/sched/private.h: In function ‘sched_clear_pause_flags’: ./include/xen/sched.h:357:40: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 357 | (v)->vcpu_id < (u)->next_in_list->unit_id); \ | ^ common/sched/private.h:186:5: note: in expansion of macro ‘for_each_sched_unit_vcpu’ 186 | for_each_sched_unit_vcpu ( unit, v ) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/sched.h:6, from arch/arm/vuart.c:25: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ common/sched/private.h: In function ‘sched_unit_pause_nosync’: ./include/xen/sched.h:357:40: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 357 | (v)->vcpu_id < (u)->next_in_list->unit_id); \ | ^ common/sched/private.h:530:5: note: in expansion of macro ‘for_each_sched_unit_vcpu’ 530 | for_each_sched_unit_vcpu ( unit, v ) | ^~~~~~~~~~~~~~~~~~~~~~~~ common/sched/private.h: In function ‘sched_unit_unpause’: ./include/xen/sched.h:357:40: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 357 | (v)->vcpu_id < (u)->next_in_list->unit_id); \ | ^ common/sched/private.h:538:5: note: in expansion of macro ‘for_each_sched_unit_vcpu’ 538 | for_each_sched_unit_vcpu ( unit, v ) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from ././include/xen/config.h:17, from : common/sched/credit2.c: In function ‘get_fallback_cpu’: common/sched/credit2.c:790:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 790 | if ( likely(cpu < nr_cpu_ids) ) | ^ ./include/xen/compiler.h:20:43: note: in definition of macro ‘likely’ 20 | #define likely(x) __builtin_expect(!!(x),1) | ^ common/sched/credit2.c: In function ‘same_node’: common/sched/credit2.c:843:43: warning: unused parameter ‘cpua’ [-Wunused-parameter] 843 | static inline bool same_node(unsigned int cpua, unsigned int cpub) | ~~~~~~~~~~~~~^~~~ common/sched/credit2.c:843:62: warning: unused parameter ‘cpub’ [-Wunused-parameter] 843 | static inline bool same_node(unsigned int cpua, unsigned int cpub) | ~~~~~~~~~~~~~^~~~ common/sched/credit2.c: In function ‘same_socket’: common/sched/credit2.c:848:45: warning: unused parameter ‘cpua’ [-Wunused-parameter] 848 | static inline bool same_socket(unsigned int cpua, unsigned int cpub) | ~~~~~~~~~~~~~^~~~ common/sched/credit2.c:848:64: warning: unused parameter ‘cpub’ [-Wunused-parameter] 848 | static inline bool same_socket(unsigned int cpua, unsigned int cpub) | ~~~~~~~~~~~~~^~~~ CC arch/arm/vgic/vgic-mmio-v2.o common/sched/credit2.c: In function ‘cpu_add_to_runqueue’: common/sched/credit2.c:980:51: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 980 | if ( cpumask_weight(&rqd->active) >= opt_max_cpus_runqueue ) | ^~ common/sched/credit2.c: In function ‘update_max_weight’: common/sched/credit2.c:1063:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 1063 | if ( new_weight > rqd->max_weight ) | ^ common/sched/credit2.c:1068:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 1068 | else if ( old_weight == rqd->max_weight ) | ^~ common/sched/credit2.c:1077:30: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] 1077 | if ( svc->weight > max_weight ) | ^ common/sched/credit2.c: In function ‘update_runq_load’: In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ common/sched/credit2.c:1301:47: warning: comparison of integer expressions of different signedness: ‘long long unsigned int’ and ‘s_time_t’ {aka ‘long int’} [-Wsign-compare] 1301 | if ( rqd->load_last_update + (1ULL << W) < now ) | ^ common/sched/credit2.c: In function ‘update_svc_load’: common/sched/credit2.c:1378:46: warning: comparison of integer expressions of different signedness: ‘long long unsigned int’ and ‘s_time_t’ {aka ‘long int’} [-Wsign-compare] 1378 | if ( svc->load_last_update + (1ULL << W) < now ) | ^ common/sched/credit2.c: In function ‘is_preemptable’: common/sched/credit2.c:1503:46: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare] 1503 | return now - svc->unit->state_entry_time > | ^ common/sched/credit2.c: In function ‘runq_tickle’: common/sched/credit2.c:1636:60: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 1636 | ASSERT(cpumask_cycle(cpu, unit->cpu_hard_affinity) == cpu); | ^~ ./include/xen/compiler.h:21:43: note: in definition of macro ‘unlikely’ 21 | #define unlikely(x) __builtin_expect(!!(x),0) | ^ common/sched/credit2.c:1636:9: note: in expansion of macro ‘ASSERT’ 1636 | ASSERT(cpumask_cycle(cpu, unit->cpu_hard_affinity) == cpu); | ^~~~~~ common/sched/credit2.c:1667:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 1667 | if ( i < nr_cpu_ids ) | ^ common/sched/credit2.c:1683:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 1683 | if ( i < nr_cpu_ids ) | ^ ./include/xen/cpumask.h:375:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 375 | (cpu) < nr_cpu_ids; \ | ^ common/sched/credit2.c:1728:5: note: in expansion of macro ‘for_each_cpu’ 1728 | for_each_cpu(i, &mask) | ^~~~~~~~~~~~ common/sched/credit2.c:1733:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 1733 | ASSERT(i != cpu); | ^~ ./include/xen/compiler.h:21:43: note: in definition of macro ‘unlikely’ 21 | #define unlikely(x) __builtin_expect(!!(x),0) | ^ common/sched/credit2.c:1733:9: note: in expansion of macro ‘ASSERT’ 1733 | ASSERT(i != cpu); | ^~~~~~ common/sched/credit2.c: In function ‘burn_credits’: common/sched/credit2.c:1878:38: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 1878 | svc->start_time); | ^ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/rwlock.h:6, from ./include/xen/sched.h:7: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ common/sched/credit2.c: In function ‘csched2_unit_yield’: common/sched/credit2.c:2296:44: warning: unused parameter ‘ops’ [-Wunused-parameter] 2296 | csched2_unit_yield(const struct scheduler *ops, struct sched_unit *unit) | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/sched.h:6, from arch/arm/vgic/vgic-mmio-v2.c:16: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ common/sched/credit2.c: In function ‘balance_load’: common/sched/credit2.c:2783:32: warning: comparison of integer expressions of different signedness: ‘s_time_t’ {aka ‘long int’} and ‘long long unsigned int’ [-Wsign-compare] 2783 | if ( st.load_delta < (1ULL << (prv->load_precision_shift + | ^ In file included from ./include/xen/domain.h:5, from ./include/xen/sched.h:11: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ common/sched/credit2.c:2788:32: warning: comparison of integer expressions of different signedness: ‘s_time_t’ {aka ‘long int’} and ‘long long unsigned int’ [-Wsign-compare] 2788 | if ( st.load_delta < (1ULL << (prv->load_precision_shift + | ^ common/sched/credit2.c: In function ‘csched2_aff_cntl’: In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ common/sched/credit2.c:3111:42: warning: unused parameter ‘ops’ [-Wunused-parameter] 3111 | csched2_aff_cntl(const struct scheduler *ops, struct sched_unit *unit, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233, from ./arch/arm/include/asm/p2m.h:4, from ./arch/arm/include/asm/domain.h:7, from ./include/xen/domain.h:15: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ common/sched/credit2.c:3112:58: warning: unused parameter ‘soft’ [-Wunused-parameter] 3112 | const cpumask_t *hard, const cpumask_t *soft) | ~~~~~~~~~~~~~~~~~^~~~ common/sched/credit2.c: In function ‘csched2_free_udata’: ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ common/sched/credit2.c:3242:44: warning: unused parameter ‘ops’ [-Wunused-parameter] 3242 | csched2_free_udata(const struct scheduler *ops, void *priv) | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ common/sched/credit2.c: In function ‘csched2_unit_remove’: common/sched/credit2.c:3250:45: warning: unused parameter ‘ops’ [-Wunused-parameter] 3250 | csched2_unit_remove(const struct scheduler *ops, struct sched_unit *unit) | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ common/sched/credit2.c: In function ‘runq_candidate’: In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ common/sched/credit2.c:3398:48: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare] 3398 | (now - scurr->unit->state_entry_time) < MICROSECS(prv->ratelimit_us) ) | ^ common/sched/credit2.c:3505:43: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] 3505 | if ( sched_unit_master(svc->unit) != cpu | ^~ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/rwlock.h:6, from ./include/xen/sched.h:7: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ common/sched/credit2.c: In function ‘init_cpu_runqueue’: INIT_O arch/arm/bootfdt.init.o common/sched/credit2.c:3973:41: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 3973 | ASSERT(cpumask_weight(&rqd->active) == rqd->nr_cpus); | ^~ ./include/xen/compiler.h:21:43: note: in definition of macro ‘unlikely’ 21 | #define unlikely(x) __builtin_expect(!!(x),0) | ^ common/sched/credit2.c:3973:5: note: in expansion of macro ‘ASSERT’ 3973 | ASSERT(cpumask_weight(&rqd->active) == rqd->nr_cpus); | ^~~~~~ common/sched/credit2.c: In function ‘csched2_deinit_pdata’: ./arch/arm/include/asm/domain.h: In function ‘arch_vcpu_block’: ./arch/arm/include/asm/domain.h:297:49: warning: unused parameter ‘v’ [-Wunused-parameter] 297 | static inline void arch_vcpu_block(struct vcpu *v) {} | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘update_guest_memory_policy’: ./arch/arm/include/asm/domain.h:309:60: warning: unused parameter ‘v’ [-Wunused-parameter] 309 | static inline void update_guest_memory_policy(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h:310:75: warning: unused parameter ‘gmp’ [-Wunused-parameter] 310 | struct guest_memory_policy *gmp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from ./include/xen/domain.h:5, from ./include/xen/sched.h:11: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ common/sched/credit2.c:4075:41: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 4075 | ASSERT(cpumask_weight(&rqd->active) == rqd->nr_cpus); | ^~ ./include/xen/compiler.h:21:43: note: in definition of macro ‘unlikely’ 21 | #define unlikely(x) __builtin_expect(!!(x),0) | ^ common/sched/credit2.c:4075:5: note: in expansion of macro ‘ASSERT’ 4075 | ASSERT(cpumask_weight(&rqd->active) == rqd->nr_cpus); | ^~~~~~ In file included from ./include/xen/sched.h:25: ./include/xen/vpci.h: In function ‘vpci_assign_device’: ./include/xen/vpci.h:278:54: warning: unused parameter ‘pdev’ [-Wunused-parameter] 278 | static inline int vpci_assign_device(struct pci_dev *pdev) | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_deassign_device’: ./include/xen/vpci.h:283:57: warning: unused parameter ‘pdev’ [-Wunused-parameter] 283 | static inline void vpci_deassign_device(struct pci_dev *pdev) { } | ~~~~~~~~~~~~~~~~^~~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233, from ./arch/arm/include/asm/p2m.h:4, from ./arch/arm/include/asm/domain.h:7, from ./include/xen/domain.h:15: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ common/sched/credit2.c:4084:30: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] 4084 | else if ( rqd->pick_bias == cpu ) | ^~ ./include/xen/vpci.h: In function ‘vpci_read’: ./include/xen/vpci.h:287:45: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:287:64: warning: unused parameter ‘reg’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:288:47: warning: unused parameter ‘size’ [-Wunused-parameter] 288 | unsigned int size) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_write’: ./include/xen/vpci.h:294:42: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:294:61: warning: unused parameter ‘reg’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:295:44: warning: unused parameter ‘size’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h:295:59: warning: unused parameter ‘data’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_process_pending’: ./include/xen/vpci.h:300:67: warning: unused parameter ‘v’ [-Wunused-parameter] 300 | static inline bool __must_check vpci_process_pending(struct vcpu *v) | ~~~~~~~~~~~~~^ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ ./include/xen/sched.h: In function ‘is_pv_32bit_domain’: In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/sched.h:1131:67: warning: unused parameter ‘d’ [-Wunused-parameter] 1131 | static always_inline bool is_pv_32bit_domain(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ In file included from arch/arm/vuart.c:28: ./include/xen/serial.h: At top level: ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./include/xen/serial.h:166:1: warning: ‘inline’ is not at beginning of declaration [-Wold-style-declaration] 166 | static void inline xhci_dbc_uart_init(void) {} | ^~~~~~ arch/arm/vuart.c: In function ‘vuart_mmio_read’: arch/arm/vuart.c:100:49: warning: unused parameter ‘priv’ [-Wunused-parameter] 100 | register_t *r, void *priv) | ~~~~~~^~~~ arch/arm/vuart.c: In function ‘vuart_mmio_write’: arch/arm/vuart.c:118:49: warning: unused parameter ‘priv’ [-Wunused-parameter] 118 | register_t r, void *priv) | ~~~~~~^~~~ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘arch_vcpu_block’: ./arch/arm/include/asm/domain.h:297:49: warning: unused parameter ‘v’ [-Wunused-parameter] 297 | static inline void arch_vcpu_block(struct vcpu *v) {} | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘update_guest_memory_policy’: ./arch/arm/include/asm/domain.h:309:60: warning: unused parameter ‘v’ [-Wunused-parameter] 309 | static inline void update_guest_memory_policy(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h:310:75: warning: unused parameter ‘gmp’ [-Wunused-parameter] 310 | struct guest_memory_policy *gmp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from ./include/xen/sched.h:25: ./include/xen/vpci.h: In function ‘vpci_assign_device’: ./include/xen/vpci.h:278:54: warning: unused parameter ‘pdev’ [-Wunused-parameter] 278 | static inline int vpci_assign_device(struct pci_dev *pdev) | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_deassign_device’: ./include/xen/vpci.h:283:57: warning: unused parameter ‘pdev’ [-Wunused-parameter] 283 | static inline void vpci_deassign_device(struct pci_dev *pdev) { } | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_read’: ./include/xen/vpci.h:287:45: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:287:64: warning: unused parameter ‘reg’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:288:47: warning: unused parameter ‘size’ [-Wunused-parameter] 288 | unsigned int size) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_write’: ./include/xen/vpci.h:294:42: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:294:61: warning: unused parameter ‘reg’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:295:44: warning: unused parameter ‘size’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h:295:59: warning: unused parameter ‘data’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_process_pending’: ./include/xen/vpci.h:300:67: warning: unused parameter ‘v’ [-Wunused-parameter] 300 | static inline bool __must_check vpci_process_pending(struct vcpu *v) | ~~~~~~~~~~~~~^ ./include/xen/sched.h: In function ‘is_pv_32bit_domain’: ./include/xen/sched.h:1131:67: warning: unused parameter ‘d’ [-Wunused-parameter] 1131 | static always_inline bool is_pv_32bit_domain(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ arch/arm/vgic/vgic-mmio-v2.c: In function ‘vgic_mmio_read_v2_misc’: arch/arm/vgic/vgic-mmio-v2.c:24:72: warning: unused parameter ‘len’ [-Wunused-parameter] 24 | paddr_t addr, unsigned int len) | ~~~~~~~~~~~~~^~~ arch/arm/vgic/vgic-mmio-v2.c: In function ‘vgic_mmio_write_v2_misc’: arch/arm/vgic/vgic-mmio-v2.c:51:64: warning: unused parameter ‘len’ [-Wunused-parameter] 51 | paddr_t addr, unsigned int len, | ~~~~~~~~~~~~~^~~ arch/arm/vgic/vgic-mmio-v2.c: In function ‘vgic_mmio_write_sgir’: arch/arm/vgic/vgic-mmio-v2.c:85:42: warning: unused parameter ‘addr’ [-Wunused-parameter] 85 | paddr_t addr, unsigned int len, | ~~~~~~~~^~~~ arch/arm/vgic/vgic-mmio-v2.c:85:61: warning: unused parameter ‘len’ [-Wunused-parameter] 85 | paddr_t addr, unsigned int len, | ~~~~~~~~~~~~~^~~ INIT_O arch/arm/dom0less-build.init.o INIT_O arch/arm/domain_build.init.o INIT_O arch/arm/kernel.init.o INIT_O arch/arm/static-evtchn.init.o INIT_O arch/arm/static-memory.init.o INIT_O arch/arm/static-shmem.init.o CC arch/arm/vgic/vgic-init.o CC common/sched/rt.o In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/sched.h:6, from arch/arm/vgic/vgic-init.c:19: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/rwlock.h:6, from ./include/xen/sched.h:7: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/domain.h:5, from ./include/xen/sched.h:11: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233, from ./arch/arm/include/asm/p2m.h:4, from ./arch/arm/include/asm/domain.h:7, from ./include/xen/domain.h:15: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/sched.h:6, from common/sched/rt.c:16: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/domain.h: In function ‘arch_vcpu_block’: ./arch/arm/include/asm/domain.h:297:49: warning: unused parameter ‘v’ [-Wunused-parameter] 297 | static inline void arch_vcpu_block(struct vcpu *v) {} | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘update_guest_memory_policy’: ./arch/arm/include/asm/domain.h:309:60: warning: unused parameter ‘v’ [-Wunused-parameter] 309 | static inline void update_guest_memory_policy(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h:310:75: warning: unused parameter ‘gmp’ [-Wunused-parameter] 310 | struct guest_memory_policy *gmp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ CC common/sched/null.o In file included from ./include/xen/sched.h:25: ./include/xen/vpci.h: In function ‘vpci_assign_device’: ./include/xen/vpci.h:278:54: warning: unused parameter ‘pdev’ [-Wunused-parameter] 278 | static inline int vpci_assign_device(struct pci_dev *pdev) | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_deassign_device’: ./include/xen/vpci.h:283:57: warning: unused parameter ‘pdev’ [-Wunused-parameter] 283 | static inline void vpci_deassign_device(struct pci_dev *pdev) { } | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_read’: ./include/xen/vpci.h:287:45: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:287:64: warning: unused parameter ‘reg’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:288:47: warning: unused parameter ‘size’ [-Wunused-parameter] 288 | unsigned int size) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_write’: ./include/xen/vpci.h:294:42: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:294:61: warning: unused parameter ‘reg’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:295:44: warning: unused parameter ‘size’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h:295:59: warning: unused parameter ‘data’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_process_pending’: ./include/xen/vpci.h:300:67: warning: unused parameter ‘v’ [-Wunused-parameter] 300 | static inline bool __must_check vpci_process_pending(struct vcpu *v) | ~~~~~~~~~~~~~^ ./include/xen/sched.h: In function ‘is_pv_32bit_domain’: ./include/xen/sched.h:1131:67: warning: unused parameter ‘d’ [-Wunused-parameter] 1131 | static always_inline bool is_pv_32bit_domain(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ arch/arm/vgic/vgic-init.c: In function ‘domain_vgic_free’: arch/arm/vgic/vgic-init.c:220:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 220 | for ( i = 0; i < dist->nr_spis; i++ ) | ^ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/sched.h:6, from common/sched/null.c:31: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/rwlock.h:6, from ./include/xen/sched.h:7: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/domain.h:5, from ./include/xen/sched.h:11: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/rwlock.h:6, from ./include/xen/sched.h:7: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233, from ./arch/arm/include/asm/p2m.h:4, from ./arch/arm/include/asm/domain.h:7, from ./include/xen/domain.h:15: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from ./include/xen/domain.h:5, from ./include/xen/sched.h:11: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233, from ./arch/arm/include/asm/p2m.h:4, from ./arch/arm/include/asm/domain.h:7, from ./include/xen/domain.h:15: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘arch_vcpu_block’: ./arch/arm/include/asm/domain.h:297:49: warning: unused parameter ‘v’ [-Wunused-parameter] 297 | static inline void arch_vcpu_block(struct vcpu *v) {} | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘update_guest_memory_policy’: ./arch/arm/include/asm/domain.h:309:60: warning: unused parameter ‘v’ [-Wunused-parameter] 309 | static inline void update_guest_memory_policy(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h:310:75: warning: unused parameter ‘gmp’ [-Wunused-parameter] 310 | struct guest_memory_policy *gmp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/domain.h: In function ‘arch_vcpu_block’: ./arch/arm/include/asm/domain.h:297:49: warning: unused parameter ‘v’ [-Wunused-parameter] 297 | static inline void arch_vcpu_block(struct vcpu *v) {} | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘update_guest_memory_policy’: ./arch/arm/include/asm/domain.h:309:60: warning: unused parameter ‘v’ [-Wunused-parameter] 309 | static inline void update_guest_memory_policy(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h:310:75: warning: unused parameter ‘gmp’ [-Wunused-parameter] 310 | struct guest_memory_policy *gmp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from ./include/xen/sched.h:25: ./include/xen/vpci.h: In function ‘vpci_assign_device’: In file included from ./include/xen/sched.h:25: ./include/xen/vpci.h: In function ‘vpci_assign_device’: ./include/xen/vpci.h:278:54: warning: unused parameter ‘pdev’ [-Wunused-parameter] 278 | static inline int vpci_assign_device(struct pci_dev *pdev) | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_deassign_device’: ./include/xen/vpci.h:283:57: warning: unused parameter ‘pdev’ [-Wunused-parameter] 283 | static inline void vpci_deassign_device(struct pci_dev *pdev) { } | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h:278:54: warning: unused parameter ‘pdev’ [-Wunused-parameter] 278 | static inline int vpci_assign_device(struct pci_dev *pdev) | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_deassign_device’: ./include/xen/vpci.h: In function ‘vpci_read’: ./include/xen/vpci.h:287:45: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:287:64: warning: unused parameter ‘reg’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:288:47: warning: unused parameter ‘size’ [-Wunused-parameter] 288 | unsigned int size) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_write’: ./include/xen/vpci.h:294:42: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:294:61: warning: unused parameter ‘reg’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:295:44: warning: unused parameter ‘size’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h:295:59: warning: unused parameter ‘data’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_process_pending’: ./include/xen/vpci.h:300:67: warning: unused parameter ‘v’ [-Wunused-parameter] 300 | static inline bool __must_check vpci_process_pending(struct vcpu *v) | ~~~~~~~~~~~~~^ ./include/xen/vpci.h:283:57: warning: unused parameter ‘pdev’ [-Wunused-parameter] 283 | static inline void vpci_deassign_device(struct pci_dev *pdev) { } | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_read’: ./include/xen/vpci.h:287:45: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:287:64: warning: unused parameter ‘reg’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:288:47: warning: unused parameter ‘size’ [-Wunused-parameter] 288 | unsigned int size) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_write’: ./include/xen/vpci.h:294:42: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:294:61: warning: unused parameter ‘reg’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:295:44: warning: unused parameter ‘size’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h:295:59: warning: unused parameter ‘data’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_process_pending’: ./include/xen/vpci.h:300:67: warning: unused parameter ‘v’ [-Wunused-parameter] 300 | static inline bool __must_check vpci_process_pending(struct vcpu *v) | ~~~~~~~~~~~~~^ ./include/xen/sched.h: In function ‘is_pv_32bit_domain’: ./include/xen/sched.h:1131:67: warning: unused parameter ‘d’ [-Wunused-parameter] 1131 | static always_inline bool is_pv_32bit_domain(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ common/sched/private.h: In function ‘is_unit_online’: ./include/xen/sched.h:357:40: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 357 | (v)->vcpu_id < (u)->next_in_list->unit_id); \ | ^ common/sched/private.h:91:5: note: in expansion of macro ‘for_each_sched_unit_vcpu’ 91 | for_each_sched_unit_vcpu ( unit, v ) | ^~~~~~~~~~~~~~~~~~~~~~~~ common/sched/private.h: In function ‘unit_runnable’: ./include/xen/sched.h:357:40: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 357 | (v)->vcpu_id < (u)->next_in_list->unit_id); \ | ^ common/sched/private.h:108:5: note: in expansion of macro ‘for_each_sched_unit_vcpu’ 108 | for_each_sched_unit_vcpu ( unit, v ) | ^~~~~~~~~~~~~~~~~~~~~~~~ common/sched/private.h: In function ‘unit_runnable_state’: ./include/xen/sched.h:357:40: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 357 | (v)->vcpu_id < (u)->next_in_list->unit_id); \ | ^ common/sched/private.h:135:5: note: in expansion of macro ‘for_each_sched_unit_vcpu’ 135 | for_each_sched_unit_vcpu ( unit, v ) | ^~~~~~~~~~~~~~~~~~~~~~~~ common/sched/private.h: In function ‘sched_set_res’: ./include/xen/sched.h:357:40: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 357 | (v)->vcpu_id < (u)->next_in_list->unit_id); \ | ^ common/sched/private.h:154:5: note: in expansion of macro ‘for_each_sched_unit_vcpu’ 154 | for_each_sched_unit_vcpu ( unit, v ) | ^~~~~~~~~~~~~~~~~~~~~~~~ common/sched/private.h: In function ‘sched_set_pause_flags’: ./include/xen/sched.h:357:40: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 357 | (v)->vcpu_id < (u)->next_in_list->unit_id); \ | ^ common/sched/private.h:176:5: note: in expansion of macro ‘for_each_sched_unit_vcpu’ 176 | for_each_sched_unit_vcpu ( unit, v ) | ^~~~~~~~~~~~~~~~~~~~~~~~ common/sched/private.h: In function ‘sched_clear_pause_flags’: ./include/xen/sched.h:357:40: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 357 | (v)->vcpu_id < (u)->next_in_list->unit_id); \ | ^ common/sched/private.h:186:5: note: in expansion of macro ‘for_each_sched_unit_vcpu’ 186 | for_each_sched_unit_vcpu ( unit, v ) | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/xen/sched.h: In function ‘is_pv_32bit_domain’: ./include/xen/sched.h:1131:67: warning: unused parameter ‘d’ [-Wunused-parameter] 1131 | static always_inline bool is_pv_32bit_domain(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ In file included from ./include/xen/event.h:17, from common/sched/rt.c:19: ./arch/arm/include/asm/event.h: In function ‘arch_virq_is_global’: common/sched/private.h: In function ‘sched_unit_pause_nosync’: ./include/xen/sched.h:357:40: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 357 | (v)->vcpu_id < (u)->next_in_list->unit_id); \ | ^ common/sched/private.h:530:5: note: in expansion of macro ‘for_each_sched_unit_vcpu’ 530 | for_each_sched_unit_vcpu ( unit, v ) | ^~~~~~~~~~~~~~~~~~~~~~~~ common/sched/private.h: In function ‘sched_unit_unpause’: ./include/xen/sched.h:357:40: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 357 | (v)->vcpu_id < (u)->next_in_list->unit_id); \ | ^ common/sched/private.h:538:5: note: in expansion of macro ‘for_each_sched_unit_vcpu’ 538 | for_each_sched_unit_vcpu ( unit, v ) | ^~~~~~~~~~~~~~~~~~~~~~~~ ./arch/arm/include/asm/event.h:50:53: warning: unused parameter ‘virq’ [-Wunused-parameter] 50 | static inline bool arch_virq_is_global(unsigned int virq) | ~~~~~~~~~~~~~^~~~ common/sched/null.c: In function ‘null_alloc_pdata’: common/sched/null.c:181:64: warning: unused parameter ‘ops’ [-Wunused-parameter] 181 | static void *cf_check null_alloc_pdata(const struct scheduler *ops, int cpu) | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ common/sched/null.c:181:73: warning: unused parameter ‘cpu’ [-Wunused-parameter] 181 | static void *cf_check null_alloc_pdata(const struct scheduler *ops, int cpu) | ~~~~^~~ common/sched/null.c: In function ‘null_free_pdata’: common/sched/null.c:193:29: warning: unused parameter ‘ops’ [-Wunused-parameter] 193 | const struct scheduler *ops, void *pcpu, int cpu) | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ common/sched/null.c:193:50: warning: unused parameter ‘cpu’ [-Wunused-parameter] 193 | const struct scheduler *ops, void *pcpu, int cpu) | ~~~~^~~ common/sched/null.c: In function ‘null_alloc_udata’: common/sched/null.c:199:29: warning: unused parameter ‘ops’ [-Wunused-parameter] 199 | const struct scheduler *ops, struct sched_unit *unit, void *dd) | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ common/sched/null.c:199:65: warning: unused parameter ‘dd’ [-Wunused-parameter] 199 | const struct scheduler *ops, struct sched_unit *unit, void *dd) | ~~~~~~^~ common/sched/null.c: In function ‘null_free_udata’: common/sched/null.c:215:62: warning: unused parameter ‘ops’ [-Wunused-parameter] 215 | static void cf_check null_free_udata(const struct scheduler *ops, void *priv) | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ common/sched/private.h: In function ‘is_unit_online’: ./include/xen/sched.h:357:40: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 357 | (v)->vcpu_id < (u)->next_in_list->unit_id); \ | ^ common/sched/private.h:91:5: note: in expansion of macro ‘for_each_sched_unit_vcpu’ 91 | for_each_sched_unit_vcpu ( unit, v ) | ^~~~~~~~~~~~~~~~~~~~~~~~ common/sched/private.h: In function ‘unit_runnable’: ./include/xen/sched.h:357:40: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 357 | (v)->vcpu_id < (u)->next_in_list->unit_id); \ | ^ common/sched/private.h:108:5: note: in expansion of macro ‘for_each_sched_unit_vcpu’ 108 | for_each_sched_unit_vcpu ( unit, v ) | ^~~~~~~~~~~~~~~~~~~~~~~~ common/sched/private.h: In function ‘unit_runnable_state’: ./include/xen/sched.h:357:40: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 357 | (v)->vcpu_id < (u)->next_in_list->unit_id); \ | ^ common/sched/private.h:135:5: note: in expansion of macro ‘for_each_sched_unit_vcpu’ 135 | for_each_sched_unit_vcpu ( unit, v ) | ^~~~~~~~~~~~~~~~~~~~~~~~ common/sched/private.h: In function ‘sched_set_res’: ./include/xen/sched.h:357:40: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 357 | (v)->vcpu_id < (u)->next_in_list->unit_id); \ | ^ common/sched/private.h:154:5: note: in expansion of macro ‘for_each_sched_unit_vcpu’ 154 | for_each_sched_unit_vcpu ( unit, v ) | ^~~~~~~~~~~~~~~~~~~~~~~~ common/sched/private.h: In function ‘sched_set_pause_flags’: ./include/xen/sched.h:357:40: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 357 | (v)->vcpu_id < (u)->next_in_list->unit_id); \ | ^ common/sched/private.h:176:5: note: in expansion of macro ‘for_each_sched_unit_vcpu’ 176 | for_each_sched_unit_vcpu ( unit, v ) | ^~~~~~~~~~~~~~~~~~~~~~~~ common/sched/private.h: In function ‘sched_clear_pause_flags’: ./include/xen/sched.h:357:40: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 357 | (v)->vcpu_id < (u)->next_in_list->unit_id); \ | ^ common/sched/private.h:186:5: note: in expansion of macro ‘for_each_sched_unit_vcpu’ 186 | for_each_sched_unit_vcpu ( unit, v ) | ^~~~~~~~~~~~~~~~~~~~~~~~ common/sched/null.c: In function ‘null_schedule’: common/sched/null.c:817:68: warning: unused parameter ‘now’ [-Wunused-parameter] 817 | const struct scheduler *ops, struct sched_unit *prev, s_time_t now, | ~~~~~~~~~^~~ common/sched/null.c: In function ‘dump_unit’: common/sched/null.c:955:64: warning: operand of ‘?:’ changes signedness from ‘int’ to ‘unsigned int’ due to unsignedness of other operand [-Wsign-compare] 955 | sched_unit_master(nvc->unit) : -1); | ^~ common/sched/null.c:950:57: warning: unused parameter ‘prv’ [-Wunused-parameter] 950 | static inline void dump_unit(const struct null_private *prv, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ common/sched/private.h: In function ‘sched_unit_pause_nosync’: ./include/xen/sched.h:357:40: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 357 | (v)->vcpu_id < (u)->next_in_list->unit_id); \ | ^ common/sched/private.h:530:5: note: in expansion of macro ‘for_each_sched_unit_vcpu’ 530 | for_each_sched_unit_vcpu ( unit, v ) | ^~~~~~~~~~~~~~~~~~~~~~~~ common/sched/private.h: In function ‘sched_unit_unpause’: ./include/xen/sched.h:357:40: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 357 | (v)->vcpu_id < (u)->next_in_list->unit_id); \ | ^ common/sched/private.h:538:5: note: in expansion of macro ‘for_each_sched_unit_vcpu’ 538 | for_each_sched_unit_vcpu ( unit, v ) | ^~~~~~~~~~~~~~~~~~~~~~~~ common/sched/rt.c: In function ‘rt_dump_unit’: common/sched/rt.c:309:38: warning: unused parameter ‘ops’ [-Wunused-parameter] 309 | rt_dump_unit(const struct scheduler *ops, const struct rt_unit *svc) | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ common/sched/rt.c: In function ‘rt_res_pick_locked’: common/sched/rt.c:651:15: warning: operand of ‘?:’ changes signedness from ‘int’ to ‘unsigned int’ due to unsignedness of other operand [-Wsign-compare] 651 | : cpumask_cycle(sched_unit_master(unit), cpus); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ common/sched/rt.c: In function ‘rt_res_pick’: common/sched/rt.c:663:37: warning: unused parameter ‘ops’ [-Wunused-parameter] 663 | rt_res_pick(const struct scheduler *ops, const struct sched_unit *unit) | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ common/sched/rt.c: In function ‘rt_deinit_pdata’: common/sched/rt.c:775:52: warning: unused parameter ‘pcpu’ [-Wunused-parameter] 775 | rt_deinit_pdata(const struct scheduler *ops, void *pcpu, int cpu) | ~~~~~~^~~~ common/sched/rt.c: In function ‘rt_alloc_udata’: common/sched/rt.c:847:40: warning: unused parameter ‘ops’ [-Wunused-parameter] 847 | rt_alloc_udata(const struct scheduler *ops, struct sched_unit *unit, void *dd) | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ common/sched/rt.c: In function ‘rt_free_udata’: common/sched/rt.c:875:39: warning: unused parameter ‘ops’ [-Wunused-parameter] 875 | rt_free_udata(const struct scheduler *ops, void *priv) | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ common/sched/rt.c: In function ‘burn_budget’: common/sched/rt.c:950:37: warning: unused parameter ‘ops’ [-Wunused-parameter] 950 | burn_budget(const struct scheduler *ops, struct rt_unit *svc, s_time_t now) | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ common/sched/rt.c: In function ‘runq_tickle’: common/sched/rt.c:1218:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 1218 | while ( cpu!= nr_cpu_ids ) | ^~ LD arch/arm/vgic/built_in.o LD arch/arm/built_in.o CC common/sched/core.o In file included from common/sched/core.c:19: ./include/xen/param.h: In function ‘no_config_param’: ./include/xen/param.h:193:19: warning: operand of ‘?:’ changes signedness from ‘long int’ to ‘size_t’ {aka ‘long unsigned int’} due to unsignedness of other operand [-Wsign-compare] 193 | int len = e ? ({ ASSERT(e >= s); e - s; }) : strlen(s); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./arch/arm/include/asm/alternative.h:4, from ./arch/arm/include/asm/sysregs.h:14, from ./arch/arm/include/asm/time.h:4, from ./include/xen/time.h:78, from ./include/xen/spinlock.h:5, from ./include/xen/sched.h:6, from common/sched/core.c:20: ./arch/arm/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’: ./arch/arm/include/asm/cpufeature.h:101:48: warning: unused parameter ‘cpu’ [-Wunused-parameter] 101 | static inline int cpu_nr_siblings(unsigned int cpu) | ~~~~~~~~~~~~~^~~ In file included from ./include/public/domctl.h:21, from ./include/public/sysctl.h:18, from ./include/xen/spinlock.h:43: ./include/public/hvm/save.h: In function ‘__HVM_SAVE_FIX_COMPAT_END’: ./include/public/hvm/save.h:56:56: warning: unused parameter ‘h’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~^ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ ./include/public/hvm/save.h:56:68: warning: unused parameter ‘size’ [-Wunused-parameter] 56 | static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ | ~~~~~~~~~^~~~ ./include/public/hvm/save.h:86:1: note: in expansion of macro ‘DECLARE_HVM_SAVE_TYPE’ 86 | DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./arch/arm/include/asm/smp.h:5, from ./include/xen/smp.h:4, from ./include/xen/rwlock.h:6, from ./include/xen/sched.h:7: ./include/xen/cpumask.h: In function ‘cpumask_last’: ./include/xen/cpumask.h:230:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 230 | cpu < nr_cpu_ids; | ^ ./include/xen/cpumask.h: In function ‘cpumask_cycle’: ./include/xen/cpumask.h:240:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 240 | if (nxt == nr_cpu_ids) | ^~ ./include/xen/cpumask.h: In function ‘alloc_cpumask_var’: ./include/xen/cpumask.h:352:53: warning: unused parameter ‘mask’ [-Wunused-parameter] 352 | static inline bool alloc_cpumask_var(cpumask_var_t *mask) | ~~~~~~~~~~~~~~~^~~~ ./include/xen/cpumask.h: In function ‘free_cpumask_var’: ./include/xen/cpumask.h:365:51: warning: unused parameter ‘mask’ [-Wunused-parameter] 365 | static inline void free_cpumask_var(cpumask_var_t mask) | ~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/domain.h:5, from ./include/xen/sched.h:11: ./include/xen/numa.h: In function ‘mfn_to_nid’: ./include/xen/numa.h:129:41: warning: unused parameter ‘mfn’ [-Wunused-parameter] 129 | static inline nodeid_t mfn_to_nid(mfn_t mfn) | ~~~~~~^~~ In file included from ./arch/arm/include/asm/mm.h:12, from ./include/xen/mm.h:233, from ./arch/arm/include/asm/p2m.h:4, from ./arch/arm/include/asm/domain.h:7, from ./include/xen/domain.h:15: ./arch/arm/include/asm/arm64/mm.h: In function ‘arch_mfns_in_directmap’: ./arch/arm/include/asm/arm64/mm.h:10:57: warning: unused parameter ‘mfn’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/arm64/mm.h:10:76: warning: unused parameter ‘nr’ [-Wunused-parameter] 10 | static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) | ~~~~~~~~~~~~~~^~ ./include/xen/mm.h: In function ‘page_list_next’: ./include/xen/mm.h:451:45: warning: unused parameter ‘head’ [-Wunused-parameter] 451 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_prev’: ./include/xen/mm.h:457:45: warning: unused parameter ‘head’ [-Wunused-parameter] 457 | const struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del’: ./include/xen/mm.h:472:62: warning: unused parameter ‘head’ [-Wunused-parameter] 472 | page_list_del(struct page_info *page, struct page_list_head *head) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./include/xen/mm.h: In function ‘page_list_del2’: ./include/xen/mm.h:477:63: warning: unused parameter ‘head1’ [-Wunused-parameter] 477 | page_list_del2(struct page_info *page, struct page_list_head *head1, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./include/xen/mm.h:478:39: warning: unused parameter ‘head2’ [-Wunused-parameter] 478 | struct page_list_head *head2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./include/xen/mm.h:589: ./arch/arm/include/asm/flushtlb.h: In function ‘tlbflush_filter’: ./arch/arm/include/asm/flushtlb.h:11:47: warning: unused parameter ‘mask’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~~~^~~~ ./arch/arm/include/asm/flushtlb.h:11:62: warning: unused parameter ‘page_timestamp’ [-Wunused-parameter] 11 | static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp) {} | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from ./include/xen/radix-tree.h:24, from ./arch/arm/include/asm/p2m.h:5: ./include/xen/rcupdate.h: In function ‘rcu_read_lock’: ./include/xen/rcupdate.h:120:51: warning: unused parameter ‘lock’ [-Wunused-parameter] 120 | static inline void rcu_read_lock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ ./include/xen/rcupdate.h: In function ‘rcu_read_unlock’: ./include/xen/rcupdate.h:130:53: warning: unused parameter ‘lock’ [-Wunused-parameter] 130 | static inline void rcu_read_unlock(rcu_read_lock_t *lock) | ~~~~~~~~~~~~~~~~~^~~~ In file included from ./include/xen/mem_access.h:37, from ./arch/arm/include/asm/p2m.h:7: ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_emulate_check’: ./arch/arm/include/asm/mem_access.h:23:48: warning: unused parameter ‘v’ [-Wunused-parameter] 23 | bool p2m_mem_access_emulate_check(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/mem_access.h:24:61: warning: unused parameter ‘rsp’ [-Wunused-parameter] 24 | const struct vm_event_st *rsp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./arch/arm/include/asm/mem_access.h: In function ‘p2m_mem_access_sanity_check’: ./arch/arm/include/asm/mem_access.h:31:63: warning: unused parameter ‘d’ [-Wunused-parameter] 31 | static inline bool p2m_mem_access_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘arch_acquire_resource_check’: ./arch/arm/include/asm/p2m.h:174:63: warning: unused parameter ‘d’ [-Wunused-parameter] 174 | static inline bool arch_acquire_resource_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_altp2m_check’: ./arch/arm/include/asm/p2m.h:184:36: warning: unused parameter ‘v’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h:184:48: warning: unused parameter ‘idx’ [-Wunused-parameter] 184 | void p2m_altp2m_check(struct vcpu *v, uint16_t idx) | ~~~~~~~~~^~~ ./arch/arm/include/asm/p2m.h: In function ‘get_page_from_gfn’: ./arch/arm/include/asm/p2m.h:361:69: warning: unused parameter ‘q’ [-Wunused-parameter] 361 | struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) | ~~~~~~~~~~~~^ ./arch/arm/include/asm/p2m.h: In function ‘p2m_vm_event_sanity_check’: ./arch/arm/include/asm/p2m.h:417:61: warning: unused parameter ‘d’ [-Wunused-parameter] 417 | static inline bool p2m_vm_event_sanity_check(struct domain *d) | ~~~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘arch_vcpu_block’: ./arch/arm/include/asm/domain.h:297:49: warning: unused parameter ‘v’ [-Wunused-parameter] 297 | static inline void arch_vcpu_block(struct vcpu *v) {} | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h: In function ‘update_guest_memory_policy’: ./arch/arm/include/asm/domain.h:309:60: warning: unused parameter ‘v’ [-Wunused-parameter] 309 | static inline void update_guest_memory_policy(struct vcpu *v, | ~~~~~~~~~~~~~^ ./arch/arm/include/asm/domain.h:310:75: warning: unused parameter ‘gmp’ [-Wunused-parameter] 310 | struct guest_memory_policy *gmp) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from ./include/xen/sched.h:25: ./include/xen/vpci.h: In function ‘vpci_assign_device’: ./include/xen/vpci.h:278:54: warning: unused parameter ‘pdev’ [-Wunused-parameter] 278 | static inline int vpci_assign_device(struct pci_dev *pdev) | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_deassign_device’: ./include/xen/vpci.h:283:57: warning: unused parameter ‘pdev’ [-Wunused-parameter] 283 | static inline void vpci_deassign_device(struct pci_dev *pdev) { } | ~~~~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_read’: ./include/xen/vpci.h:287:45: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:287:64: warning: unused parameter ‘reg’ [-Wunused-parameter] 287 | static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:288:47: warning: unused parameter ‘size’ [-Wunused-parameter] 288 | unsigned int size) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_write’: ./include/xen/vpci.h:294:42: warning: unused parameter ‘sbdf’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~^~~~ ./include/xen/vpci.h:294:61: warning: unused parameter ‘reg’ [-Wunused-parameter] 294 | static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, | ~~~~~~~~~~~~~^~~ ./include/xen/vpci.h:295:44: warning: unused parameter ‘size’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~~~~~^~~~ ./include/xen/vpci.h:295:59: warning: unused parameter ‘data’ [-Wunused-parameter] 295 | unsigned int size, uint32_t data) | ~~~~~~~~~^~~~ ./include/xen/vpci.h: In function ‘vpci_process_pending’: ./include/xen/vpci.h:300:67: warning: unused parameter ‘v’ [-Wunused-parameter] 300 | static inline bool __must_check vpci_process_pending(struct vcpu *v) | ~~~~~~~~~~~~~^ ./include/xen/sched.h: In function ‘is_pv_32bit_domain’: ./include/xen/sched.h:1131:67: warning: unused parameter ‘d’ [-Wunused-parameter] 1131 | static always_inline bool is_pv_32bit_domain(const struct domain *d) | ~~~~~~~~~~~~~~~~~~~~~^ In file included from ./include/xen/event.h:17, from common/sched/core.c:23: ./arch/arm/include/asm/event.h: In function ‘arch_virq_is_global’: ./arch/arm/include/asm/event.h:50:53: warning: unused parameter ‘virq’ [-Wunused-parameter] 50 | static inline bool arch_virq_is_global(unsigned int virq) | ~~~~~~~~~~~~~^~~~ In file included from ./include/xen/hypercall.h:22, from common/sched/core.c:32: ./include/xsm/xsm.h: In function ‘xsm_domain_create’: ./include/xsm/xsm.h:224:19: warning: unused parameter ‘def’ [-Wunused-parameter] 224 | xsm_default_t def, struct domain *d, uint32_t ssidref) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_getdomaininfo’: ./include/xsm/xsm.h:229:51: warning: unused parameter ‘def’ [-Wunused-parameter] 229 | static inline int xsm_getdomaininfo(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_domctl_scheduler_op’: ./include/xsm/xsm.h:235:19: warning: unused parameter ‘def’ [-Wunused-parameter] 235 | xsm_default_t def, struct domain *d, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_sysctl_scheduler_op’: ./include/xsm/xsm.h:240:57: warning: unused parameter ‘def’ [-Wunused-parameter] 240 | static inline int xsm_sysctl_scheduler_op(xsm_default_t def, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_set_target’: ./include/xsm/xsm.h:246:19: warning: unused parameter ‘def’ [-Wunused-parameter] 246 | xsm_default_t def, struct domain *d, struct domain *e) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_domctl’: ./include/xsm/xsm.h:251:44: warning: unused parameter ‘def’ [-Wunused-parameter] 251 | static inline int xsm_domctl(xsm_default_t def, struct domain *d, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_sysctl’: ./include/xsm/xsm.h:256:44: warning: unused parameter ‘def’ [-Wunused-parameter] 256 | static inline int xsm_sysctl(xsm_default_t def, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_readconsole’: ./include/xsm/xsm.h:261:49: warning: unused parameter ‘def’ [-Wunused-parameter] 261 | static inline int xsm_readconsole(xsm_default_t def, uint32_t clear) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_unbound’: ./include/xsm/xsm.h:267:19: warning: unused parameter ‘def’ [-Wunused-parameter] 267 | xsm_default_t def, struct domain *d1, struct evtchn *chn, domid_t id2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_interdomain’: ./include/xsm/xsm.h:273:19: warning: unused parameter ‘def’ [-Wunused-parameter] 273 | xsm_default_t def, struct domain *d1, struct evtchn *chan1, | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_send’: ./include/xsm/xsm.h:285:19: warning: unused parameter ‘def’ [-Wunused-parameter] 285 | xsm_default_t def, struct domain *d, struct evtchn *chn) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_status’: ./include/xsm/xsm.h:291:19: warning: unused parameter ‘def’ [-Wunused-parameter] 291 | xsm_default_t def, struct domain *d, struct evtchn *chn) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_evtchn_reset’: ./include/xsm/xsm.h:297:19: warning: unused parameter ‘def’ [-Wunused-parameter] 297 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_mapref’: ./include/xsm/xsm.h:303:19: warning: unused parameter ‘def’ [-Wunused-parameter] 303 | xsm_default_t def, struct domain *d1, struct domain *d2, uint32_t flags) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_unmapref’: ./include/xsm/xsm.h:309:19: warning: unused parameter ‘def’ [-Wunused-parameter] 309 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_setup’: ./include/xsm/xsm.h:315:19: warning: unused parameter ‘def’ [-Wunused-parameter] 315 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_transfer’: ./include/xsm/xsm.h:321:19: warning: unused parameter ‘def’ [-Wunused-parameter] 321 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_copy’: ./include/xsm/xsm.h:327:19: warning: unused parameter ‘def’ [-Wunused-parameter] 327 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_grant_query_size’: ./include/xsm/xsm.h:333:19: warning: unused parameter ‘def’ [-Wunused-parameter] 333 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_init_hardware_domain’: ./include/xsm/xsm.h:366:58: warning: unused parameter ‘def’ [-Wunused-parameter] 366 | static inline int xsm_init_hardware_domain(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_get_pod_target’: ./include/xsm/xsm.h:371:52: warning: unused parameter ‘def’ [-Wunused-parameter] 371 | static inline int xsm_get_pod_target(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_set_pod_target’: ./include/xsm/xsm.h:376:52: warning: unused parameter ‘def’ [-Wunused-parameter] 376 | static inline int xsm_set_pod_target(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_exchange’: ./include/xsm/xsm.h:381:53: warning: unused parameter ‘def’ [-Wunused-parameter] 381 | static inline int xsm_memory_exchange(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_adjust_reservation’: ./include/xsm/xsm.h:387:19: warning: unused parameter ‘def’ [-Wunused-parameter] 387 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_stat_reservation’: ./include/xsm/xsm.h:393:19: warning: unused parameter ‘def’ [-Wunused-parameter] 393 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_memory_pin_page’: ./include/xsm/xsm.h:399:19: warning: unused parameter ‘def’ [-Wunused-parameter] 399 | xsm_default_t def, struct domain *d1, struct domain *d2, | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_add_to_physmap’: ./include/xsm/xsm.h:406:19: warning: unused parameter ‘def’ [-Wunused-parameter] 406 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_remove_from_physmap’: ./include/xsm/xsm.h:412:19: warning: unused parameter ‘def’ [-Wunused-parameter] 412 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_map_gmfn_foreign’: ./include/xsm/xsm.h:418:19: warning: unused parameter ‘def’ [-Wunused-parameter] 418 | xsm_default_t def, struct domain *d, struct domain *t) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_claim_pages’: ./include/xsm/xsm.h:423:49: warning: unused parameter ‘def’ [-Wunused-parameter] 423 | static inline int xsm_claim_pages(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_console_io’: ./include/xsm/xsm.h:428:48: warning: unused parameter ‘def’ [-Wunused-parameter] 428 | static inline int xsm_console_io(xsm_default_t def, struct domain *d, int cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_profile’: ./include/xsm/xsm.h:433:45: warning: unused parameter ‘def’ [-Wunused-parameter] 433 | static inline int xsm_profile(xsm_default_t def, struct domain *d, int op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_kexec’: ./include/xsm/xsm.h:438:43: warning: unused parameter ‘def’ [-Wunused-parameter] 438 | static inline int xsm_kexec(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_schedop_shutdown’: ./include/xsm/xsm.h:444:19: warning: unused parameter ‘def’ [-Wunused-parameter] 444 | xsm_default_t def, struct domain *d1, struct domain *d2) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_map_domain_pirq’: ./include/xsm/xsm.h:454:53: warning: unused parameter ‘def’ [-Wunused-parameter] 454 | static inline int xsm_map_domain_pirq(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_map_domain_irq’: ./include/xsm/xsm.h:460:19: warning: unused parameter ‘def’ [-Wunused-parameter] 460 | xsm_default_t def, struct domain *d, int irq, void *data) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_unmap_domain_pirq’: ./include/xsm/xsm.h:465:55: warning: unused parameter ‘def’ [-Wunused-parameter] 465 | static inline int xsm_unmap_domain_pirq(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_unmap_domain_irq’: ./include/xsm/xsm.h:471:19: warning: unused parameter ‘def’ [-Wunused-parameter] 471 | xsm_default_t def, struct domain *d, int irq, void *data) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_bind_pt_irq’: ./include/xsm/xsm.h:477:19: warning: unused parameter ‘def’ [-Wunused-parameter] 477 | xsm_default_t def, struct domain *d, struct xen_domctl_bind_pt_irq *bind) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_unbind_pt_irq’: ./include/xsm/xsm.h:483:19: warning: unused parameter ‘def’ [-Wunused-parameter] 483 | xsm_default_t def, struct domain *d, struct xen_domctl_bind_pt_irq *bind) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_irq_permission’: ./include/xsm/xsm.h:489:19: warning: unused parameter ‘def’ [-Wunused-parameter] 489 | xsm_default_t def, struct domain *d, int pirq, uint8_t allow) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_iomem_permission’: ./include/xsm/xsm.h:495:19: warning: unused parameter ‘def’ [-Wunused-parameter] 495 | xsm_default_t def, struct domain *d, uint64_t s, uint64_t e, uint8_t allow) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_iomem_mapping’: ./include/xsm/xsm.h:501:19: warning: unused parameter ‘def’ [-Wunused-parameter] 501 | xsm_default_t def, struct domain *d, uint64_t s, uint64_t e, uint8_t allow) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_pci_config_permission’: ./include/xsm/xsm.h:507:19: warning: unused parameter ‘def’ [-Wunused-parameter] 507 | xsm_default_t def, struct domain *d, uint32_t machine_bdf, uint16_t start, | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_assign_dtdevice’: ./include/xsm/xsm.h:534:19: warning: unused parameter ‘def’ [-Wunused-parameter] 534 | xsm_default_t def, struct domain *d, const char *dtpath) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_deassign_dtdevice’: ./include/xsm/xsm.h:540:19: warning: unused parameter ‘def’ [-Wunused-parameter] 540 | xsm_default_t def, struct domain *d, const char *dtpath) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_plug_pci’: ./include/xsm/xsm.h:547:55: warning: unused parameter ‘def’ [-Wunused-parameter] 547 | static inline int xsm_resource_plug_pci(xsm_default_t def, uint32_t machine_bdf) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_unplug_pci’: ./include/xsm/xsm.h:553:19: warning: unused parameter ‘def’ [-Wunused-parameter] 553 | xsm_default_t def, uint32_t machine_bdf) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_plug_core’: ./include/xsm/xsm.h:558:56: warning: unused parameter ‘def’ [-Wunused-parameter] 558 | static inline int xsm_resource_plug_core(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_unplug_core’: ./include/xsm/xsm.h:563:58: warning: unused parameter ‘def’ [-Wunused-parameter] 563 | static inline int xsm_resource_unplug_core(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_setup_pci’: ./include/xsm/xsm.h:569:19: warning: unused parameter ‘def’ [-Wunused-parameter] 569 | xsm_default_t def, uint32_t machine_bdf) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_setup_gsi’: ./include/xsm/xsm.h:574:56: warning: unused parameter ‘def’ [-Wunused-parameter] 574 | static inline int xsm_resource_setup_gsi(xsm_default_t def, int gsi) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_resource_setup_misc’: ./include/xsm/xsm.h:579:57: warning: unused parameter ‘def’ [-Wunused-parameter] 579 | static inline int xsm_resource_setup_misc(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_page_offline’: ./include/xsm/xsm.h:584:50: warning: unused parameter ‘def’ [-Wunused-parameter] 584 | static inline int xsm_page_offline(xsm_default_t def, uint32_t cmd) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hypfs_op’: ./include/xsm/xsm.h:589:46: warning: unused parameter ‘def’ [-Wunused-parameter] 589 | static inline int xsm_hypfs_op(xsm_default_t def) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hvm_param’: ./include/xsm/xsm.h:607:19: warning: unused parameter ‘def’ [-Wunused-parameter] 607 | xsm_default_t def, struct domain *d, unsigned long op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hvm_param_altp2mhvm’: ./include/xsm/xsm.h:612:57: warning: unused parameter ‘def’ [-Wunused-parameter] 612 | static inline int xsm_hvm_param_altp2mhvm(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_hvm_altp2mhvm_op’: ./include/xsm/xsm.h:618:19: warning: unused parameter ‘def’ [-Wunused-parameter] 618 | xsm_default_t def, struct domain *d, uint64_t mode, uint32_t op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_get_vnumainfo’: ./include/xsm/xsm.h:623:51: warning: unused parameter ‘def’ [-Wunused-parameter] 623 | static inline int xsm_get_vnumainfo(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_vm_event_control’: ./include/xsm/xsm.h:629:19: warning: unused parameter ‘def’ [-Wunused-parameter] 629 | xsm_default_t def, struct domain *d, int mode, int op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_mem_access’: ./include/xsm/xsm.h:635:48: warning: unused parameter ‘def’ [-Wunused-parameter] 635 | static inline int xsm_mem_access(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_platform_op’: ./include/xsm/xsm.h:655:49: warning: unused parameter ‘def’ [-Wunused-parameter] 655 | static inline int xsm_platform_op(xsm_default_t def, uint32_t op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_dm_op’: ./include/xsm/xsm.h:738:43: warning: unused parameter ‘def’ [-Wunused-parameter] 738 | static inline int xsm_dm_op(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_xen_version’: ./include/xsm/xsm.h:743:49: warning: unused parameter ‘def’ [-Wunused-parameter] 743 | static inline int xsm_xen_version(xsm_default_t def, uint32_t op) | ~~~~~~~~~~~~~~^~~ ./include/xsm/xsm.h: In function ‘xsm_domain_resource_map’: ./include/xsm/xsm.h:748:57: warning: unused parameter ‘def’ [-Wunused-parameter] 748 | static inline int xsm_domain_resource_map(xsm_default_t def, struct domain *d) | ~~~~~~~~~~~~~~^~~ common/sched/private.h: In function ‘is_unit_online’: ./include/xen/sched.h:357:40: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 357 | (v)->vcpu_id < (u)->next_in_list->unit_id); \ | ^ common/sched/private.h:91:5: note: in expansion of macro ‘for_each_sched_unit_vcpu’ 91 | for_each_sched_unit_vcpu ( unit, v ) | ^~~~~~~~~~~~~~~~~~~~~~~~ common/sched/private.h: In function ‘unit_runnable’: ./include/xen/sched.h:357:40: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 357 | (v)->vcpu_id < (u)->next_in_list->unit_id); \ | ^ common/sched/private.h:108:5: note: in expansion of macro ‘for_each_sched_unit_vcpu’ 108 | for_each_sched_unit_vcpu ( unit, v ) | ^~~~~~~~~~~~~~~~~~~~~~~~ common/sched/private.h: In function ‘unit_runnable_state’: ./include/xen/sched.h:357:40: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 357 | (v)->vcpu_id < (u)->next_in_list->unit_id); \ | ^ common/sched/private.h:135:5: note: in expansion of macro ‘for_each_sched_unit_vcpu’ 135 | for_each_sched_unit_vcpu ( unit, v ) | ^~~~~~~~~~~~~~~~~~~~~~~~ common/sched/private.h: In function ‘sched_set_res’: ./include/xen/sched.h:357:40: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 357 | (v)->vcpu_id < (u)->next_in_list->unit_id); \ | ^ common/sched/private.h:154:5: note: in expansion of macro ‘for_each_sched_unit_vcpu’ 154 | for_each_sched_unit_vcpu ( unit, v ) | ^~~~~~~~~~~~~~~~~~~~~~~~ common/sched/private.h: In function ‘sched_set_pause_flags’: ./include/xen/sched.h:357:40: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 357 | (v)->vcpu_id < (u)->next_in_list->unit_id); \ | ^ common/sched/private.h:176:5: note: in expansion of macro ‘for_each_sched_unit_vcpu’ 176 | for_each_sched_unit_vcpu ( unit, v ) | ^~~~~~~~~~~~~~~~~~~~~~~~ common/sched/private.h: In function ‘sched_clear_pause_flags’: ./include/xen/sched.h:357:40: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 357 | (v)->vcpu_id < (u)->next_in_list->unit_id); \ | ^ common/sched/private.h:186:5: note: in expansion of macro ‘for_each_sched_unit_vcpu’ 186 | for_each_sched_unit_vcpu ( unit, v ) | ^~~~~~~~~~~~~~~~~~~~~~~~ common/sched/private.h: In function ‘sched_unit_pause_nosync’: ./include/xen/sched.h:357:40: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 357 | (v)->vcpu_id < (u)->next_in_list->unit_id); \ | ^ common/sched/private.h:530:5: note: in expansion of macro ‘for_each_sched_unit_vcpu’ 530 | for_each_sched_unit_vcpu ( unit, v ) | ^~~~~~~~~~~~~~~~~~~~~~~~ common/sched/private.h: In function ‘sched_unit_unpause’: ./include/xen/sched.h:357:40: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 357 | (v)->vcpu_id < (u)->next_in_list->unit_id); \ | ^ common/sched/private.h:538:5: note: in expansion of macro ‘for_each_sched_unit_vcpu’ 538 | for_each_sched_unit_vcpu ( unit, v ) | ^~~~~~~~~~~~~~~~~~~~~~~~ common/sched/core.c: In function ‘sched_idle_res_pick’: common/sched/core.c:102:45: warning: unused parameter ‘ops’ [-Wunused-parameter] 102 | sched_idle_res_pick(const struct scheduler *ops, const struct sched_unit *unit) | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ common/sched/core.c: In function ‘sched_idle_alloc_udata’: common/sched/core.c:108:48: warning: unused parameter ‘ops’ [-Wunused-parameter] 108 | sched_idle_alloc_udata(const struct scheduler *ops, struct sched_unit *unit, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ common/sched/core.c:108:72: warning: unused parameter ‘unit’ [-Wunused-parameter] 108 | sched_idle_alloc_udata(const struct scheduler *ops, struct sched_unit *unit, | ~~~~~~~~~~~~~~~~~~~^~~~ common/sched/core.c:109:30: warning: unused parameter ‘dd’ [-Wunused-parameter] 109 | void *dd) | ~~~~~~^~ common/sched/core.c: In function ‘sched_idle_free_udata’: common/sched/core.c:116:47: warning: unused parameter ‘ops’ [-Wunused-parameter] 116 | sched_idle_free_udata(const struct scheduler *ops, void *priv) | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ common/sched/core.c:116:58: warning: unused parameter ‘priv’ [-Wunused-parameter] 116 | sched_idle_free_udata(const struct scheduler *ops, void *priv) | ~~~~~~^~~~ common/sched/core.c: In function ‘sched_idle_schedule’: common/sched/core.c:121:29: warning: unused parameter ‘ops’ [-Wunused-parameter] 121 | const struct scheduler *ops, struct sched_unit *unit, s_time_t now, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ common/sched/core.c:121:68: warning: unused parameter ‘now’ [-Wunused-parameter] 121 | const struct scheduler *ops, struct sched_unit *unit, s_time_t now, | ~~~~~~~~~^~~ common/sched/core.c:122:10: warning: unused parameter ‘tasklet_work_scheduled’ [-Wunused-parameter] 122 | bool tasklet_work_scheduled) common/sched/core.c: In function ‘sched_free_unit’: ./include/xen/sched.h:357:40: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 357 | (v)->vcpu_id < (u)->next_in_list->unit_id); \ | ^ common/sched/core.c:415:5: note: in expansion of macro ‘for_each_sched_unit_vcpu’ 415 | for_each_sched_unit_vcpu ( unit, vunit ) | ^~~~~~~~~~~~~~~~~~~~~~~~ common/sched/core.c: In function ‘sched_move_irqs’: ./include/xen/sched.h:357:40: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 357 | (v)->vcpu_id < (u)->next_in_list->unit_id); \ | ^ common/sched/core.c:651:5: note: in expansion of macro ‘for_each_sched_unit_vcpu’ 651 | for_each_sched_unit_vcpu ( unit, v ) | ^~~~~~~~~~~~~~~~~~~~~~~~ common/sched/core.c: In function ‘sched_move_domain’: common/sched/core.c:782:35: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] 782 | if ( unit->unit_id + gran == v->vcpu_id ) | ^~ ./include/xen/sched.h:357:40: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 357 | (v)->vcpu_id < (u)->next_in_list->unit_id); \ | ^ common/sched/core.c:801:9: note: in expansion of macro ‘for_each_sched_unit_vcpu’ 801 | for_each_sched_unit_vcpu ( unit, v ) | ^~~~~~~~~~~~~~~~~~~~~~~~ common/sched/core.c: In function ‘sched_unit_move_locked’: ./include/xen/sched.h:357:40: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 357 | (v)->vcpu_id < (u)->next_in_list->unit_id); \ | ^ common/sched/core.c:1039:5: note: in expansion of macro ‘for_each_sched_unit_vcpu’ 1039 | for_each_sched_unit_vcpu ( unit, v ) | ^~~~~~~~~~~~~~~~~~~~~~~~ common/sched/core.c: In function ‘sched_unit_migrate_start’: ./include/xen/sched.h:357:40: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 357 | (v)->vcpu_id < (u)->next_in_list->unit_id); \ | ^ common/sched/core.c:1088:5: note: in expansion of macro ‘for_each_sched_unit_vcpu’ 1088 | for_each_sched_unit_vcpu ( unit, v ) | ^~~~~~~~~~~~~~~~~~~~~~~~ common/sched/core.c: In function ‘sched_unit_migrate_finish’: ./include/xen/sched.h:357:40: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 357 | (v)->vcpu_id < (u)->next_in_list->unit_id); \ | ^ common/sched/core.c:1110:5: note: in expansion of macro ‘for_each_sched_unit_vcpu’ 1110 | for_each_sched_unit_vcpu ( unit, v ) | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/xen/sched.h:357:40: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 357 | (v)->vcpu_id < (u)->next_in_list->unit_id); \ | ^ common/sched/core.c:1170:5: note: in expansion of macro ‘for_each_sched_unit_vcpu’ 1170 | for_each_sched_unit_vcpu ( unit, v ) | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/xen/sched.h:357:40: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 357 | (v)->vcpu_id < (u)->next_in_list->unit_id); \ | ^ common/sched/core.c:1187:5: note: in expansion of macro ‘for_each_sched_unit_vcpu’ 1187 | for_each_sched_unit_vcpu ( unit, v ) | ^~~~~~~~~~~~~~~~~~~~~~~~ common/sched/core.c: In function ‘sched_check_affinity_broken’: ./include/xen/sched.h:357:40: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 357 | (v)->vcpu_id < (u)->next_in_list->unit_id); \ | ^ common/sched/core.c:1195:5: note: in expansion of macro ‘for_each_sched_unit_vcpu’ 1195 | for_each_sched_unit_vcpu ( unit, v ) | ^~~~~~~~~~~~~~~~~~~~~~~~ common/sched/core.c: In function ‘domain_watchdog’: common/sched/core.c:1562:50: warning: operand of ‘?:’ changes signedness from ‘int’ to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare] 1562 | return id == NR_DOMAIN_WATCHDOG_TIMERS ? -ENOSPC : id + 1; | ^~~~~~~ common/sched/core.c: In function ‘vcpu_temporary_affinity’: common/sched/core.c:1640:65: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 1640 | (sched_check_affinity_broken(unit) && v->processor != cpu) ) | ^~ common/sched/core.c: In function ‘sched_switch_units’: common/sched/core.c:2219:54: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 2219 | if ( vprev != vnext || vprev->runstate.state != vnext->new_state ) | ^~ common/sched/core.c: In function ‘s_timer_fn’: common/sched/core.c:2714:39: warning: unused parameter ‘unused’ [-Wunused-parameter] 2714 | static void cf_check s_timer_fn(void *unused) | ~~~~~~^~~~~~ common/sched/core.c: In function ‘cpu_schedule_callback’: common/sched/core.c:2857:28: warning: unused parameter ‘nfb’ [-Wunused-parameter] 2857 | struct notifier_block *nfb, unsigned long action, void *hcpu) | ~~~~~~~~~~~~~~~~~~~~~~~^~~ common/sched/core.c: In function ‘sched_get_id_by_name’: common/sched/core.c:2980:46: warning: operand of ‘?:’ changes signedness from ‘int’ to ‘unsigned int’ due to unsignedness of other operand [-Wsign-compare] 2980 | return scheduler ? scheduler->sched_id : -1; | ^~ INIT_O common/sched/boot-cpupool.init.o LD common/sched/built_in.o LD common/built_in.o LD prelink.o ld -EL --fix-cortex-a53-843419 -T arch/arm/xen.lds -N prelink.o \ ./common/symbols-dummy.o -o ./.xen-syms.0 nm -pa --format=sysv ./.xen-syms.0 \ | ./tools/symbols --all-symbols --sort-by-name --sysv --sort \ > ./.xen-syms.0.S make -f ./Rules.mk obj=. ./.xen-syms.0.o CC .xen-syms.0.o ld -EL --fix-cortex-a53-843419 -T arch/arm/xen.lds -N prelink.o \ ./.xen-syms.0.o -o ./.xen-syms.1 nm -pa --format=sysv ./.xen-syms.1 \ | ./tools/symbols --all-symbols --sort-by-name --sysv --sort \ > ./.xen-syms.1.S make -f ./Rules.mk obj=. ./.xen-syms.1.o CC .xen-syms.1.o ld -EL --fix-cortex-a53-843419 -T arch/arm/xen.lds -N prelink.o --build-id=sha1 \ ./.xen-syms.1.o -o xen-syms nm -pa --format=sysv xen-syms \ | ./tools/symbols --all-symbols --xensyms --sysv --sort \ > xen-syms.map rm -f ./.xen-syms.[0-9]* objcopy -O binary -S xen-syms xen ln -sf xen xen.efi 36.84user 3.76system 0:13.19elapsed 307%CPU (0avgtext+0avgdata 145732maxresident)k 4775948inputs+477578outputs (56major+2766541minor)pagefaults 0swaps