Questions when put in the compiler -wExtra option
Hi, I am Yunseong Kim.
I was looking for an appropriate topic for -wExtra compilation options and came across this threads.
The below make build a lot of warnings(attachement file are build log with warnings) compared to the Linux kernel,
is it something that would benefit the Xen hypervisor to apply removing warning for the code?
The additional no options were added to ensure that Xen compiles successfully when the wError compiler flag is added.
They are all printed as warnings.
$ make allyesconfig
$ CFLAGS="-g -O0 -Wextra -Wno-error=unused-parameter -Wno-error=sign-compare -Wno-error=empty-body -Wno-error=old-style-declaration -Wno-error=type-limits" time make -j4 2>&1 | tee xen-build.log
I have a question about the prioritization of fixes for the warning items.
If some of the warnings the Xen hypervisor detects aren't critical for its operation, I wouldn't want to submit a patch that might introduce unnecessary complexity.
Would it be helpful to clarify which fixes are considered some of priority?
My compile environment is Arm64 Ubuntu 22.04
$ uname -a Linux paran-QEMU-Virtual-Machine 6.5.0-35-generic #35~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue May 7 11:19:33 UTC 2 aarch64 aarch64 aarch64 GNU/Linux
$ gcc -v Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/aarch64-linux-gnu/12/lto-wrapper Target: aarch64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu 12.3.0-1ubuntu1~22.04' --with-bugurl=file:///usr/share/doc/gcc-12/README.Bugs --enable-languages=c,ada,c++,go,d,fortran,objc,obj-c++,m2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-12 --program-prefix=aarch64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-libquadmath --disable-libquadmath-support --enable-plugin --enable-default-pie --with-system-zlib --enable-libphobos-checking=release --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --enable-fix-cortex-a53-843419 --disable-werror --enable-checking=release --build=aarch64-linux-gnu --host=aarch64-linux-gnu --target=aarch64-linux-gnu Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 12.3.0 (Ubuntu 12.3.0-1ubuntu1~22.04)
Warm Regards,
Yunseong Kim
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 <command-line>: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.odrivers/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.olib/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 <command-line>: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.oxsm/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.odrivers/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.ocommon/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.oxsm/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,12 lines not shown · raw message
39,112 lines not shown · raw message
Part of this message is not shown here. View the raw message.