[linux-next:master 8399/8516] include/linux/cpumask.h:126:68: warning: unused parameter 'srcp1'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   9803fb968c8c2e1283f67b3baeb88e0adba435b4
commit: ceeec6f49cb30b8ba321677f4498e6158c6b4deb [8399/8516] cpumask: use find_first_and_bit()
config: i386-randconfig-r021-20210816 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 2c6448cdc2f68f8c28fd0bd9404182b81306e6e6)
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=ceeec6f49cb30b8ba321677f4498e6158c6b4deb
        git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
        git fetch --no-tags linux-next master
        git checkout ceeec6f49cb30b8ba321677f4498e6158c6b4deb
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=i386 

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

All warnings (new ones prefixed by >>):

   In file included from include/linux/of.h:15:
   In file included from include/linux/bitops.h:32:
   In file included from arch/x86/include/asm/bitops.h:17:
   arch/x86/include/asm/alternative.h:90:63: warning: unused parameter 'mod' [-Wunused-parameter]
   static inline void alternatives_smp_module_add(struct module *mod, char *name,
                                                                 ^
   arch/x86/include/asm/alternative.h:90:74: warning: unused parameter 'name' [-Wunused-parameter]
   static inline void alternatives_smp_module_add(struct module *mod, char *name,
                                                                            ^
   arch/x86/include/asm/alternative.h:91:19: warning: unused parameter 'locks' [-Wunused-parameter]
                                                  void *locks, void *locks_end,
                                                        ^
   arch/x86/include/asm/alternative.h:91:32: warning: unused parameter 'locks_end' [-Wunused-parameter]
                                                  void *locks, void *locks_end,
                                                                     ^
   arch/x86/include/asm/alternative.h:92:19: warning: unused parameter 'text' [-Wunused-parameter]
                                                  void *text, void *text_end) {}
                                                        ^
   arch/x86/include/asm/alternative.h:92:31: warning: unused parameter 'text_end' [-Wunused-parameter]
                                                  void *text, void *text_end) {}
                                                                    ^
   arch/x86/include/asm/alternative.h:93:63: warning: unused parameter 'mod' [-Wunused-parameter]
   static inline void alternatives_smp_module_del(struct module *mod) {}
                                                                 ^
   arch/x86/include/asm/alternative.h:95:52: warning: unused parameter 'start' [-Wunused-parameter]
   static inline int alternatives_text_reserved(void *start, void *end)
                                                      ^
   arch/x86/include/asm/alternative.h:95:65: warning: unused parameter 'end' [-Wunused-parameter]
   static inline int alternatives_text_reserved(void *start, void *end)
                                                                   ^
   In file included from drivers/gpu/drm/i915/i915_drv.c:30:
   In file included from include/linux/acpi.h:13:
   In file included from include/linux/irqdomain.h:35:
   In file included from include/linux/of.h:15:
   In file included from include/linux/bitops.h:32:
   In file included from arch/x86/include/asm/bitops.h:389:
   In file included from include/asm-generic/bitops/instrumented-atomic.h:14:
   include/linux/instrumented.h:116:38: warning: unused parameter 'to' [-Wunused-parameter]
   instrument_copy_to_user(void __user *to, const void *from, unsigned long n)
                                        ^
   include/linux/instrumented.h:133:62: warning: unused parameter 'from' [-Wunused-parameter]
   instrument_copy_from_user(const void *to, const void __user *from, unsigned long n)
                                                                ^
   In file included from drivers/gpu/drm/i915/i915_drv.c:30:
   In file included from include/linux/acpi.h:13:
   In file included from include/linux/irqdomain.h:35:
   In file included from include/linux/of.h:15:
   In file included from include/linux/bitops.h:32:
   In file included from arch/x86/include/asm/bitops.h:393:
   In file included from include/asm-generic/bitops/le.h:6:
   In file included from arch/x86/include/uapi/asm/byteorder.h:5:
   In file included from include/linux/byteorder/little_endian.h:11:
   include/linux/byteorder/generic.h:195:16: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned int') [-Wsign-compare]
           for (i = 0; i < len; i++)
                       ~ ^ ~~~
   include/linux/byteorder/generic.h:203:16: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned int') [-Wsign-compare]
           for (i = 0; i < len; i++)
                       ~ ^ ~~~
   In file included from drivers/gpu/drm/i915/i915_drv.c:30:
   In file included from include/linux/acpi.h:13:
   In file included from include/linux/irqdomain.h:35:
   In file included from include/linux/of.h:17:
   In file included from include/linux/kobject.h:19:
   In file included from include/linux/list.h:9:
   include/linux/kernel.h:323:48: warning: unused parameter 'fmt' [-Wunused-parameter]
   void ____trace_printk_check_format(const char *fmt, ...)
                                                  ^
   In file included from drivers/gpu/drm/i915/i915_drv.c:30:
   In file included from include/linux/acpi.h:13:
   In file included from include/linux/irqdomain.h:35:
   In file included from include/linux/of.h:17:
   In file included from include/linux/kobject.h:20:
   In file included from include/linux/sysfs.h:16:
   In file included from include/linux/kernfs.h:12:
   In file included from include/linux/mutex.h:14:
   In file included from arch/x86/include/asm/current.h:6:
   In file included from arch/x86/include/asm/percpu.h:390:
   In file included from include/asm-generic/percpu.h:7:
   include/linux/percpu-defs.h:313:57: warning: unused parameter 'op' [-Wunused-parameter]
   static inline void __this_cpu_preempt_check(const char *op) { }
                                                           ^
   In file included from drivers/gpu/drm/i915/i915_drv.c:30:
   In file included from include/linux/acpi.h:13:
   In file included from include/linux/irqdomain.h:35:
   In file included from include/linux/of.h:17:
   In file included from include/linux/kobject.h:20:
   In file included from include/linux/sysfs.h:16:
   In file included from include/linux/kernfs.h:12:
   In file included from include/linux/mutex.h:17:
   In file included from include/linux/lockdep.h:14:
   In file included from include/linux/smp.h:13:
   include/linux/cpumask.h:105:51: warning: unused parameter 'cpu' [-Wunused-parameter]
   static inline void cpu_max_bits_warn(unsigned int cpu, unsigned int bits)
                                                     ^
   include/linux/cpumask.h:105:69: warning: unused parameter 'bits' [-Wunused-parameter]
   static inline void cpu_max_bits_warn(unsigned int cpu, unsigned int bits)
                                                                       ^
   include/linux/cpumask.h:121:64: warning: unused parameter 'srcp' [-Wunused-parameter]
   static inline unsigned int cpumask_first(const struct cpumask *srcp)
                                                                  ^
>> include/linux/cpumask.h:126:68: warning: unused parameter 'srcp1' [-Wunused-parameter]
   static inline unsigned int cpumask_first_and(const struct cpumask *srcp1,
                                                                      ^
>> include/linux/cpumask.h:127:33: warning: unused parameter 'srcp2' [-Wunused-parameter]
                                                const struct cpumask *srcp2)
                                                                      ^
   include/linux/cpumask.h:132:63: warning: unused parameter 'srcp' [-Wunused-parameter]
   static inline unsigned int cpumask_last(const struct cpumask *srcp)
                                                                 ^
   include/linux/cpumask.h:138:70: warning: unused parameter 'srcp' [-Wunused-parameter]
   static inline unsigned int cpumask_next(int n, const struct cpumask *srcp)
                                                                        ^
   include/linux/cpumask.h:143:75: warning: unused parameter 'srcp' [-Wunused-parameter]
   static inline unsigned int cpumask_next_zero(int n, const struct cpumask *srcp)
                                                                             ^
   include/linux/cpumask.h:149:32: warning: unused parameter 'srcp' [-Wunused-parameter]
                                               const struct cpumask *srcp,
                                                                     ^
   include/linux/cpumask.h:150:32: warning: unused parameter 'andp' [-Wunused-parameter]
                                               const struct cpumask *andp)
                                                                     ^
   include/linux/cpumask.h:155:75: warning: unused parameter 'mask' [-Wunused-parameter]
   static inline unsigned int cpumask_next_wrap(int n, const struct cpumask *mask,
                                                                             ^
   include/linux/cpumask.h:156:15: warning: unused parameter 'start' [-Wunused-parameter]
                                                int start, bool wrap)
                                                    ^
   include/linux/cpumask.h:163:66: warning: unused parameter 'mask' [-Wunused-parameter]
   static inline unsigned int cpumask_any_but(const struct cpumask *mask,
                                                                    ^
   include/linux/cpumask.h:164:22: warning: unused parameter 'cpu' [-Wunused-parameter]
                                              unsigned int cpu)
                                                           ^
   include/linux/cpumask.h:169:62: warning: unused parameter 'i' [-Wunused-parameter]
   static inline unsigned int cpumask_local_spread(unsigned int i, int node)
                                                                ^
   include/linux/cpumask.h:169:69: warning: unused parameter 'node' [-Wunused-parameter]
   static inline unsigned int cpumask_local_spread(unsigned int i, int node)
                                                                       ^
   include/linux/cpumask.h:748:53: warning: unused parameter 'mask' [-Wunused-parameter]
   static inline bool alloc_cpumask_var(cpumask_var_t *mask, gfp_t flags)
                                                       ^
   include/linux/cpumask.h:748:65: warning: unused parameter 'flags' [-Wunused-parameter]
   static inline bool alloc_cpumask_var(cpumask_var_t *mask, gfp_t flags)
                                                                   ^
   include/linux/cpumask.h:753:58: warning: unused parameter 'mask' [-Wunused-parameter]
   static inline bool alloc_cpumask_var_node(cpumask_var_t *mask, gfp_t flags,
                                                            ^
   include/linux/cpumask.h:753:70: warning: unused parameter 'flags' [-Wunused-parameter]
   static inline bool alloc_cpumask_var_node(cpumask_var_t *mask, gfp_t flags,
                                                                        ^
   include/linux/cpumask.h:754:12: warning: unused parameter 'node' [-Wunused-parameter]
                                             int node)
                                                 ^
   include/linux/cpumask.h:759:66: warning: unused parameter 'flags' [-Wunused-parameter]
   static inline bool zalloc_cpumask_var(cpumask_var_t *mask, gfp_t flags)
                                                                    ^
   include/linux/cpumask.h:765:71: warning: unused parameter 'flags' [-Wunused-parameter]
   static inline bool zalloc_cpumask_var_node(cpumask_var_t *mask, gfp_t flags,
                                                                         ^
   include/linux/cpumask.h:766:12: warning: unused parameter 'node' [-Wunused-parameter]
                                             int node)
                                                 ^
   include/linux/cpumask.h:772:61: warning: unused parameter 'mask' [-Wunused-parameter]
   static inline void alloc_bootmem_cpumask_var(cpumask_var_t *mask)
                                                               ^
   include/linux/cpumask.h:776:51: warning: unused parameter 'mask' [-Wunused-parameter]
   static inline void free_cpumask_var(cpumask_var_t mask)
                                                     ^
   include/linux/cpumask.h:780:59: warning: unused parameter 'mask' [-Wunused-parameter]
   static inline void free_bootmem_cpumask_var(cpumask_var_t mask)
                                                             ^
   include/linux/cpumask.h:784:52: warning: unused parameter 'mask' [-Wunused-parameter]
   static inline bool cpumask_available(cpumask_var_t mask)
                                                      ^
   include/linux/cpumask.h:864:58: warning: unused parameter 'bitmap' [-Wunused-parameter]
   static inline int __check_is_bitmap(const unsigned long *bitmap)
                                                            ^
   include/linux/cpumask.h:955:43: warning: unused parameter 'cpu' [-Wunused-parameter]
   static inline bool cpu_dying(unsigned int cpu)
                                             ^
   In file included from drivers/gpu/drm/i915/i915_drv.c:30:
   In file included from include/linux/acpi.h:13:
   In file included from include/linux/irqdomain.h:35:
   In file included from include/linux/of.h:17:
   In file included from include/linux/kobject.h:20:
   In file included from include/linux/sysfs.h:16:
   In file included from include/linux/kernfs.h:12:
   In file included from include/linux/mutex.h:17:
   In file included from include/linux/lockdep.h:14:
   include/linux/smp.h:193:57: warning: unused parameter 'func' [-Wunused-parameter]
   static inline void up_smp_call_function(smp_call_func_t func, void *info)
                                                           ^
   include/linux/smp.h:193:69: warning: unused parameter 'info' [-Wunused-parameter]
   static inline void up_smp_call_function(smp_call_func_t func, void *info)
                                                                       ^
   include/linux/smp.h:199:44: warning: unused parameter 'cpu' [-Wunused-parameter]
   static inline void smp_send_reschedule(int cpu) { }
                                              ^
   include/linux/smp.h:206:45: warning: unused parameter 'mask' [-Wunused-parameter]
   smp_call_function_any(const struct cpumask *mask, smp_call_func_t func,
                                               ^
   In file included from drivers/gpu/drm/i915/i915_drv.c:30:
   In file included from include/linux/acpi.h:13:
--
   In file included from arch/x86/include/asm/hypervisor.h:37:
   In file included from arch/x86/include/asm/kvm_para.h:5:
   In file included from arch/x86/include/asm/processor.h:13:
   In file included from arch/x86/include/asm/math_emu.h:5:
   In file included from arch/x86/include/asm/ptrace.h:97:
   In file included from arch/x86/include/asm/paravirt_types.h:40:
   In file included from arch/x86/include/asm/nospec-branch.h:12:
   In file included from arch/x86/include/asm/unwind_hints.h:6:
   In file included from arch/x86/include/asm/orc_types.h:43:
   In file included from arch/x86/include/uapi/asm/byteorder.h:5:
   In file included from include/linux/byteorder/little_endian.h:11:
   include/linux/byteorder/generic.h:195:16: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned int') [-Wsign-compare]
           for (i = 0; i < len; i++)
                       ~ ^ ~~~
   include/linux/byteorder/generic.h:203:16: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned int') [-Wsign-compare]
           for (i = 0; i < len; i++)
                       ~ ^ ~~~
   In file included from drivers/gpu/drm/i915/i915_config.c:6:
   In file included from drivers/gpu/drm/i915/i915_drv.h:36:
   In file included from arch/x86/include/asm/hypervisor.h:37:
   In file included from arch/x86/include/asm/kvm_para.h:5:
   In file included from arch/x86/include/asm/processor.h:13:
   In file included from arch/x86/include/asm/math_emu.h:5:
   arch/x86/include/asm/ptrace.h:149:52: warning: unused parameter 'regs' [-Wunused-parameter]
   static inline bool user_64bit_mode(struct pt_regs *regs)
                                                      ^
   arch/x86/include/asm/ptrace.h:171:51: warning: unused parameter 'regs' [-Wunused-parameter]
   static inline bool any_64bit_mode(struct pt_regs *regs)
                                                     ^
   In file included from drivers/gpu/drm/i915/i915_config.c:6:
   In file included from drivers/gpu/drm/i915/i915_drv.h:36:
   In file included from arch/x86/include/asm/hypervisor.h:37:
   In file included from arch/x86/include/asm/kvm_para.h:5:
   In file included from arch/x86/include/asm/processor.h:17:
   In file included from arch/x86/include/asm/current.h:6:
   In file included from arch/x86/include/asm/percpu.h:27:
   In file included from include/linux/kernel.h:12:
   In file included from include/linux/bitops.h:32:
   In file included from arch/x86/include/asm/bitops.h:389:
   In file included from include/asm-generic/bitops/instrumented-atomic.h:14:
   include/linux/instrumented.h:116:38: warning: unused parameter 'to' [-Wunused-parameter]
   instrument_copy_to_user(void __user *to, const void *from, unsigned long n)
                                        ^
   include/linux/instrumented.h:133:62: warning: unused parameter 'from' [-Wunused-parameter]
   instrument_copy_from_user(const void *to, const void __user *from, unsigned long n)
                                                                ^
   In file included from drivers/gpu/drm/i915/i915_config.c:6:
   In file included from drivers/gpu/drm/i915/i915_drv.h:36:
   In file included from arch/x86/include/asm/hypervisor.h:37:
   In file included from arch/x86/include/asm/kvm_para.h:5:
   In file included from arch/x86/include/asm/processor.h:17:
   In file included from arch/x86/include/asm/current.h:6:
   In file included from arch/x86/include/asm/percpu.h:27:
   include/linux/kernel.h:323:48: warning: unused parameter 'fmt' [-Wunused-parameter]
   void ____trace_printk_check_format(const char *fmt, ...)
                                                  ^
   In file included from drivers/gpu/drm/i915/i915_config.c:6:
   In file included from drivers/gpu/drm/i915/i915_drv.h:36:
   In file included from arch/x86/include/asm/hypervisor.h:37:
   In file included from arch/x86/include/asm/kvm_para.h:5:
   In file included from arch/x86/include/asm/processor.h:17:
   In file included from arch/x86/include/asm/current.h:6:
   In file included from arch/x86/include/asm/percpu.h:390:
   In file included from include/asm-generic/percpu.h:7:
   include/linux/percpu-defs.h:313:57: warning: unused parameter 'op' [-Wunused-parameter]
   static inline void __this_cpu_preempt_check(const char *op) { }
                                                           ^
   In file included from drivers/gpu/drm/i915/i915_config.c:6:
   In file included from drivers/gpu/drm/i915/i915_drv.h:36:
   In file included from arch/x86/include/asm/hypervisor.h:37:
   In file included from arch/x86/include/asm/kvm_para.h:5:
   In file included from arch/x86/include/asm/processor.h:19:
   arch/x86/include/asm/page.h:25:62: warning: unused parameter 'vaddr' [-Wunused-parameter]
   static inline void clear_user_page(void *page, unsigned long vaddr,
                                                                ^
   arch/x86/include/asm/page.h:26:21: warning: unused parameter 'pg' [-Wunused-parameter]
                                      struct page *pg)
                                                   ^
   arch/x86/include/asm/page.h:31:71: warning: unused parameter 'vaddr' [-Wunused-parameter]
   static inline void copy_user_page(void *to, void *from, unsigned long vaddr,
                                                                         ^
   arch/x86/include/asm/page.h:32:20: warning: unused parameter 'topage' [-Wunused-parameter]
                                     struct page *topage)
                                                  ^
   In file included from drivers/gpu/drm/i915/i915_config.c:6:
   In file included from drivers/gpu/drm/i915/i915_drv.h:36:
   In file included from arch/x86/include/asm/hypervisor.h:37:
   In file included from arch/x86/include/asm/kvm_para.h:5:
   In file included from arch/x86/include/asm/processor.h:22:
   In file included from arch/x86/include/asm/msr.h:11:
   In file included from arch/x86/include/asm/cpumask.h:5:
   include/linux/cpumask.h:105:51: warning: unused parameter 'cpu' [-Wunused-parameter]
   static inline void cpu_max_bits_warn(unsigned int cpu, unsigned int bits)
                                                     ^
   include/linux/cpumask.h:105:69: warning: unused parameter 'bits' [-Wunused-parameter]
   static inline void cpu_max_bits_warn(unsigned int cpu, unsigned int bits)
                                                                       ^
   include/linux/cpumask.h:121:64: warning: unused parameter 'srcp' [-Wunused-parameter]
   static inline unsigned int cpumask_first(const struct cpumask *srcp)
                                                                  ^
>> include/linux/cpumask.h:126:68: warning: unused parameter 'srcp1' [-Wunused-parameter]
   static inline unsigned int cpumask_first_and(const struct cpumask *srcp1,
                                                                      ^
>> include/linux/cpumask.h:127:33: warning: unused parameter 'srcp2' [-Wunused-parameter]
                                                const struct cpumask *srcp2)
                                                                      ^
   include/linux/cpumask.h:132:63: warning: unused parameter 'srcp' [-Wunused-parameter]
   static inline unsigned int cpumask_last(const struct cpumask *srcp)
                                                                 ^
   include/linux/cpumask.h:138:70: warning: unused parameter 'srcp' [-Wunused-parameter]
   static inline unsigned int cpumask_next(int n, const struct cpumask *srcp)
                                                                        ^
   include/linux/cpumask.h:143:75: warning: unused parameter 'srcp' [-Wunused-parameter]
   static inline unsigned int cpumask_next_zero(int n, const struct cpumask *srcp)
                                                                             ^
   include/linux/cpumask.h:149:32: warning: unused parameter 'srcp' [-Wunused-parameter]
                                               const struct cpumask *srcp,
                                                                     ^
   include/linux/cpumask.h:150:32: warning: unused parameter 'andp' [-Wunused-parameter]
                                               const struct cpumask *andp)
                                                                     ^
   include/linux/cpumask.h:155:75: warning: unused parameter 'mask' [-Wunused-parameter]
   static inline unsigned int cpumask_next_wrap(int n, const struct cpumask *mask,
                                                                             ^
   include/linux/cpumask.h:156:15: warning: unused parameter 'start' [-Wunused-parameter]
                                                int start, bool wrap)
                                                    ^
   include/linux/cpumask.h:163:66: warning: unused parameter 'mask' [-Wunused-parameter]
   static inline unsigned int cpumask_any_but(const struct cpumask *mask,
                                                                    ^
   include/linux/cpumask.h:164:22: warning: unused parameter 'cpu' [-Wunused-parameter]
                                              unsigned int cpu)
                                                           ^
   include/linux/cpumask.h:169:62: warning: unused parameter 'i' [-Wunused-parameter]
   static inline unsigned int cpumask_local_spread(unsigned int i, int node)
                                                                ^
   include/linux/cpumask.h:169:69: warning: unused parameter 'node' [-Wunused-parameter]
   static inline unsigned int cpumask_local_spread(unsigned int i, int node)
                                                                       ^
   include/linux/cpumask.h:748:53: warning: unused parameter 'mask' [-Wunused-parameter]
   static inline bool alloc_cpumask_var(cpumask_var_t *mask, gfp_t flags)
                                                       ^
   include/linux/cpumask.h:748:65: warning: unused parameter 'flags' [-Wunused-parameter]
   static inline bool alloc_cpumask_var(cpumask_var_t *mask, gfp_t flags)
                                                                   ^
   include/linux/cpumask.h:753:58: warning: unused parameter 'mask' [-Wunused-parameter]
   static inline bool alloc_cpumask_var_node(cpumask_var_t *mask, gfp_t flags,
                                                            ^
   include/linux/cpumask.h:753:70: warning: unused parameter 'flags' [-Wunused-parameter]
   static inline bool alloc_cpumask_var_node(cpumask_var_t *mask, gfp_t flags,
                                                                        ^
   include/linux/cpumask.h:754:12: warning: unused parameter 'node' [-Wunused-parameter]
                                             int node)
                                                 ^
   include/linux/cpumask.h:759:66: warning: unused parameter 'flags' [-Wunused-parameter]
   static inline bool zalloc_cpumask_var(cpumask_var_t *mask, gfp_t flags)
                                                                    ^
   include/linux/cpumask.h:765:71: warning: unused parameter 'flags' [-Wunused-parameter]
   static inline bool zalloc_cpumask_var_node(cpumask_var_t *mask, gfp_t flags,
                                                                         ^
   include/linux/cpumask.h:766:12: warning: unused parameter 'node' [-Wunused-parameter]
                                             int node)
                                                 ^
   include/linux/cpumask.h:772:61: warning: unused parameter 'mask' [-Wunused-parameter]
   static inline void alloc_bootmem_cpumask_var(cpumask_var_t *mask)
                                                               ^
   include/linux/cpumask.h:776:51: warning: unused parameter 'mask' [-Wunused-parameter]
   static inline void free_cpumask_var(cpumask_var_t mask)
                                                     ^
   include/linux/cpumask.h:780:59: warning: unused parameter 'mask' [-Wunused-parameter]
   static inline void free_bootmem_cpumask_var(cpumask_var_t mask)
                                                             ^
   include/linux/cpumask.h:784:52: warning: unused parameter 'mask' [-Wunused-parameter]
   static inline bool cpumask_available(cpumask_var_t mask)
                                                      ^
   include/linux/cpumask.h:864:58: warning: unused parameter 'bitmap' [-Wunused-parameter]
   static inline int __check_is_bitmap(const unsigned long *bitmap)
                                                            ^
   include/linux/cpumask.h:955:43: warning: unused parameter 'cpu' [-Wunused-parameter]
   static inline bool cpu_dying(unsigned int cpu)
                                             ^
   In file included from drivers/gpu/drm/i915/i915_config.c:6:
   In file included from drivers/gpu/drm/i915/i915_drv.h:36:
   In file included from arch/x86/include/asm/hypervisor.h:37:
   In file included from arch/x86/include/asm/kvm_para.h:5:
   In file included from arch/x86/include/asm/processor.h:22:
   arch/x86/include/asm/msr.h:346:45: warning: unused parameter 'cpu' [-Wunused-parameter]
   static inline int rdmsr_on_cpu(unsigned int cpu, u32 msr_no, u32 *l, u32 *h)
                                               ^
   arch/x86/include/asm/msr.h:351:45: warning: unused parameter 'cpu' [-Wunused-parameter]
   static inline int wrmsr_on_cpu(unsigned int cpu, u32 msr_no, u32 l, u32 h)
                                               ^
   arch/x86/include/asm/msr.h:356:46: warning: unused parameter 'cpu' [-Wunused-parameter]
   static inline int rdmsrl_on_cpu(unsigned int cpu, u32 msr_no, u64 *q)
                                                ^
   arch/x86/include/asm/msr.h:361:46: warning: unused parameter 'cpu' [-Wunused-parameter]
   static inline int wrmsrl_on_cpu(unsigned int cpu, u32 msr_no, u64 q)
                                                ^
   arch/x86/include/asm/msr.h:366:56: warning: unused parameter 'm' [-Wunused-parameter]
   static inline void rdmsr_on_cpus(const struct cpumask *m, u32 msr_no,
                                                          ^
   arch/x86/include/asm/msr.h:371:56: warning: unused parameter 'm' [-Wunused-parameter]
   static inline void wrmsr_on_cpus(const struct cpumask *m, u32 msr_no,
                                                          ^
..


vim +/srcp1 +126 include/linux/cpumask.h

   104	
 > 105	static inline void cpu_max_bits_warn(unsigned int cpu, unsigned int bits)
   106	{
   107	#ifdef CONFIG_DEBUG_PER_CPU_MAPS
   108		WARN_ON_ONCE(cpu >= bits);
   109	#endif /* CONFIG_DEBUG_PER_CPU_MAPS */
   110	}
   111	
   112	/* verify cpu argument to cpumask_* operators */
   113	static inline unsigned int cpumask_check(unsigned int cpu)
   114	{
   115		cpu_max_bits_warn(cpu, nr_cpumask_bits);
   116		return cpu;
   117	}
   118	
   119	#if NR_CPUS == 1
   120	/* Uniprocessor.  Assume all masks are "1". */
   121	static inline unsigned int cpumask_first(const struct cpumask *srcp)
   122	{
   123		return 0;
   124	}
   125	
 > 126	static inline unsigned int cpumask_first_and(const struct cpumask *srcp1,
 > 127						     const struct cpumask *srcp2)
   128	{
   129		return 0;
   130	}
   131	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux