[linux-next:pending-fixes 60/210] arch/powerpc/sysdev/xive/common.c:1568:6: error: no previous prototype for function 'xive_debug_show_cpu'
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git pending-fixes
head: 0a39298198681fe7b6ad576dc2ae15b326d0344a
commit: b338cb921e6739ff59ce32f43342779fe5ffa732 [60/210] bpf: Restore behaviour of CAP_SYS_ADMIN allowing the loading of networking bpf programs
config: powerpc-randconfig-r033-20200630 (attached as .config)
compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project cf1d04484344be52ada8178e41d18fd15a9b880c)
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
# install powerpc cross compiling tool for clang build
# apt-get install binutils-powerpc-linux-gnu
git checkout b338cb921e6739ff59ce32f43342779fe5ffa732
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=powerpc
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
>> arch/powerpc/sysdev/xive/common.c:1568:6: error: no previous prototype for function 'xive_debug_show_cpu' [-Werror,-Wmissing-prototypes]
void xive_debug_show_cpu(struct seq_file *m, int cpu)
^
arch/powerpc/sysdev/xive/common.c:1568:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void xive_debug_show_cpu(struct seq_file *m, int cpu)
^
static
>> arch/powerpc/sysdev/xive/common.c:1602:6: error: no previous prototype for function 'xive_debug_show_irq' [-Werror,-Wmissing-prototypes]
void xive_debug_show_irq(struct seq_file *m, u32 hw_irq, struct irq_data *d)
^
arch/powerpc/sysdev/xive/common.c:1602:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void xive_debug_show_irq(struct seq_file *m, u32 hw_irq, struct irq_data *d)
^
static
2 errors generated.
make[4]: *** [scripts/Makefile.build:281: arch/powerpc/sysdev/xive/common.o] Error 1
arch/powerpc/lib/pmem.c:15:6: error: no previous prototype for function 'arch_wb_cache_pmem' [-Werror,-Wmissing-prototypes]
void arch_wb_cache_pmem(void *addr, size_t size)
^
arch/powerpc/lib/pmem.c:15:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void arch_wb_cache_pmem(void *addr, size_t size)
^
static
arch/powerpc/lib/pmem.c:22:6: error: no previous prototype for function 'arch_invalidate_pmem' [-Werror,-Wmissing-prototypes]
void arch_invalidate_pmem(void *addr, size_t size)
^
arch/powerpc/lib/pmem.c:22:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void arch_invalidate_pmem(void *addr, size_t size)
^
static
2 errors generated.
make[3]: *** [scripts/Makefile.build:281: arch/powerpc/lib/pmem.o] Error 1
make[4]: Target '__build' not remade because of errors.
make[3]: *** [scripts/Makefile.build:497: arch/powerpc/sysdev/xive] Error 2
In file included from arch/powerpc/kvm/powerpc.c:41:
In file included from arch/powerpc/kvm/trace.h:127:
include/trace/define_trace.h:95:10: fatal error: './trace.h' file not found
#include TRACE_INCLUDE(TRACE_INCLUDE_FILE)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/trace/define_trace.h:90:32: note: expanded from macro 'TRACE_INCLUDE'
# define TRACE_INCLUDE(system) __TRACE_INCLUDE(system)
^~~~~~~~~~~~~~~~~~~~~~~
include/trace/define_trace.h:87:34: note: expanded from macro '__TRACE_INCLUDE'
# define __TRACE_INCLUDE(system) __stringify(TRACE_INCLUDE_PATH/system.h)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/stringify.h:10:27: note: expanded from macro '__stringify'
#define __stringify(x...) __stringify_1(x)
^~~~~~~~~~~~~~~~
include/linux/stringify.h:9:29: note: expanded from macro '__stringify_1'
#define __stringify_1(x...) #x
^~
<scratch space>:4:1: note: expanded from here
"./trace.h"
^~~~~~~~~~~
arch/powerpc/mm/book3s64/hash_utils.c:1497:5: error: no previous prototype for function '__hash_page' [-Werror,-Wmissing-prototypes]
int __hash_page(unsigned long trap, unsigned long ea, unsigned long dsisr,
^
arch/powerpc/mm/book3s64/hash_utils.c:1497:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
int __hash_page(unsigned long trap, unsigned long ea, unsigned long dsisr,
^
static
arch/powerpc/mm/book3s64/hash_utils.c:1811:6: error: no previous prototype for function 'low_hash_fault' [-Werror,-Wmissing-prototypes]
void low_hash_fault(struct pt_regs *regs, unsigned long address, int rc)
^
arch/powerpc/mm/book3s64/hash_utils.c:1811:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void low_hash_fault(struct pt_regs *regs, unsigned long address, int rc)
^
static
arch/powerpc/mm/book3s64/hash_utils.c:1828:6: error: no previous prototype for function 'hpte_insert_repeating' [-Werror,-Wmissing-prototypes]
long hpte_insert_repeating(unsigned long hash, unsigned long vpn,
^
arch/powerpc/mm/book3s64/hash_utils.c:1828:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
long hpte_insert_repeating(unsigned long hash, unsigned long vpn,
^
static
3 errors generated.
1 error generated.
make[4]: *** [scripts/Makefile.build:281: arch/powerpc/mm/book3s64/hash_utils.o] Error 1
make[3]: *** [scripts/Makefile.build:281: arch/powerpc/kvm/powerpc.o] Error 1
>> arch/powerpc/perf/ppc970-pmu.c:489:5: error: no previous prototype for function 'init_ppc970_pmu' [-Werror,-Wmissing-prototypes]
int init_ppc970_pmu(void)
^
arch/powerpc/perf/ppc970-pmu.c:489:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
int init_ppc970_pmu(void)
^
static
arch/powerpc/mm/pgtable.c:341:8: error: no previous prototype for function '__find_linux_pte' [-Werror,-Wmissing-prototypes]
pte_t *__find_linux_pte(pgd_t *pgdir, unsigned long ea,
^
arch/powerpc/mm/pgtable.c:341:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
pte_t *__find_linux_pte(pgd_t *pgdir, unsigned long ea,
^
static
1 error generated.
1 error generated.
make[3]: *** [scripts/Makefile.build:280: arch/powerpc/mm/pgtable.o] Error 1
arch/powerpc/mm/book3s64/slb.c:354:6: error: no previous prototype for function 'slb_setup_new_exec' [-Werror,-Wmissing-prototypes]
void slb_setup_new_exec(void)
^
arch/powerpc/mm/book3s64/slb.c:354:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void slb_setup_new_exec(void)
^
static
arch/powerpc/mm/book3s64/slb.c:404:6: error: no previous prototype for function 'preload_new_slb_context' [-Werror,-Wmissing-prototypes]
void preload_new_slb_context(unsigned long start, unsigned long sp)
^
arch/powerpc/mm/book3s64/slb.c:404:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void preload_new_slb_context(unsigned long start, unsigned long sp)
^
static
make[3]: *** [scripts/Makefile.build:281: arch/powerpc/perf/ppc970-pmu.o] Error 1
2 errors generated.
make[4]: *** [scripts/Makefile.build:281: arch/powerpc/mm/book3s64/slb.o] Error 1
arch/powerpc/platforms/pseries/lpar.c:1041: warning: Function parameter or member 'idx' not described in 'call_block_remove'
arch/powerpc/platforms/pseries/lpar.c:1041: warning: Function parameter or member 'param' not described in 'call_block_remove'
arch/powerpc/platforms/pseries/lpar.c:1041: warning: Function parameter or member 'retry_busy' not described in 'call_block_remove'
arch/powerpc/platforms/pseries/lpar.c:1302: warning: Function parameter or member 'number' not described in 'do_block_remove'
arch/powerpc/platforms/pseries/lpar.c:1302: warning: Function parameter or member 'batch' not described in 'do_block_remove'
arch/powerpc/platforms/pseries/lpar.c:1302: warning: Function parameter or member 'param' not described in 'do_block_remove'
arch/powerpc/platforms/pseries/lpar.c:1889: warning: Function parameter or member 'mpp_data' not described in 'h_get_mpp'
arch/powerpc/mm/mem.c:521: warning: Function parameter or member 'p' not described in '__flush_dcache_icache'
arch/powerpc/mm/mem.c:521: warning: Excess function parameter 'page' description in '__flush_dcache_icache'
>> arch/powerpc/perf/power5-pmu.c:617:5: error: no previous prototype for function 'init_power5_pmu' [-Werror,-Wmissing-prototypes]
int init_power5_pmu(void)
^
arch/powerpc/perf/power5-pmu.c:617:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
int init_power5_pmu(void)
^
static
1 error generated.
make[3]: *** [scripts/Makefile.build:280: arch/powerpc/perf/power5-pmu.o] Error 1
arch/powerpc/mm/book3s64/pgtable.c:399:6: error: no previous prototype for function 'arch_report_meminfo' [-Werror,-Wmissing-prototypes]
void arch_report_meminfo(struct seq_file *m)
^
arch/powerpc/mm/book3s64/pgtable.c:399:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void arch_report_meminfo(struct seq_file *m)
^
static
>> arch/powerpc/mm/book3s64/pgtable.c:455:5: error: no previous prototype for function 'pmd_move_must_withdraw' [-Werror,-Wmissing-prototypes]
int pmd_move_must_withdraw(struct spinlock *new_pmd_ptl,
^
arch/powerpc/mm/book3s64/pgtable.c:455:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
int pmd_move_must_withdraw(struct spinlock *new_pmd_ptl,
^
static
2 errors generated.
make[4]: *** [scripts/Makefile.build:280: arch/powerpc/mm/book3s64/pgtable.o] Error 1
>> arch/powerpc/perf/power8-pmu.c:381:5: error: no previous prototype for function 'init_power8_pmu' [-Werror,-Wmissing-prototypes]
int init_power8_pmu(void)
^
arch/powerpc/perf/power8-pmu.c:381:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
int init_power8_pmu(void)
^
static
1 error generated.
make[3]: *** [scripts/Makefile.build:280: arch/powerpc/perf/power8-pmu.o] Error 1
>> arch/powerpc/platforms/pseries/ras.c:125:12: error: no previous prototype for function 'init_ras_hotplug_IRQ' [-Werror,-Wmissing-prototypes]
int __init init_ras_hotplug_IRQ(void)
^
arch/powerpc/platforms/pseries/ras.c:125:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
int __init init_ras_hotplug_IRQ(void)
^
static
1 error generated.
make[4]: *** [scripts/Makefile.build:280: arch/powerpc/platforms/pseries/ras.o] Error 1
make[2]: *** [scripts/Makefile.build:497: arch/powerpc/sysdev] Error 2
make[3]: Target '__build' not remade because of errors.
>> arch/powerpc/perf/power9-pmu.c:439:5: error: no previous prototype for function 'init_power9_pmu' [-Werror,-Wmissing-prototypes]
int init_power9_pmu(void)
^
arch/powerpc/perf/power9-pmu.c:439:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
int init_power9_pmu(void)
^
static
1 error generated.
make[3]: *** [scripts/Makefile.build:280: arch/powerpc/perf/power9-pmu.o] Error 1
>> arch/powerpc/perf/power5+-pmu.c:676:5: error: no previous prototype for function 'init_power5p_pmu' [-Werror,-Wmissing-prototypes]
int init_power5p_pmu(void)
^
arch/powerpc/perf/power5+-pmu.c:676:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
int init_power5p_pmu(void)
^
static
1 error generated.
make[3]: *** [scripts/Makefile.build:280: arch/powerpc/perf/power5+-pmu.o] Error 1
>> arch/powerpc/perf/generic-compat-pmu.c:222:5: error: no previous prototype for function 'init_generic_compat_pmu' [-Werror,-Wmissing-prototypes]
int init_generic_compat_pmu(void)
^
arch/powerpc/perf/generic-compat-pmu.c:222:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
int init_generic_compat_pmu(void)
^
static
1 error generated.
>> arch/powerpc/perf/power6-pmu.c:539:5: error: no previous prototype for function 'init_power6_pmu' [-Werror,-Wmissing-prototypes]
int init_power6_pmu(void)
^
arch/powerpc/perf/power6-pmu.c:539:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
int init_power6_pmu(void)
^
static
1 error generated.
make[3]: *** [scripts/Makefile.build:280: arch/powerpc/perf/power6-pmu.o] Error 1
make[3]: *** [scripts/Makefile.build:280: arch/powerpc/perf/generic-compat-pmu.o] Error 1
>> arch/powerpc/perf/power7-pmu.c:444:5: error: no previous prototype for function 'init_power7_pmu' [-Werror,-Wmissing-prototypes]
int init_power7_pmu(void)
^
arch/powerpc/perf/power7-pmu.c:444:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
int init_power7_pmu(void)
^
static
1 error generated.
make[2]: *** [scripts/Makefile.build:497: arch/powerpc/perf] Error 2
make[3]: *** [scripts/Makefile.build:280: arch/powerpc/perf/power7-pmu.o] Error 1
make[3]: Target '__build' not remade because of errors.
arch/powerpc/mm/hugetlbpage.c:220:12: error: no previous prototype for function 'pseries_alloc_bootmem_huge_page' [-Werror,-Wmissing-prototypes]
int __init pseries_alloc_bootmem_huge_page(struct hstate *hstate)
^
arch/powerpc/mm/hugetlbpage.c:220:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
int __init pseries_alloc_bootmem_huge_page(struct hstate *hstate)
^
static
1 error generated.
make[3]: *** [scripts/Makefile.build:281: arch/powerpc/mm/hugetlbpage.o] Error 1
>> arch/powerpc/mm/book3s64/radix_tlb.c:895:23: error: variable 'hstart' is uninitialized when used here [-Werror,-Wuninitialized]
__tlbiel_va_range(hstart, hend, pid,
^~~~~~
arch/powerpc/mm/book3s64/radix_tlb.c:882:23: note: initialize the variable 'hstart' to silence this warning
unsigned long hstart, hend;
^
= 0
>> arch/powerpc/mm/book3s64/radix_tlb.c:895:31: error: variable 'hend' is uninitialized when used here [-Werror,-Wuninitialized]
__tlbiel_va_range(hstart, hend, pid,
^~~~
arch/powerpc/mm/book3s64/radix_tlb.c:882:29: note: initialize the variable 'hend' to silence this warning
unsigned long hstart, hend;
^
= 0
2 errors generated.
make[4]: *** [scripts/Makefile.build:281: arch/powerpc/mm/book3s64/radix_tlb.o] Error 1
make[3]: Target '__build' not remade because of errors.
make[2]: *** [scripts/Makefile.build:497: arch/powerpc/kvm] Error 2
make[4]: Target '__build' not remade because of errors.
make[3]: *** [scripts/Makefile.build:497: arch/powerpc/mm/book3s64] Error 2
make[3]: Target '__build' not remade because of errors.
make[2]: *** [scripts/Makefile.build:497: arch/powerpc/mm] Error 2
>> arch/powerpc/platforms/pseries/eeh_pseries.c:45:6: error: no previous prototype for function 'pseries_pcibios_bus_add_device' [-Werror,-Wmissing-prototypes]
void pseries_pcibios_bus_add_device(struct pci_dev *pdev)
^
arch/powerpc/platforms/pseries/eeh_pseries.c:45:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void pseries_pcibios_bus_add_device(struct pci_dev *pdev)
^
static
1 error generated.
make[4]: *** [scripts/Makefile.build:280: arch/powerpc/platforms/pseries/eeh_pseries.o] Error 1
arch/powerpc/platforms/pseries/smp.c:90: warning: Function parameter or member 'lcpu' not described in 'smp_startup_cpu'
make[3]: Target '__build' not remade because of errors.
make[2]: *** [scripts/Makefile.build:497: arch/powerpc/lib] Error 2
arch/powerpc/platforms/pseries/vio.c:50: warning: cannot understand function prototype: 'struct vio_cmo_pool '
arch/powerpc/platforms/pseries/vio.c:67: warning: cannot understand function prototype: 'struct vio_cmo_dev_entry '
arch/powerpc/platforms/pseries/vio.c:87: warning: cannot understand function prototype: 'struct vio_cmo '
arch/powerpc/platforms/pseries/vio.c:697: warning: Function parameter or member 'viodev' not described in 'vio_cmo_bus_probe'
arch/powerpc/platforms/pseries/vio.c:806: warning: Function parameter or member 'viodev' not described in 'vio_cmo_bus_remove'
arch/powerpc/platforms/pseries/vio.c:1108: warning: Function parameter or member 'vdev' not described in 'vio_h_cop_sync'
arch/powerpc/platforms/pseries/vio.c:1108: warning: Function parameter or member 'op' not described in 'vio_h_cop_sync'
arch/powerpc/platforms/pseries/vio.c:1286: warning: Function parameter or member 'owner' not described in '__vio_register_driver'
arch/powerpc/platforms/pseries/vio.c:1286: warning: Function parameter or member 'mod_name' not described in '__vio_register_driver'
arch/powerpc/platforms/pseries/lparcfg.c:224: warning: Function parameter or member 'm' not described in 'parse_mpp_data'
arch/powerpc/platforms/pseries/lparcfg.c:262: warning: Function parameter or member 'm' not described in 'parse_mpp_x_data'
arch/powerpc/platforms/pseries/lparcfg.c:547: warning: Function parameter or member 'entitlement' not described in 'update_mpp'
arch/powerpc/platforms/pseries/lparcfg.c:547: warning: Function parameter or member 'weight' not described in 'update_mpp'
arch/powerpc/kernel/sys_ppc32.c:51:15: error: no previous prototype for function 'compat_sys_mmap2' [-Werror,-Wmissing-prototypes]
unsigned long compat_sys_mmap2(unsigned long addr, size_t len,
^
arch/powerpc/kernel/sys_ppc32.c:51:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
unsigned long compat_sys_mmap2(unsigned long addr, size_t len,
^
static
arch/powerpc/kernel/sys_ppc32.c:64:16: error: no previous prototype for function 'compat_sys_pread64' [-Werror,-Wmissing-prototypes]
compat_ssize_t compat_sys_pread64(unsigned int fd, char __user *ubuf, compat_size_t count,
^
arch/powerpc/kernel/sys_ppc32.c:64:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
compat_ssize_t compat_sys_pread64(unsigned int fd, char __user *ubuf, compat_size_t count,
^
static
arch/powerpc/kernel/sys_ppc32.c:70:16: error: no previous prototype for function 'compat_sys_pwrite64' [-Werror,-Wmissing-prototypes]
compat_ssize_t compat_sys_pwrite64(unsigned int fd, const char __user *ubuf, compat_size_t count,
^
arch/powerpc/kernel/sys_ppc32.c:70:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
compat_ssize_t compat_sys_pwrite64(unsigned int fd, const char __user *ubuf, compat_size_t count,
^
static
arch/powerpc/kernel/sys_ppc32.c:76:16: error: no previous prototype for function 'compat_sys_readahead' [-Werror,-Wmissing-prototypes]
compat_ssize_t compat_sys_readahead(int fd, u32 r4, u32 offhi, u32 offlo, u32 count)
^
arch/powerpc/kernel/sys_ppc32.c:76:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
compat_ssize_t compat_sys_readahead(int fd, u32 r4, u32 offhi, u32 offlo, u32 count)
^
static
arch/powerpc/kernel/sys_ppc32.c:81:16: error: no previous prototype for function 'compat_sys_truncate64' [-Werror,-Wmissing-prototypes]
asmlinkage int compat_sys_truncate64(const char __user * path, u32 reg4,
^
arch/powerpc/kernel/sys_ppc32.c:81:12: note: declare 'static' if the function is not intended to be used outside of this translation unit
asmlinkage int compat_sys_truncate64(const char __user * path, u32 reg4,
^
static
arch/powerpc/kernel/sys_ppc32.c:87:17: error: no previous prototype for function 'compat_sys_fallocate' [-Werror,-Wmissing-prototypes]
asmlinkage long compat_sys_fallocate(int fd, int mode, u32 offhi, u32 offlo,
^
arch/powerpc/kernel/sys_ppc32.c:87:12: note: declare 'static' if the function is not intended to be used outside of this translation unit
asmlinkage long compat_sys_fallocate(int fd, int mode, u32 offhi, u32 offlo,
^
static
arch/powerpc/kernel/sys_ppc32.c:94:16: error: no previous prototype for function 'compat_sys_ftruncate64' [-Werror,-Wmissing-prototypes]
asmlinkage int compat_sys_ftruncate64(unsigned int fd, u32 reg4, unsigned long high,
^
arch/powerpc/kernel/sys_ppc32.c:94:12: note: declare 'static' if the function is not intended to be used outside of this translation unit
asmlinkage int compat_sys_ftruncate64(unsigned int fd, u32 reg4, unsigned long high,
^
static
arch/powerpc/kernel/sys_ppc32.c:100:6: error: no previous prototype for function 'ppc32_fadvise64' [-Werror,-Wmissing-prototypes]
long ppc32_fadvise64(int fd, u32 unused, u32 offset_high, u32 offset_low,
^
arch/powerpc/kernel/sys_ppc32.c:100:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
long ppc32_fadvise64(int fd, u32 unused, u32 offset_high, u32 offset_low,
^
static
arch/powerpc/kernel/sys_ppc32.c:107:17: error: no previous prototype for function 'compat_sys_sync_file_range2' [-Werror,-Wmissing-prototypes]
asmlinkage long compat_sys_sync_file_range2(int fd, unsigned int flags,
^
arch/powerpc/kernel/sys_ppc32.c:107:12: note: declare 'static' if the function is not intended to be used outside of this translation unit
asmlinkage long compat_sys_sync_file_range2(int fd, unsigned int flags,
^
static
9 errors generated.
make[3]: *** [scripts/Makefile.build:280: arch/powerpc/kernel/sys_ppc32.o] Error 1
arch/powerpc/kernel/setup_64.c:257:13: error: no previous prototype for function 'record_spr_defaults' [-Werror,-Wmissing-prototypes]
void __init record_spr_defaults(void)
^
arch/powerpc/kernel/setup_64.c:257:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void __init record_spr_defaults(void)
^
static
arch/powerpc/kernel/setup_64.c:282:32: error: no previous prototype for function 'early_setup' [-Werror,-Wmissing-prototypes]
void __init __nostackprotector early_setup(unsigned long dt_ptr)
^
arch/powerpc/kernel/setup_64.c:282:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void __init __nostackprotector early_setup(unsigned long dt_ptr)
^
static
arch/powerpc/kernel/setup_64.c:396:6: error: no previous prototype for function 'early_setup_secondary' [-Werror,-Wmissing-prototypes]
void early_setup_secondary(void)
^
arch/powerpc/kernel/setup_64.c:396:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void early_setup_secondary(void)
^
static
arch/powerpc/kernel/setup_64.c:417:6: error: no previous prototype for function 'panic_smp_self_stop' [-Werror,-Wmissing-prototypes]
void panic_smp_self_stop(void)
^
arch/powerpc/kernel/setup_64.c:417:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void panic_smp_self_stop(void)
^
static
4 errors generated.
make[3]: *** [scripts/Makefile.build:281: arch/powerpc/kernel/setup_64.o] Error 1
arch/powerpc/kernel/mce.c:575:14: error: no previous prototype for function 'machine_check_early' [-Werror,-Wmissing-prototypes]
long notrace machine_check_early(struct pt_regs *regs)
^
arch/powerpc/kernel/mce.c:575:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
long notrace machine_check_early(struct pt_regs *regs)
^
static
arch/powerpc/kernel/mce.c:710:6: error: no previous prototype for function 'hmi_exception_realmode' [-Werror,-Wmissing-prototypes]
long hmi_exception_realmode(struct pt_regs *regs)
^
arch/powerpc/kernel/mce.c:710:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
long hmi_exception_realmode(struct pt_regs *regs)
^
static
2 errors generated.
make[3]: *** [scripts/Makefile.build:281: arch/powerpc/kernel/mce.o] Error 1
arch/powerpc/kernel/mce_power.c:630:6: error: no previous prototype for function '__machine_check_early_realmode_p7' [-Werror,-Wmissing-prototypes]
long __machine_check_early_realmode_p7(struct pt_regs *regs)
^
arch/powerpc/kernel/mce_power.c:630:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
long __machine_check_early_realmode_p7(struct pt_regs *regs)
^
static
arch/powerpc/kernel/mce_power.c:638:6: error: no previous prototype for function '__machine_check_early_realmode_p8' [-Werror,-Wmissing-prototypes]
long __machine_check_early_realmode_p8(struct pt_regs *regs)
^
arch/powerpc/kernel/mce_power.c:638:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
long __machine_check_early_realmode_p8(struct pt_regs *regs)
^
static
arch/powerpc/kernel/mce_power.c:643:6: error: no previous prototype for function '__machine_check_early_realmode_p9' [-Werror,-Wmissing-prototypes]
long __machine_check_early_realmode_p9(struct pt_regs *regs)
^
arch/powerpc/kernel/mce_power.c:643:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
long __machine_check_early_realmode_p9(struct pt_regs *regs)
^
static
3 errors generated.
make[3]: *** [scripts/Makefile.build:281: arch/powerpc/kernel/mce_power.o] Error 1
arch/powerpc/kernel/traps.c:1663:6: error: no previous prototype for function 'stack_overflow_exception' [-Werror,-Wmissing-prototypes]
void stack_overflow_exception(struct pt_regs *regs)
^
arch/powerpc/kernel/traps.c:1663:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void stack_overflow_exception(struct pt_regs *regs)
^
static
1 error generated.
make[3]: *** [scripts/Makefile.build:281: arch/powerpc/kernel/traps.o] Error 1
make[2]: *** [scripts/Makefile.build:497: arch/powerpc/platforms] Error 2
make[4]: Target '__build' not remade because of errors.
make[3]: *** [scripts/Makefile.build:497: arch/powerpc/platforms/pseries] Error 2
make[3]: Target '__build' not remade because of errors.
arch/powerpc/kernel/eeh.c:633: warning: Function parameter or member 'function' not described in 'eeh_pci_enable'
arch/powerpc/kernel/eeh.c:869: warning: Function parameter or member 'edev' not described in 'eeh_set_dev_freset'
arch/powerpc/kernel/eeh.c:869: warning: Excess function parameter 'data' description in 'eeh_set_dev_freset'
arch/powerpc/kernel/eeh.c:909: warning: Function parameter or member 'include_passed' not described in 'eeh_pe_reset_full'
arch/powerpc/kernel/eeh.c:1611: warning: Function parameter or member 'include_passed' not described in 'eeh_pe_reset'
arch/powerpc/kernel/eeh.c:1686: warning: Function parameter or member 'func' not described in 'eeh_pe_inject_err'
arch/powerpc/kernel/eeh.c:1686: warning: Excess function parameter 'function' description in 'eeh_pe_inject_err'
arch/powerpc/kernel/eeh_pe.c:262: warning: cannot understand function prototype: 'struct eeh_pe_get_flag '
arch/powerpc/kernel/eeh_pe.c:584: warning: Function parameter or member 'root' not described in 'eeh_pe_state_mark'
arch/powerpc/kernel/eeh_pe.c:584: warning: Function parameter or member 'state' not described in 'eeh_pe_state_mark'
arch/powerpc/kernel/eeh_pe.c:584: warning: Excess function parameter 'pe' description in 'eeh_pe_state_mark'
arch/powerpc/kernel/eeh_pe.c:602: warning: Function parameter or member 'root' not described in 'eeh_pe_mark_isolated'
arch/powerpc/kernel/eeh_pe.c:602: warning: Excess function parameter 'pe' description in 'eeh_pe_mark_isolated'
arch/powerpc/kernel/eeh_pe.c:635: warning: Function parameter or member 'mode' not described in 'eeh_pe_dev_mode_mark'
arch/powerpc/kernel/eeh_pe.c:650: warning: Function parameter or member 'root' not described in 'eeh_pe_state_clear'
arch/powerpc/kernel/eeh_pe.c:650: warning: Excess function parameter 'data' description in 'eeh_pe_state_clear'
arch/powerpc/kernel/eeh_pe.c:845: warning: Function parameter or member 'edev' not described in 'eeh_restore_one_device_bars'
arch/powerpc/kernel/eeh_pe.c:845: warning: Excess function parameter 'data' description in 'eeh_restore_one_device_bars'
>> arch/powerpc/kernel/compat_audit.c:30:5: error: no previous prototype for function 'ppc32_classify_syscall' [-Werror,-Wmissing-prototypes]
int ppc32_classify_syscall(unsigned syscall)
^
arch/powerpc/kernel/compat_audit.c:30:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
int ppc32_classify_syscall(unsigned syscall)
^
static
1 error generated.
make[3]: *** [scripts/Makefile.build:280: arch/powerpc/kernel/compat_audit.o] Error 1
arch/powerpc/kernel/eeh_event.c:40: warning: Function parameter or member 'dummy' not described in 'eeh_event_handler'
arch/powerpc/kernel/dma-iommu.c:183:13: error: no previous prototype for function 'dma_iommu_sync_sg_for_cpu' [-Werror,-Wmissing-prototypes]
extern void dma_iommu_sync_sg_for_cpu(struct device *dev,
^
arch/powerpc/kernel/dma-iommu.c:183:8: note: declare 'static' if the function is not intended to be used outside of this translation unit
extern void dma_iommu_sync_sg_for_cpu(struct device *dev,
^
arch/powerpc/kernel/dma-iommu.c:190:13: error: no previous prototype for function 'dma_iommu_sync_sg_for_device' [-Werror,-Wmissing-prototypes]
extern void dma_iommu_sync_sg_for_device(struct device *dev,
^
arch/powerpc/kernel/dma-iommu.c:190:8: note: declare 'static' if the function is not intended to be used outside of this translation unit
extern void dma_iommu_sync_sg_for_device(struct device *dev,
^
2 errors generated.
make[3]: *** [scripts/Makefile.build:280: arch/powerpc/kernel/dma-iommu.o] Error 1
>> arch/powerpc/kernel/crash_dump.c:125:6: error: no previous prototype for function 'crash_free_reserved_phys_range' [-Werror,-Wmissing-prototypes]
void crash_free_reserved_phys_range(unsigned long begin, unsigned long end)
^
arch/powerpc/kernel/crash_dump.c:125:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void crash_free_reserved_phys_range(unsigned long begin, unsigned long end)
^
static
1 error generated.
make[3]: *** [scripts/Makefile.build:280: arch/powerpc/kernel/crash_dump.o] Error 1
arch/powerpc/kernel/optprobes.c:149:6: error: no previous prototype for function 'patch_imm32_load_insns' [-Werror,-Wmissing-prototypes]
void patch_imm32_load_insns(unsigned int val, kprobe_opcode_t *addr)
^
arch/powerpc/kernel/optprobes.c:149:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void patch_imm32_load_insns(unsigned int val, kprobe_opcode_t *addr)
^
static
arch/powerpc/kernel/optprobes.c:167:6: error: no previous prototype for function 'patch_imm64_load_insns' [-Werror,-Wmissing-prototypes]
void patch_imm64_load_insns(unsigned long val, int reg, kprobe_opcode_t *addr)
^
arch/powerpc/kernel/optprobes.c:167:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void patch_imm64_load_insns(unsigned long val, int reg, kprobe_opcode_t *addr)
^
static
2 errors generated.
make[3]: *** [scripts/Makefile.build:280: arch/powerpc/kernel/optprobes.o] Error 1
arch/powerpc/kernel/smp.c:539:6: error: no previous prototype for function 'tick_broadcast' [-Werror,-Wmissing-prototypes]
void tick_broadcast(const struct cpumask *mask)
^
arch/powerpc/kernel/smp.c:539:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void tick_broadcast(const struct cpumask *mask)
^
static
arch/powerpc/kernel/smp.c:549:6: error: no previous prototype for function 'debugger_ipi_callback' [-Werror,-Wmissing-prototypes]
void debugger_ipi_callback(struct pt_regs *regs)
^
arch/powerpc/kernel/smp.c:549:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void debugger_ipi_callback(struct pt_regs *regs)
^
static
2 errors generated.
make[3]: *** [scripts/Makefile.build:281: arch/powerpc/kernel/smp.o] Error 1
arch/powerpc/kernel/pci_dn.c:486: warning: Function parameter or member 'phb' not described in 'pci_devs_phb_init_dynamic'
arch/powerpc/kernel/uprobes.c:40: warning: Function parameter or member 'auprobe' not described in 'arch_uprobe_analyze_insn'
arch/powerpc/kernel/uprobes.c:40: warning: Excess function parameter 'arch_uprobe' description in 'arch_uprobe_analyze_insn'
arch/powerpc/kernel/eeh_driver.c:142: warning: Function parameter or member 'edev' not described in 'eeh_disable_irq'
arch/powerpc/kernel/eeh_driver.c:142: warning: Excess function parameter 'dev' description in 'eeh_disable_irq'
arch/powerpc/kernel/eeh_driver.c:165: warning: Function parameter or member 'edev' not described in 'eeh_enable_irq'
arch/powerpc/kernel/eeh_driver.c:165: warning: Excess function parameter 'dev' description in 'eeh_enable_irq'
arch/powerpc/kernel/eeh_driver.c:327: warning: Function parameter or member 'pdev' not described in 'eeh_report_error'
arch/powerpc/kernel/eeh_driver.c:353: warning: Function parameter or member 'pdev' not described in 'eeh_report_mmio_enabled'
arch/powerpc/kernel/eeh_driver.c:373: warning: Function parameter or member 'pdev' not described in 'eeh_report_reset'
arch/powerpc/kernel/eeh_driver.c:419: warning: Function parameter or member 'pdev' not described in 'eeh_report_resume'
arch/powerpc/kernel/eeh_driver.c:445: warning: Function parameter or member 'pdev' not described in 'eeh_report_failure'
arch/powerpc/kernel/isa-bridge.c:142: warning: Function parameter or member 'hose' not described in 'isa_bridge_find_early'
arch/powerpc/kernel/isa-bridge.c:188: warning: Function parameter or member 'np' not described in 'isa_bridge_init_non_pci'
arch/powerpc/kernel/isa-bridge.c:277: warning: Function parameter or member 'pdev' not described in 'isa_bridge_find_late'
arch/powerpc/kernel/isa-bridge.c:277: warning: Function parameter or member 'devnode' not described in 'isa_bridge_find_late'
arch/powerpc/kernel/isa-bridge.c:322: warning: Function parameter or member 'nb' not described in 'isa_bridge_notify'
arch/powerpc/kernel/isa-bridge.c:322: warning: Function parameter or member 'action' not described in 'isa_bridge_notify'
arch/powerpc/kernel/isa-bridge.c:322: warning: Function parameter or member 'data' not described in 'isa_bridge_notify'
arch/powerpc/kernel/pci_of_scan.c:23: warning: Function parameter or member 'np' not described in 'get_int_prop'
arch/powerpc/kernel/pci_of_scan.c:23: warning: Function parameter or member 'name' not described in 'get_int_prop'
arch/powerpc/kernel/pci_of_scan.c:23: warning: Function parameter or member 'def' not described in 'get_int_prop'
arch/powerpc/kernel/pci_of_scan.c:61: warning: Function parameter or member 'ss' not described in 'OF_PCI_ADDR0_SPACE'
arch/powerpc/kernel/pci_of_scan.c:61: warning: Excess function parameter 'addr0' description in 'OF_PCI_ADDR0_SPACE'
arch/powerpc/kernel/pci_of_scan.c:61: warning: Excess function parameter 'bridge' description in 'OF_PCI_ADDR0_SPACE'
make[3]: Target '__build' not remade because of errors.
make[2]: *** [scripts/Makefile.build:497: arch/powerpc/kernel] Error 2
make[2]: Target '__build' not remade because of errors.
make[1]: *** [Makefile:1764: arch/powerpc] Error 2
make[1]: Target '__all' not remade because of errors.
..
vim +/xive_debug_show_cpu +1568 arch/powerpc/sysdev/xive/common.c
930914b7d528fc Cédric Le Goater 2020-03-06 1567
930914b7d528fc Cédric Le Goater 2020-03-06 @1568 void xive_debug_show_cpu(struct seq_file *m, int cpu)
930914b7d528fc Cédric Le Goater 2020-03-06 1569 {
930914b7d528fc Cédric Le Goater 2020-03-06 1570 struct xive_cpu *xc = per_cpu(xive_cpu, cpu);
930914b7d528fc Cédric Le Goater 2020-03-06 1571
930914b7d528fc Cédric Le Goater 2020-03-06 1572 seq_printf(m, "CPU %d:", cpu);
930914b7d528fc Cédric Le Goater 2020-03-06 1573 if (xc) {
930914b7d528fc Cédric Le Goater 2020-03-06 1574 seq_printf(m, "pp=%02x CPPR=%02x ", xc->pending_prio, xc->cppr);
930914b7d528fc Cédric Le Goater 2020-03-06 1575
930914b7d528fc Cédric Le Goater 2020-03-06 1576 #ifdef CONFIG_SMP
930914b7d528fc Cédric Le Goater 2020-03-06 1577 {
930914b7d528fc Cédric Le Goater 2020-03-06 1578 u64 val = xive_esb_read(&xc->ipi_data, XIVE_ESB_GET);
930914b7d528fc Cédric Le Goater 2020-03-06 1579
930914b7d528fc Cédric Le Goater 2020-03-06 1580 seq_printf(m, "IPI=0x%08x PQ=%c%c ", xc->hw_ipi,
930914b7d528fc Cédric Le Goater 2020-03-06 1581 val & XIVE_ESB_VAL_P ? 'P' : '-',
930914b7d528fc Cédric Le Goater 2020-03-06 1582 val & XIVE_ESB_VAL_Q ? 'Q' : '-');
930914b7d528fc Cédric Le Goater 2020-03-06 1583 }
930914b7d528fc Cédric Le Goater 2020-03-06 1584 #endif
930914b7d528fc Cédric Le Goater 2020-03-06 1585 {
930914b7d528fc Cédric Le Goater 2020-03-06 1586 struct xive_q *q = &xc->queue[xive_irq_priority];
930914b7d528fc Cédric Le Goater 2020-03-06 1587 u32 i0, i1, idx;
930914b7d528fc Cédric Le Goater 2020-03-06 1588
930914b7d528fc Cédric Le Goater 2020-03-06 1589 if (q->qpage) {
930914b7d528fc Cédric Le Goater 2020-03-06 1590 idx = q->idx;
930914b7d528fc Cédric Le Goater 2020-03-06 1591 i0 = be32_to_cpup(q->qpage + idx);
930914b7d528fc Cédric Le Goater 2020-03-06 1592 idx = (idx + 1) & q->msk;
930914b7d528fc Cédric Le Goater 2020-03-06 1593 i1 = be32_to_cpup(q->qpage + idx);
930914b7d528fc Cédric Le Goater 2020-03-06 1594 seq_printf(m, "EQ idx=%d T=%d %08x %08x ...",
930914b7d528fc Cédric Le Goater 2020-03-06 1595 q->idx, q->toggle, i0, i1);
930914b7d528fc Cédric Le Goater 2020-03-06 1596 }
930914b7d528fc Cédric Le Goater 2020-03-06 1597 }
930914b7d528fc Cédric Le Goater 2020-03-06 1598 }
930914b7d528fc Cédric Le Goater 2020-03-06 1599 seq_puts(m, "\n");
930914b7d528fc Cédric Le Goater 2020-03-06 1600 }
930914b7d528fc Cédric Le Goater 2020-03-06 1601
930914b7d528fc Cédric Le Goater 2020-03-06 @1602 void xive_debug_show_irq(struct seq_file *m, u32 hw_irq, struct irq_data *d)
930914b7d528fc Cédric Le Goater 2020-03-06 1603 {
930914b7d528fc Cédric Le Goater 2020-03-06 1604 struct irq_chip *chip = irq_data_get_irq_chip(d);
930914b7d528fc Cédric Le Goater 2020-03-06 1605 int rc;
930914b7d528fc Cédric Le Goater 2020-03-06 1606 u32 target;
930914b7d528fc Cédric Le Goater 2020-03-06 1607 u8 prio;
930914b7d528fc Cédric Le Goater 2020-03-06 1608 u32 lirq;
930914b7d528fc Cédric Le Goater 2020-03-06 1609
930914b7d528fc Cédric Le Goater 2020-03-06 1610 if (!is_xive_irq(chip))
930914b7d528fc Cédric Le Goater 2020-03-06 1611 return;
930914b7d528fc Cédric Le Goater 2020-03-06 1612
930914b7d528fc Cédric Le Goater 2020-03-06 1613 rc = xive_ops->get_irq_config(hw_irq, &target, &prio, &lirq);
930914b7d528fc Cédric Le Goater 2020-03-06 1614 if (rc) {
930914b7d528fc Cédric Le Goater 2020-03-06 1615 seq_printf(m, "IRQ 0x%08x : no config rc=%d\n", hw_irq, rc);
930914b7d528fc Cédric Le Goater 2020-03-06 1616 return;
930914b7d528fc Cédric Le Goater 2020-03-06 1617 }
930914b7d528fc Cédric Le Goater 2020-03-06 1618
930914b7d528fc Cédric Le Goater 2020-03-06 1619 seq_printf(m, "IRQ 0x%08x : target=0x%x prio=%02x lirq=0x%x ",
930914b7d528fc Cédric Le Goater 2020-03-06 1620 hw_irq, target, prio, lirq);
930914b7d528fc Cédric Le Goater 2020-03-06 1621
930914b7d528fc Cédric Le Goater 2020-03-06 1622 if (d) {
930914b7d528fc Cédric Le Goater 2020-03-06 1623 struct xive_irq_data *xd = irq_data_get_irq_handler_data(d);
930914b7d528fc Cédric Le Goater 2020-03-06 1624 u64 val = xive_esb_read(xd, XIVE_ESB_GET);
930914b7d528fc Cédric Le Goater 2020-03-06 1625
930914b7d528fc Cédric Le Goater 2020-03-06 1626 seq_printf(m, "flags=%c%c%c PQ=%c%c",
930914b7d528fc Cédric Le Goater 2020-03-06 1627 xd->flags & XIVE_IRQ_FLAG_STORE_EOI ? 'S' : ' ',
930914b7d528fc Cédric Le Goater 2020-03-06 1628 xd->flags & XIVE_IRQ_FLAG_LSI ? 'L' : ' ',
930914b7d528fc Cédric Le Goater 2020-03-06 1629 xd->flags & XIVE_IRQ_FLAG_H_INT_ESB ? 'H' : ' ',
930914b7d528fc Cédric Le Goater 2020-03-06 1630 val & XIVE_ESB_VAL_P ? 'P' : '-',
930914b7d528fc Cédric Le Goater 2020-03-06 1631 val & XIVE_ESB_VAL_Q ? 'Q' : '-');
930914b7d528fc Cédric Le Goater 2020-03-06 1632 }
930914b7d528fc Cédric Le Goater 2020-03-06 1633 seq_puts(m, "\n");
930914b7d528fc Cédric Le Goater 2020-03-06 1634 }
930914b7d528fc Cédric Le Goater 2020-03-06 1635
:::::: The code at line 1568 was first introduced by commit
:::::: 930914b7d528fc6b0249bffc00564100bcf6ef75 powerpc/xive: Add a debugfs file to dump internal XIVE state
:::::: TO: Cédric Le Goater <clg(a)kaod.org>
:::::: CC: Michael Ellerman <mpe(a)ellerman.id.au>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years
Re: [PATCH] wilc1000: move wilc driver out of staging
by kernel test robot
Hi,
I love your patch! Perhaps something to improve:
[auto build test WARNING on staging/staging-testing]
[also build test WARNING on wireless-drivers-next/master wireless-drivers/master v5.8-rc3 next-20200629]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use as documented in
https://git-scm.com/docs/git-format-patch]
url: https://github.com/0day-ci/linux/commits/Ajay-Kathat-microchip-com/wilc10...
base: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git 9bea6eb3f59cb2fad8b46d91c666a17d0aa53456
config: x86_64-randconfig-a005-20200630 (attached as .config)
compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project cf1d04484344be52ada8178e41d18fd15a9b880c)
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
# install x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
In file included from kernel/rcu/update.c:587:
kernel/rcu/tasks.h:405:6: warning: no previous prototype for function 'rcu_tasks_postscan'
void rcu_tasks_postscan(struct list_head
^
kernel/rcu/tasks.h:405:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void rcu_tasks_postscan(struct list_head
^
static
kernel/rcu/tasks.h:757:6: warning: no previous prototype for function 'rcu_read_unlock_trace_special'
void rcu_read_unlock_trace_special(struct task_struct int nesting)
^
kernel/rcu/tasks.h:757:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void rcu_read_unlock_trace_special(struct task_struct int nesting)
^
static
kernel/rcu/tasks.h:1135:6: warning: no previous prototype for function 'synchronize_rcu_tasks_trace'
void synchronize_rcu_tasks_trace(void)
^
kernel/rcu/tasks.h:1135:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void synchronize_rcu_tasks_trace(void)
^
static
kernel/rcu/tasks.h:1148:6: warning: no previous prototype for function 'rcu_barrier_tasks_trace'
void rcu_barrier_tasks_trace(void)
^
kernel/rcu/tasks.h:1148:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void rcu_barrier_tasks_trace(void)
^
static
kernel/events/core.c:6490:6: warning: no previous prototype for function 'perf_pmu_snapshot_aux'
long perf_pmu_snapshot_aux(struct perf_buffer
^
kernel/events/core.c:6490:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
long perf_pmu_snapshot_aux(struct perf_buffer
^
static
>> drivers/net/wireless/microchip/wilc1000/cfg80211.c:49:42: warning: unused variable 'wowlan_support'
static const struct wiphy_wowlan_support wowlan_support = {
^
kernel/trace/trace.c:1535:37: warning: unused variable 'tracing_max_lat_fops'
static const struct file_operations tracing_max_lat_fops;
^
kernel/sched/core.c:2117:6: warning: no previous prototype for function 'sched_set_stop_task'
void sched_set_stop_task(int cpu, struct task_struct
^
kernel/sched/core.c:2117:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void sched_set_stop_task(int cpu, struct task_struct
^
static
kernel/sched/core.c:4263:35: warning: no previous prototype for function 'schedule_user'
asmlinkage __visible void __sched schedule_user(void)
^
kernel/sched/core.c:4263:22: note: declare 'static' if the function is not intended to be used outside of this translation unit
asmlinkage __visible void __sched schedule_user(void)
^
static
4 warnings generated.
kernel/sched/core.c:808:28: warning: unused function 'uclamp_bucket_base_value'
static inline unsigned int uclamp_bucket_base_value(unsigned int clamp_value)
^
kernel/sched/core.c:1047:1: warning: unused function 'uclamp_update_active'
uclamp_update_active(struct task_struct enum uclamp_id clamp_id)
^
kernel/trace/trace_seq.c:142: warning: Function parameter or member 'args' not described in 'trace_seq_vprintf'
kernel/bpf/core.c:1353:12: warning: no previous prototype for function 'bpf_probe_read_kernel'
u64 __weak bpf_probe_read_kernel(void u32 size, const void
^
kernel/bpf/core.c:1353:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
u64 __weak bpf_probe_read_kernel(void u32 size, const void
^
static
kernel/time/hrtimer.c:120:21: warning: initializer overrides prior initialization of this subobject
= HRTIMER_BASE_REALTIME,
^~~~~~~~~~~~~~~~~~~~~
kernel/time/hrtimer.c:118:27: note: previous initialization is here
[0 ... MAX_CLOCKS - 1] = HRTIMER_MAX_CLOCK_BASES,
^~~~~~~~~~~~~~~~~~~~~~~
kernel/time/hrtimer.c:121:22: warning: initializer overrides prior initialization of this subobject
= HRTIMER_BASE_MONOTONIC,
^~~~~~~~~~~~~~~~~~~~~~
kernel/time/hrtimer.c:118:27: note: previous initialization is here
[0 ... MAX_CLOCKS - 1] = HRTIMER_MAX_CLOCK_BASES,
^~~~~~~~~~~~~~~~~~~~~~~
kernel/time/hrtimer.c:122:21: warning: initializer overrides prior initialization of this subobject
= HRTIMER_BASE_BOOTTIME,
^~~~~~~~~~~~~~~~~~~~~
kernel/time/hrtimer.c:118:27: note: previous initialization is here
[0 ... MAX_CLOCKS - 1] = HRTIMER_MAX_CLOCK_BASES,
^~~~~~~~~~~~~~~~~~~~~~~
kernel/time/hrtimer.c:123:17: warning: initializer overrides prior initialization of this subobject
= HRTIMER_BASE_TAI,
^~~~~~~~~~~~~~~~
kernel/time/hrtimer.c:118:27: note: previous initialization is here
[0 ... MAX_CLOCKS - 1] = HRTIMER_MAX_CLOCK_BASES,
^~~~~~~~~~~~~~~~~~~~~~~
kernel/dma/swiotlb.c:278:1: warning: no previous prototype for function 'swiotlb_late_init_with_default_size'
swiotlb_late_init_with_default_size(size_t default_size)
^
kernel/dma/swiotlb.c:277:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
int
^
static
kernel/time/hrtimer.c:143:20: warning: unused function 'is_migration_base'
static inline bool is_migration_base(struct hrtimer_clock_base
^
kernel/time/hrtimer.c:617:19: warning: unused function 'hrtimer_hres_active'
static inline int hrtimer_hres_active(void)
^
1 warning generated.
kernel/trace/ring_buffer.c:1141: warning: Function parameter or member 'cpu_buffer' not described in 'rb_check_list'
kernel/trace/ring_buffer.c:1141: warning: Function parameter or member 'list' not described in 'rb_check_list'
1 warning generated.
kernel/panic.c:85:13: warning: no previous prototype for function 'panic_smp_self_stop'
void __weak panic_smp_self_stop(void)
^
kernel/panic.c:85:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void __weak panic_smp_self_stop(void)
^
static
kernel/panic.c:95:13: warning: no previous prototype for function 'nmi_panic_self_stop'
void __weak nmi_panic_self_stop(struct pt_regs
^
kernel/panic.c:95:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void __weak nmi_panic_self_stop(struct pt_regs
^
static
kernel/panic.c:106:13: warning: no previous prototype for function 'crash_smp_send_stop'
void __weak crash_smp_send_stop(void)
^
kernel/panic.c:106:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void __weak crash_smp_send_stop(void)
^
static
kernel/locking/lockdep.c:668:4: warning: format specifies type 'short' but the argument has type 'int'
class->wait_type_outer class->wait_type_inner,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3 warnings generated.
--
>> drivers/net/wireless/microchip/wilc1000/cfg80211.c:49:42: warning: unused variable 'wowlan_support' [-Wunused-const-variable]
static const struct wiphy_wowlan_support wowlan_support = {
^
1 warning generated.
drivers/net/ethernet/intel/e1000/e1000_hw.c:1907: warning: Excess function parameter 'mii_reg' description in 'e1000_config_mac_to_phy'
drivers/net/ethernet/intel/e1000/e1000_hw.c:2930: warning: Function parameter or member 'phy_data' not described in 'e1000_write_phy_reg'
drivers/net/ethernet/intel/e1000/e1000_hw.c:2930: warning: Excess function parameter 'data' description in 'e1000_write_phy_reg'
drivers/net/ethernet/intel/e1000/e1000_hw.c:4788: warning: Excess function parameter 'tx_packets' description in 'e1000_update_adaptive'
drivers/net/ethernet/intel/e1000/e1000_hw.c:4788: warning: Excess function parameter 'total_collisions' description in 'e1000_update_adaptive'
drivers/net/ethernet/intel/e1000/e1000_hw.c:5079: warning: Excess function parameter 'downshift' description in 'e1000_check_downshift'
drivers/net/ethernet/intel/e1000/e1000_main.c:212: warning: Function parameter or member 'hw' not described in 'e1000_get_hw_dev'
drivers/net/ethernet/intel/e1000/e1000_main.c:365: warning: Function parameter or member 'adapter' not described in 'e1000_configure'
drivers/net/ethernet/intel/e1000/e1000_main.c:3500: warning: Function parameter or member 'txqueue' not described in 'e1000_tx_timeout'
drivers/net/ethernet/intel/e1000/e1000_main.c:3799: warning: Function parameter or member 'napi' not described in 'e1000_clean'
drivers/net/ethernet/intel/e1000/e1000_main.c:3799: warning: Function parameter or member 'budget' not described in 'e1000_clean'
drivers/net/ethernet/intel/e1000/e1000_main.c:3799: warning: Excess function parameter 'adapter' description in 'e1000_clean'
drivers/net/ethernet/intel/e1000/e1000_main.c:3830: warning: Function parameter or member 'tx_ring' not described in 'e1000_clean_tx_irq'
drivers/net/ethernet/intel/e1000/e1000_main.c:3946: warning: Function parameter or member 'skb' not described in 'e1000_rx_checksum'
drivers/net/ethernet/intel/e1000/e1000_main.c:3946: warning: Excess function parameter 'sk_buff' description in 'e1000_rx_checksum'
drivers/net/ethernet/intel/e1000/e1000_main.c:3982: warning: Function parameter or member 'bi' not described in 'e1000_consume_page'
drivers/net/ethernet/intel/e1000/e1000_main.c:3982: warning: Function parameter or member 'skb' not described in 'e1000_consume_page'
drivers/net/ethernet/intel/e1000/e1000_main.c:3982: warning: Function parameter or member 'length' not described in 'e1000_consume_page'
drivers/net/ethernet/intel/e1000/e1000_main.c:4020: warning: Function parameter or member 'stats' not described in 'e1000_tbi_adjust_stats'
drivers/net/ethernet/intel/e1000/e1000_main.c:4561: warning: Function parameter or member 'rx_ring' not described in 'e1000_alloc_rx_buffers'
drivers/net/ethernet/intel/e1000/e1000_main.c:4561: warning: Function parameter or member 'cleaned_count' not described in 'e1000_alloc_rx_buffers'
drivers/net/ethernet/intel/e1000/e1000_main.c:4674: warning: Function parameter or member 'adapter' not described in 'e1000_smartspeed'
drivers/net/ethernet/intel/e1000/e1000_main.c:4733: warning: Function parameter or member 'netdev' not described in 'e1000_ioctl'
drivers/net/ethernet/intel/e1000/e1000_main.c:4733: warning: Function parameter or member 'ifr' not described in 'e1000_ioctl'
drivers/net/ethernet/intel/e1000/e1000_main.c:4733: warning: Function parameter or member 'cmd' not described in 'e1000_ioctl'
drivers/net/ethernet/intel/e1000/e1000_main.c:4752: warning: Function parameter or member 'netdev' not described in 'e1000_mii_ioctl'
drivers/net/ethernet/intel/e1000/e1000_main.c:4752: warning: Function parameter or member 'ifr' not described in 'e1000_mii_ioctl'
drivers/net/ethernet/intel/e1000/e1000_main.c:4752: warning: Function parameter or member 'cmd' not described in 'e1000_mii_ioctl'
--
>> drivers/net/wireless/microchip/wilc1000/cfg80211.c:49:42: warning: unused variable 'wowlan_support' [-Wunused-const-variable]
static const struct wiphy_wowlan_support wowlan_support = {
^
1 warning generated.
--
>> drivers/net/wireless/microchip/wilc1000/cfg80211.c:49:42: warning: unused variable 'wowlan_support' [-Wunused-const-variable]
static const struct wiphy_wowlan_support wowlan_support = {
^
1 warning generated.
drivers/net/ethernet/intel/e1000/e1000_hw.c:1907: warning: Excess function parameter 'mii_reg' description in 'e1000_config_mac_to_phy'
drivers/net/ethernet/intel/e1000/e1000_hw.c:2930: warning: Function parameter or member 'phy_data' not described in 'e1000_write_phy_reg'
drivers/net/ethernet/intel/e1000/e1000_hw.c:2930: warning: Excess function parameter 'data' description in 'e1000_write_phy_reg'
drivers/net/ethernet/intel/e1000/e1000_hw.c:4788: warning: Excess function parameter 'tx_packets' description in 'e1000_update_adaptive'
drivers/net/ethernet/intel/e1000/e1000_hw.c:4788: warning: Excess function parameter 'total_collisions' description in 'e1000_update_adaptive'
drivers/net/ethernet/intel/e1000/e1000_hw.c:5079: warning: Excess function parameter 'downshift' description in 'e1000_check_downshift'
drivers/net/ethernet/intel/e1000/e1000_main.c:212: warning: Function parameter or member 'hw' not described in 'e1000_get_hw_dev'
drivers/net/ethernet/intel/e1000/e1000_main.c:365: warning: Function parameter or member 'adapter' not described in 'e1000_configure'
drivers/net/ethernet/intel/e1000/e1000_main.c:3500: warning: Function parameter or member 'txqueue' not described in 'e1000_tx_timeout'
drivers/net/ethernet/intel/e1000/e1000_main.c:3799: warning: Function parameter or member 'napi' not described in 'e1000_clean'
drivers/net/ethernet/intel/e1000/e1000_main.c:3799: warning: Function parameter or member 'budget' not described in 'e1000_clean'
drivers/net/ethernet/intel/e1000/e1000_main.c:3799: warning: Excess function parameter 'adapter' description in 'e1000_clean'
drivers/net/ethernet/intel/e1000/e1000_main.c:3830: warning: Function parameter or member 'tx_ring' not described in 'e1000_clean_tx_irq'
drivers/net/ethernet/intel/e1000/e1000_main.c:3946: warning: Function parameter or member 'skb' not described in 'e1000_rx_checksum'
drivers/net/ethernet/intel/e1000/e1000_main.c:3946: warning: Excess function parameter 'sk_buff' description in 'e1000_rx_checksum'
drivers/net/ethernet/intel/e1000/e1000_main.c:3982: warning: Function parameter or member 'bi' not described in 'e1000_consume_page'
drivers/net/ethernet/intel/e1000/e1000_main.c:3982: warning: Function parameter or member 'skb' not described in 'e1000_consume_page'
drivers/net/ethernet/intel/e1000/e1000_main.c:3982: warning: Function parameter or member 'length' not described in 'e1000_consume_page'
drivers/net/ethernet/intel/e1000/e1000_main.c:4020: warning: Function parameter or member 'stats' not described in 'e1000_tbi_adjust_stats'
drivers/net/ethernet/intel/e1000/e1000_main.c:4561: warning: Function parameter or member 'rx_ring' not described in 'e1000_alloc_rx_buffers'
drivers/net/ethernet/intel/e1000/e1000_main.c:4561: warning: Function parameter or member 'cleaned_count' not described in 'e1000_alloc_rx_buffers'
drivers/net/ethernet/intel/e1000/e1000_main.c:4674: warning: Function parameter or member 'adapter' not described in 'e1000_smartspeed'
drivers/net/ethernet/intel/e1000/e1000_main.c:4733: warning: Function parameter or member 'netdev' not described in 'e1000_ioctl'
drivers/net/ethernet/intel/e1000/e1000_main.c:4733: warning: Function parameter or member 'ifr' not described in 'e1000_ioctl'
drivers/net/ethernet/intel/e1000/e1000_main.c:4733: warning: Function parameter or member 'cmd' not described in 'e1000_ioctl'
drivers/net/ethernet/intel/e1000/e1000_main.c:4752: warning: Function parameter or member 'netdev' not described in 'e1000_mii_ioctl'
drivers/net/ethernet/intel/e1000/e1000_main.c:4752: warning: Function parameter or member 'ifr' not described in 'e1000_mii_ioctl'
drivers/net/ethernet/intel/e1000/e1000_main.c:4752: warning: Function parameter or member 'cmd' not described in 'e1000_mii_ioctl'
WARNING: Symbol version dump "Module.symvers" is missing.
Modules may not have dependencies or modversions.
WARNING: modpost: Symbol info of vmlinux is missing. Unresolved symbol check will be entirely skipped.
vim +/wowlan_support +49 drivers/net/wireless/microchip/wilc1000/cfg80211.c
15162fbc78a74a drivers/staging/wilc1000/wilc_wfi_cfgoperations.c Arnd Bergmann 2015-11-16 48
73584a40d7484f drivers/staging/wilc1000/wilc_wfi_cfgoperations.c Glen Lee 2016-01-25 @49 static const struct wiphy_wowlan_support wowlan_support = {
73584a40d7484f drivers/staging/wilc1000/wilc_wfi_cfgoperations.c Glen Lee 2016-01-25 50 .flags = WIPHY_WOWLAN_ANY
73584a40d7484f drivers/staging/wilc1000/wilc_wfi_cfgoperations.c Glen Lee 2016-01-25 51 };
73584a40d7484f drivers/staging/wilc1000/wilc_wfi_cfgoperations.c Glen Lee 2016-01-25 52
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years
[android-common:android-4.19-stable 1/1] :2306:17: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension
by kernel test robot
tree: https://android.googlesource.com/kernel/common android-4.19-stable
head: 4da740c10dc0f2de632686e8cc0274cfa52e67e4
commit: 4da740c10dc0f2de632686e8cc0274cfa52e67e4 [1/1] Revert "ANDROID: fscrypt: add key removal notifier chain"
config: x86_64-randconfig-a003-20200630 (attached as .config)
compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project cf1d04484344be52ada8178e41d18fd15a9b880c)
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
# install x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
git checkout 4da740c10dc0f2de632686e8cc0274cfa52e67e4
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/mfd/wm831x-spi.c:41:10: warning: cast to smaller integer type 'enum wm831x_parent' from 'const void
type = (enum wm831x_parent)of_id->data;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
1 warning generated.
drivers/net/macsec.c:156: warning: Function parameter or member 'refcnt' not described in 'macsec_rx_sa'
drivers/net/macsec.c:156: warning: Function parameter or member 'active' not described in 'macsec_rx_sa'
drivers/net/macsec.c:156: warning: Function parameter or member 'sc' not described in 'macsec_rx_sa'
drivers/net/macsec.c:156: warning: Function parameter or member 'rcu' not described in 'macsec_rx_sa'
drivers/net/macsec.c:178: warning: Function parameter or member 'next' not described in 'macsec_rx_sc'
drivers/net/macsec.c:178: warning: Function parameter or member 'refcnt' not described in 'macsec_rx_sc'
drivers/net/macsec.c:178: warning: Function parameter or member 'rcu_head' not described in 'macsec_rx_sc'
drivers/net/macsec.c:196: warning: Function parameter or member 'refcnt' not described in 'macsec_tx_sa'
drivers/net/macsec.c:196: warning: Function parameter or member 'active' not described in 'macsec_tx_sa'
drivers/net/macsec.c:196: warning: Function parameter or member 'rcu' not described in 'macsec_tx_sa'
drivers/net/macsec.c:223: warning: Function parameter or member 'active' not described in 'macsec_tx_sc'
drivers/net/macsec.c:223: warning: Function parameter or member 'end_station' not described in 'macsec_tx_sc'
drivers/net/macsec.c:276: warning: Function parameter or member 'gro_cells' not described in 'macsec_dev'
drivers/net/macsec.c:276: warning: Function parameter or member 'nest_level' not described in 'macsec_dev'
drivers/mfd/wm8350-core.c:140: warning: Function parameter or member 'wm8350' not described in 'wm8350_reg_lock'
drivers/mfd/wm8350-core.c:169: warning: Function parameter or member 'wm8350' not described in 'wm8350_reg_unlock'
drivers/leds/leds-lp8860.c:110: warning: Function parameter or member 'lock' not described in 'lp8860_led'
drivers/leds/leds-lp8860.c:110: warning: Function parameter or member 'client' not described in 'lp8860_led'
drivers/leds/leds-lp8860.c:110: warning: Function parameter or member 'led_dev' not described in 'lp8860_led'
drivers/leds/leds-lp8860.c:110: warning: Function parameter or member 'regmap' not described in 'lp8860_led'
drivers/leds/leds-lp8860.c:110: warning: Function parameter or member 'eeprom_regmap' not described in 'lp8860_led'
drivers/leds/leds-lp8860.c:110: warning: Function parameter or member 'enable_gpio' not described in 'lp8860_led'
drivers/leds/leds-lp8860.c:110: warning: Function parameter or member 'regulator' not described in 'lp8860_led'
drivers/leds/leds-lp8860.c:110: warning: Function parameter or member 'label' not described in 'lp8860_led'
drivers/of/device.c:28: warning: Function parameter or member 'matches' not described in 'of_match_device'
drivers/of/device.c:28: warning: Excess function parameter 'ids' description in 'of_match_device'
drivers/of/device.c:278: warning: Function parameter or member 'dev' not described in 'of_device_modalias'
drivers/of/device.c:278: warning: Function parameter or member 'str' not described in 'of_device_modalias'
drivers/of/device.c:278: warning: Function parameter or member 'len' not described in 'of_device_modalias'
drivers/of/device.c:295: warning: Function parameter or member 'dev' not described in 'of_device_uevent'
drivers/of/device.c:295: warning: Function parameter or member 'env' not described in 'of_device_uevent'
2 warnings generated.
drivers/acpi/scan.c:758:28: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension
status = acpi_get_handle(ACPI_ROOT_OBJECT, obj->string.pointer,
^~~~~~~~~~~~~~~~
include/acpi/actypes.h:458:56: note: expanded from macro 'ACPI_ROOT_OBJECT'
#define ACPI_ROOT_OBJECT ((acpi_handle) ACPI_TO_POINTER (ACPI_MAX_PTR))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/acpi/actypes.h:509:41: note: expanded from macro 'ACPI_TO_POINTER'
#define ACPI_TO_POINTER(i) ACPI_ADD_PTR (void, (void 0, (acpi_size) (i))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/acpi/actypes.h:503:84: note: expanded from macro 'ACPI_ADD_PTR'
#define ACPI_ADD_PTR(t, a, b) ACPI_CAST_PTR (t, (ACPI_CAST_PTR (u8, (a)) + (acpi_size)(b)))
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
include/acpi/actypes.h:501:66: note: expanded from macro 'ACPI_CAST_PTR'
#define ACPI_CAST_PTR(t, p) ((t (acpi_uintptr_t) (p))
^
drivers/acpi/scan.c:1252:17: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension
if (handle == ACPI_ROOT_OBJECT) {
^~~~~~~~~~~~~~~~
include/acpi/actypes.h:458:56: note: expanded from macro 'ACPI_ROOT_OBJECT'
#define ACPI_ROOT_OBJECT ((acpi_handle) ACPI_TO_POINTER (ACPI_MAX_PTR))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/acpi/actypes.h:509:41: note: expanded from macro 'ACPI_TO_POINTER'
#define ACPI_TO_POINTER(i) ACPI_ADD_PTR (void, (void 0, (acpi_size) (i))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/acpi/actypes.h:503:84: note: expanded from macro 'ACPI_ADD_PTR'
#define ACPI_ADD_PTR(t, a, b) ACPI_CAST_PTR (t, (ACPI_CAST_PTR (u8, (a)) + (acpi_size)(b)))
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
include/acpi/actypes.h:501:66: note: expanded from macro 'ACPI_CAST_PTR'
#define ACPI_CAST_PTR(t, p) ((t (acpi_uintptr_t) (p))
^
drivers/acpi/scan.c:2226:25: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension
result = acpi_bus_scan(ACPI_ROOT_OBJECT);
^~~~~~~~~~~~~~~~
include/acpi/actypes.h:458:56: note: expanded from macro 'ACPI_ROOT_OBJECT'
#define ACPI_ROOT_OBJECT ((acpi_handle) ACPI_TO_POINTER (ACPI_MAX_PTR))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/acpi/actypes.h:509:41: note: expanded from macro 'ACPI_TO_POINTER'
#define ACPI_TO_POINTER(i) ACPI_ADD_PTR (void, (void 0, (acpi_size) (i))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/acpi/actypes.h:503:84: note: expanded from macro 'ACPI_ADD_PTR'
#define ACPI_ADD_PTR(t, a, b) ACPI_CAST_PTR (t, (ACPI_CAST_PTR (u8, (a)) + (acpi_size)(b)))
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
include/acpi/actypes.h:501:66: note: expanded from macro 'ACPI_CAST_PTR'
#define ACPI_CAST_PTR(t, p) ((t (acpi_uintptr_t) (p))
^
drivers/acpi/scan.c:2230:31: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension
result = acpi_bus_get_device(ACPI_ROOT_OBJECT, &acpi_root);
^~~~~~~~~~~~~~~~
include/acpi/actypes.h:458:56: note: expanded from macro 'ACPI_ROOT_OBJECT'
#define ACPI_ROOT_OBJECT ((acpi_handle) ACPI_TO_POINTER (ACPI_MAX_PTR))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/acpi/actypes.h:509:41: note: expanded from macro 'ACPI_TO_POINTER'
#define ACPI_TO_POINTER(i) ACPI_ADD_PTR (void, (void 0, (acpi_size) (i))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/acpi/actypes.h:503:84: note: expanded from macro 'ACPI_ADD_PTR'
#define ACPI_ADD_PTR(t, a, b) ACPI_CAST_PTR (t, (ACPI_CAST_PTR (u8, (a)) + (acpi_size)(b)))
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
include/acpi/actypes.h:501:66: note: expanded from macro 'ACPI_CAST_PTR'
#define ACPI_CAST_PTR(t, p) ((t (acpi_uintptr_t) (p))
^
drivers/of/platform.c:306: warning: Function parameter or member 'lookup' not described in 'of_dev_lookup'
drivers/acpi/scan.cdrivers/of/platform.c:306: warning: Function parameter or member 'np' not described in 'of_dev_lookup'
>> :2306:17: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension
acpi_bus_scan(ACPI_ROOT_OBJECT);
^~~~~~~~~~~~~~~~
include/acpi/actypes.h:458:56: note: expanded from macro 'ACPI_ROOT_OBJECT'
#define ACPI_ROOT_OBJECT ((acpi_handle) ACPI_TO_POINTER (ACPI_MAX_PTR))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/acpi/actypes.h:509:41: note: expanded from macro 'ACPI_TO_POINTER'
#define ACPI_TO_POINTER(i) ACPI_ADD_PTR (void, (void 0, (acpi_size) (i))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/acpi/actypes.h:503:84: note: expanded from macro 'ACPI_ADD_PTR'
#define ACPI_ADD_PTR(t, a, b) ACPI_CAST_PTR (t, (ACPI_CAST_PTR (u8, (a)) + (acpi_size)(b)))
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
include/acpi/actypes.h:501:66: note: expanded from macro 'ACPI_CAST_PTR'
#define ACPI_CAST_PTR(t, p) ((t (acpi_uintptr_t) (p))
^
drivers/mfd/wm8994-core.c:653:19: warning: cast to smaller integer type 'enum wm8994_type' from 'const void
wm8994->type = (enum wm8994_type)of_id->data;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
kernel/events/core.c:138: warning: Function parameter or member 'cpu' not described in 'cpu_function_call'
kernel/events/core.c:10555: warning: Function parameter or member 'flags' not described in 'sys_perf_event_open'
kernel/events/core.c:11002: warning: Function parameter or member 'overflow_handler' not described in 'perf_event_create_kernel_counter'
kernel/events/core.c:11002: warning: Function parameter or member 'context' not described in 'perf_event_create_kernel_counter'
drivers/ntb/ntb_transport.c:1769: warning: Function parameter or member 'data' not described in 'ntb_transport_create_queue'
drivers/ntb/ntb_transport.c:1769: warning: Function parameter or member 'client_dev' not described in 'ntb_transport_create_queue'
drivers/ntb/ntb_transport.c:1769: warning: Function parameter or member 'handlers' not described in 'ntb_transport_create_queue'
drivers/ntb/ntb_transport.c:1769: warning: Excess function parameter 'rx_handler' description in 'ntb_transport_create_queue'
drivers/ntb/ntb_transport.c:1769: warning: Excess function parameter 'tx_handler' description in 'ntb_transport_create_queue'
drivers/ntb/ntb_transport.c:1769: warning: Excess function parameter 'event_handler' description in 'ntb_transport_create_queue'
drivers/phy/phy-core.c:964: warning: Function parameter or member 'children' not described in '__devm_of_phy_provider_register'
drivers/phy/phy-core.c:1011: warning: Function parameter or member 'phy_provider' not described in 'devm_of_phy_provider_unregister'
drivers/i2c/i2c-core-acpi.c:226:49: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension
status = acpi_walk_namespace(ACPI_TYPE_DEVICE, ACPI_ROOT_OBJECT,
^~~~~~~~~~~~~~~~
include/acpi/actypes.h:458:56: note: expanded from macro 'ACPI_ROOT_OBJECT'
#define ACPI_ROOT_OBJECT ((acpi_handle) ACPI_TO_POINTER (ACPI_MAX_PTR))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/acpi/actypes.h:509:41: note: expanded from macro 'ACPI_TO_POINTER'
#define ACPI_TO_POINTER(i) ACPI_ADD_PTR (void, (void 0, (acpi_size) (i))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/acpi/actypes.h:503:84: note: expanded from macro 'ACPI_ADD_PTR'
#define ACPI_ADD_PTR(t, a, b) ACPI_CAST_PTR (t, (ACPI_CAST_PTR (u8, (a)) + (acpi_size)(b)))
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
include/acpi/actypes.h:501:66: note: expanded from macro 'ACPI_CAST_PTR'
#define ACPI_CAST_PTR(t, p) ((t (acpi_uintptr_t) (p))
^
drivers/i2c/i2c-core-acpi.c:305:49: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension
status = acpi_walk_namespace(ACPI_TYPE_DEVICE, ACPI_ROOT_OBJECT,
^~~~~~~~~~~~~~~~
include/acpi/actypes.h:458:56: note: expanded from macro 'ACPI_ROOT_OBJECT'
#define ACPI_ROOT_OBJECT ((acpi_handle) ACPI_TO_POINTER (ACPI_MAX_PTR))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/acpi/actypes.h:509:41: note: expanded from macro 'ACPI_TO_POINTER'
#define ACPI_TO_POINTER(i) ACPI_ADD_PTR (void, (void 0, (acpi_size) (i))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/acpi/actypes.h:503:84: note: expanded from macro 'ACPI_ADD_PTR'
#define ACPI_ADD_PTR(t, a, b) ACPI_CAST_PTR (t, (ACPI_CAST_PTR (u8, (a)) + (acpi_size)(b)))
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
include/acpi/actypes.h:501:66: note: expanded from macro 'ACPI_CAST_PTR'
#define ACPI_CAST_PTR(t, p) ((t (acpi_uintptr_t) (p))
^
1 warning generated.
2 warnings generated.
drivers/misc/genwqe/card_base.c:45: warning: Function parameter or member '<haver(a)linux.vnet.ibm.com>"' not described in 'MODULE_AUTHOR'
drivers/misc/genwqe/card_base.c:184: warning: Function parameter or member 'cd' not described in 'genwqe_bus_reset'
drivers/misc/genwqe/card_base.c:281: warning: Function parameter or member 'cd' not described in 'genwqe_recovery_on_fatal_gfir_required'
drivers/misc/genwqe/card_base.c:302: warning: Function parameter or member 'cd' not described in 'genwqe_T_psec'
drivers/misc/genwqe/card_base.c:323: warning: Function parameter or member 'cd' not described in 'genwqe_setup_pf_jtimer'
drivers/misc/genwqe/card_base.c:343: warning: Function parameter or member 'cd' not described in 'genwqe_setup_vf_jtimer'
drivers/misc/genwqe/card_base.c:566: warning: Function parameter or member 'cd' not described in 'genwqe_stop'
drivers/misc/genwqe/card_base.c:590: warning: Function parameter or member 'cd' not described in 'genwqe_recover_card'
drivers/misc/genwqe/card_base.c:590: warning: Function parameter or member 'fatal_err' not described in 'genwqe_recover_card'
drivers/misc/genwqe/card_base.c:638: warning: Function parameter or member 'cd' not described in 'genwqe_fir_checking'
drivers/misc/genwqe/card_base.c:781: warning: Function parameter or member 'pci_dev' not described in 'genwqe_pci_fundamental_reset'
drivers/misc/genwqe/card_base.c:910: warning: Function parameter or member 'data' not described in 'genwqe_health_thread'
drivers/misc/genwqe/card_base.c:1069: warning: Function parameter or member 'cd' not described in 'genwqe_pci_setup'
drivers/misc/genwqe/card_base.c:1154: warning: Function parameter or member 'cd' not described in 'genwqe_pci_remove'
drivers/misc/genwqe/card_base.c:1174: warning: Function parameter or member 'pci_dev' not described in 'genwqe_probe'
drivers/misc/genwqe/card_base.c:1174: warning: Function parameter or member 'id' not described in 'genwqe_probe'
drivers/misc/genwqe/card_base.c:1174: warning: Excess function parameter 'pdev' description in 'genwqe_probe'
drivers/misc/genwqe/card_base.c:1230: warning: Function parameter or member 'pci_dev' not described in 'genwqe_remove'
drivers/misc/genwqe/card_base.c:1359: warning: Function parameter or member 'dev' not described in 'genwqe_devnode'
drivers/misc/genwqe/card_base.c:1359: warning: Function parameter or member 'mode' not described in 'genwqe_devnode'
drivers/pinctrl/core.c:168: warning: Function parameter or member 'pin' not described in 'pin_get_name'
drivers/pinctrl/core.c:168: warning: Excess function parameter 'name' description in 'pin_get_name'
drivers/pinctrl/core.c:607: warning: Function parameter or member 'selector' not described in 'pinctrl_generic_get_group'
drivers/pinctrl/core.c:607: warning: Excess function parameter 'gselector' description in 'pinctrl_generic_get_group'
drivers/pinctrl/core.c:1338: error: Cannot parse struct or union!
drivers/pinctrl/core.c:2225: warning: Function parameter or member 'pctldev' not described in 'devm_pinctrl_register_and_init'
drivers/platform/chrome/cros_ec_i2c.c:33: warning: cannot understand function prototype: 'struct ec_host_request_i2c '
drivers/net/netconsole.c:116: warning: Function parameter or member 'extended' not described in 'netconsole_target'
5 warnings generated.
drivers/of/property.c:1023: warning: Function parameter or member 'dl_flags' not described in 'of_link_to_phandle'
drivers/misc/eeprom/eeprom_93cx6.c:248: warning: Function parameter or member 'byte' not described in 'eeprom_93cx6_readb'
drivers/misc/eeprom/eeprom_93cx6.c:248: warning: Excess function parameter 'word' description in 'eeprom_93cx6_readb'
drivers/misc/eeprom/eeprom_93cx6.c:289: warning: Function parameter or member 'bytes' not described in 'eeprom_93cx6_multireadb'
drivers/misc/eeprom/eeprom_93cx6.c:289: warning: Excess function parameter 'words' description in 'eeprom_93cx6_multireadb'
drivers/leds/leds-is31fl32xx.c:89: warning: Function parameter or member 'sw_shutdown_func' not described in 'is31fl32xx_chipdef'
drivers/pcmcia/cistpl.c:1289:5: warning: no previous prototype for function 'pcmcia_parse_tuple'
int pcmcia_parse_tuple(tuple_t cisparse_t
^
drivers/pcmcia/cistpl.c:1289:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
--
type = (enum wm831x_parent)of_id->data;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/mfd/wm831x-spi.c:41:10: warning: cast to smaller integer type 'enum wm831x_parent' from 'const void *' [-Wvoid-pointer-to-enum-cast]
type = (enum wm831x_parent)of_id->data;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
1 warning generated.
drivers/net/macsec.c:156: warning: Function parameter or member 'refcnt' not described in 'macsec_rx_sa'
drivers/net/macsec.c:156: warning: Function parameter or member 'active' not described in 'macsec_rx_sa'
drivers/net/macsec.c:156: warning: Function parameter or member 'sc' not described in 'macsec_rx_sa'
drivers/net/macsec.c:156: warning: Function parameter or member 'rcu' not described in 'macsec_rx_sa'
drivers/net/macsec.c:178: warning: Function parameter or member 'next' not described in 'macsec_rx_sc'
drivers/net/macsec.c:178: warning: Function parameter or member 'refcnt' not described in 'macsec_rx_sc'
drivers/net/macsec.c:178: warning: Function parameter or member 'rcu_head' not described in 'macsec_rx_sc'
drivers/net/macsec.c:196: warning: Function parameter or member 'refcnt' not described in 'macsec_tx_sa'
drivers/net/macsec.c:196: warning: Function parameter or member 'active' not described in 'macsec_tx_sa'
drivers/net/macsec.c:196: warning: Function parameter or member 'rcu' not described in 'macsec_tx_sa'
drivers/net/macsec.c:223: warning: Function parameter or member 'active' not described in 'macsec_tx_sc'
drivers/net/macsec.c:223: warning: Function parameter or member 'end_station' not described in 'macsec_tx_sc'
drivers/net/macsec.c:276: warning: Function parameter or member 'gro_cells' not described in 'macsec_dev'
drivers/net/macsec.c:276: warning: Function parameter or member 'nest_level' not described in 'macsec_dev'
drivers/mfd/wm8350-core.c:140: warning: Function parameter or member 'wm8350' not described in 'wm8350_reg_lock'
drivers/mfd/wm8350-core.c:169: warning: Function parameter or member 'wm8350' not described in 'wm8350_reg_unlock'
drivers/leds/leds-lp8860.c:110: warning: Function parameter or member 'lock' not described in 'lp8860_led'
drivers/leds/leds-lp8860.c:110: warning: Function parameter or member 'client' not described in 'lp8860_led'
drivers/leds/leds-lp8860.c:110: warning: Function parameter or member 'led_dev' not described in 'lp8860_led'
drivers/leds/leds-lp8860.c:110: warning: Function parameter or member 'regmap' not described in 'lp8860_led'
drivers/leds/leds-lp8860.c:110: warning: Function parameter or member 'eeprom_regmap' not described in 'lp8860_led'
drivers/leds/leds-lp8860.c:110: warning: Function parameter or member 'enable_gpio' not described in 'lp8860_led'
drivers/leds/leds-lp8860.c:110: warning: Function parameter or member 'regulator' not described in 'lp8860_led'
drivers/leds/leds-lp8860.c:110: warning: Function parameter or member 'label' not described in 'lp8860_led'
drivers/of/device.c:28: warning: Function parameter or member 'matches' not described in 'of_match_device'
drivers/of/device.c:28: warning: Excess function parameter 'ids' description in 'of_match_device'
drivers/of/device.c:278: warning: Function parameter or member 'dev' not described in 'of_device_modalias'
drivers/of/device.c:278: warning: Function parameter or member 'str' not described in 'of_device_modalias'
drivers/of/device.c:278: warning: Function parameter or member 'len' not described in 'of_device_modalias'
drivers/of/device.c:295: warning: Function parameter or member 'dev' not described in 'of_device_uevent'
drivers/of/device.c:295: warning: Function parameter or member 'env' not described in 'of_device_uevent'
drivers/acpi/scan.c:758:28: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
status = acpi_get_handle(ACPI_ROOT_OBJECT, obj->string.pointer,
^~~~~~~~~~~~~~~~
include/acpi/actypes.h:458:56: note: expanded from macro 'ACPI_ROOT_OBJECT'
#define ACPI_ROOT_OBJECT ((acpi_handle) ACPI_TO_POINTER (ACPI_MAX_PTR))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/acpi/actypes.h:509:41: note: expanded from macro 'ACPI_TO_POINTER'
#define ACPI_TO_POINTER(i) ACPI_ADD_PTR (void, (void *) 0, (acpi_size) (i))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/acpi/actypes.h:503:84: note: expanded from macro 'ACPI_ADD_PTR'
#define ACPI_ADD_PTR(t, a, b) ACPI_CAST_PTR (t, (ACPI_CAST_PTR (u8, (a)) + (acpi_size)(b)))
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
include/acpi/actypes.h:501:66: note: expanded from macro 'ACPI_CAST_PTR'
#define ACPI_CAST_PTR(t, p) ((t *) (acpi_uintptr_t) (p))
^
drivers/acpi/scan.c:1252:17: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
if (handle == ACPI_ROOT_OBJECT) {
^~~~~~~~~~~~~~~~
include/acpi/actypes.h:458:56: note: expanded from macro 'ACPI_ROOT_OBJECT'
#define ACPI_ROOT_OBJECT ((acpi_handle) ACPI_TO_POINTER (ACPI_MAX_PTR))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/acpi/actypes.h:509:41: note: expanded from macro 'ACPI_TO_POINTER'
#define ACPI_TO_POINTER(i) ACPI_ADD_PTR (void, (void *) 0, (acpi_size) (i))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/acpi/actypes.h:503:84: note: expanded from macro 'ACPI_ADD_PTR'
#define ACPI_ADD_PTR(t, a, b) ACPI_CAST_PTR (t, (ACPI_CAST_PTR (u8, (a)) + (acpi_size)(b)))
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
include/acpi/actypes.h:501:66: note: expanded from macro 'ACPI_CAST_PTR'
#define ACPI_CAST_PTR(t, p) ((t *) (acpi_uintptr_t) (p))
^
drivers/acpi/scan.c:2226:25: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
result = acpi_bus_scan(ACPI_ROOT_OBJECT);
^~~~~~~~~~~~~~~~
include/acpi/actypes.h:458:56: note: expanded from macro 'ACPI_ROOT_OBJECT'
#define ACPI_ROOT_OBJECT ((acpi_handle) ACPI_TO_POINTER (ACPI_MAX_PTR))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/acpi/actypes.h:509:41: note: expanded from macro 'ACPI_TO_POINTER'
#define ACPI_TO_POINTER(i) ACPI_ADD_PTR (void, (void *) 0, (acpi_size) (i))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/acpi/actypes.h:503:84: note: expanded from macro 'ACPI_ADD_PTR'
#define ACPI_ADD_PTR(t, a, b) ACPI_CAST_PTR (t, (ACPI_CAST_PTR (u8, (a)) + (acpi_size)(b)))
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
include/acpi/actypes.h:501:66: note: expanded from macro 'ACPI_CAST_PTR'
#define ACPI_CAST_PTR(t, p) ((t *) (acpi_uintptr_t) (p))
^
drivers/acpi/scan.c:2230:31: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
result = acpi_bus_get_device(ACPI_ROOT_OBJECT, &acpi_root);
^~~~~~~~~~~~~~~~
include/acpi/actypes.h:458:56: note: expanded from macro 'ACPI_ROOT_OBJECT'
#define ACPI_ROOT_OBJECT ((acpi_handle) ACPI_TO_POINTER (ACPI_MAX_PTR))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/acpi/actypes.h:509:41: note: expanded from macro 'ACPI_TO_POINTER'
#define ACPI_TO_POINTER(i) ACPI_ADD_PTR (void, (void *) 0, (acpi_size) (i))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/acpi/actypes.h:503:84: note: expanded from macro 'ACPI_ADD_PTR'
#define ACPI_ADD_PTR(t, a, b) ACPI_CAST_PTR (t, (ACPI_CAST_PTR (u8, (a)) + (acpi_size)(b)))
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
include/acpi/actypes.h:501:66: note: expanded from macro 'ACPI_CAST_PTR'
#define ACPI_CAST_PTR(t, p) ((t *) (acpi_uintptr_t) (p))
^
drivers/of/platform.c:306: warning: Function parameter or member 'lookup' not described in 'of_dev_lookup'
drivers/acpi/scan.cdrivers/of/platform.c:306: warning: Function parameter or member 'np' not described in 'of_dev_lookup'
>> :2306:17: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
acpi_bus_scan(ACPI_ROOT_OBJECT);
^~~~~~~~~~~~~~~~
include/acpi/actypes.h:458:56: note: expanded from macro 'ACPI_ROOT_OBJECT'
#define ACPI_ROOT_OBJECT ((acpi_handle) ACPI_TO_POINTER (ACPI_MAX_PTR))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/acpi/actypes.h:509:41: note: expanded from macro 'ACPI_TO_POINTER'
#define ACPI_TO_POINTER(i) ACPI_ADD_PTR (void, (void *) 0, (acpi_size) (i))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/acpi/actypes.h:503:84: note: expanded from macro 'ACPI_ADD_PTR'
#define ACPI_ADD_PTR(t, a, b) ACPI_CAST_PTR (t, (ACPI_CAST_PTR (u8, (a)) + (acpi_size)(b)))
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
include/acpi/actypes.h:501:66: note: expanded from macro 'ACPI_CAST_PTR'
#define ACPI_CAST_PTR(t, p) ((t *) (acpi_uintptr_t) (p))
^
drivers/mfd/wm8994-core.c:653:19: warning: cast to smaller integer type 'enum wm8994_type' from 'const void *' [-Wvoid-pointer-to-enum-cast]
wm8994->type = (enum wm8994_type)of_id->data;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/ntb/ntb_transport.c:1769: warning: Function parameter or member 'data' not described in 'ntb_transport_create_queue'
drivers/ntb/ntb_transport.c:1769: warning: Function parameter or member 'client_dev' not described in 'ntb_transport_create_queue'
drivers/ntb/ntb_transport.c:1769: warning: Function parameter or member 'handlers' not described in 'ntb_transport_create_queue'
drivers/ntb/ntb_transport.c:1769: warning: Excess function parameter 'rx_handler' description in 'ntb_transport_create_queue'
drivers/ntb/ntb_transport.c:1769: warning: Excess function parameter 'tx_handler' description in 'ntb_transport_create_queue'
drivers/ntb/ntb_transport.c:1769: warning: Excess function parameter 'event_handler' description in 'ntb_transport_create_queue'
drivers/phy/phy-core.c:964: warning: Function parameter or member 'children' not described in '__devm_of_phy_provider_register'
drivers/phy/phy-core.c:1011: warning: Function parameter or member 'phy_provider' not described in 'devm_of_phy_provider_unregister'
drivers/i2c/i2c-core-acpi.c:226:49: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
status = acpi_walk_namespace(ACPI_TYPE_DEVICE, ACPI_ROOT_OBJECT,
^~~~~~~~~~~~~~~~
include/acpi/actypes.h:458:56: note: expanded from macro 'ACPI_ROOT_OBJECT'
#define ACPI_ROOT_OBJECT ((acpi_handle) ACPI_TO_POINTER (ACPI_MAX_PTR))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/acpi/actypes.h:509:41: note: expanded from macro 'ACPI_TO_POINTER'
#define ACPI_TO_POINTER(i) ACPI_ADD_PTR (void, (void *) 0, (acpi_size) (i))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/acpi/actypes.h:503:84: note: expanded from macro 'ACPI_ADD_PTR'
#define ACPI_ADD_PTR(t, a, b) ACPI_CAST_PTR (t, (ACPI_CAST_PTR (u8, (a)) + (acpi_size)(b)))
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
include/acpi/actypes.h:501:66: note: expanded from macro 'ACPI_CAST_PTR'
#define ACPI_CAST_PTR(t, p) ((t *) (acpi_uintptr_t) (p))
^
drivers/i2c/i2c-core-acpi.c:305:49: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
status = acpi_walk_namespace(ACPI_TYPE_DEVICE, ACPI_ROOT_OBJECT,
^~~~~~~~~~~~~~~~
include/acpi/actypes.h:458:56: note: expanded from macro 'ACPI_ROOT_OBJECT'
#define ACPI_ROOT_OBJECT ((acpi_handle) ACPI_TO_POINTER (ACPI_MAX_PTR))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/acpi/actypes.h:509:41: note: expanded from macro 'ACPI_TO_POINTER'
#define ACPI_TO_POINTER(i) ACPI_ADD_PTR (void, (void *) 0, (acpi_size) (i))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/acpi/actypes.h:503:84: note: expanded from macro 'ACPI_ADD_PTR'
#define ACPI_ADD_PTR(t, a, b) ACPI_CAST_PTR (t, (ACPI_CAST_PTR (u8, (a)) + (acpi_size)(b)))
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
include/acpi/actypes.h:501:66: note: expanded from macro 'ACPI_CAST_PTR'
#define ACPI_CAST_PTR(t, p) ((t *) (acpi_uintptr_t) (p))
^
1 warning generated.
2 warnings generated.
drivers/misc/genwqe/card_base.c:45: warning: Function parameter or member '<haver(a)linux.vnet.ibm.com>"' not described in 'MODULE_AUTHOR'
drivers/misc/genwqe/card_base.c:184: warning: Function parameter or member 'cd' not described in 'genwqe_bus_reset'
drivers/misc/genwqe/card_base.c:281: warning: Function parameter or member 'cd' not described in 'genwqe_recovery_on_fatal_gfir_required'
drivers/misc/genwqe/card_base.c:302: warning: Function parameter or member 'cd' not described in 'genwqe_T_psec'
drivers/misc/genwqe/card_base.c:323: warning: Function parameter or member 'cd' not described in 'genwqe_setup_pf_jtimer'
drivers/misc/genwqe/card_base.c:343: warning: Function parameter or member 'cd' not described in 'genwqe_setup_vf_jtimer'
drivers/misc/genwqe/card_base.c:566: warning: Function parameter or member 'cd' not described in 'genwqe_stop'
drivers/misc/genwqe/card_base.c:590: warning: Function parameter or member 'cd' not described in 'genwqe_recover_card'
drivers/misc/genwqe/card_base.c:590: warning: Function parameter or member 'fatal_err' not described in 'genwqe_recover_card'
drivers/misc/genwqe/card_base.c:638: warning: Function parameter or member 'cd' not described in 'genwqe_fir_checking'
drivers/misc/genwqe/card_base.c:781: warning: Function parameter or member 'pci_dev' not described in 'genwqe_pci_fundamental_reset'
drivers/misc/genwqe/card_base.c:910: warning: Function parameter or member 'data' not described in 'genwqe_health_thread'
drivers/misc/genwqe/card_base.c:1069: warning: Function parameter or member 'cd' not described in 'genwqe_pci_setup'
drivers/misc/genwqe/card_base.c:1154: warning: Function parameter or member 'cd' not described in 'genwqe_pci_remove'
drivers/misc/genwqe/card_base.c:1174: warning: Function parameter or member 'pci_dev' not described in 'genwqe_probe'
drivers/misc/genwqe/card_base.c:1174: warning: Function parameter or member 'id' not described in 'genwqe_probe'
drivers/misc/genwqe/card_base.c:1174: warning: Excess function parameter 'pdev' description in 'genwqe_probe'
drivers/misc/genwqe/card_base.c:1230: warning: Function parameter or member 'pci_dev' not described in 'genwqe_remove'
drivers/misc/genwqe/card_base.c:1359: warning: Function parameter or member 'dev' not described in 'genwqe_devnode'
drivers/misc/genwqe/card_base.c:1359: warning: Function parameter or member 'mode' not described in 'genwqe_devnode'
drivers/pinctrl/core.c:168: warning: Function parameter or member 'pin' not described in 'pin_get_name'
drivers/pinctrl/core.c:168: warning: Excess function parameter 'name' description in 'pin_get_name'
drivers/pinctrl/core.c:607: warning: Function parameter or member 'selector' not described in 'pinctrl_generic_get_group'
drivers/pinctrl/core.c:607: warning: Excess function parameter 'gselector' description in 'pinctrl_generic_get_group'
drivers/pinctrl/core.c:1338: error: Cannot parse struct or union!
drivers/pinctrl/core.c:2225: warning: Function parameter or member 'pctldev' not described in 'devm_pinctrl_register_and_init'
drivers/platform/chrome/cros_ec_i2c.c:33: warning: cannot understand function prototype: 'struct ec_host_request_i2c '
drivers/net/netconsole.c:116: warning: Function parameter or member 'extended' not described in 'netconsole_target'
5 warnings generated.
drivers/of/property.c:1023: warning: Function parameter or member 'dl_flags' not described in 'of_link_to_phandle'
drivers/misc/eeprom/eeprom_93cx6.c:248: warning: Function parameter or member 'byte' not described in 'eeprom_93cx6_readb'
drivers/misc/eeprom/eeprom_93cx6.c:248: warning: Excess function parameter 'word' description in 'eeprom_93cx6_readb'
drivers/misc/eeprom/eeprom_93cx6.c:289: warning: Function parameter or member 'bytes' not described in 'eeprom_93cx6_multireadb'
drivers/misc/eeprom/eeprom_93cx6.c:289: warning: Excess function parameter 'words' description in 'eeprom_93cx6_multireadb'
drivers/leds/leds-is31fl32xx.c:89: warning: Function parameter or member 'sw_shutdown_func' not described in 'is31fl32xx_chipdef'
drivers/pcmcia/cistpl.c:1289:5: warning: no previous prototype for function 'pcmcia_parse_tuple' [-Wmissing-prototypes]
int pcmcia_parse_tuple(tuple_t *tuple, cisparse_t *parse)
^
drivers/pcmcia/cistpl.c:1289:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
int pcmcia_parse_tuple(tuple_t *tuple, cisparse_t *parse)
^
static
drivers/misc/genwqe/card_dev.c:41: warning: Function parameter or member 'cd' not described in 'genwqe_open_files'
..
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years
[sailus-media:master 4/17] arch/mips/mm/tlbex.c:181:1: warning: unused function 'uasm_l_second_part'
by kernel test robot
tree: git://linuxtv.org/sailus/media_tree.git master
head: d23e5ef40d006631fdfb92d6c8c56e7ed886f1d3
commit: f1468b9c4e76ffe9177dfb3651f09ee81b2d5e79 [4/17] media: marvell-ccic: Add missed v4l2_async_notifier_cleanup()
config: mips-randconfig-r023-20200630 (attached as .config)
compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project cf1d04484344be52ada8178e41d18fd15a9b880c)
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
# install mips cross compiling tool for clang build
# apt-get install binutils-mips-linux-gnu
git checkout f1468b9c4e76ffe9177dfb3651f09ee81b2d5e79
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=mips
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
>> drivers/net/caif/caif_serial.c:131:20: warning: unused function 'debugfs_tx' [-Wunused-function]
static inline void debugfs_tx(struct ser_device *ser, const u8 *data, int size)
^
1 warning generated.
--
fs/seq_file.c:529:14: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
return NULL + (*pos == 0);
~~~~ ^
fs/d_path.c:311:7: warning: no previous prototype for function 'simple_dname' [-Wmissing-prototypes]
char *simple_dname(struct dentry *dentry, char *buffer, int buflen)
^
fs/d_path.c:311:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
char *simple_dname(struct dentry *dentry, char *buffer, int buflen)
^
static
1 warning generated.
1 warning generated.
fs/fs_parser.c:192:5: warning: no previous prototype for function 'fs_param_bad_value' [-Wmissing-prototypes]
int fs_param_bad_value(struct p_log *log, struct fs_parameter *param)
^
fs/fs_parser.c:192:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
int fs_param_bad_value(struct p_log *log, struct fs_parameter *param)
^
static
fs/fs_context.c:145: warning: Function parameter or member 'fc' not described in 'vfs_parse_fs_string'
fs/fs_context.c:145: warning: Function parameter or member 'key' not described in 'vfs_parse_fs_string'
fs/fs_context.c:145: warning: Function parameter or member 'value' not described in 'vfs_parse_fs_string'
fs/fs_context.c:145: warning: Function parameter or member 'v_size' not described in 'vfs_parse_fs_string'
fs/fs_context.c:179: warning: Function parameter or member 'fc' not described in 'generic_parse_monolithic'
fs/fs_context.c:179: warning: Excess function parameter 'ctx' description in 'generic_parse_monolithic'
fs/fs_context.c:363: warning: Function parameter or member 'log' not described in 'logfc'
fs/fs_context.c:363: warning: Function parameter or member 'prefix' not described in 'logfc'
fs/fs_context.c:363: warning: Function parameter or member 'level' not described in 'logfc'
fs/fs_context.c:363: warning: Excess function parameter 'fc' description in 'logfc'
1 warning generated.
fs/nsfs.c:264: warning: Function parameter or member 'ns' not described in 'ns_match'
fs/nsfs.c:264: warning: Excess function parameter 'ns_common' description in 'ns_match'
fs/fs_parser.c:322: warning: Excess function parameter 'name' description in 'validate_constant_table'
fs/fs_parser.c:367: warning: Function parameter or member 'name' not described in 'fs_validate_description'
fs/xattr.c:172: warning: Function parameter or member 'dentry' not described in '__vfs_setxattr_noperm'
fs/xattr.c:172: warning: Function parameter or member 'name' not described in '__vfs_setxattr_noperm'
fs/xattr.c:172: warning: Function parameter or member 'value' not described in '__vfs_setxattr_noperm'
fs/xattr.c:172: warning: Function parameter or member 'size' not described in '__vfs_setxattr_noperm'
fs/xattr.c:172: warning: Function parameter or member 'flags' not described in '__vfs_setxattr_noperm'
fs/open.c:898: warning: Excess function parameter 'opened' description in 'finish_open'
fs/open.c:940: warning: Excess function parameter 'cred' description in 'vfs_open'
fs/read_write.c:88: warning: Function parameter or member 'maxsize' not described in 'generic_file_llseek_size'
fs/read_write.c:88: warning: Excess function parameter 'size' description in 'generic_file_llseek_size'
fs/ioctl.c:109: warning: Excess function parameter 'fieinfo' description in 'SET_UNKNOWN_FLAGS'
fs/ioctl.c:109: warning: Excess function parameter 'logical' description in 'SET_UNKNOWN_FLAGS'
fs/ioctl.c:109: warning: Excess function parameter 'phys' description in 'SET_UNKNOWN_FLAGS'
fs/ioctl.c:109: warning: Excess function parameter 'len' description in 'SET_UNKNOWN_FLAGS'
fs/ioctl.c:109: warning: Excess function parameter 'flags' description in 'SET_UNKNOWN_FLAGS'
fs/ioctl.c:790: warning: Function parameter or member 'file' not described in 'compat_ptr_ioctl'
fs/ioctl.c:790: warning: Function parameter or member 'cmd' not described in 'compat_ptr_ioctl'
fs/ioctl.c:790: warning: Function parameter or member 'arg' not described in 'compat_ptr_ioctl'
fs/nfs_common/grace.c:56: warning: Excess function parameter 'net' description in 'locks_end_grace'
fs/nfs_common/grace.c:87: warning: Function parameter or member 'net' not described in 'locks_in_grace'
fs/namespace.c:1358: warning: Function parameter or member 'm' not described in 'may_umount_tree'
fs/namespace.c:1358: warning: Excess function parameter 'mnt' description in 'may_umount_tree'
fs/namespace.c:1926: warning: Function parameter or member 'path' not described in 'clone_private_mount'
fs/namei.c:568: warning: Function parameter or member 'mnt' not described in 'path_connected'
fs/namei.c:568: warning: Function parameter or member 'dentry' not described in 'path_connected'
fs/namei.c:956: warning: Function parameter or member 'inode' not described in 'may_follow_link'
fs/configfs/file.c:544: warning: Function parameter or member 'bin_attr' not described in 'configfs_create_bin_file'
fs/configfs/file.c:544: warning: Excess function parameter 'attr' description in 'configfs_create_bin_file'
fs/devpts/inode.c:563: warning: Function parameter or member 'fsi' not described in 'devpts_pty_new'
fs/devpts/inode.c:563: warning: Excess function parameter 'ptmx_inode' description in 'devpts_pty_new'
fs/devpts/inode.c:563: warning: Excess function parameter 'device' description in 'devpts_pty_new'
fs/devpts/inode.c:606: warning: Function parameter or member 'dentry' not described in 'devpts_get_priv'
fs/devpts/inode.c:606: warning: Excess function parameter 'pts_inode' description in 'devpts_get_priv'
fs/devpts/inode.c:619: warning: Function parameter or member 'dentry' not described in 'devpts_pty_kill'
fs/devpts/inode.c:619: warning: Excess function parameter 'inode' description in 'devpts_pty_kill'
fs/eventpoll.c:1131: warning: Function parameter or member 'new' not described in 'list_add_tail_lockless'
fs/eventpoll.c:1131: warning: Function parameter or member 'head' not described in 'list_add_tail_lockless'
fs/eventpoll.c:1171: warning: Function parameter or member 'epi' not described in 'chain_epi_lockless'
fs/ext2/balloc.c:203: warning: Function parameter or member 'root' not described in '__rsv_window_dump'
fs/ext2/balloc.c:203: warning: Excess function parameter 'rb_root' description in '__rsv_window_dump'
fs/ext2/balloc.c:294: warning: Function parameter or member 'root' not described in 'search_reserve_window'
fs/ext2/balloc.c:294: warning: Excess function parameter 'rb_root' description in 'search_reserve_window'
fs/ext2/balloc.c:759: warning: Function parameter or member 'my_rsv' not described in 'find_next_reservable_window'
fs/ext2/balloc.c:878: warning: Function parameter or member 'my_rsv' not described in 'alloc_new_reservation'
fs/ext2/balloc.c:878: warning: Excess function parameter 'rsv' description in 'alloc_new_reservation'
fs/configfs/dir.c:277: warning: Function parameter or member 'frag' not described in 'configfs_create_dir'
>> fs/dlm/lock.c:238:19: warning: unused function 'is_granted' [-Wunused-function]
static inline int is_granted(struct dlm_lkb *lkb)
^
fs/freevxfs/vxfs_bmap.c:68: warning: Function parameter or member 'bn' not described in 'vxfs_bmap_ext4'
fs/freevxfs/vxfs_bmap.c:68: warning: Excess function parameter 'iblock' description in 'vxfs_bmap_ext4'
fs/kernfs/file.c:127:15: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
return NULL + !*ppos;
~~~~ ^
fs/ecryptfs/dentry.c:19: warning: Incorrect use of kernel-doc format: * ecryptfs_d_revalidate - revalidate an ecryptfs dentry
fs/ecryptfs/dentry.c:32: warning: Function parameter or member 'dentry' not described in 'ecryptfs_d_revalidate'
fs/ecryptfs/dentry.c:32: warning: Function parameter or member 'flags' not described in 'ecryptfs_d_revalidate'
1 warning generated.
fs/freevxfs/vxfs_immed.c:67: warning: Function parameter or member 'fp' not described in 'vxfs_immed_readpage'
fs/freevxfs/vxfs_immed.c:67: warning: Function parameter or member 'pp' not described in 'vxfs_immed_readpage'
fs/freevxfs/vxfs_immed.c:67: warning: Excess function parameter 'file' description in 'vxfs_immed_readpage'
fs/freevxfs/vxfs_immed.c:67: warning: Excess function parameter 'page' description in 'vxfs_immed_readpage'
fs/ecryptfs/file.c:23: warning: Incorrect use of kernel-doc format: * ecryptfs_read_update_atime
fs/ecryptfs/file.c:34: warning: Function parameter or member 'iocb' not described in 'ecryptfs_read_update_atime'
fs/ecryptfs/file.c:34: warning: Function parameter or member 'to' not described in 'ecryptfs_read_update_atime'
In file included from fs/cifs/trace.c:8:
In file included from fs/cifs/trace.h:914:
include/trace/define_trace.h:95:10: fatal error: './trace.h' file not found
#include TRACE_INCLUDE(TRACE_INCLUDE_FILE)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/trace/define_trace.h:90:32: note: expanded from macro 'TRACE_INCLUDE'
# define TRACE_INCLUDE(system) __TRACE_INCLUDE(system)
^~~~~~~~~~~~~~~~~~~~~~~
include/trace/define_trace.h:87:34: note: expanded from macro '__TRACE_INCLUDE'
# define __TRACE_INCLUDE(system) __stringify(TRACE_INCLUDE_PATH/system.h)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/stringify.h:10:27: note: expanded from macro '__stringify'
#define __stringify(x...) __stringify_1(x)
^~~~~~~~~~~~~~~~
include/linux/stringify.h:9:29: note: expanded from macro '__stringify_1'
#define __stringify_1(x...) #x
^~
<scratch space>:47:1: note: expanded from here
"./trace.h"
^~~~~~~~~~~
1 error generated.
make[3]: *** [scripts/Makefile.build:281: fs/cifs/trace.o] Error 1
fs/freevxfs/vxfs_lookup.c:216: warning: Function parameter or member 'ctx' not described in 'vxfs_readdir'
fs/freevxfs/vxfs_lookup.c:216: warning: Excess function parameter 'retp' description in 'vxfs_readdir'
fs/freevxfs/vxfs_lookup.c:216: warning: Excess function parameter 'filler' description in 'vxfs_readdir'
fs/fscache/object.c:80:8: warning: unused variable 'fscache_osm_CREATE_OBJECT' [-Wunused-const-variable]
static WORK_STATE(CREATE_OBJECT, "CRTO", fscache_look_up_object);
^
fs/fscache/object.c:42:29: note: expanded from macro 'WORK_STATE'
const struct fscache_state __STATE_NAME(n) = { \
^
fs/fscache/object.c:31:25: note: expanded from macro '__STATE_NAME'
#define __STATE_NAME(n) fscache_osm_##n
^
<scratch space>:10:1: note: expanded from here
fscache_osm_CREATE_OBJECT
^
fs/ecryptfs/main.c:28: warning: Incorrect use of kernel-doc format: * Module parameter that defines the ecryptfs_verbosity level.
fs/ecryptfs/main.c:30: warning: cannot understand function prototype: 'int ecryptfs_verbosity = 0; '
fs/ecryptfs/main.c:40: warning: cannot understand function prototype: 'unsigned int ecryptfs_message_buf_len = ECRYPTFS_DEFAULT_MSG_CTX_ELEMS; '
fs/ecryptfs/main.c:52: warning: cannot understand function prototype: 'signed long ecryptfs_message_wait_timeout = ECRYPTFS_MAX_MSG_CTX_TTL / HZ; '
fs/ecryptfs/main.c:65: warning: cannot understand function prototype: 'unsigned int ecryptfs_number_of_users = ECRYPTFS_DEFAULT_NUM_USERS; '
fs/ecryptfs/main.c:106: warning: Function parameter or member 'dentry' not described in 'ecryptfs_init_lower_file'
fs/ecryptfs/main.c:106: warning: Function parameter or member 'lower_file' not described in 'ecryptfs_init_lower_file'
fs/ecryptfs/main.c:106: warning: Excess function parameter 'ecryptfs_dentry' description in 'ecryptfs_init_lower_file'
fs/ecryptfs/main.c:244: warning: Function parameter or member 'sbi' not described in 'ecryptfs_parse_options'
fs/ecryptfs/main.c:244: warning: Excess function parameter 'sb' description in 'ecryptfs_parse_options'
fs/fat/dir.c:282: warning: Function parameter or member 'dir' not described in 'fat_parse_long'
fs/fat/dir.c:282: warning: Function parameter or member 'pos' not described in 'fat_parse_long'
fs/fat/dir.c:282: warning: Function parameter or member 'bh' not described in 'fat_parse_long'
fs/fat/dir.c:282: warning: Function parameter or member 'de' not described in 'fat_parse_long'
fs/fat/dir.c:282: warning: Function parameter or member 'unicode' not described in 'fat_parse_long'
fs/fat/dir.c:282: warning: Function parameter or member 'nr_slots' not described in 'fat_parse_long'
fs/ecryptfs/main.c:478: warning: Function parameter or member 'fs_type' not described in 'ecryptfs_mount'
fs/ecryptfs/main.c:478: warning: Function parameter or member 'flags' not described in 'ecryptfs_mount'
fs/ecryptfs/main.c:639: warning: Function parameter or member 'vptr' not described in 'inode_info_init_once'
fs/ext2/inode.c:402: warning: Function parameter or member 'inode' not described in 'ext2_alloc_blocks'
fs/ext2/inode.c:402: warning: Function parameter or member 'goal' not described in 'ext2_alloc_blocks'
fs/ext2/inode.c:402: warning: Function parameter or member 'err' not described in 'ext2_alloc_blocks'
fs/ecryptfs/inode.c:25: warning: Function parameter or member 'dentry' not described in 'lock_parent'
fs/ecryptfs/inode.c:213: warning: Function parameter or member 'ecryptfs_dentry' not described in 'ecryptfs_initialize_file'
fs/ecryptfs/inode.c:213: warning: Function parameter or member 'ecryptfs_inode' not described in 'ecryptfs_initialize_file'
fs/ecryptfs/inode.c:259: warning: Function parameter or member 'directory_inode' not described in 'ecryptfs_create'
fs/ecryptfs/inode.c:259: warning: Function parameter or member 'ecryptfs_dentry' not described in 'ecryptfs_create'
fs/ecryptfs/inode.c:259: warning: Function parameter or member 'excl' not described in 'ecryptfs_create'
fs/ecryptfs/inode.c:259: warning: Excess function parameter 'dir' description in 'ecryptfs_create'
fs/ecryptfs/inode.c:259: warning: Excess function parameter 'dentry' description in 'ecryptfs_create'
fs/ecryptfs/inode.c:321: warning: Function parameter or member 'dentry' not described in 'ecryptfs_lookup_interpose'
fs/ecryptfs/inode.c:321: warning: Function parameter or member 'lower_dentry' not described in 'ecryptfs_lookup_interpose'
1 warning generated.
In file included from fs/cifs/cifsfs.c:46:
In file included from fs/cifs/cifsglob.h:32:
fs/cifs/smb2pdu.h:28:10: error: 'cifsacl.h' file not found with <angled> include; use "quotes" instead
#include <cifsacl.h>
^~~~~~~~~~~
"cifsacl.h"
fs/fscache/object.c:927: warning: Function parameter or member 'object_size' not described in 'fscache_check_aux'
1 warning generated.
1 error generated.
make[3]: *** [scripts/Makefile.build:281: fs/cifs/cifsfs.o] Error 1
fs/ecryptfs/super.c:22: warning: cannot understand function prototype: 'struct kmem_cache *ecryptfs_inode_info_cache; '
fs/ecryptfs/super.c:91: warning: Function parameter or member 'dentry' not described in 'ecryptfs_statfs'
--
fs/seq_file.c:529:14: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
return NULL + (*pos == 0);
~~~~ ^
fs/d_path.c:311:7: warning: no previous prototype for function 'simple_dname' [-Wmissing-prototypes]
char *simple_dname(struct dentry *dentry, char *buffer, int buflen)
^
fs/d_path.c:311:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
char *simple_dname(struct dentry *dentry, char *buffer, int buflen)
^
static
1 warning generated.
1 warning generated.
fs/fs_parser.c:192:5: warning: no previous prototype for function 'fs_param_bad_value' [-Wmissing-prototypes]
int fs_param_bad_value(struct p_log *log, struct fs_parameter *param)
^
fs/fs_parser.c:192:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
int fs_param_bad_value(struct p_log *log, struct fs_parameter *param)
^
static
fs/fs_context.c:145: warning: Function parameter or member 'fc' not described in 'vfs_parse_fs_string'
fs/fs_context.c:145: warning: Function parameter or member 'key' not described in 'vfs_parse_fs_string'
fs/fs_context.c:145: warning: Function parameter or member 'value' not described in 'vfs_parse_fs_string'
fs/fs_context.c:145: warning: Function parameter or member 'v_size' not described in 'vfs_parse_fs_string'
fs/fs_context.c:179: warning: Function parameter or member 'fc' not described in 'generic_parse_monolithic'
fs/fs_context.c:179: warning: Excess function parameter 'ctx' description in 'generic_parse_monolithic'
fs/fs_context.c:363: warning: Function parameter or member 'log' not described in 'logfc'
fs/fs_context.c:363: warning: Function parameter or member 'prefix' not described in 'logfc'
fs/fs_context.c:363: warning: Function parameter or member 'level' not described in 'logfc'
fs/fs_context.c:363: warning: Excess function parameter 'fc' description in 'logfc'
1 warning generated.
fs/nsfs.c:264: warning: Function parameter or member 'ns' not described in 'ns_match'
fs/nsfs.c:264: warning: Excess function parameter 'ns_common' description in 'ns_match'
fs/fs_parser.c:322: warning: Excess function parameter 'name' description in 'validate_constant_table'
fs/fs_parser.c:367: warning: Function parameter or member 'name' not described in 'fs_validate_description'
fs/xattr.c:172: warning: Function parameter or member 'dentry' not described in '__vfs_setxattr_noperm'
fs/xattr.c:172: warning: Function parameter or member 'name' not described in '__vfs_setxattr_noperm'
fs/xattr.c:172: warning: Function parameter or member 'value' not described in '__vfs_setxattr_noperm'
fs/xattr.c:172: warning: Function parameter or member 'size' not described in '__vfs_setxattr_noperm'
fs/xattr.c:172: warning: Function parameter or member 'flags' not described in '__vfs_setxattr_noperm'
fs/open.c:898: warning: Excess function parameter 'opened' description in 'finish_open'
fs/open.c:940: warning: Excess function parameter 'cred' description in 'vfs_open'
fs/read_write.c:88: warning: Function parameter or member 'maxsize' not described in 'generic_file_llseek_size'
fs/read_write.c:88: warning: Excess function parameter 'size' description in 'generic_file_llseek_size'
fs/ioctl.c:109: warning: Excess function parameter 'fieinfo' description in 'SET_UNKNOWN_FLAGS'
fs/ioctl.c:109: warning: Excess function parameter 'logical' description in 'SET_UNKNOWN_FLAGS'
fs/ioctl.c:109: warning: Excess function parameter 'phys' description in 'SET_UNKNOWN_FLAGS'
fs/ioctl.c:109: warning: Excess function parameter 'len' description in 'SET_UNKNOWN_FLAGS'
fs/ioctl.c:109: warning: Excess function parameter 'flags' description in 'SET_UNKNOWN_FLAGS'
fs/ioctl.c:790: warning: Function parameter or member 'file' not described in 'compat_ptr_ioctl'
fs/ioctl.c:790: warning: Function parameter or member 'cmd' not described in 'compat_ptr_ioctl'
fs/ioctl.c:790: warning: Function parameter or member 'arg' not described in 'compat_ptr_ioctl'
fs/nfs_common/grace.c:56: warning: Excess function parameter 'net' description in 'locks_end_grace'
fs/nfs_common/grace.c:87: warning: Function parameter or member 'net' not described in 'locks_in_grace'
fs/namespace.c:1358: warning: Function parameter or member 'm' not described in 'may_umount_tree'
fs/namespace.c:1358: warning: Excess function parameter 'mnt' description in 'may_umount_tree'
fs/namespace.c:1926: warning: Function parameter or member 'path' not described in 'clone_private_mount'
fs/namei.c:568: warning: Function parameter or member 'mnt' not described in 'path_connected'
fs/namei.c:568: warning: Function parameter or member 'dentry' not described in 'path_connected'
fs/namei.c:956: warning: Function parameter or member 'inode' not described in 'may_follow_link'
fs/configfs/file.c:544: warning: Function parameter or member 'bin_attr' not described in 'configfs_create_bin_file'
fs/configfs/file.c:544: warning: Excess function parameter 'attr' description in 'configfs_create_bin_file'
fs/devpts/inode.c:563: warning: Function parameter or member 'fsi' not described in 'devpts_pty_new'
fs/devpts/inode.c:563: warning: Excess function parameter 'ptmx_inode' description in 'devpts_pty_new'
fs/devpts/inode.c:563: warning: Excess function parameter 'device' description in 'devpts_pty_new'
fs/devpts/inode.c:606: warning: Function parameter or member 'dentry' not described in 'devpts_get_priv'
fs/devpts/inode.c:606: warning: Excess function parameter 'pts_inode' description in 'devpts_get_priv'
fs/devpts/inode.c:619: warning: Function parameter or member 'dentry' not described in 'devpts_pty_kill'
fs/devpts/inode.c:619: warning: Excess function parameter 'inode' description in 'devpts_pty_kill'
fs/eventpoll.c:1131: warning: Function parameter or member 'new' not described in 'list_add_tail_lockless'
fs/eventpoll.c:1131: warning: Function parameter or member 'head' not described in 'list_add_tail_lockless'
fs/eventpoll.c:1171: warning: Function parameter or member 'epi' not described in 'chain_epi_lockless'
fs/ext2/balloc.c:203: warning: Function parameter or member 'root' not described in '__rsv_window_dump'
fs/ext2/balloc.c:203: warning: Excess function parameter 'rb_root' description in '__rsv_window_dump'
fs/ext2/balloc.c:294: warning: Function parameter or member 'root' not described in 'search_reserve_window'
fs/ext2/balloc.c:294: warning: Excess function parameter 'rb_root' description in 'search_reserve_window'
fs/ext2/balloc.c:759: warning: Function parameter or member 'my_rsv' not described in 'find_next_reservable_window'
fs/ext2/balloc.c:878: warning: Function parameter or member 'my_rsv' not described in 'alloc_new_reservation'
fs/ext2/balloc.c:878: warning: Excess function parameter 'rsv' description in 'alloc_new_reservation'
fs/configfs/dir.c:277: warning: Function parameter or member 'frag' not described in 'configfs_create_dir'
>> fs/dlm/lock.c:238:19: warning: unused function 'is_granted' [-Wunused-function]
static inline int is_granted(struct dlm_lkb *lkb)
^
fs/freevxfs/vxfs_bmap.c:68: warning: Function parameter or member 'bn' not described in 'vxfs_bmap_ext4'
fs/freevxfs/vxfs_bmap.c:68: warning: Excess function parameter 'iblock' description in 'vxfs_bmap_ext4'
fs/kernfs/file.c:127:15: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
return NULL + !*ppos;
~~~~ ^
fs/ecryptfs/dentry.c:19: warning: Incorrect use of kernel-doc format: * ecryptfs_d_revalidate - revalidate an ecryptfs dentry
fs/ecryptfs/dentry.c:32: warning: Function parameter or member 'dentry' not described in 'ecryptfs_d_revalidate'
fs/ecryptfs/dentry.c:32: warning: Function parameter or member 'flags' not described in 'ecryptfs_d_revalidate'
1 warning generated.
fs/freevxfs/vxfs_immed.c:67: warning: Function parameter or member 'fp' not described in 'vxfs_immed_readpage'
fs/freevxfs/vxfs_immed.c:67: warning: Function parameter or member 'pp' not described in 'vxfs_immed_readpage'
fs/freevxfs/vxfs_immed.c:67: warning: Excess function parameter 'file' description in 'vxfs_immed_readpage'
fs/freevxfs/vxfs_immed.c:67: warning: Excess function parameter 'page' description in 'vxfs_immed_readpage'
fs/ecryptfs/file.c:23: warning: Incorrect use of kernel-doc format: * ecryptfs_read_update_atime
fs/ecryptfs/file.c:34: warning: Function parameter or member 'iocb' not described in 'ecryptfs_read_update_atime'
fs/ecryptfs/file.c:34: warning: Function parameter or member 'to' not described in 'ecryptfs_read_update_atime'
In file included from fs/cifs/trace.c:8:
In file included from fs/cifs/trace.h:914:
include/trace/define_trace.h:95:10: fatal error: './trace.h' file not found
#include TRACE_INCLUDE(TRACE_INCLUDE_FILE)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/trace/define_trace.h:90:32: note: expanded from macro 'TRACE_INCLUDE'
# define TRACE_INCLUDE(system) __TRACE_INCLUDE(system)
^~~~~~~~~~~~~~~~~~~~~~~
include/trace/define_trace.h:87:34: note: expanded from macro '__TRACE_INCLUDE'
# define __TRACE_INCLUDE(system) __stringify(TRACE_INCLUDE_PATH/system.h)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/stringify.h:10:27: note: expanded from macro '__stringify'
#define __stringify(x...) __stringify_1(x)
^~~~~~~~~~~~~~~~
include/linux/stringify.h:9:29: note: expanded from macro '__stringify_1'
#define __stringify_1(x...) #x
^~
<scratch space>:47:1: note: expanded from here
"./trace.h"
^~~~~~~~~~~
1 error generated.
make[3]: *** [scripts/Makefile.build:281: fs/cifs/trace.o] Error 1
fs/freevxfs/vxfs_lookup.c:216: warning: Function parameter or member 'ctx' not described in 'vxfs_readdir'
fs/freevxfs/vxfs_lookup.c:216: warning: Excess function parameter 'retp' description in 'vxfs_readdir'
fs/freevxfs/vxfs_lookup.c:216: warning: Excess function parameter 'filler' description in 'vxfs_readdir'
fs/fscache/object.c:80:8: warning: unused variable 'fscache_osm_CREATE_OBJECT' [-Wunused-const-variable]
static WORK_STATE(CREATE_OBJECT, "CRTO", fscache_look_up_object);
^
fs/fscache/object.c:42:29: note: expanded from macro 'WORK_STATE'
const struct fscache_state __STATE_NAME(n) = { \
^
fs/fscache/object.c:31:25: note: expanded from macro '__STATE_NAME'
#define __STATE_NAME(n) fscache_osm_##n
^
<scratch space>:10:1: note: expanded from here
fscache_osm_CREATE_OBJECT
^
fs/ecryptfs/main.c:28: warning: Incorrect use of kernel-doc format: * Module parameter that defines the ecryptfs_verbosity level.
fs/ecryptfs/main.c:30: warning: cannot understand function prototype: 'int ecryptfs_verbosity = 0; '
fs/ecryptfs/main.c:40: warning: cannot understand function prototype: 'unsigned int ecryptfs_message_buf_len = ECRYPTFS_DEFAULT_MSG_CTX_ELEMS; '
fs/ecryptfs/main.c:52: warning: cannot understand function prototype: 'signed long ecryptfs_message_wait_timeout = ECRYPTFS_MAX_MSG_CTX_TTL / HZ; '
fs/ecryptfs/main.c:65: warning: cannot understand function prototype: 'unsigned int ecryptfs_number_of_users = ECRYPTFS_DEFAULT_NUM_USERS; '
fs/ecryptfs/main.c:106: warning: Function parameter or member 'dentry' not described in 'ecryptfs_init_lower_file'
fs/ecryptfs/main.c:106: warning: Function parameter or member 'lower_file' not described in 'ecryptfs_init_lower_file'
fs/ecryptfs/main.c:106: warning: Excess function parameter 'ecryptfs_dentry' description in 'ecryptfs_init_lower_file'
fs/ecryptfs/main.c:244: warning: Function parameter or member 'sbi' not described in 'ecryptfs_parse_options'
fs/ecryptfs/main.c:244: warning: Excess function parameter 'sb' description in 'ecryptfs_parse_options'
fs/fat/dir.c:282: warning: Function parameter or member 'dir' not described in 'fat_parse_long'
fs/fat/dir.c:282: warning: Function parameter or member 'pos' not described in 'fat_parse_long'
fs/fat/dir.c:282: warning: Function parameter or member 'bh' not described in 'fat_parse_long'
fs/fat/dir.c:282: warning: Function parameter or member 'de' not described in 'fat_parse_long'
fs/fat/dir.c:282: warning: Function parameter or member 'unicode' not described in 'fat_parse_long'
fs/fat/dir.c:282: warning: Function parameter or member 'nr_slots' not described in 'fat_parse_long'
fs/ecryptfs/main.c:478: warning: Function parameter or member 'fs_type' not described in 'ecryptfs_mount'
fs/ecryptfs/main.c:478: warning: Function parameter or member 'flags' not described in 'ecryptfs_mount'
fs/ecryptfs/main.c:639: warning: Function parameter or member 'vptr' not described in 'inode_info_init_once'
fs/ext2/inode.c:402: warning: Function parameter or member 'inode' not described in 'ext2_alloc_blocks'
fs/ext2/inode.c:402: warning: Function parameter or member 'goal' not described in 'ext2_alloc_blocks'
fs/ext2/inode.c:402: warning: Function parameter or member 'err' not described in 'ext2_alloc_blocks'
fs/ecryptfs/inode.c:25: warning: Function parameter or member 'dentry' not described in 'lock_parent'
fs/ecryptfs/inode.c:213: warning: Function parameter or member 'ecryptfs_dentry' not described in 'ecryptfs_initialize_file'
fs/ecryptfs/inode.c:213: warning: Function parameter or member 'ecryptfs_inode' not described in 'ecryptfs_initialize_file'
fs/ecryptfs/inode.c:259: warning: Function parameter or member 'directory_inode' not described in 'ecryptfs_create'
fs/ecryptfs/inode.c:259: warning: Function parameter or member 'ecryptfs_dentry' not described in 'ecryptfs_create'
fs/ecryptfs/inode.c:259: warning: Function parameter or member 'excl' not described in 'ecryptfs_create'
fs/ecryptfs/inode.c:259: warning: Excess function parameter 'dir' description in 'ecryptfs_create'
fs/ecryptfs/inode.c:259: warning: Excess function parameter 'dentry' description in 'ecryptfs_create'
fs/ecryptfs/inode.c:321: warning: Function parameter or member 'dentry' not described in 'ecryptfs_lookup_interpose'
fs/ecryptfs/inode.c:321: warning: Function parameter or member 'lower_dentry' not described in 'ecryptfs_lookup_interpose'
1 warning generated.
In file included from fs/cifs/cifsfs.c:46:
In file included from fs/cifs/cifsglob.h:32:
fs/cifs/smb2pdu.h:28:10: error: 'cifsacl.h' file not found with <angled> include; use "quotes" instead
#include <cifsacl.h>
^~~~~~~~~~~
"cifsacl.h"
fs/fscache/object.c:927: warning: Function parameter or member 'object_size' not described in 'fscache_check_aux'
1 warning generated.
1 error generated.
make[3]: *** [scripts/Makefile.build:281: fs/cifs/cifsfs.o] Error 1
fs/ecryptfs/super.c:22: warning: cannot understand function prototype: 'struct kmem_cache *ecryptfs_inode_info_cache; '
fs/ecryptfs/super.c:91: warning: Function parameter or member 'dentry' not described in 'ecryptfs_statfs'
..
vim +/uasm_l_second_part +181 arch/mips/mm/tlbex.c
^1da177e4c3f41 Linus Torvalds 2005-04-16 180
e30ec4525d4731 Thiemo Seufer 2008-01-28 @181 UASM_L_LA(_second_part)
e30ec4525d4731 Thiemo Seufer 2008-01-28 182 UASM_L_LA(_leave)
e30ec4525d4731 Thiemo Seufer 2008-01-28 183 UASM_L_LA(_vmalloc)
e30ec4525d4731 Thiemo Seufer 2008-01-28 184 UASM_L_LA(_vmalloc_done)
02a5417751c31c Ralf Baechle 2012-10-13 185 /* _tlbw_hazard_x is handled differently. */
e30ec4525d4731 Thiemo Seufer 2008-01-28 186 UASM_L_LA(_split)
6dd9344cfc41bc David Daney 2010-02-10 187 UASM_L_LA(_tlbl_goaround1)
6dd9344cfc41bc David Daney 2010-02-10 @188 UASM_L_LA(_tlbl_goaround2)
e30ec4525d4731 Thiemo Seufer 2008-01-28 189 UASM_L_LA(_nopage_tlbl)
e30ec4525d4731 Thiemo Seufer 2008-01-28 190 UASM_L_LA(_nopage_tlbs)
e30ec4525d4731 Thiemo Seufer 2008-01-28 191 UASM_L_LA(_nopage_tlbm)
e30ec4525d4731 Thiemo Seufer 2008-01-28 @192 UASM_L_LA(_smp_pgtable_change)
e30ec4525d4731 Thiemo Seufer 2008-01-28 193 UASM_L_LA(_r3000_write_probe_fail)
1ec56329ff939a David Daney 2010-04-28 194 UASM_L_LA(_large_segbits_fault)
aa1762f49c81a1 David Daney 2012-10-17 195 #ifdef CONFIG_MIPS_HUGE_TLB_SUPPORT
fd062c847a8cea David Daney 2009-05-27 196 UASM_L_LA(_tlb_huge_update)
fd062c847a8cea David Daney 2009-05-27 197 #endif
656be92f9ae194 Atsushi Nemoto 2006-10-26 198
:::::: The code at line 181 was first introduced by commit
:::::: e30ec4525d4731d828a754823a83a3d6b50bb230 [MIPS] Split the micro-assembler from tlbex.c.
:::::: TO: Thiemo Seufer <ths(a)networkno.de>
:::::: CC: Ralf Baechle <ralf(a)linux-mips.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years
include/linux/compiler.h:350:38: error: call to '__compiletime_assert_453' declared with attribute error: BUILD_BUG_ON failed: IS_ENABLED(CONFIG_32BIT) && (_PFN_SHIFT > PAGE_SHIFT)
by kernel test robot
Hi Paul,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 7c30b859a947535f2213277e827d7ac7dcff9c84
commit: 05d013a0366d50f4f0dbebf8c1b22b42020bf49a MIPS: Detect bad _PFN_SHIFT values
date: 9 months ago
config: mips-randconfig-r005-20200630 (attached as .config)
compiler: mipsel-linux-gcc (GCC) 9.3.0
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
git checkout 05d013a0366d50f4f0dbebf8c1b22b42020bf49a
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=mips
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
| ^~~~~~~~
arch/mips/kernel/signal.c:439:5: warning: no previous prototype for 'setup_sigcontext' [-Wmissing-prototypes]
439 | int setup_sigcontext(struct pt_regs *regs, struct sigcontext __user *sc)
| ^~~~~~~~~~~~~~~~
arch/mips/kernel/signal.c:516:5: warning: no previous prototype for 'restore_sigcontext' [-Wmissing-prototypes]
516 | int restore_sigcontext(struct pt_regs *regs, struct sigcontext __user *sc)
| ^~~~~~~~~~~~~~~~~~
arch/mips/kernel/signal.c:624:17: warning: no previous prototype for 'sys_sigreturn' [-Wmissing-prototypes]
624 | asmlinkage void sys_sigreturn(void)
| ^~~~~~~~~~~~~
arch/mips/kernel/signal.c:661:17: warning: no previous prototype for 'sys_rt_sigreturn' [-Wmissing-prototypes]
661 | asmlinkage void sys_rt_sigreturn(void)
| ^~~~~~~~~~~~~~~~
arch/mips/kernel/signal.c:889:17: warning: no previous prototype for 'do_notify_resume' [-Wmissing-prototypes]
889 | asmlinkage void do_notify_resume(struct pt_regs *regs, void *unused,
| ^~~~~~~~~~~~~~~~
arch/mips/mm/init.c:62:6: warning: no previous prototype for 'setup_zero_pages' [-Wmissing-prototypes]
62 | void setup_zero_pages(void)
| ^~~~~~~~~~~~~~~~
arch/mips/kernel/traps.c:358:6: warning: no previous prototype for 'show_registers' [-Wmissing-prototypes]
358 | void show_registers(struct pt_regs *regs)
| ^~~~~~~~~~~~~~
arch/mips/kernel/traps.c:440:17: warning: no previous prototype for 'do_be' [-Wmissing-prototypes]
440 | asmlinkage void do_be(struct pt_regs *regs)
| ^~~~~
arch/mips/kernel/traps.c:701:17: warning: no previous prototype for 'do_ov' [-Wmissing-prototypes]
701 | asmlinkage void do_ov(struct pt_regs *regs)
| ^~~~~
arch/mips/kernel/traps.c:825:17: warning: no previous prototype for 'do_fpe' [-Wmissing-prototypes]
825 | asmlinkage void do_fpe(struct pt_regs *regs, unsigned long fcr31)
| ^~~~~~
arch/mips/kernel/traps.c:978:17: warning: no previous prototype for 'do_bp' [-Wmissing-prototypes]
978 | asmlinkage void do_bp(struct pt_regs *regs)
| ^~~~~
arch/mips/kernel/traps.c:1070:17: warning: no previous prototype for 'do_tr' [-Wmissing-prototypes]
1070 | asmlinkage void do_tr(struct pt_regs *regs)
| ^~~~~
arch/mips/mm/c-r4k.c:1703:6: warning: no previous prototype for 'au1x00_fixup_config_od' [-Wmissing-prototypes]
1703 | void au1x00_fixup_config_od(void)
| ^~~~~~~~~~~~~~~~~~~~~~
arch/mips/mm/sc-mips.c:253:5: warning: no previous prototype for 'mips_sc_init' [-Wmissing-prototypes]
253 | int mips_sc_init(void)
| ^~~~~~~~~~~~
arch/mips/mm/c-r4k.c:1818:6: warning: no previous prototype for 'r4k_cache_init' [-Wmissing-prototypes]
1818 | void r4k_cache_init(void)
| ^~~~~~~~~~~~~~
arch/mips/mm/c-r4k.c:1962:12: warning: no previous prototype for 'r4k_cache_init_pm' [-Wmissing-prototypes]
1962 | int __init r4k_cache_init_pm(void)
| ^~~~~~~~~~~~~~~~~
arch/mips/kernel/traps.c:1112:17: warning: no previous prototype for 'do_ri' [-Wmissing-prototypes]
1112 | asmlinkage void do_ri(struct pt_regs *regs)
| ^~~~~
arch/mips/kernel/traps.c:1346:17: warning: no previous prototype for 'do_cpu' [-Wmissing-prototypes]
1346 | asmlinkage void do_cpu(struct pt_regs *regs)
| ^~~~~~
arch/mips/kernel/traps.c:1452:17: warning: no previous prototype for 'do_msa_fpe' [-Wmissing-prototypes]
1452 | asmlinkage void do_msa_fpe(struct pt_regs *regs, unsigned int msacsr)
| ^~~~~~~~~~
arch/mips/kernel/traps.c:1472:17: warning: no previous prototype for 'do_msa' [-Wmissing-prototypes]
1472 | asmlinkage void do_msa(struct pt_regs *regs)
| ^~~~~~
arch/mips/kernel/traps.c:1493:17: warning: no previous prototype for 'do_mdmx' [-Wmissing-prototypes]
1493 | asmlinkage void do_mdmx(struct pt_regs *regs)
| ^~~~~~~
arch/mips/kernel/traps.c:1505:17: warning: no previous prototype for 'do_watch' [-Wmissing-prototypes]
1505 | asmlinkage void do_watch(struct pt_regs *regs)
| ^~~~~~~~
arch/mips/kernel/traps.c:1532:17: warning: no previous prototype for 'do_mcheck' [-Wmissing-prototypes]
1532 | asmlinkage void do_mcheck(struct pt_regs *regs)
| ^~~~~~~~~
arch/mips/kernel/traps.c: In function 'do_mcheck':
arch/mips/kernel/traps.c:1535:17: warning: variable 'prev_state' set but not used [-Wunused-but-set-variable]
1535 | enum ctx_state prev_state;
| ^~~~~~~~~~
arch/mips/kernel/traps.c: At top level:
arch/mips/kernel/traps.c:1563:17: warning: no previous prototype for 'do_mt' [-Wmissing-prototypes]
1563 | asmlinkage void do_mt(struct pt_regs *regs)
| ^~~~~
arch/mips/kernel/traps.c:1599:17: warning: no previous prototype for 'do_dsp' [-Wmissing-prototypes]
1599 | asmlinkage void do_dsp(struct pt_regs *regs)
| ^~~~~~
arch/mips/kernel/traps.c:1607:17: warning: no previous prototype for 'do_reserved' [-Wmissing-prototypes]
1607 | asmlinkage void do_reserved(struct pt_regs *regs)
| ^~~~~~~~~~~
arch/mips/kernel/traps.c:1783:17: warning: no previous prototype for 'cache_parity_error' [-Wmissing-prototypes]
1783 | asmlinkage void cache_parity_error(void)
| ^~~~~~~~~~~~~~~~~~
arch/mips/kernel/traps.c:1831:17: warning: no previous prototype for 'do_ftlb' [-Wmissing-prototypes]
1831 | asmlinkage void do_ftlb(void)
| ^~~~~~~
arch/mips/kernel/traps.c:1864:6: warning: no previous prototype for 'ejtag_exception_handler' [-Wmissing-prototypes]
1864 | void ejtag_exception_handler(struct pt_regs *regs)
| ^~~~~~~~~~~~~~~~~~~~~~~
arch/mips/kernel/traps.c:1909:17: warning: no previous prototype for 'nmi_exception_handler' [-Wmissing-prototypes]
1909 | void __noreturn nmi_exception_handler(struct pt_regs *regs)
| ^~~~~~~~~~~~~~~~~~~~~
In file included from arch/mips/include/asm/bug.h:5,
from include/linux/bug.h:5,
from arch/mips/mm/init.c:11:
arch/mips/mm/init.c: In function 'mem_init':
>> include/linux/compiler.h:350:38: error: call to '__compiletime_assert_453' declared with attribute error: BUILD_BUG_ON failed: IS_ENABLED(CONFIG_32BIT) && (_PFN_SHIFT > PAGE_SHIFT)
350 | _compiletime_assert(condition, msg, __compiletime_assert_, __LINE__)
| ^
include/linux/compiler.h:331:4: note: in definition of macro '__compiletime_assert'
331 | prefix ## suffix(); \
| ^~~~~~
include/linux/compiler.h:350:2: note: in expansion of macro '_compiletime_assert'
350 | _compiletime_assert(condition, msg, __compiletime_assert_, __LINE__)
| ^~~~~~~~~~~~~~~~~~~
include/linux/build_bug.h:39:37: note: in expansion of macro 'compiletime_assert'
39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
| ^~~~~~~~~~~~~~~~~~
include/linux/build_bug.h:50:2: note: in expansion of macro 'BUILD_BUG_ON_MSG'
50 | BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition)
| ^~~~~~~~~~~~~~~~
arch/mips/mm/init.c:453:2: note: in expansion of macro 'BUILD_BUG_ON'
453 | BUILD_BUG_ON(IS_ENABLED(CONFIG_32BIT) && (_PFN_SHIFT > PAGE_SHIFT));
| ^~~~~~~~~~~~
make[3]: *** [scripts/Makefile.build:273: arch/mips/mm/init.o] Error 1
arch/mips/kernel/spram.c:194:6: warning: no previous prototype for 'spram_config' [-Wmissing-prototypes]
194 | void spram_config(void)
| ^~~~~~~~~~~~
arch/mips/kernel/machine_kexec.c:136:1: warning: no previous prototype for 'machine_shutdown' [-Wmissing-prototypes]
136 | machine_shutdown(void)
| ^~~~~~~~~~~~~~~~
arch/mips/kernel/machine_kexec.c:152:1: warning: no previous prototype for 'machine_crash_shutdown' [-Wmissing-prototypes]
152 | machine_crash_shutdown(struct pt_regs *regs)
| ^~~~~~~~~~~~~~~~~~~~~~
arch/mips/kernel/module.c:290: warning: Function parameter or member 'reloc_handler' not described in 'int'
arch/mips/kernel/module.c:290: warning: Excess function parameter 'me' description in 'int'
arch/mips/kernel/module.c:290: warning: Excess function parameter 'location' description in 'int'
arch/mips/kernel/module.c:290: warning: Excess function parameter 'base' description in 'int'
arch/mips/kernel/module.c:290: warning: Excess function parameter 'v' description in 'int'
make[2]: *** [scripts/Makefile.build:490: arch/mips/mm] Error 2
make[3]: Target '__build' not remade because of errors.
make[2]: Target '__build' not remade because of errors.
make[1]: *** [Makefile:1617: _module_arch/mips] Error 2
make[1]: Target '_all' not remade because of errors.
--
| ^~~~~~~~
arch/mips/kernel/signal.c:439:5: warning: no previous prototype for 'setup_sigcontext' [-Wmissing-prototypes]
439 | int setup_sigcontext(struct pt_regs *regs, struct sigcontext __user *sc)
| ^~~~~~~~~~~~~~~~
arch/mips/kernel/signal.c:516:5: warning: no previous prototype for 'restore_sigcontext' [-Wmissing-prototypes]
516 | int restore_sigcontext(struct pt_regs *regs, struct sigcontext __user *sc)
| ^~~~~~~~~~~~~~~~~~
arch/mips/kernel/signal.c:624:17: warning: no previous prototype for 'sys_sigreturn' [-Wmissing-prototypes]
624 | asmlinkage void sys_sigreturn(void)
| ^~~~~~~~~~~~~
arch/mips/kernel/signal.c:661:17: warning: no previous prototype for 'sys_rt_sigreturn' [-Wmissing-prototypes]
661 | asmlinkage void sys_rt_sigreturn(void)
| ^~~~~~~~~~~~~~~~
arch/mips/kernel/signal.c:889:17: warning: no previous prototype for 'do_notify_resume' [-Wmissing-prototypes]
889 | asmlinkage void do_notify_resume(struct pt_regs *regs, void *unused,
| ^~~~~~~~~~~~~~~~
arch/mips/mm/init.c:62:6: warning: no previous prototype for 'setup_zero_pages' [-Wmissing-prototypes]
62 | void setup_zero_pages(void)
| ^~~~~~~~~~~~~~~~
arch/mips/kernel/traps.c:358:6: warning: no previous prototype for 'show_registers' [-Wmissing-prototypes]
358 | void show_registers(struct pt_regs *regs)
| ^~~~~~~~~~~~~~
arch/mips/kernel/traps.c:440:17: warning: no previous prototype for 'do_be' [-Wmissing-prototypes]
440 | asmlinkage void do_be(struct pt_regs *regs)
| ^~~~~
arch/mips/kernel/traps.c:701:17: warning: no previous prototype for 'do_ov' [-Wmissing-prototypes]
701 | asmlinkage void do_ov(struct pt_regs *regs)
| ^~~~~
arch/mips/kernel/traps.c:825:17: warning: no previous prototype for 'do_fpe' [-Wmissing-prototypes]
825 | asmlinkage void do_fpe(struct pt_regs *regs, unsigned long fcr31)
| ^~~~~~
arch/mips/kernel/traps.c:978:17: warning: no previous prototype for 'do_bp' [-Wmissing-prototypes]
978 | asmlinkage void do_bp(struct pt_regs *regs)
| ^~~~~
arch/mips/kernel/traps.c:1070:17: warning: no previous prototype for 'do_tr' [-Wmissing-prototypes]
1070 | asmlinkage void do_tr(struct pt_regs *regs)
| ^~~~~
arch/mips/mm/c-r4k.c:1703:6: warning: no previous prototype for 'au1x00_fixup_config_od' [-Wmissing-prototypes]
1703 | void au1x00_fixup_config_od(void)
| ^~~~~~~~~~~~~~~~~~~~~~
arch/mips/mm/sc-mips.c:253:5: warning: no previous prototype for 'mips_sc_init' [-Wmissing-prototypes]
253 | int mips_sc_init(void)
| ^~~~~~~~~~~~
arch/mips/mm/c-r4k.c:1818:6: warning: no previous prototype for 'r4k_cache_init' [-Wmissing-prototypes]
1818 | void r4k_cache_init(void)
| ^~~~~~~~~~~~~~
arch/mips/mm/c-r4k.c:1962:12: warning: no previous prototype for 'r4k_cache_init_pm' [-Wmissing-prototypes]
1962 | int __init r4k_cache_init_pm(void)
| ^~~~~~~~~~~~~~~~~
arch/mips/kernel/traps.c:1112:17: warning: no previous prototype for 'do_ri' [-Wmissing-prototypes]
1112 | asmlinkage void do_ri(struct pt_regs *regs)
| ^~~~~
arch/mips/kernel/traps.c:1346:17: warning: no previous prototype for 'do_cpu' [-Wmissing-prototypes]
1346 | asmlinkage void do_cpu(struct pt_regs *regs)
| ^~~~~~
arch/mips/kernel/traps.c:1452:17: warning: no previous prototype for 'do_msa_fpe' [-Wmissing-prototypes]
1452 | asmlinkage void do_msa_fpe(struct pt_regs *regs, unsigned int msacsr)
| ^~~~~~~~~~
arch/mips/kernel/traps.c:1472:17: warning: no previous prototype for 'do_msa' [-Wmissing-prototypes]
1472 | asmlinkage void do_msa(struct pt_regs *regs)
| ^~~~~~
arch/mips/kernel/traps.c:1493:17: warning: no previous prototype for 'do_mdmx' [-Wmissing-prototypes]
1493 | asmlinkage void do_mdmx(struct pt_regs *regs)
| ^~~~~~~
arch/mips/kernel/traps.c:1505:17: warning: no previous prototype for 'do_watch' [-Wmissing-prototypes]
1505 | asmlinkage void do_watch(struct pt_regs *regs)
| ^~~~~~~~
arch/mips/kernel/traps.c:1532:17: warning: no previous prototype for 'do_mcheck' [-Wmissing-prototypes]
1532 | asmlinkage void do_mcheck(struct pt_regs *regs)
| ^~~~~~~~~
arch/mips/kernel/traps.c: In function 'do_mcheck':
arch/mips/kernel/traps.c:1535:17: warning: variable 'prev_state' set but not used [-Wunused-but-set-variable]
1535 | enum ctx_state prev_state;
| ^~~~~~~~~~
arch/mips/kernel/traps.c: At top level:
arch/mips/kernel/traps.c:1563:17: warning: no previous prototype for 'do_mt' [-Wmissing-prototypes]
1563 | asmlinkage void do_mt(struct pt_regs *regs)
| ^~~~~
arch/mips/kernel/traps.c:1599:17: warning: no previous prototype for 'do_dsp' [-Wmissing-prototypes]
1599 | asmlinkage void do_dsp(struct pt_regs *regs)
| ^~~~~~
arch/mips/kernel/traps.c:1607:17: warning: no previous prototype for 'do_reserved' [-Wmissing-prototypes]
1607 | asmlinkage void do_reserved(struct pt_regs *regs)
| ^~~~~~~~~~~
arch/mips/kernel/traps.c:1783:17: warning: no previous prototype for 'cache_parity_error' [-Wmissing-prototypes]
1783 | asmlinkage void cache_parity_error(void)
| ^~~~~~~~~~~~~~~~~~
arch/mips/kernel/traps.c:1831:17: warning: no previous prototype for 'do_ftlb' [-Wmissing-prototypes]
1831 | asmlinkage void do_ftlb(void)
| ^~~~~~~
arch/mips/kernel/traps.c:1864:6: warning: no previous prototype for 'ejtag_exception_handler' [-Wmissing-prototypes]
1864 | void ejtag_exception_handler(struct pt_regs *regs)
| ^~~~~~~~~~~~~~~~~~~~~~~
arch/mips/kernel/traps.c:1909:17: warning: no previous prototype for 'nmi_exception_handler' [-Wmissing-prototypes]
1909 | void __noreturn nmi_exception_handler(struct pt_regs *regs)
| ^~~~~~~~~~~~~~~~~~~~~
In file included from arch/mips/include/asm/bug.h:5,
from include/linux/bug.h:5,
from arch/mips/mm/init.c:11:
arch/mips/mm/init.c: In function 'mem_init':
>> include/linux/compiler.h:350:38: error: call to '__compiletime_assert_453' declared with attribute error: BUILD_BUG_ON failed: IS_ENABLED(CONFIG_32BIT) && (_PFN_SHIFT > PAGE_SHIFT)
350 | _compiletime_assert(condition, msg, __compiletime_assert_, __LINE__)
| ^
include/linux/compiler.h:331:4: note: in definition of macro '__compiletime_assert'
331 | prefix ## suffix(); \
| ^~~~~~
include/linux/compiler.h:350:2: note: in expansion of macro '_compiletime_assert'
350 | _compiletime_assert(condition, msg, __compiletime_assert_, __LINE__)
| ^~~~~~~~~~~~~~~~~~~
include/linux/build_bug.h:39:37: note: in expansion of macro 'compiletime_assert'
39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
| ^~~~~~~~~~~~~~~~~~
include/linux/build_bug.h:50:2: note: in expansion of macro 'BUILD_BUG_ON_MSG'
50 | BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition)
| ^~~~~~~~~~~~~~~~
arch/mips/mm/init.c:453:2: note: in expansion of macro 'BUILD_BUG_ON'
453 | BUILD_BUG_ON(IS_ENABLED(CONFIG_32BIT) && (_PFN_SHIFT > PAGE_SHIFT));
| ^~~~~~~~~~~~
make[3]: *** [scripts/Makefile.build:273: arch/mips/mm/init.o] Error 1
arch/mips/kernel/spram.c:194:6: warning: no previous prototype for 'spram_config' [-Wmissing-prototypes]
194 | void spram_config(void)
| ^~~~~~~~~~~~
arch/mips/kernel/machine_kexec.c:136:1: warning: no previous prototype for 'machine_shutdown' [-Wmissing-prototypes]
136 | machine_shutdown(void)
| ^~~~~~~~~~~~~~~~
arch/mips/kernel/machine_kexec.c:152:1: warning: no previous prototype for 'machine_crash_shutdown' [-Wmissing-prototypes]
152 | machine_crash_shutdown(struct pt_regs *regs)
| ^~~~~~~~~~~~~~~~~~~~~~
arch/mips/kernel/module.c:290: warning: Function parameter or member 'reloc_handler' not described in 'int'
arch/mips/kernel/module.c:290: warning: Excess function parameter 'me' description in 'int'
arch/mips/kernel/module.c:290: warning: Excess function parameter 'location' description in 'int'
arch/mips/kernel/module.c:290: warning: Excess function parameter 'base' description in 'int'
arch/mips/kernel/module.c:290: warning: Excess function parameter 'v' description in 'int'
make[2]: *** [scripts/Makefile.build:490: arch/mips/mm] Error 2
make[3]: Target '__build' not remade because of errors.
make[2]: Target '__build' not remade because of errors.
--
In file included from arch/mips/mm/uasm-mips.c:48:
arch/mips/mm/uasm.c:420:5: warning: no previous prototype for 'uasm_in_compat_space_p' [-Wmissing-prototypes]
420 | int uasm_in_compat_space_p(long addr)
| ^~~~~~~~~~~~~~~~~~~~~~
arch/mips/mm/hugetlbpage.c:58:5: warning: no previous prototype for 'is_aligned_hugepage_range' [-Wmissing-prototypes]
58 | int is_aligned_hugepage_range(unsigned long addr, unsigned long len)
| ^~~~~~~~~~~~~~~~~~~~~~~~~
arch/mips/mm/tlbex.c:2591:6: warning: no previous prototype for 'build_tlb_refill_handler' [-Wmissing-prototypes]
2591 | void build_tlb_refill_handler(void)
| ^~~~~~~~~~~~~~~~~~~~~~~~
arch/mips/mm/fault.c:327:27: warning: no previous prototype for 'do_page_fault' [-Wmissing-prototypes]
327 | asmlinkage void __kprobes do_page_fault(struct pt_regs *regs,
| ^~~~~~~~~~~~~
arch/mips/mm/cache.c:130:6: warning: no previous prototype for '__update_cache' [-Wmissing-prototypes]
130 | void __update_cache(unsigned long address, pte_t pte)
| ^~~~~~~~~~~~~~
arch/mips/mm/cache.c:237:12: warning: no previous prototype for '__uncached_access' [-Wmissing-prototypes]
237 | int __weak __uncached_access(struct file *file, unsigned long addr)
| ^~~~~~~~~~~~~~~~~
arch/mips/mm/tlb-r4k.c:543:6: warning: no previous prototype for 'tlb_init' [-Wmissing-prototypes]
543 | void tlb_init(void)
| ^~~~~~~~
arch/mips/mm/init.c:62:6: warning: no previous prototype for 'setup_zero_pages' [-Wmissing-prototypes]
62 | void setup_zero_pages(void)
| ^~~~~~~~~~~~~~~~
arch/mips/mm/c-r4k.c:1703:6: warning: no previous prototype for 'au1x00_fixup_config_od' [-Wmissing-prototypes]
1703 | void au1x00_fixup_config_od(void)
| ^~~~~~~~~~~~~~~~~~~~~~
arch/mips/mm/sc-mips.c:253:5: warning: no previous prototype for 'mips_sc_init' [-Wmissing-prototypes]
253 | int mips_sc_init(void)
| ^~~~~~~~~~~~
arch/mips/mm/c-r4k.c:1818:6: warning: no previous prototype for 'r4k_cache_init' [-Wmissing-prototypes]
1818 | void r4k_cache_init(void)
| ^~~~~~~~~~~~~~
arch/mips/mm/c-r4k.c:1962:12: warning: no previous prototype for 'r4k_cache_init_pm' [-Wmissing-prototypes]
1962 | int __init r4k_cache_init_pm(void)
| ^~~~~~~~~~~~~~~~~
In file included from arch/mips/include/asm/bug.h:5,
from include/linux/bug.h:5,
from arch/mips/mm/init.c:11:
arch/mips/mm/init.c: In function 'mem_init':
>> include/linux/compiler.h:350:38: error: call to '__compiletime_assert_453' declared with attribute error: BUILD_BUG_ON failed: IS_ENABLED(CONFIG_32BIT) && (_PFN_SHIFT > PAGE_SHIFT)
350 | _compiletime_assert(condition, msg, __compiletime_assert_, __LINE__)
| ^
include/linux/compiler.h:331:4: note: in definition of macro '__compiletime_assert'
331 | prefix ## suffix(); \
| ^~~~~~
include/linux/compiler.h:350:2: note: in expansion of macro '_compiletime_assert'
350 | _compiletime_assert(condition, msg, __compiletime_assert_, __LINE__)
| ^~~~~~~~~~~~~~~~~~~
include/linux/build_bug.h:39:37: note: in expansion of macro 'compiletime_assert'
39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
| ^~~~~~~~~~~~~~~~~~
include/linux/build_bug.h:50:2: note: in expansion of macro 'BUILD_BUG_ON_MSG'
50 | BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition)
| ^~~~~~~~~~~~~~~~
arch/mips/mm/init.c:453:2: note: in expansion of macro 'BUILD_BUG_ON'
453 | BUILD_BUG_ON(IS_ENABLED(CONFIG_32BIT) && (_PFN_SHIFT > PAGE_SHIFT));
| ^~~~~~~~~~~~
make[3]: *** [scripts/Makefile.build:273: arch/mips/mm/init.o] Error 1
make[3]: Target '__build' not remade because of errors.
..
vim +/__compiletime_assert_453 +350 include/linux/compiler.h
9a8ab1c39970a4 Daniel Santos 2013-02-21 336
9a8ab1c39970a4 Daniel Santos 2013-02-21 337 #define _compiletime_assert(condition, msg, prefix, suffix) \
9a8ab1c39970a4 Daniel Santos 2013-02-21 338 __compiletime_assert(condition, msg, prefix, suffix)
9a8ab1c39970a4 Daniel Santos 2013-02-21 339
9a8ab1c39970a4 Daniel Santos 2013-02-21 340 /**
9a8ab1c39970a4 Daniel Santos 2013-02-21 341 * compiletime_assert - break build and emit msg if condition is false
9a8ab1c39970a4 Daniel Santos 2013-02-21 342 * @condition: a compile-time constant condition to check
9a8ab1c39970a4 Daniel Santos 2013-02-21 343 * @msg: a message to emit if condition is false
9a8ab1c39970a4 Daniel Santos 2013-02-21 344 *
9a8ab1c39970a4 Daniel Santos 2013-02-21 345 * In tradition of POSIX assert, this macro will break the build if the
9a8ab1c39970a4 Daniel Santos 2013-02-21 346 * supplied condition is *false*, emitting the supplied error message if the
9a8ab1c39970a4 Daniel Santos 2013-02-21 347 * compiler has support to do so.
9a8ab1c39970a4 Daniel Santos 2013-02-21 348 */
9a8ab1c39970a4 Daniel Santos 2013-02-21 349 #define compiletime_assert(condition, msg) \
9a8ab1c39970a4 Daniel Santos 2013-02-21 @350 _compiletime_assert(condition, msg, __compiletime_assert_, __LINE__)
9a8ab1c39970a4 Daniel Santos 2013-02-21 351
:::::: The code at line 350 was first introduced by commit
:::::: 9a8ab1c39970a4938a72d94e6fd13be88a797590 bug.h, compiler.h: introduce compiletime_assert & BUILD_BUG_ON_MSG
:::::: TO: Daniel Santos <daniel.santos(a)pobox.com>
:::::: CC: Linus Torvalds <torvalds(a)linux-foundation.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years
Re: [PATCH bpf-next 1/2] bpf, x86: Factor common x86 JIT code
by kernel test robot
Hi Tobias,
I love your patch! Perhaps something to improve:
[auto build test WARNING on bpf-next/master]
url: https://github.com/0day-ci/linux/commits/Tobias-Klauser/bpf-x86-Factor-co...
base: https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git master
config: x86_64-randconfig-a002-20200630 (attached as .config)
compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project cf1d04484344be52ada8178e41d18fd15a9b880c)
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
# install x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
arch/x86/purgatory/purgatory.c:57:6: warning: no previous prototype for function 'warn' [-Wmissing-prototypes]
void warn(const char *msg) {}
^
arch/x86/purgatory/purgatory.c:57:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void warn(const char *msg) {}
^
static
1 warning generated.
>> arch/x86/net/bpf_jit_comp64.c:1713:5: warning: no previous prototype for function 'arch_prepare_bpf_dispatcher' [-Wmissing-prototypes]
int arch_prepare_bpf_dispatcher(void *image, s64 *funcs, int num_funcs)
^
arch/x86/net/bpf_jit_comp64.c:1713:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
int arch_prepare_bpf_dispatcher(void *image, s64 *funcs, int num_funcs)
^
static
arch/x86/mm/init.c:81:6: warning: no previous prototype for function 'x86_has_pat_wp' [-Wmissing-prototypes]
bool x86_has_pat_wp(void)
^
arch/x86/mm/init.c:81:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
bool x86_has_pat_wp(void)
^
static
arch/x86/mm/init.c:86:22: warning: no previous prototype for function 'pgprot2cachemode' [-Wmissing-prototypes]
enum page_cache_mode pgprot2cachemode(pgprot_t pgprot)
^
arch/x86/mm/init.c:86:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
enum page_cache_mode pgprot2cachemode(pgprot_t pgprot)
^
static
In file included from arch/x86/boot/compressed/string.c:11:
arch/x86/boot/compressed/../string.c:43:5: warning: no previous prototype for function 'bcmp' [-Wmissing-prototypes]
int bcmp(const void *s1, const void *s2, size_t len)
^
arch/x86/boot/compressed/../string.c:43:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
int bcmp(const void *s1, const void *s2, size_t len)
^
static
arch/x86/boot/compressed/../string.c:145:6: warning: no previous prototype for function 'simple_strtol' [-Wmissing-prototypes]
long simple_strtol(const char *cp, char **endp, unsigned int base)
^
arch/x86/boot/compressed/../string.c:145:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
long simple_strtol(const char *cp, char **endp, unsigned int base)
^
static
arch/x86/boot/compressed/string.c:53:7: warning: no previous prototype for function 'memmove' [-Wmissing-prototypes]
void *memmove(void *dest, const void *src, size_t n)
^
arch/x86/boot/compressed/string.c:53:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void *memmove(void *dest, const void *src, size_t n)
^
static
3 warnings generated.
2 warnings generated.
1 warning generated.
arch/x86/entry/common.c:274:24: warning: no previous prototype for function 'prepare_exit_to_usermode' [-Wmissing-prototypes]
__visible noinstr void prepare_exit_to_usermode(struct pt_regs *regs)
^
arch/x86/entry/common.c:274:19: note: declare 'static' if the function is not intended to be used outside of this translation unit
__visible noinstr void prepare_exit_to_usermode(struct pt_regs *regs)
^
static
arch/x86/entry/common.c:336:24: warning: no previous prototype for function 'syscall_return_slowpath' [-Wmissing-prototypes]
__visible noinstr void syscall_return_slowpath(struct pt_regs *regs)
^
arch/x86/entry/common.c:336:19: note: declare 'static' if the function is not intended to be used outside of this translation unit
__visible noinstr void syscall_return_slowpath(struct pt_regs *regs)
^
static
arch/x86/entry/vdso/vgetcpu.c:14:1: warning: no previous prototype for function '__vdso_getcpu' [-Wmissing-prototypes]
__vdso_getcpu(unsigned *cpu, unsigned *node, struct getcpu_cache *unused)
^
arch/x86/entry/vdso/vgetcpu.c:13:9: note: declare 'static' if the function is not intended to be used outside of this translation unit
notrace long
^
static
1 warning generated.
2 warnings generated.
arch/x86/kernel/i8259.c:237: warning: Function parameter or member 'trigger' not described in 'restore_ELCR'
arch/x86/mm/ioremap.c:737:17: warning: no previous prototype for function 'early_memremap_pgprot_adjust' [-Wmissing-prototypes]
pgprot_t __init early_memremap_pgprot_adjust(resource_size_t phys_addr,
^
arch/x86/mm/ioremap.c:737:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
pgprot_t __init early_memremap_pgprot_adjust(resource_size_t phys_addr,
^
static
arch/x86/mm/extable.c:26:16: warning: no previous prototype for function 'ex_handler_default' [-Wmissing-prototypes]
__visible bool ex_handler_default(const struct exception_table_entry *fixup,
^
arch/x86/mm/extable.c:26:11: note: declare 'static' if the function is not intended to be used outside of this translation unit
__visible bool ex_handler_default(const struct exception_table_entry *fixup,
^
static
arch/x86/mm/extable.c:36:16: warning: no previous prototype for function 'ex_handler_fault' [-Wmissing-prototypes]
__visible bool ex_handler_fault(const struct exception_table_entry *fixup,
^
arch/x86/mm/extable.c:36:11: note: declare 'static' if the function is not intended to be used outside of this translation unit
__visible bool ex_handler_fault(const struct exception_table_entry *fixup,
^
static
arch/x86/mm/extable.c:57:16: warning: no previous prototype for function 'ex_handler_fprestore' [-Wmissing-prototypes]
__visible bool ex_handler_fprestore(const struct exception_table_entry *fixup,
^
arch/x86/mm/extable.c:57:11: note: declare 'static' if the function is not intended to be used outside of this translation unit
__visible bool ex_handler_fprestore(const struct exception_table_entry *fixup,
^
static
arch/x86/mm/extable.c:72:16: warning: no previous prototype for function 'ex_handler_uaccess' [-Wmissing-prototypes]
__visible bool ex_handler_uaccess(const struct exception_table_entry *fixup,
^
--
arch/x86/purgatory/purgatory.c:57:6: warning: no previous prototype for function 'warn' [-Wmissing-prototypes]
void warn(const char *msg) {}
^
arch/x86/purgatory/purgatory.c:57:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void warn(const char *msg) {}
^
static
1 warning generated.
>> arch/x86/net/bpf_jit_comp64.c:1713:5: warning: no previous prototype for function 'arch_prepare_bpf_dispatcher' [-Wmissing-prototypes]
int arch_prepare_bpf_dispatcher(void *image, s64 *funcs, int num_funcs)
^
arch/x86/net/bpf_jit_comp64.c:1713:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
int arch_prepare_bpf_dispatcher(void *image, s64 *funcs, int num_funcs)
^
static
arch/x86/mm/init.c:81:6: warning: no previous prototype for function 'x86_has_pat_wp' [-Wmissing-prototypes]
bool x86_has_pat_wp(void)
^
arch/x86/mm/init.c:81:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
bool x86_has_pat_wp(void)
^
static
arch/x86/mm/init.c:86:22: warning: no previous prototype for function 'pgprot2cachemode' [-Wmissing-prototypes]
enum page_cache_mode pgprot2cachemode(pgprot_t pgprot)
^
arch/x86/mm/init.c:86:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
enum page_cache_mode pgprot2cachemode(pgprot_t pgprot)
^
static
In file included from arch/x86/boot/compressed/string.c:11:
arch/x86/boot/compressed/../string.c:43:5: warning: no previous prototype for function 'bcmp' [-Wmissing-prototypes]
int bcmp(const void *s1, const void *s2, size_t len)
^
arch/x86/boot/compressed/../string.c:43:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
int bcmp(const void *s1, const void *s2, size_t len)
^
static
arch/x86/boot/compressed/../string.c:145:6: warning: no previous prototype for function 'simple_strtol' [-Wmissing-prototypes]
long simple_strtol(const char *cp, char **endp, unsigned int base)
^
arch/x86/boot/compressed/../string.c:145:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
long simple_strtol(const char *cp, char **endp, unsigned int base)
^
static
arch/x86/boot/compressed/string.c:53:7: warning: no previous prototype for function 'memmove' [-Wmissing-prototypes]
void *memmove(void *dest, const void *src, size_t n)
^
arch/x86/boot/compressed/string.c:53:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void *memmove(void *dest, const void *src, size_t n)
^
static
3 warnings generated.
2 warnings generated.
1 warning generated.
arch/x86/entry/common.c:274:24: warning: no previous prototype for function 'prepare_exit_to_usermode' [-Wmissing-prototypes]
__visible noinstr void prepare_exit_to_usermode(struct pt_regs *regs)
^
arch/x86/entry/common.c:274:19: note: declare 'static' if the function is not intended to be used outside of this translation unit
__visible noinstr void prepare_exit_to_usermode(struct pt_regs *regs)
^
static
arch/x86/entry/common.c:336:24: warning: no previous prototype for function 'syscall_return_slowpath' [-Wmissing-prototypes]
__visible noinstr void syscall_return_slowpath(struct pt_regs *regs)
^
arch/x86/entry/common.c:336:19: note: declare 'static' if the function is not intended to be used outside of this translation unit
__visible noinstr void syscall_return_slowpath(struct pt_regs *regs)
^
static
arch/x86/entry/vdso/vgetcpu.c:14:1: warning: no previous prototype for function '__vdso_getcpu' [-Wmissing-prototypes]
__vdso_getcpu(unsigned *cpu, unsigned *node, struct getcpu_cache *unused)
^
arch/x86/entry/vdso/vgetcpu.c:13:9: note: declare 'static' if the function is not intended to be used outside of this translation unit
notrace long
^
static
1 warning generated.
2 warnings generated.
arch/x86/kernel/i8259.c:237: warning: Function parameter or member 'trigger' not described in 'restore_ELCR'
arch/x86/mm/ioremap.c:737:17: warning: no previous prototype for function 'early_memremap_pgprot_adjust' [-Wmissing-prototypes]
pgprot_t __init early_memremap_pgprot_adjust(resource_size_t phys_addr,
^
arch/x86/mm/ioremap.c:737:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
pgprot_t __init early_memremap_pgprot_adjust(resource_size_t phys_addr,
^
static
arch/x86/mm/extable.c:26:16: warning: no previous prototype for function 'ex_handler_default' [-Wmissing-prototypes]
__visible bool ex_handler_default(const struct exception_table_entry *fixup,
^
arch/x86/mm/extable.c:26:11: note: declare 'static' if the function is not intended to be used outside of this translation unit
__visible bool ex_handler_default(const struct exception_table_entry *fixup,
^
static
arch/x86/mm/extable.c:36:16: warning: no previous prototype for function 'ex_handler_fault' [-Wmissing-prototypes]
__visible bool ex_handler_fault(const struct exception_table_entry *fixup,
^
arch/x86/mm/extable.c:36:11: note: declare 'static' if the function is not intended to be used outside of this translation unit
__visible bool ex_handler_fault(const struct exception_table_entry *fixup,
^
static
arch/x86/mm/extable.c:57:16: warning: no previous prototype for function 'ex_handler_fprestore' [-Wmissing-prototypes]
__visible bool ex_handler_fprestore(const struct exception_table_entry *fixup,
^
arch/x86/mm/extable.c:57:11: note: declare 'static' if the function is not intended to be used outside of this translation unit
__visible bool ex_handler_fprestore(const struct exception_table_entry *fixup,
^
static
arch/x86/mm/extable.c:72:16: warning: no previous prototype for function 'ex_handler_uaccess' [-Wmissing-prototypes]
__visible bool ex_handler_uaccess(const struct exception_table_entry *fixup,
^
--
>> arch/x86/net/bpf_jit_comp64.c:1713:5: warning: no previous prototype for function 'arch_prepare_bpf_dispatcher' [-Wmissing-prototypes]
int arch_prepare_bpf_dispatcher(void *image, s64 *funcs, int num_funcs)
^
arch/x86/net/bpf_jit_comp64.c:1713:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
int arch_prepare_bpf_dispatcher(void *image, s64 *funcs, int num_funcs)
^
static
1 warning generated.
--
arch/x86/purgatory/purgatory.c:57:6: warning: no previous prototype for function 'warn' [-Wmissing-prototypes]
void warn(const char *msg) {}
^
arch/x86/purgatory/purgatory.c:57:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void warn(const char *msg) {}
^
static
1 warning generated.
arch/x86/mm/init.c:81:6: warning: no previous prototype for function 'x86_has_pat_wp' [-Wmissing-prototypes]
bool x86_has_pat_wp(void)
^
arch/x86/mm/init.c:81:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
bool x86_has_pat_wp(void)
^
static
arch/x86/mm/init.c:86:22: warning: no previous prototype for function 'pgprot2cachemode' [-Wmissing-prototypes]
enum page_cache_mode pgprot2cachemode(pgprot_t pgprot)
^
arch/x86/mm/init.c:86:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
enum page_cache_mode pgprot2cachemode(pgprot_t pgprot)
^
static
>> arch/x86/net/bpf_jit_comp64.c:1713:5: warning: no previous prototype for function 'arch_prepare_bpf_dispatcher' [-Wmissing-prototypes]
int arch_prepare_bpf_dispatcher(void *image, s64 *funcs, int num_funcs)
^
arch/x86/net/bpf_jit_comp64.c:1713:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
int arch_prepare_bpf_dispatcher(void *image, s64 *funcs, int num_funcs)
^
static
arch/x86/entry/common.c:274:24: warning: no previous prototype for function 'prepare_exit_to_usermode' [-Wmissing-prototypes]
__visible noinstr void prepare_exit_to_usermode(struct pt_regs *regs)
^
arch/x86/entry/common.c:274:19: note: declare 'static' if the function is not intended to be used outside of this translation unit
__visible noinstr void prepare_exit_to_usermode(struct pt_regs *regs)
^
static
arch/x86/entry/common.c:336:24: warning: no previous prototype for function 'syscall_return_slowpath' [-Wmissing-prototypes]
__visible noinstr void syscall_return_slowpath(struct pt_regs *regs)
^
arch/x86/entry/common.c:336:19: note: declare 'static' if the function is not intended to be used outside of this translation unit
__visible noinstr void syscall_return_slowpath(struct pt_regs *regs)
^
static
2 warnings generated.
2 warnings generated.
In file included from arch/x86/boot/compressed/string.c:11:
arch/x86/boot/compressed/../string.c:43:5: warning: no previous prototype for function 'bcmp' [-Wmissing-prototypes]
int bcmp(const void *s1, const void *s2, size_t len)
^
arch/x86/boot/compressed/../string.c:43:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
int bcmp(const void *s1, const void *s2, size_t len)
^
static
arch/x86/boot/compressed/../string.c:145:6: warning: no previous prototype for function 'simple_strtol' [-Wmissing-prototypes]
long simple_strtol(const char *cp, char **endp, unsigned int base)
^
arch/x86/boot/compressed/../string.c:145:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
long simple_strtol(const char *cp, char **endp, unsigned int base)
^
static
arch/x86/boot/compressed/string.c:53:7: warning: no previous prototype for function 'memmove' [-Wmissing-prototypes]
void *memmove(void *dest, const void *src, size_t n)
^
arch/x86/boot/compressed/string.c:53:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void *memmove(void *dest, const void *src, size_t n)
^
static
3 warnings generated.
arch/x86/entry/vdso/vgetcpu.c:14:1: warning: no previous prototype for function '__vdso_getcpu' [-Wmissing-prototypes]
__vdso_getcpu(unsigned *cpu, unsigned *node, struct getcpu_cache *unused)
^
arch/x86/entry/vdso/vgetcpu.c:13:9: note: declare 'static' if the function is not intended to be used outside of this translation unit
notrace long
^
static
1 warning generated.
1 warning generated.
arch/x86/kernel/i8259.c:237: warning: Function parameter or member 'trigger' not described in 'restore_ELCR'
arch/x86/mm/ioremap.c:737:17: warning: no previous prototype for function 'early_memremap_pgprot_adjust' [-Wmissing-prototypes]
pgprot_t __init early_memremap_pgprot_adjust(resource_size_t phys_addr,
^
arch/x86/mm/ioremap.c:737:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
pgprot_t __init early_memremap_pgprot_adjust(resource_size_t phys_addr,
^
static
1 warning generated.
arch/x86/mm/extable.c:26:16: warning: no previous prototype for function 'ex_handler_default' [-Wmissing-prototypes]
__visible bool ex_handler_default(const struct exception_table_entry *fixup,
^
arch/x86/mm/extable.c:26:11: note: declare 'static' if the function is not intended to be used outside of this translation unit
__visible bool ex_handler_default(const struct exception_table_entry *fixup,
^
static
arch/x86/mm/extable.c:36:16: warning: no previous prototype for function 'ex_handler_fault' [-Wmissing-prototypes]
__visible bool ex_handler_fault(const struct exception_table_entry *fixup,
^
arch/x86/mm/extable.c:36:11: note: declare 'static' if the function is not intended to be used outside of this translation unit
__visible bool ex_handler_fault(const struct exception_table_entry *fixup,
^
static
arch/x86/mm/extable.c:57:16: warning: no previous prototype for function 'ex_handler_fprestore' [-Wmissing-prototypes]
__visible bool ex_handler_fprestore(const struct exception_table_entry *fixup,
^
arch/x86/mm/extable.c:57:11: note: declare 'static' if the function is not intended to be used outside of this translation unit
__visible bool ex_handler_fprestore(const struct exception_table_entry *fixup,
^
static
arch/x86/mm/extable.c:72:16: warning: no previous prototype for function 'ex_handler_uaccess' [-Wmissing-prototypes]
__visible bool ex_handler_uaccess(const struct exception_table_entry *fixup,
^
arch/x86/mm/extable.c:72:11: note: declare 'static' if the function is not intended to be used outside of this translation unit
__visible bool ex_handler_uaccess(const struct exception_table_entry *fixup,
^
static
arch/x86/mm/extable.c:83:16: warning: no previous prototype for function 'ex_handler_rdmsr_unsafe' [-Wmissing-prototypes]
__visible bool ex_handler_rdmsr_unsafe(const struct exception_table_entry *fixup,
^
arch/x86/mm/extable.c:83:11: note: declare 'static' if the function is not intended to be used outside of this translation unit
__visible bool ex_handler_rdmsr_unsafe(const struct exception_table_entry *fixup,
^
static
arch/x86/mm/extable.c:100:16: warning: no previous prototype for function 'ex_handler_wrmsr_unsafe' [-Wmissing-prototypes]
__visible bool ex_handler_wrmsr_unsafe(const struct exception_table_entry *fixup,
vim +/arch_prepare_bpf_dispatcher +1713 arch/x86/net/bpf_jit_comp64.c
75ccbef6369e94 arch/x86/net/bpf_jit_comp.c Björn Töpel 2019-12-13 1712
75ccbef6369e94 arch/x86/net/bpf_jit_comp.c Björn Töpel 2019-12-13 @1713 int arch_prepare_bpf_dispatcher(void *image, s64 *funcs, int num_funcs)
75ccbef6369e94 arch/x86/net/bpf_jit_comp.c Björn Töpel 2019-12-13 1714 {
75ccbef6369e94 arch/x86/net/bpf_jit_comp.c Björn Töpel 2019-12-13 1715 u8 *prog = image;
75ccbef6369e94 arch/x86/net/bpf_jit_comp.c Björn Töpel 2019-12-13 1716
75ccbef6369e94 arch/x86/net/bpf_jit_comp.c Björn Töpel 2019-12-13 1717 sort(funcs, num_funcs, sizeof(funcs[0]), cmp_ips, NULL);
75ccbef6369e94 arch/x86/net/bpf_jit_comp.c Björn Töpel 2019-12-13 1718 return emit_bpf_dispatcher(&prog, 0, num_funcs - 1, funcs);
75ccbef6369e94 arch/x86/net/bpf_jit_comp.c Björn Töpel 2019-12-13 1719 }
75ccbef6369e94 arch/x86/net/bpf_jit_comp.c Björn Töpel 2019-12-13 1720
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years
net/netrom/af_netrom.c:309:13: sparse: sparse: incorrect type in initializer (different address spaces)
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 7c30b859a947535f2213277e827d7ac7dcff9c84
commit: 670d0a4b10704667765f7d18f7592993d02783aa sparse: use identifiers to define address spaces
date: 12 days ago
config: sh-randconfig-s031-20200630 (attached as .config)
compiler: sh4-linux-gcc (GCC) 9.3.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# apt-get install sparse
# sparse version: v0.6.2-3-gfa153962-dirty
git checkout 670d0a4b10704667765f7d18f7592993d02783aa
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross C= CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=sh
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
sparse warnings: (new ones prefixed by >>)
>> net/netrom/af_netrom.c:309:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@
net/netrom/af_netrom.c:309:13: sparse: expected unsigned int const *__gu_addr
>> net/netrom/af_netrom.c:309:13: sparse: got unsigned int [noderef] __user *
>> net/netrom/af_netrom.c:309:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user * @@ got unsigned int const *__gu_addr @@
>> net/netrom/af_netrom.c:309:13: sparse: expected void const volatile [noderef] __user *
net/netrom/af_netrom.c:309:13: sparse: got unsigned int const *__gu_addr
>> net/netrom/af_netrom.c:359:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *optlen @@
net/netrom/af_netrom.c:359:13: sparse: expected int const *__gu_addr
>> net/netrom/af_netrom.c:359:13: sparse: got int [noderef] __user *optlen
>> net/netrom/af_netrom.c:359:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user * @@ got int const *__gu_addr @@
net/netrom/af_netrom.c:359:13: sparse: expected void const volatile [noderef] __user *
net/netrom/af_netrom.c:359:13: sparse: got int const *__gu_addr
--
drivers/spi/spidev.c:396:34: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned char const *__gu_addr @@ got unsigned char [noderef] [usertype] __user * @@
drivers/spi/spidev.c:396:34: sparse: expected unsigned char const *__gu_addr
drivers/spi/spidev.c:396:34: sparse: got unsigned char [noderef] [usertype] __user *
>> drivers/spi/spidev.c:396:34: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user * @@ got unsigned char const *__gu_addr @@
>> drivers/spi/spidev.c:396:34: sparse: expected void const volatile [noderef] __user *
drivers/spi/spidev.c:396:34: sparse: got unsigned char const *__gu_addr
drivers/spi/spidev.c:398:34: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user * @@
drivers/spi/spidev.c:398:34: sparse: expected unsigned int const *__gu_addr
drivers/spi/spidev.c:398:34: sparse: got unsigned int [noderef] [usertype] __user *
>> drivers/spi/spidev.c:398:34: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user * @@ got unsigned int const *__gu_addr @@
drivers/spi/spidev.c:398:34: sparse: expected void const volatile [noderef] __user *
drivers/spi/spidev.c:398:34: sparse: got unsigned int const *__gu_addr
drivers/spi/spidev.c:422:26: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned char const *__gu_addr @@ got unsigned char [noderef] [usertype] __user * @@
drivers/spi/spidev.c:422:26: sparse: expected unsigned char const *__gu_addr
drivers/spi/spidev.c:422:26: sparse: got unsigned char [noderef] [usertype] __user *
drivers/spi/spidev.c:422:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user * @@ got unsigned char const *__gu_addr @@
drivers/spi/spidev.c:422:26: sparse: expected void const volatile [noderef] __user *
drivers/spi/spidev.c:422:26: sparse: got unsigned char const *__gu_addr
drivers/spi/spidev.c:439:26: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned char const *__gu_addr @@ got unsigned char [noderef] [usertype] __user * @@
drivers/spi/spidev.c:439:26: sparse: expected unsigned char const *__gu_addr
drivers/spi/spidev.c:439:26: sparse: got unsigned char [noderef] [usertype] __user *
drivers/spi/spidev.c:439:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user * @@ got unsigned char const *__gu_addr @@
drivers/spi/spidev.c:439:26: sparse: expected void const volatile [noderef] __user *
drivers/spi/spidev.c:439:26: sparse: got unsigned char const *__gu_addr
drivers/spi/spidev.c:452:26: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user * @@
drivers/spi/spidev.c:452:26: sparse: expected unsigned int const *__gu_addr
drivers/spi/spidev.c:452:26: sparse: got unsigned int [noderef] [usertype] __user *
drivers/spi/spidev.c:452:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user * @@ got unsigned int const *__gu_addr @@
drivers/spi/spidev.c:452:26: sparse: expected void const volatile [noderef] __user *
drivers/spi/spidev.c:452:26: sparse: got unsigned int const *__gu_addr
--
>> drivers/net/hamradio/6pack.c:710:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@
drivers/net/hamradio/6pack.c:710:21: sparse: expected int const *__gu_addr
>> drivers/net/hamradio/6pack.c:710:21: sparse: got int [noderef] __user *
>> drivers/net/hamradio/6pack.c:710:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user * @@ got int const *__gu_addr @@
>> drivers/net/hamradio/6pack.c:710:21: sparse: expected void const volatile [noderef] __user *
drivers/net/hamradio/6pack.c:710:21: sparse: got int const *__gu_addr
{standard input}: Assembler messages:
{standard input}:1340: Error: unknown opcode
{standard input}:1371: Error: unknown opcode
{standard input}:1576: Error: unknown opcode
{standard input}:1853: Error: unknown opcode
{standard input}:2081: Error: unknown opcode
{standard input}:2320: Error: unknown opcode
{standard input}:2893: Error: unknown opcode
{standard input}:3462: Error: unknown opcode
{standard input}:3750: Error: unknown opcode
{standard input}:4086: Error: unknown opcode
{standard input}:4363: Error: unknown opcode
{standard input}:6410: Error: unknown opcode
make[4]: *** [scripts/Makefile.build:281: drivers/net/hamradio/6pack.o] Error 1
drivers/net/hamradio/baycom_ser_fdx.c:290:43: sparse: sparse: dubious: x | !y
{standard input}: Assembler messages:
{standard input}:1038: Error: unknown opcode
{standard input}:1546: Error: unknown opcode
{standard input}:1696: Error: unknown opcode
{standard input}:1890: Error: unknown opcode
{standard input}:2760: Error: unknown opcode
make[4]: *** [scripts/Makefile.build:280: drivers/net/hamradio/hdlcdrv.o] Error 1
make[4]: Target '__build' not remade because of errors.
--
drivers/net/slip/slip.c:458:14: sparse: sparse: incompatible types in comparison expression (different address spaces):
drivers/net/slip/slip.c:458:14: sparse: void [noderef] __rcu *
drivers/net/slip/slip.c:458:14: sparse: void *
drivers/net/slip/slip.c:892:9: sparse: sparse: incompatible types in comparison expression (different address spaces):
drivers/net/slip/slip.c:892:9: sparse: void [noderef] __rcu *
drivers/net/slip/slip.c:892:9: sparse: void *
drivers/net/slip/slip.c:1099:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@
>> drivers/net/slip/slip.c:1099:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user * @@ got int const *__gu_addr @@
drivers/net/slip/slip.c:1124:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@
drivers/net/slip/slip.c:1124:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user * @@ got int const *__gu_addr @@
drivers/net/slip/slip.c:1150:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@
drivers/net/slip/slip.c:1150:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user * @@ got int const *__gu_addr @@
arch/sh/include/asm/checksum_32.h:116:27: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected restricted __wsum [usertype] sum @@ got unsigned int [assigned] sum @@
arch/sh/include/asm/checksum_32.h:116:27: sparse: expected restricted __wsum [usertype] sum
arch/sh/include/asm/checksum_32.h:116:27: sparse: got unsigned int [assigned] sum
arch/sh/include/asm/checksum_32.h:116:27: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected restricted __wsum [usertype] sum @@ got unsigned int [assigned] sum @@
arch/sh/include/asm/checksum_32.h:116:27: sparse: expected restricted __wsum [usertype] sum
arch/sh/include/asm/checksum_32.h:116:27: sparse: got unsigned int [assigned] sum
arch/sh/include/asm/checksum_32.h:116:27: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected restricted __wsum [usertype] sum @@ got unsigned int [assigned] sum @@
arch/sh/include/asm/checksum_32.h:116:27: sparse: expected restricted __wsum [usertype] sum
arch/sh/include/asm/checksum_32.h:116:27: sparse: got unsigned int [assigned] sum
arch/sh/include/asm/checksum_32.h:116:27: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected restricted __wsum [usertype] sum @@ got unsigned int [assigned] sum @@
arch/sh/include/asm/checksum_32.h:116:27: sparse: expected restricted __wsum [usertype] sum
arch/sh/include/asm/checksum_32.h:116:27: sparse: got unsigned int [assigned] sum
arch/sh/include/asm/checksum_32.h:116:27: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected restricted __wsum [usertype] sum @@ got unsigned int [assigned] sum @@
arch/sh/include/asm/checksum_32.h:116:27: sparse: expected restricted __wsum [usertype] sum
arch/sh/include/asm/checksum_32.h:116:27: sparse: got unsigned int [assigned] sum
{standard input}: Assembler messages:
{standard input}:50: Error: unknown opcode
{standard input}:113: Error: unknown opcode
{standard input}:878: Error: unknown opcode
{standard input}:931: Error: unknown opcode
{standard input}:4211: Error: unknown opcode
{standard input}:4254: Error: unknown opcode
{standard input}:4693: Error: unknown opcode
{standard input}:4736: Error: unknown opcode
{standard input}:6118: Error: unknown opcode
{standard input}:6216: Error: unknown opcode
{standard input}:6472: Error: unknown opcode
{standard input}:6541: Error: unknown opcode
{standard input}:6631: Error: unknown opcode
make[4]: *** [scripts/Makefile.build:281: drivers/net/slip/slip.o] Error 1
make[4]: Target '__build' not remade because of errors.
--
>> drivers/net/hamradio/6pack.c:710:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@
drivers/net/hamradio/6pack.c:710:21: sparse: expected int const *__gu_addr
>> drivers/net/hamradio/6pack.c:710:21: sparse: got int [noderef] __user *
>> drivers/net/hamradio/6pack.c:710:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user * @@ got int const *__gu_addr @@
>> drivers/net/hamradio/6pack.c:710:21: sparse: expected void const volatile [noderef] __user *
drivers/net/hamradio/6pack.c:710:21: sparse: got int const *__gu_addr
--
drivers/net/slip/slip.c:458:14: sparse: sparse: incompatible types in comparison expression (different address spaces):
drivers/net/slip/slip.c:458:14: sparse: void [noderef] __rcu *
drivers/net/slip/slip.c:458:14: sparse: void *
drivers/net/slip/slip.c:892:9: sparse: sparse: incompatible types in comparison expression (different address spaces):
drivers/net/slip/slip.c:892:9: sparse: void [noderef] __rcu *
drivers/net/slip/slip.c:892:9: sparse: void *
drivers/net/slip/slip.c:1099:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@
>> drivers/net/slip/slip.c:1099:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user * @@ got int const *__gu_addr @@
drivers/net/slip/slip.c:1124:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@
drivers/net/slip/slip.c:1124:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user * @@ got int const *__gu_addr @@
drivers/net/slip/slip.c:1150:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@
drivers/net/slip/slip.c:1150:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user * @@ got int const *__gu_addr @@
--
drivers/tty/pty.c:183:13: sparse: got int [noderef] __user *arg
drivers/tty/pty.c:183:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user * @@ got int const *__gu_addr @@
drivers/tty/pty.c:183:13: sparse: expected void const volatile [noderef] __user *
drivers/tty/pty.c:183:13: sparse: got int const *__gu_addr
make[3]: *** [scripts/Makefile.build:281: drivers/dma-buf/sync_file.o] Error 1
net/ipv4/ip_sockglue.c:759:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@
net/ipv4/ip_sockglue.c:759:29: sparse: expected int const *__gu_addr
net/ipv4/ip_sockglue.c:759:29: sparse: got int [noderef] __user *
net/ipv4/ip_sockglue.c:759:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user * @@ got int const *__gu_addr @@
net/ipv4/ip_sockglue.c:759:29: sparse: expected void const volatile [noderef] __user *
net/ipv4/ip_sockglue.c:759:29: sparse: got int const *__gu_addr
net/ipv4/ip_sockglue.c:764:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned char const *__gu_addr @@ got unsigned char [noderef] __user * @@
net/ipv4/ip_sockglue.c:764:29: sparse: expected unsigned char const *__gu_addr
net/ipv4/ip_sockglue.c:764:29: sparse: got unsigned char [noderef] __user *
net/ipv4/ip_sockglue.c:764:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user * @@ got unsigned char const *__gu_addr @@
net/ipv4/ip_sockglue.c:764:29: sparse: expected void const volatile [noderef] __user *
net/ipv4/ip_sockglue.c:764:29: sparse: got unsigned char const *__gu_addr
net/ipv4/ip_sockglue.c:1486:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *optlen @@
net/ipv4/ip_sockglue.c:1486:13: sparse: expected int const *__gu_addr
net/ipv4/ip_sockglue.c:1486:13: sparse: got int [noderef] __user *optlen
net/ipv4/ip_sockglue.c:1486:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user * @@ got int const *__gu_addr @@
net/ipv4/ip_sockglue.c:1486:13: sparse: expected void const volatile [noderef] __user *
net/ipv4/ip_sockglue.c:1486:13: sparse: got int const *__gu_addr
{standard input}:27022: Error: unknown opcode
{standard input}:27272: Error: unknown opcode
{standard input}:27304: Error: unknown opcode
make[3]: Target '__build' not remade because of errors.
make[2]: *** [scripts/Makefile.build:497: net/llc] Error 2
make[3]: *** [scripts/Makefile.build:280: net/core/neighbour.o] Error 1
{standard input}:27788: Error: unknown opcode
{standard input}:27931: Error: unknown opcode
{standard input}:28560: Error: unknown opcode
{standard input}:29015: Error: unknown opcode
{standard input}:29090: Error: unknown opcode
{standard input}:29469: Error: unknown opcode
make[4]: Target '__build' not remade because of errors.
make[3]: *** [scripts/Makefile.build:497: drivers/base/regmap] Error 2
{standard input}: Assembler messages:
{standard input}:864: Error: unknown opcode
{standard input}:917: Error: unknown opcode
{standard input}:1952: Error: unknown opcode
{standard input}:2118: Error: unknown opcode
{standard input}:2536: Error: unknown opcode
{standard input}:2597: Error: unknown opcode
make[3]: *** [scripts/Makefile.build:281: net/bridge/br_device.o] Error 1
make[3]: *** [scripts/Makefile.build:280: net/packet/af_packet.o] Error 1
make[3]: Target '__build' not remade because of errors.
make[2]: *** [scripts/Makefile.build:497: net/packet] Error 2
{standard input}:29907: Error: unknown opcode
{standard input}:31270: Error: unknown opcode
{standard input}:31449: Error: unknown opcode
{standard input}:32568: Error: unknown opcode
net/appletalk/aarp.c:68: warning: Function parameter or member 'last_sent' not described in 'aarp_entry'
net/appletalk/aarp.c:68: warning: Function parameter or member 'packet_queue' not described in 'aarp_entry'
net/appletalk/aarp.c:68: warning: Function parameter or member 'status' not described in 'aarp_entry'
net/appletalk/aarp.c:68: warning: Function parameter or member 'expires_at' not described in 'aarp_entry'
net/appletalk/aarp.c:68: warning: Function parameter or member 'target_addr' not described in 'aarp_entry'
net/appletalk/aarp.c:68: warning: Function parameter or member 'dev' not described in 'aarp_entry'
net/appletalk/aarp.c:68: warning: Function parameter or member 'hwaddr' not described in 'aarp_entry'
net/appletalk/aarp.c:68: warning: Function parameter or member 'xmit_count' not described in 'aarp_entry'
net/appletalk/aarp.c:68: warning: Function parameter or member 'next' not described in 'aarp_entry'
make[3]: *** [scripts/Makefile.build:280: net/core/rtnetlink.o] Error 1
{standard input}:35660: Error: unknown opcode
{standard input}: Assembler messages:
{standard input}:66: Error: unknown opcode
{standard input}:129: Error: unknown opcode
{standard input}: Assembler messages:
{standard input}:1292: Error: unknown opcode
{standard input}:1323: Error: unknown opcode
{standard input}:1550: Error: unknown opcode
{standard input}:36867: Error: unknown opcode
{standard input}:2519: Error: unknown opcode
make[3]: *** [scripts/Makefile.build:281: net/ipv6/anycast.o] Error 1
{standard input}:2306: Error: unknown opcode
{standard input}:4145: Error: unknown opcode
{standard input}:4785: Error: unknown opcode
{standard input}:6063: Error: unknown opcode
{standard input}:6408: Error: unknown opcode
net/x25/af_x25.c:448:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@
net/x25/af_x25.c:448:13: sparse: expected int const *__gu_addr
net/x25/af_x25.c:448:13: sparse: got int [noderef] __user *
net/x25/af_x25.c:448:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user * @@ got int const *__gu_addr @@
net/x25/af_x25.c:448:13: sparse: expected void const volatile [noderef] __user *
net/x25/af_x25.c:448:13: sparse: got int const *__gu_addr
net/x25/af_x25.c:470:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *optlen @@
net/x25/af_x25.c:470:13: sparse: expected int const *__gu_addr
net/x25/af_x25.c:470:13: sparse: got int [noderef] __user *optlen
net/x25/af_x25.c:470:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user * @@ got int const *__gu_addr @@
net/x25/af_x25.c:470:13: sparse: expected void const volatile [noderef] __user *
net/x25/af_x25.c:470:13: sparse: got int const *__gu_addr
{standard input}: Assembler messages:
{standard input}:2717: Error: unknown opcode
{standard input}:2748: Error: unknown opcode
{standard input}:2902: Error: unknown opcode
{standard input}:3899: Error: unknown opcode
{standard input}:7318: Error: unknown opcode
{standard input}:7424: Error: unknown opcode
{standard input}:8378: Error: unknown opcode
{standard input}:43209: Error: unknown opcode
{standard input}:44807: Error: unknown opcode
>> net/netrom/af_netrom.c:309:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@
net/netrom/af_netrom.c:309:13: sparse: expected unsigned int const *__gu_addr
>> net/netrom/af_netrom.c:309:13: sparse: got unsigned int [noderef] __user *
>> net/netrom/af_netrom.c:309:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user * @@ got unsigned int const *__gu_addr @@
>> net/netrom/af_netrom.c:309:13: sparse: expected void const volatile [noderef] __user *
net/netrom/af_netrom.c:309:13: sparse: got unsigned int const *__gu_addr
>> net/netrom/af_netrom.c:359:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *optlen @@
net/netrom/af_netrom.c:359:13: sparse: expected int const *__gu_addr
>> net/netrom/af_netrom.c:359:13: sparse: got int [noderef] __user *optlen
>> net/netrom/af_netrom.c:359:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user * @@ got int const *__gu_addr @@
net/netrom/af_netrom.c:359:13: sparse: expected void const volatile [noderef] __user *
net/netrom/af_netrom.c:359:13: sparse: got int const *__gu_addr
make[4]: Target '__build' not remade because of errors.
make[2]: *** [scripts/Makefile.build:497: drivers/char] Error 2
make[3]: *** [scripts/Makefile.build:497: drivers/char/tpm] Error 2
make[3]: Target '__build' not remade because of errors.
{standard input}: Assembler messages:
{standard input}:50: Error: unknown opcode
{standard input}:3142: Error: unknown opcode
{standard input}:3367: Error: unknown opcode
{standard input}:3419: Error: unknown opcode
{standard input}:3809: Error: unknown opcode
{standard input}:3958: Error: unknown opcode
{standard input}:44867: Error: unknown opcode
{standard input}:46057: Error: unknown opcode
{standard input}:46977: Error: unknown opcode
make[3]: *** [scripts/Makefile.build:280: drivers/tty/pty.o] Error 1
{standard input}: Assembler messages:
{standard input}:980: Error: unknown opcode
{standard input}:15342: Error: unknown opcode
{standard input}:15419: Error: unknown opcode
{standard input}:15531: Error: unknown opcode
{standard input}:15578: Error: unknown opcode
{standard input}:15897: Error: unknown opcode
make[3]: *** [scripts/Makefile.build:281: net/bridge/br_fdb.o] Error 1
{standard input}:47787: Error: unknown opcode
{standard input}:48665: Error: unknown opcode
make[3]: *** [scripts/Makefile.build:281: net/ipv4/ip_options.o] Error 1
{standard input}:49563: Error: unknown opcode
{standard input}:49639: Error: unknown opcode
net/ipv6/addrconf.c:6944:38: sparse: sparse: incorrect type in argument 3 (incompatible argument 3 (different address spaces)) @@ expected int ( [usertype] *proc_handler )( ... ) @@ got int ( * )( ... ) @@
net/ipv6/addrconf.c:6944:38: sparse: expected int ( [usertype] *proc_handler )( ... )
net/ipv6/addrconf.c:6944:38: sparse: got int ( * )( ... )
make[3]: *** [scripts/Makefile.build:281: net/appletalk/ddp.o] Error 1
drivers/tty/serial/sifive.c:157: warning: cannot understand function prototype: 'struct sifive_serial_port '
{standard input}: Assembler messages:
{standard input}:2000: Error: unknown opcode
{standard input}:2139: Error: unknown opcode
{standard input}:2186: Error: unknown opcode
make[4]: Target '__build' not remade because of errors.
make[3]: *** [scripts/Makefile.build:497: drivers/tty/serial] Error 2
{standard input}: Assembler messages:
{standard input}:1176: Error: unknown opcode
{standard input}:1207: Error: unknown opcode
{standard input}:3244: Error: unknown opcode
{standard input}:4093: Error: unknown opcode
make[3]: *** [scripts/Makefile.build:280: drivers/dma-buf/sw_sync.o] Error 1
make[2]: *** [scripts/Makefile.build:497: drivers/dma-buf] Error 2
make[3]: Target '__build' not remade because of errors.
{standard input}:5115: Error: unknown opcode
{standard input}:5303: Error: unknown opcode
{standard input}:6264: Error: unknown opcode
drivers/tty/sysrq.c:1112:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected char const *__gu_addr @@ got char const [noderef] __user *buf @@
drivers/tty/sysrq.c:1112:21: sparse: expected char const *__gu_addr
drivers/tty/sysrq.c:1112:21: sparse: got char const [noderef] __user *buf
drivers/tty/sysrq.c:1112:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user * @@ got char const *__gu_addr @@
drivers/tty/sysrq.c:1112:21: sparse: expected void const volatile [noderef] __user *
drivers/tty/sysrq.c:1112:21: sparse: got char const *__gu_addr
drivers/tty/sysrq.c:148:13: sparse: sparse: context imbalance in 'sysrq_handle_crash' - unexpected unlock
{standard input}: Assembler messages:
{standard input}:1765: Error: unknown opcode
{standard input}:1904: Error: unknown opcode
{standard input}:1951: Error: unknown opcode
make[3]: Target '__build' not remade because of errors.
make[2]: *** [scripts/Makefile.build:497: drivers/misc] Error 2
{standard input}: Assembler messages:
{standard input}:2813: Error: unknown opcode
{standard input}:4294: Error: unknown opcode
{standard input}:4937: Error: unknown opcode
{standard input}: Assembler messages:
{standard input}:1441: Error: unknown opcode
{standard input}:58795: Error: unknown opcode
make[3]: *** [scripts/Makefile.build:280: drivers/base/dd.o] Error 1
{standard input}: Assembler messages:
{standard input}:267: Error: unknown opcode
{standard input}:314: Error: unknown opcode
{standard input}:1655: Error: unknown opcode
{standard input}:3214: Error: unknown opcode
{standard input}:3412: Error: unknown opcode
net/ipv4/inet_connection_sock.c:181:36: sparse: sparse: context imbalance in 'inet_csk_find_open_port' - wrong count at exit
net/ipv4/inet_connection_sock.c:348:24: sparse: sparse: context imbalance in 'inet_csk_get_port' - different lock contexts for basic block
net/ipv4/inet_connection_sock.c:1000:9: sparse: sparse: context imbalance in 'inet_csk_complete_hashdance' - unexpected unlock
{standard input}:7929: Error: unknown opcode
{standard input}:2893: Error: unknown opcode
{standard input}:4277: Error: unknown opcode
{standard input}:4308: Error: unknown opcode
{standard input}:6070: Error: unknown opcode
{standard input}:6159: Error: unknown opcode
{standard input}:9662: Error: unknown opcode
make[3]: *** [scripts/Makefile.build:281: net/ipv6/ip6_input.o] Error 1
drivers/base/platform.c:1352:20: warning: no previous prototype for 'early_platform_cleanup' [-Wmissing-prototypes]
1352 | void __weak __init early_platform_cleanup(void) { }
| ^~~~~~~~~~~~~~~~~~~~~~
{standard input}:6875: Error: unknown opcode
{standard input}:10789: Error: unknown opcode
{standard input}:10861: Error: unknown opcode
make[3]: *** [scripts/Makefile.build:281: net/ipv4/ip_sockglue.o] Error 1
{standard input}: Assembler messages:
{standard input}:3561: Error: unknown opcode
--
net/ax25/af_ax25.c:695:13: sparse: expected void const volatile [noderef] __user *
net/ax25/af_ax25.c:695:13: sparse: got int const *__gu_addr
net/ax25/af_ax25.c:1736:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected long const *__gu_addr @@ got long [noderef] __user * @@
net/ax25/af_ax25.c:1736:21: sparse: expected long const *__gu_addr
net/ax25/af_ax25.c:1736:21: sparse: got long [noderef] __user *
net/ax25/af_ax25.c:1736:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user * @@ got long const *__gu_addr @@
net/ax25/af_ax25.c:1736:21: sparse: expected void const volatile [noderef] __user *
net/ax25/af_ax25.c:1736:21: sparse: got long const *__gu_addr
{standard input}:5040: Error: unknown opcode
{standard input}:5088: Error: unknown opcode
{standard input}:3287: Error: unknown opcode
{standard input}:6781: Error: unknown opcode
{standard input}:6827: Error: unknown opcode
net/phonet/pep.c:986:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@
net/phonet/pep.c:986:21: sparse: expected int const *__gu_addr
net/phonet/pep.c:986:21: sparse: got int [noderef] __user *
net/phonet/pep.c:986:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user * @@ got int const *__gu_addr @@
net/phonet/pep.c:986:21: sparse: expected void const volatile [noderef] __user *
net/phonet/pep.c:986:21: sparse: got int const *__gu_addr
net/phonet/pep.c:1047:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *optlen @@
net/phonet/pep.c:1047:13: sparse: expected int const *__gu_addr
net/phonet/pep.c:1047:13: sparse: got int [noderef] __user *optlen
net/phonet/pep.c:1047:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user * @@ got int const *__gu_addr @@
net/phonet/pep.c:1047:13: sparse: expected void const volatile [noderef] __user *
net/phonet/pep.c:1047:13: sparse: got int const *__gu_addr
make[3]: *** [scripts/Makefile.build:281: net/ipv4/raw.o] Error 1
make[3]: *** [scripts/Makefile.build:281: drivers/spi/spi.o] Error 1
{standard input}:5219: Error: unknown opcode
{standard input}:5282: Error: unknown opcode
{standard input}:6306: Error: unknown opcode
drivers/mtd/devices/phram.c:19: warning: Function parameter or member 'fmt' not described in 'pr_fmt'
make[5]: *** [scripts/Makefile.build:280: drivers/mtd/nand/onenand/onenand_base.o] Error 1
make[5]: Target '__build' not remade because of errors.
make[4]: *** [scripts/Makefile.build:497: drivers/mtd/nand/onenand] Error 2
{standard input}:10001: Error: unknown opcode
{standard input}:10258: Error: unknown opcode
{standard input}:10390: Error: unknown opcode
{standard input}:10540: Error: unknown opcode
{standard input}:10770: Error: unknown opcode
{standard input}:11490: Error: unknown opcode
{standard input}:11559: Error: unknown opcode
{standard input}:11759: Error: unknown opcode
{standard input}:11790: Error: unknown opcode
{standard input}:11885: Error: unknown opcode
make[3]: *** [scripts/Makefile.build:281: net/bluetooth/hci_sock.o] Error 1
{standard input}: Assembler messages:
{standard input}:350: Error: unknown opcode
{standard input}:585: Error: unknown opcode
{standard input}:706: Error: unknown opcode
drivers/mfd/mfd-core.c:326: warning: Function parameter or member 'dev' not described in 'devm_mfd_add_devices'
drivers/mfd/mfd-core.c:326: warning: Function parameter or member 'id' not described in 'devm_mfd_add_devices'
drivers/mfd/mfd-core.c:326: warning: Function parameter or member 'cells' not described in 'devm_mfd_add_devices'
drivers/mfd/mfd-core.c:326: warning: Function parameter or member 'n_devs' not described in 'devm_mfd_add_devices'
drivers/mfd/mfd-core.c:326: warning: Function parameter or member 'mem_base' not described in 'devm_mfd_add_devices'
drivers/mfd/mfd-core.c:326: warning: Function parameter or member 'irq_base' not described in 'devm_mfd_add_devices'
drivers/mfd/mfd-core.c:326: warning: Function parameter or member 'domain' not described in 'devm_mfd_add_devices'
{standard input}: Assembler messages:
{standard input}:759: Error: unknown opcode
drivers/mtd/chips/map_ram.c:93:15: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected void * @@ got void [noderef] __iomem * @@
drivers/mtd/chips/map_ram.c:93:15: sparse: expected void *
drivers/mtd/chips/map_ram.c:93:15: sparse: got void [noderef] __iomem *
make[4]: *** [scripts/Makefile.build:281: drivers/mtd/chips/gen_probe.o] Error 1
{standard input}: Assembler messages:
{standard input}:75: Error: unknown opcode
{standard input}:1766: Error: unknown opcode
{standard input}:1814: Error: unknown opcode
{standard input}:12106: Error: unknown opcode
{standard input}: Assembler messages:
{standard input}:1155: Error: unknown opcode
{standard input}:2560: Error: unknown opcode
{standard input}:2592: Error: unknown opcode
{standard input}:2699: Error: unknown opcode
{standard input}:3078: Error: unknown opcode
{standard input}:3109: Error: unknown opcode
make[3]: *** [scripts/Makefile.build:281: net/phonet/af_phonet.o] Error 1
{standard input}:7351: Error: unknown opcode
{standard input}:7382: Error: unknown opcode
{standard input}:7764: Error: unknown opcode
{standard input}:8187: Error: unknown opcode
{standard input}:8273: Error: unknown opcode
{standard input}: Assembler messages:
{standard input}:8496: Error: unknown opcode
{standard input}:8587: Error: unknown opcode
{standard input}:8635: Error: unknown opcode
{standard input}:8980: Error: unknown opcode
{standard input}: Assembler messages:
{standard input}:807: Error: unknown opcode
{standard input}:988: Error: unknown opcode
{standard input}:4646: Error: unknown opcode
make[4]: *** [scripts/Makefile.build:281: drivers/mtd/devices/block2mtd.o] Error 1
{standard input}: Assembler messages:
{standard input}:466: Error: unknown opcode
{standard input}:497: Error: unknown opcode
{standard input}:709: Error: unknown opcode
make[3]: *** [scripts/Makefile.build:280: net/ax25/ax25_uid.o] Error 1
{standard input}:12301: Error: unknown opcode
make[3]: *** [scripts/Makefile.build:281: net/wireless/util.o] Error 1
drivers/spi/spidev.c:396:34: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned char const *__gu_addr @@ got unsigned char [noderef] [usertype] __user * @@
drivers/spi/spidev.c:396:34: sparse: expected unsigned char const *__gu_addr
drivers/spi/spidev.c:396:34: sparse: got unsigned char [noderef] [usertype] __user *
>> drivers/spi/spidev.c:396:34: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user * @@ got unsigned char const *__gu_addr @@
>> drivers/spi/spidev.c:396:34: sparse: expected void const volatile [noderef] __user *
drivers/spi/spidev.c:396:34: sparse: got unsigned char const *__gu_addr
drivers/spi/spidev.c:398:34: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user * @@
drivers/spi/spidev.c:398:34: sparse: expected unsigned int const *__gu_addr
drivers/spi/spidev.c:398:34: sparse: got unsigned int [noderef] [usertype] __user *
>> drivers/spi/spidev.c:398:34: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user * @@ got unsigned int const *__gu_addr @@
drivers/spi/spidev.c:398:34: sparse: expected void const volatile [noderef] __user *
drivers/spi/spidev.c:398:34: sparse: got unsigned int const *__gu_addr
drivers/spi/spidev.c:422:26: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned char const *__gu_addr @@ got unsigned char [noderef] [usertype] __user * @@
drivers/spi/spidev.c:422:26: sparse: expected unsigned char const *__gu_addr
drivers/spi/spidev.c:422:26: sparse: got unsigned char [noderef] [usertype] __user *
drivers/spi/spidev.c:422:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user * @@ got unsigned char const *__gu_addr @@
drivers/spi/spidev.c:422:26: sparse: expected void const volatile [noderef] __user *
drivers/spi/spidev.c:422:26: sparse: got unsigned char const *__gu_addr
drivers/spi/spidev.c:439:26: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned char const *__gu_addr @@ got unsigned char [noderef] [usertype] __user * @@
drivers/spi/spidev.c:439:26: sparse: expected unsigned char const *__gu_addr
drivers/spi/spidev.c:439:26: sparse: got unsigned char [noderef] [usertype] __user *
drivers/spi/spidev.c:439:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user * @@ got unsigned char const *__gu_addr @@
drivers/spi/spidev.c:439:26: sparse: expected void const volatile [noderef] __user *
drivers/spi/spidev.c:439:26: sparse: got unsigned char const *__gu_addr
drivers/spi/spidev.c:452:26: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user * @@
drivers/spi/spidev.c:452:26: sparse: expected unsigned int const *__gu_addr
drivers/spi/spidev.c:452:26: sparse: got unsigned int [noderef] [usertype] __user *
drivers/spi/spidev.c:452:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user * @@ got unsigned int const *__gu_addr @@
drivers/spi/spidev.c:452:26: sparse: expected void const volatile [noderef] __user *
drivers/spi/spidev.c:452:26: sparse: got unsigned int const *__gu_addr
{standard input}: Assembler messages:
{standard input}:874: Error: unknown opcode
{standard input}:1901: Error: unknown opcode
{standard input}:2245: Error: unknown opcode
{standard input}:2276: Error: unknown opcode
make[3]: *** [scripts/Makefile.build:281: net/phonet/pep-gprs.o] Error 1
drivers/mtd/nand/spi/toshiba.c:36: warning: Function parameter or member 'write_cache_variants' not described in 'SPINAND_OP_VARIANTS'
drivers/mtd/nand/spi/toshiba.c:36: warning: Function parameter or member '0' not described in 'SPINAND_OP_VARIANTS'
{standard input}:12600: Error: unknown opcode
{standard input}:13131: Error: unknown opcode
{standard input}:15828: Error: unknown opcode
{standard input}:33000: Error: unknown opcode
{standard input}:33215: Error: unknown opcode
{standard input}:33246: Error: unknown opcode
{standard input}:34197: Error: unknown opcode
{standard input}:34568: Error: unknown opcode
{standard input}: Assembler messages:
{standard input}:3526: Error: unknown opcode
{standard input}:3557: Error: unknown opcode
{standard input}:3859: Error: unknown opcode
{standard input}: Assembler messages:
{standard input}:940: Error: unknown opcode
{standard input}:1506: Error: unknown opcode
{standard input}:1737: Error: unknown opcode
{standard input}:2647: Error: unknown opcode
make[3]: *** [scripts/Makefile.build:281: drivers/target/target_core_tmr.o] Error 1
{standard input}:20117: Error: unknown opcode
{standard input}:20167: Error: unknown opcode
{standard input}:20855: Error: unknown opcode
{standard input}:21030: Error: unknown opcode
{standard input}:36297: Error: unknown opcode
{standard input}:4490: Error: unknown opcode
drivers/mtd/chips/map_rom.c:79:15: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected void * @@ got void [noderef] __iomem * @@
drivers/mtd/chips/map_rom.c:79:15: sparse: expected void *
drivers/mtd/chips/map_rom.c:79:15: sparse: got void [noderef] __iomem *
{standard input}:14370: Error: unknown opcode
{standard input}:15608: Error: unknown opcode
{standard input}:18286: Error: unknown opcode
make[4]: Target '__build' not remade because of errors.
make[3]: *** [scripts/Makefile.build:497: drivers/mtd/devices] Error 2
net/ipv4/udp_offload.c:135:60: sparse: sparse: incorrect type in argument 2 (different base types) @@ expected restricted __wsum [usertype] res @@ got fouled restricted __sum16 @@
net/ipv4/udp_offload.c:135:60: sparse: expected restricted __wsum [usertype] res
net/ipv4/udp_offload.c:135:60: sparse: got fouled restricted __sum16
net/ipv4/udp_offload.c:167:26: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct net_offload const **offloads @@ got struct net_offload const [noderef] __rcu ** @@
net/ipv4/udp_offload.c:167:26: sparse: expected struct net_offload const **offloads
net/ipv4/udp_offload.c:167:26: sparse: got struct net_offload const [noderef] __rcu **
net/ipv4/udp_offload.c:168:23: sparse: sparse: incompatible types in comparison expression (different address spaces):
net/ipv4/udp_offload.c:168:23: sparse: struct net_offload const [noderef] __rcu *
net/ipv4/udp_offload.c:168:23: sparse: struct net_offload const *
net/ipv4/udp_offload.c:267:49: sparse: sparse: incorrect type in argument 2 (different base types) @@ expected restricted __wsum [usertype] res @@ got fouled restricted __sum16 @@
net/ipv4/udp_offload.c:267:49: sparse: expected restricted __wsum [usertype] res
net/ipv4/udp_offload.c:267:49: sparse: got fouled restricted __sum16
net/ipv4/udp_offload.c:269:60: sparse: sparse: incorrect type in argument 2 (different base types) @@ expected restricted __wsum [usertype] res @@ got fouled restricted __sum16 @@
net/ipv4/udp_offload.c:269:60: sparse: expected restricted __wsum [usertype] res
net/ipv4/udp_offload.c:269:60: sparse: got fouled restricted __sum16
net/ipv4/udp_offload.c:285:41: sparse: sparse: incorrect type in argument 2 (different base types) @@ expected restricted __wsum [usertype] res @@ got fouled restricted __sum16 @@
net/ipv4/udp_offload.c:285:41: sparse: expected restricted __wsum [usertype] res
net/ipv4/udp_offload.c:285:41: sparse: got fouled restricted __sum16
net/ipv4/udp_offload.c:287:52: sparse: sparse: incorrect type in argument 2 (different base types) @@ expected restricted __wsum [usertype] res @@ got fouled restricted __sum16 @@
net/ipv4/udp_offload.c:287:52: sparse: expected restricted __wsum [usertype] res
net/ipv4/udp_offload.c:287:52: sparse: got fouled restricted __sum16
{standard input}:22451: Error: unknown opcode
{standard input}:23124: Error: unknown opcode
{standard input}:25063: Error: unknown opcode
make[3]: *** [scripts/Makefile.build:281: net/ipv6/udp.o] Error 1
{standard input}: Assembler messages:
{standard input}:45: Error: unknown opcode
make[3]: *** [scripts/Makefile.build:281: net/bluetooth/hci_event.o] Error 1
{standard input}:11858: Error: unknown opcode
make[3]: *** [scripts/Makefile.build:280: net/ax25/af_ax25.o] Error 1
{standard input}:3142: Error: unknown opcode
{standard input}:3173: Error: unknown opcode
{standard input}:3327: Error: unknown opcode
{standard input}:3681: Error: unknown opcode
{standard input}:4932: Error: unknown opcode
{standard input}: Assembler messages:
{standard input}:2186: Error: unknown opcode
{standard input}:2660: Error: unknown opcode
make[3]: *** [scripts/Makefile.build:281: drivers/spi/spidev.o] Error 1
include/linux/bottom_half.h:32:30: sparse: sparse: context imbalance in 'icmp_reply' - different lock contexts for basic block
--
drivers/input/joystick/analog.c:179:24: sparse: sparse: not a function <noident>
drivers/input/joystick/analog.c:169:17: sparse: sparse: not a function <noident>
drivers/input/joystick/analog.c:169:17: sparse: sparse: not a function <noident>
drivers/input/joystick/analog.c:169:17: sparse: sparse: not a function <noident>
drivers/input/joystick/analog.c:169:17: sparse: sparse: not a function <noident>
drivers/input/joystick/analog.c:169:17: sparse: sparse: not a function <noident>
drivers/input/joystick/analog.c:169:17: sparse: sparse: not a function <noident>
drivers/input/joystick/analog.c:179:24: sparse: sparse: not a function <noident>
drivers/input/joystick/analog.c:179:24: sparse: sparse: not a function <noident>
drivers/input/serio/serio_raw.c:219:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected char const *__gu_addr @@ got char const [noderef] __user * @@
drivers/input/serio/serio_raw.c:219:21: sparse: expected char const *__gu_addr
drivers/input/serio/serio_raw.c:219:21: sparse: got char const [noderef] __user *
drivers/input/serio/serio_raw.c:219:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user * @@ got char const *__gu_addr @@
drivers/input/serio/serio_raw.c:219:21: sparse: expected void const volatile [noderef] __user *
drivers/input/serio/serio_raw.c:219:21: sparse: got char const *__gu_addr
{standard input}: Assembler messages:
{standard input}:73: Error: unknown opcode
{standard input}:136: Error: unknown opcode
drivers/input/joystick/analog.c:160:2: warning: #warning Precise timer not defined for this architecture. [-Wcpp]
160 | #warning Precise timer not defined for this architecture.
| ^~~~~~~
net/wireless/wext-compat.c:229: warning: Excess function parameter 'dev' description in 'cfg80211_wext_freq'
{standard input}: Assembler messages:
{standard input}:5244: Error: unknown opcode
{standard input}:5575: Error: unknown opcode
{standard input}:5630: Error: unknown opcode
{standard input}:2270: Error: unknown opcode
{standard input}:4319: Error: unknown opcode
make[4]: *** [scripts/Makefile.build:280: drivers/input/keyboard/atkbd.o] Error 1
drivers/input/rmi4/rmi_f01.c:106: warning: Cannot understand * @ctrl0 - see the bit definitions above.
on line 106 - I thought it was a doc line
{standard input}: Assembler messages:
{standard input}:1293: Error: unknown opcode
{standard input}:1324: Error: unknown opcode
{standard input}:2714: Error: unknown opcode
{standard input}:3449: Error: unknown opcode
make[3]: *** [scripts/Makefile.build:280: drivers/input/serio/serio_raw.o] Error 1
drivers/input/misc/drv260x.c: In function 'drv260x_probe':
drivers/input/misc/drv260x.c:478:20: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits]
478 | if (haptics->mode < DRV260X_LRA_MODE ||
| ^
drivers/input/misc/drv260x.c:490:23: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits]
490 | if (haptics->library < DRV260X_LIB_EMPTY ||
| ^
{standard input}:9002: Error: unknown opcode
{standard input}: Assembler messages:
{standard input}:60: Error: unknown opcode
make[4]: *** [scripts/Makefile.build:280: drivers/input/joystick/analog.o] Error 1
drivers/mfd/tps6586x.c:323:16: sparse: sparse: cast to restricted __le32
{standard input}:12235: Error: unknown opcode
{standard input}:12483: Error: unknown opcode
{standard input}:12527: Error: unknown opcode
make[3]: *** [scripts/Makefile.build:281: net/sunrpc/svcsock.o] Error 1
drivers/input/misc/drv260x.c:194: warning: Function parameter or member 'input_dev' not described in 'drv260x_data'
drivers/input/misc/drv260x.c:194: warning: Function parameter or member 'client' not described in 'drv260x_data'
drivers/input/misc/drv260x.c:194: warning: Function parameter or member 'regmap' not described in 'drv260x_data'
drivers/input/misc/drv260x.c:194: warning: Function parameter or member 'work' not described in 'drv260x_data'
drivers/input/misc/drv260x.c:194: warning: Function parameter or member 'enable_gpio' not described in 'drv260x_data'
drivers/input/misc/drv260x.c:194: warning: Function parameter or member 'regulator' not described in 'drv260x_data'
drivers/input/misc/drv260x.c:194: warning: Function parameter or member 'magnitude' not described in 'drv260x_data'
drivers/input/misc/drv260x.c:194: warning: Function parameter or member 'mode' not described in 'drv260x_data'
drivers/input/misc/drv260x.c:194: warning: Function parameter or member 'library' not described in 'drv260x_data'
drivers/input/misc/drv260x.c:194: warning: Function parameter or member 'rated_voltage' not described in 'drv260x_data'
drivers/input/misc/drv260x.c:194: warning: Function parameter or member 'overdrive_voltage' not described in 'drv260x_data'
drivers/input/misc/drv260x.c:244: warning: Function parameter or member 'voltage' not described in 'drv260x_calculate_voltage'
{standard input}: Assembler messages:
{standard input}:2063: Error: unknown opcode
make[4]: *** [scripts/Makefile.build:280: drivers/input/joystick/grip.o] Error 1
{standard input}: Assembler messages:
{standard input}:1011: Error: unknown opcode
{standard input}:1042: Error: unknown opcode
{standard input}:1237: Error: unknown opcode
make[3]: *** [scripts/Makefile.build:281: net/batman-adv/main.o] Error 1
{standard input}: Assembler messages:
{standard input}:1743: Error: unknown opcode
{standard input}:1931: Error: unknown opcode
{standard input}: Assembler messages:
{standard input}:2523: Error: unknown opcode
{standard input}:2554: Error: unknown opcode
{standard input}:2712: Error: unknown opcode
{standard input}:2894: Error: unknown opcode
{standard input}:3285: Error: unknown opcode
{standard input}:3421: Error: unknown opcode
make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_prime.o] Error 1
drivers/input/misc/drv2665.c:59: warning: Function parameter or member 'input_dev' not described in 'drv2665_data'
drivers/input/misc/drv2665.c:59: warning: Function parameter or member 'client' not described in 'drv2665_data'
drivers/input/misc/drv2665.c:59: warning: Function parameter or member 'regmap' not described in 'drv2665_data'
drivers/input/misc/drv2665.c:59: warning: Function parameter or member 'work' not described in 'drv2665_data'
drivers/input/misc/drv2665.c:59: warning: Function parameter or member 'regulator' not described in 'drv2665_data'
{standard input}:4519: Error: unknown opcode
{standard input}:4905: Error: unknown opcode
{standard input}:6574: Error: unknown opcode
{standard input}:6659: Error: unknown opcode
make[3]: *** [scripts/Makefile.build:280: net/sunrpc/svcauth_unix.o] Error 1
{standard input}: Assembler messages:
{standard input}:251: Error: unknown opcode
{standard input}:1121: Error: unknown opcode
{standard input}:1290: Error: unknown opcode
{standard input}:1707: Error: unknown opcode
make[3]: *** [scripts/Makefile.build:281: net/sunrpc/svcauth.o] Error 1
>> drivers/net/hamradio/6pack.c:710:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@
drivers/net/hamradio/6pack.c:710:21: sparse: expected int const *__gu_addr
>> drivers/net/hamradio/6pack.c:710:21: sparse: got int [noderef] __user *
>> drivers/net/hamradio/6pack.c:710:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user * @@ got int const *__gu_addr @@
>> drivers/net/hamradio/6pack.c:710:21: sparse: expected void const volatile [noderef] __user *
drivers/net/hamradio/6pack.c:710:21: sparse: got int const *__gu_addr
drivers/net/ppp/ppp_async.c:420:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@
drivers/net/ppp/ppp_async.c:420:21: sparse: expected int const *__gu_addr
drivers/net/ppp/ppp_async.c:420:21: sparse: got int [noderef] __user *p
drivers/net/ppp/ppp_async.c:420:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user * @@ got int const *__gu_addr @@
drivers/net/ppp/ppp_async.c:420:21: sparse: expected void const volatile [noderef] __user *
drivers/net/ppp/ppp_async.c:420:21: sparse: got int const *__gu_addr
drivers/net/ppp/ppp_async.c:435:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user * @@
drivers/net/ppp/ppp_async.c:435:21: sparse: expected unsigned int const *__gu_addr
drivers/net/ppp/ppp_async.c:435:21: sparse: got unsigned int [noderef] [usertype] __user *
drivers/net/ppp/ppp_async.c:435:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user * @@ got unsigned int const *__gu_addr @@
drivers/net/ppp/ppp_async.c:435:21: sparse: expected void const volatile [noderef] __user *
drivers/net/ppp/ppp_async.c:435:21: sparse: got unsigned int const *__gu_addr
drivers/net/ppp/ppp_async.c:446:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user * @@
drivers/net/ppp/ppp_async.c:446:21: sparse: expected unsigned int const *__gu_addr
drivers/net/ppp/ppp_async.c:446:21: sparse: got unsigned int [noderef] [usertype] __user *
drivers/net/ppp/ppp_async.c:446:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user * @@ got unsigned int const *__gu_addr @@
drivers/net/ppp/ppp_async.c:446:21: sparse: expected void const volatile [noderef] __user *
drivers/net/ppp/ppp_async.c:446:21: sparse: got unsigned int const *__gu_addr
drivers/net/ppp/ppp_async.c:471:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@
drivers/net/ppp/ppp_async.c:471:21: sparse: expected int const *__gu_addr
drivers/net/ppp/ppp_async.c:471:21: sparse: got int [noderef] __user *p
drivers/net/ppp/ppp_async.c:471:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user * @@ got int const *__gu_addr @@
drivers/net/ppp/ppp_async.c:471:21: sparse: expected void const volatile [noderef] __user *
drivers/net/ppp/ppp_async.c:471:21: sparse: got int const *__gu_addr
{standard input}: Assembler messages:
{standard input}:195: Error: unknown opcode
{standard input}:1586: Error: unknown opcode
{standard input}:1617: Error: unknown opcode
{standard input}:1741: Error: unknown opcode
{standard input}:1800: Error: unknown opcode
{standard input}: Assembler messages:
{standard input}:633: Error: unknown opcode
{standard input}:667: Error: unknown opcode
drivers/net/ppp/ppp_generic.c:925:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@
drivers/net/ppp/ppp_generic.c:925:21: sparse: expected int const *__gu_addr
drivers/net/ppp/ppp_generic.c:925:21: sparse: got int [noderef] __user *p
drivers/net/ppp/ppp_generic.c:925:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user * @@ got int const *__gu_addr @@
drivers/net/ppp/ppp_generic.c:925:21: sparse: expected void const volatile [noderef] __user *
drivers/net/ppp/ppp_generic.c:925:21: sparse: got int const *__gu_addr
drivers/net/ppp/ppp_generic.c:939:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@
drivers/net/ppp/ppp_generic.c:939:21: sparse: expected int const *__gu_addr
drivers/net/ppp/ppp_generic.c:939:21: sparse: got int [noderef] __user *p
drivers/net/ppp/ppp_generic.c:939:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user * @@ got int const *__gu_addr @@
drivers/net/ppp/ppp_generic.c:939:21: sparse: expected void const volatile [noderef] __user *
drivers/net/ppp/ppp_generic.c:939:21: sparse: got int const *__gu_addr
drivers/net/ppp/ppp_generic.c:954:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@
drivers/net/ppp/ppp_generic.c:954:21: sparse: expected int const *__gu_addr
drivers/net/ppp/ppp_generic.c:954:21: sparse: got int [noderef] __user *p
drivers/net/ppp/ppp_generic.c:954:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user * @@ got int const *__gu_addr @@
drivers/net/ppp/ppp_generic.c:954:21: sparse: expected void const volatile [noderef] __user *
drivers/net/ppp/ppp_generic.c:954:21: sparse: got int const *__gu_addr
drivers/net/ppp/ppp_generic.c:651:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@
drivers/net/ppp/ppp_generic.c:651:29: sparse: expected int const *__gu_addr
drivers/net/ppp/ppp_generic.c:651:29: sparse: got int [noderef] __user *p
drivers/net/ppp/ppp_generic.c:651:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user * @@ got int const *__gu_addr @@
drivers/net/ppp/ppp_generic.c:651:29: sparse: expected void const volatile [noderef] __user *
drivers/net/ppp/ppp_generic.c:651:29: sparse: got int const *__gu_addr
drivers/net/ppp/ppp_generic.c:681:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@
drivers/net/ppp/ppp_generic.c:681:21: sparse: expected int const *__gu_addr
drivers/net/ppp/ppp_generic.c:681:21: sparse: got int [noderef] __user *p
drivers/net/ppp/ppp_generic.c:681:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user * @@ got int const *__gu_addr @@
drivers/net/ppp/ppp_generic.c:681:21: sparse: expected void const volatile [noderef] __user *
drivers/net/ppp/ppp_generic.c:681:21: sparse: got int const *__gu_addr
drivers/net/ppp/ppp_generic.c:688:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@
drivers/net/ppp/ppp_generic.c:688:21: sparse: expected int const *__gu_addr
drivers/net/ppp/ppp_generic.c:688:21: sparse: got int [noderef] __user *p
drivers/net/ppp/ppp_generic.c:688:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user * @@ got int const *__gu_addr @@
drivers/net/ppp/ppp_generic.c:688:21: sparse: expected void const volatile [noderef] __user *
drivers/net/ppp/ppp_generic.c:688:21: sparse: got int const *__gu_addr
drivers/net/ppp/ppp_generic.c:726:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@
drivers/net/ppp/ppp_generic.c:726:21: sparse: expected int const *__gu_addr
drivers/net/ppp/ppp_generic.c:726:21: sparse: got int [noderef] __user *p
drivers/net/ppp/ppp_generic.c:726:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user * @@ got int const *__gu_addr @@
drivers/net/ppp/ppp_generic.c:726:21: sparse: expected void const volatile [noderef] __user *
drivers/net/ppp/ppp_generic.c:726:21: sparse: got int const *__gu_addr
drivers/net/ppp/ppp_generic.c:755:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@
drivers/net/ppp/ppp_generic.c:755:21: sparse: expected int const *__gu_addr
drivers/net/ppp/ppp_generic.c:755:21: sparse: got int [noderef] __user *p
drivers/net/ppp/ppp_generic.c:755:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user * @@ got int const *__gu_addr @@
drivers/net/ppp/ppp_generic.c:755:21: sparse: expected void const volatile [noderef] __user *
drivers/net/ppp/ppp_generic.c:755:21: sparse: got int const *__gu_addr
drivers/net/ppp/ppp_generic.c:823:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@
drivers/net/ppp/ppp_generic.c:823:21: sparse: expected int const *__gu_addr
drivers/net/ppp/ppp_generic.c:823:21: sparse: got int [noderef] __user *p
drivers/net/ppp/ppp_generic.c:823:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user * @@ got int const *__gu_addr @@
drivers/net/ppp/ppp_generic.c:823:21: sparse: expected void const volatile [noderef] __user *
drivers/net/ppp/ppp_generic.c:823:21: sparse: got int const *__gu_addr
{standard input}:2331: Error: unknown opcode
{standard input}: Assembler messages:
{standard input}:182: Error: unknown opcode
{standard input}:2055: Error: unknown opcode
{standard input}:2104: Error: unknown opcode
{standard input}:2124: Error: unknown opcode
{standard input}:2522: Error: unknown opcode
{standard input}:3777: Error: unknown opcode
make[3]: *** [scripts/Makefile.build:280: net/sunrpc/rpcb_clnt.o] Error 1
{standard input}:5433: Error: unknown opcode
{standard input}:5499: Error: unknown opcode
{standard input}:7784: Error: unknown opcode
--
make[3]: *** [scripts/Makefile.build:497: drivers/net/ppp] Error 2
drivers/mfd/lm3533-ctrlbank.c: In function 'lm3533_ctrlbank_set_brightness':
drivers/mfd/lm3533-ctrlbank.c:98:10: warning: comparison is always false due to limited range of data type [-Wtype-limits]
98 | if (val > LM3533_##_NAME##_MAX) 5905- | ^
drivers/mfd/lm3533-ctrlbank.c:125:1: note: in expansion of macro 'lm3533_ctrlbank_set'
125 | lm3533_ctrlbank_set(brightness, BRIGHTNESS);
| ^~~~~~~~~~~~~~~~~~~
{standard input}: Assembler messages:
{standard input}:688: Error: unknown opcode
{standard input}:735: Error: unknown opcode
make[3]: *** [scripts/Makefile.build:281: net/wireless/wext-spy.o] Error 1
make[3]: *** [scripts/Makefile.build:281: net/batman-adv/originator.o] Error 1
include/linux/unaligned/be_byteshift.h:26:16: sparse: sparse: cast truncates bits from constant value (1000 becomes 0)
{standard input}: Assembler messages:
{standard input}:427: Error: unknown opcode
{standard input}:631: Error: unknown opcode
{standard input}:662: Error: unknown opcode
{standard input}:888: Error: unknown opcode
{standard input}:1334: Error: unknown opcode
{standard input}: Assembler messages:
{standard input}:828: Error: unknown opcode
{standard input}:924: Error: unknown opcode
make[3]: *** [scripts/Makefile.build:281: drivers/input/sparse-keymap.o] Error 1
{standard input}: Assembler messages:
{standard input}:489: Error: unknown opcode
drivers/i2c/busses/i2c-rk3x.c:244: warning: Function parameter or member 'i2c' not described in 'rk3x_i2c_start'
drivers/i2c/busses/i2c-rk3x.c:265: warning: Function parameter or member 'i2c' not described in 'rk3x_i2c_stop'
drivers/i2c/busses/i2c-rk3x.c:303: warning: Function parameter or member 'i2c' not described in 'rk3x_i2c_prepare_read'
drivers/i2c/busses/i2c-rk3x.c:334: warning: Function parameter or member 'i2c' not described in 'rk3x_i2c_fill_transmit_buf'
drivers/i2c/busses/i2c-rk3x.c:972: warning: Function parameter or member 'i2c' not described in 'rk3x_i2c_setup'
make[4]: *** [scripts/Makefile.build:281: drivers/input/joystick/twidjoy.o] Error 1
{standard input}: Assembler messages:
{standard input}:460: Error: unknown opcode
{standard input}:2838: Error: unknown opcode
{standard input}:4044: Error: unknown opcode
make[4]: *** [scripts/Makefile.build:281: drivers/input/joystick/spaceorb.o] Error 1
{standard input}: Assembler messages:
{standard input}:1334: Error: unknown opcode
{standard input}:1437: Error: unknown opcode
{standard input}:1769: Error: unknown opcode
{standard input}:1839: Error: unknown opcode
{standard input}:5148: Error: unknown opcode
{standard input}:6423: Error: unknown opcode
make[3]: *** [scripts/Makefile.build:281: drivers/i2c/i2c-core-of.o] Error 1
{standard input}:6974: Error: unknown opcode
{standard input}:7411: Error: unknown opcode
{standard input}:9262: Error: unknown opcode
{standard input}:9859: Error: unknown opcode
drivers/input/mousedev.c:683:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected char const *__gu_addr @@ got char const [noderef] __user * @@
drivers/input/mousedev.c:683:21: sparse: expected char const *__gu_addr
drivers/input/mousedev.c:683:21: sparse: got char const [noderef] __user *
drivers/input/mousedev.c:683:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user * @@ got char const *__gu_addr @@
drivers/input/mousedev.c:683:21: sparse: expected void const volatile [noderef] __user *
drivers/input/mousedev.c:683:21: sparse: got char const *__gu_addr
make[3]: *** [scripts/Makefile.build:281: net/batman-adv/tp_meter.o] Error 1
{standard input}: Assembler messages:
{standard input}:489: Error: unknown opcode
{standard input}:520: Error: unknown opcode
{standard input}:945: Error: unknown opcode
{standard input}:2544: Error: unknown opcode
make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_mode_object.o] Error 1
{standard input}: Assembler messages:
{standard input}:6331: Error: unknown opcode
make[3]: *** [scripts/Makefile.build:281: drivers/i2c/i2c-core-smbus.o] Error 1
{standard input}: Assembler messages:
{standard input}:8660: Error: unknown opcode
{standard input}:8879: Error: unknown opcode
{standard input}:9080: Error: unknown opcode
{standard input}:11045: Error: unknown opcode
{standard input}: Assembler messages:
{standard input}:1227: Error: unknown opcode
{standard input}:1263: Error: unknown opcode
{standard input}:1433: Error: unknown opcode
{standard input}:2014: Error: unknown opcode
{standard input}:2049: Error: unknown opcode
{standard input}:2256: Error: unknown opcode
{standard input}:2305: Error: unknown opcode
{standard input}:3016: Error: unknown opcode
{standard input}:3249: Error: unknown opcode
{standard input}:3280: Error: unknown opcode
{standard input}:3922: Error: unknown opcode
{standard input}:4045: Error: unknown opcode
{standard input}:4160: Error: unknown opcode
{standard input}:4384: Error: unknown opcode
make[3]: *** [scripts/Makefile.build:281: net/sunrpc/xprtmultipath.o] Error 1
{standard input}: Assembler messages:
{standard input}:656: Error: unknown opcode
{standard input}:701: Error: unknown opcode
make[4]: *** [scripts/Makefile.build:281: drivers/input/keyboard/newtonkbd.o] Error 1
make[3]: *** [scripts/Makefile.build:281: drivers/i2c/i2c-core-base.o] Error 1
{standard input}: Assembler messages:
{standard input}:4684: Error: unknown opcode
drivers/net/slip/slip.c:458:14: sparse: sparse: incompatible types in comparison expression (different address spaces):
drivers/net/slip/slip.c:458:14: sparse: void [noderef] __rcu *
drivers/net/slip/slip.c:458:14: sparse: void *
drivers/net/slip/slip.c:892:9: sparse: sparse: incompatible types in comparison expression (different address spaces):
drivers/net/slip/slip.c:892:9: sparse: void [noderef] __rcu *
drivers/net/slip/slip.c:892:9: sparse: void *
drivers/net/slip/slip.c:1099:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@
>> drivers/net/slip/slip.c:1099:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user * @@ got int const *__gu_addr @@
drivers/net/slip/slip.c:1124:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@
drivers/net/slip/slip.c:1124:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user * @@ got int const *__gu_addr @@
drivers/net/slip/slip.c:1150:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@
drivers/net/slip/slip.c:1150:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user * @@ got int const *__gu_addr @@
{standard input}: Assembler messages:
{standard input}:345: Error: unknown opcode
{standard input}:376: Error: unknown opcode
{standard input}:746: Error: unknown opcode
{standard input}:1215: Error: unknown opcode
{standard input}:3366: Error: unknown opcode
make[3]: *** [scripts/Makefile.build:497: drivers/media/i2c] Error 2
make[4]: *** [scripts/Makefile.build:281: drivers/media/i2c/ir-kbd-i2c.o] Error 1
make[4]: Target '__build' not remade because of errors.
make[3]: *** [scripts/Makefile.build:281: net/batman-adv/tvlv.o] Error 1
make[3]: *** [scripts/Makefile.build:497: drivers/input/joystick] Error 2
make[4]: Target '__build' not remade because of errors.
arch/sh/include/asm/checksum_32.h:116:27: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected restricted __wsum [usertype] sum @@ got unsigned int [assigned] sum @@
arch/sh/include/asm/checksum_32.h:116:27: sparse: expected restricted __wsum [usertype] sum
arch/sh/include/asm/checksum_32.h:116:27: sparse: got unsigned int [assigned] sum
arch/sh/include/asm/checksum_32.h:116:27: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected restricted __wsum [usertype] sum @@ got unsigned int [assigned] sum @@
arch/sh/include/asm/checksum_32.h:116:27: sparse: expected restricted __wsum [usertype] sum
arch/sh/include/asm/checksum_32.h:116:27: sparse: got unsigned int [assigned] sum
arch/sh/include/asm/checksum_32.h:116:27: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected restricted __wsum [usertype] sum @@ got unsigned int [assigned] sum @@
arch/sh/include/asm/checksum_32.h:116:27: sparse: expected restricted __wsum [usertype] sum
arch/sh/include/asm/checksum_32.h:116:27: sparse: got unsigned int [assigned] sum
arch/sh/include/asm/checksum_32.h:116:27: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected restricted __wsum [usertype] sum @@ got unsigned int [assigned] sum @@
arch/sh/include/asm/checksum_32.h:116:27: sparse: expected restricted __wsum [usertype] sum
arch/sh/include/asm/checksum_32.h:116:27: sparse: got unsigned int [assigned] sum
arch/sh/include/asm/checksum_32.h:116:27: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected restricted __wsum [usertype] sum @@ got unsigned int [assigned] sum @@
arch/sh/include/asm/checksum_32.h:116:27: sparse: expected restricted __wsum [usertype] sum
arch/sh/include/asm/checksum_32.h:116:27: sparse: got unsigned int [assigned] sum
{standard input}: Assembler messages:
{standard input}:50: Error: unknown opcode
{standard input}:113: Error: unknown opcode
{standard input}: Assembler messages:
{standard input}:60: Error: unknown opcode
{standard input}: Assembler messages:
{standard input}:1038: Error: unknown opcode
{standard input}:1546: Error: unknown opcode
{standard input}:1696: Error: unknown opcode
{standard input}:1890: Error: unknown opcode
{standard input}:2760: Error: unknown opcode
make[4]: *** [scripts/Makefile.build:280: drivers/input/misc/uinput.o] Error 1
make[3]: *** [scripts/Makefile.build:497: drivers/input/misc] Error 2
make[4]: Target '__build' not remade because of errors.
make[4]: *** [scripts/Makefile.build:280: drivers/net/hamradio/hdlcdrv.o] Error 1
make[4]: Target '__build' not remade because of errors.
make[3]: *** [scripts/Makefile.build:497: drivers/net/hamradio] Error 2
{standard input}:4163: Error: unknown opcode
make[3]: *** [scripts/Makefile.build:280: drivers/input/mousedev.o] Error 1
drivers/w1/slaves/w1_therm.c:875:18: sparse: sparse: cast to restricted __le64
make[3]: Target '__build' not remade because of errors.
make[2]: *** [scripts/Makefile.build:497: net/wireless] Error 2
{standard input}: Assembler messages:
{standard input}:62: Error: unknown opcode
{standard input}:1378: Error: unknown opcode
{standard input}:1551: Error: unknown opcode
drivers/w1/masters/ds2482.c:23: warning: Incorrect use of kernel-doc format: * Allow the active pullup to be disabled, default is enabled.
drivers/w1/masters/ds2482.c:32: warning: cannot understand function prototype: 'int ds2482_active_pullup = 1; '
drivers/w1/masters/ds2482.c:82: warning: cannot understand function prototype: 'const u8 ds2482_chan_wr[8] = '
drivers/w1/masters/ds2482.c:132: warning: Function parameter or member 'conf' not described in 'ds2482_calculate_config'
make[4]: *** [scripts/Makefile.build:281: drivers/media/mc/mc-devnode.o] Error 1
drivers/w1/masters/ds2482.c:149: warning: Function parameter or member 'pdev' not described in 'ds2482_select_register'
drivers/w1/masters/ds2482.c:149: warning: Function parameter or member 'read_ptr' not described in 'ds2482_select_register'
drivers/w1/masters/ds2482.c:170: warning: Function parameter or member 'pdev' not described in 'ds2482_send_cmd'
drivers/w1/masters/ds2482.c:170: warning: Function parameter or member 'cmd' not described in 'ds2482_send_cmd'
drivers/w1/masters/ds2482.c:190: warning: Function parameter or member 'pdev' not described in 'ds2482_send_cmd_data'
drivers/w1/masters/ds2482.c:190: warning: Function parameter or member 'cmd' not described in 'ds2482_send_cmd_data'
drivers/w1/masters/ds2482.c:190: warning: Function parameter or member 'byte' not described in 'ds2482_send_cmd_data'
drivers/w1/masters/ds2482.c:214: warning: Function parameter or member 'pdev' not described in 'ds2482_wait_1wire_idle'
drivers/w1/masters/ds2482.c:241: warning: Function parameter or member 'pdev' not described in 'ds2482_set_channel'
drivers/w1/masters/ds2482.c:241: warning: Function parameter or member 'channel' not described in 'ds2482_set_channel'
drivers/w1/masters/ds2482.c:264: warning: Function parameter or member 'data' not described in 'ds2482_w1_touch_bit'
drivers/w1/masters/ds2482.c:264: warning: Function parameter or member 'bit' not described in 'ds2482_w1_touch_bit'
drivers/w1/masters/ds2482.c:296: warning: Function parameter or member 'data' not described in 'ds2482_w1_triplet'
drivers/w1/masters/ds2482.c:296: warning: Function parameter or member 'dbit' not described in 'ds2482_w1_triplet'
drivers/w1/masters/ds2482.c:326: warning: Function parameter or member 'data' not described in 'ds2482_w1_write_byte'
drivers/w1/masters/ds2482.c:326: warning: Function parameter or member 'byte' not described in 'ds2482_w1_write_byte'
drivers/w1/masters/ds2482.c:350: warning: Function parameter or member 'data' not described in 'ds2482_w1_read_byte'
drivers/w1/masters/ds2482.c:387: warning: Function parameter or member 'data' not described in 'ds2482_w1_reset_bus'
drivers/w1/masters/ds2482.c:547: warning: cannot understand function prototype: 'const struct i2c_device_id ds2482_id[] = '
drivers/w1/slaves/w1_therm.c: In function 'w1_seq_show':
drivers/w1/slaves/w1_therm.c:1709:6: warning: variable 'rv' set but not used [-Wunused-but-set-variable]
1709 | int rv;
| ^~
drivers/w1/w1.c:426:17: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned long long [usertype] rn64_le @@ got restricted __le64 [usertype] @@
drivers/w1/w1.c:426:17: sparse: expected unsigned long long [usertype] rn64_le
drivers/w1/w1.c:426:17: sparse: got restricted __le64 [usertype]
drivers/w1/w1.c:920:21: sparse: sparse: incorrect type in initializer (different base types) @@ expected unsigned long long [usertype] rn_le @@ got restricted __le64 [usertype] @@
drivers/w1/w1.c:920:21: sparse: expected unsigned long long [usertype] rn_le
drivers/w1/w1.c:920:21: sparse: got restricted __le64 [usertype]
{standard input}: Assembler messages:
{standard input}:2301: Error: unknown opcode
{standard input}:2789: Error: unknown opcode
{standard input}: Assembler messages:
{standard input}:146: Error: unknown opcode
{standard input}:259: Error: unknown opcode
make[5]: *** [scripts/Makefile.build:281: drivers/media/cec/core/cec-core.o] Error 1
drivers/input/keyboard/samsung-keypad.c: In function 'samsung_keypad_irq':
drivers/input/keyboard/samsung-keypad.c:149:15: warning: variable 'val' set but not used [-Wunused-but-set-variable]
--
| ^
include/linux/bits.h:39:3: note: in expansion of macro 'GENMASK_INPUT_CHECK'
39 | (GENMASK_INPUT_CHECK(h, l) + __GENMASK(h, l))
| ^~~~~~~~~~~~~~~~~~~
drivers/mtd/nand/bbt.c:90:18: note: in expansion of macro 'GENMASK'
90 | return status & GENMASK(bits_per_block - 1, 0);
| ^~~~~~~
include/linux/bits.h:26:40: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits]
26 | __builtin_constant_p((l) > (h)), (l) > (h), 0)))
| ^
include/linux/build_bug.h:16:62: note: in definition of macro 'BUILD_BUG_ON_ZERO'
16 | #define BUILD_BUG_ON_ZERO(e) ((int)(sizeof(struct { int:(-!!(e)); })))
| ^
include/linux/bits.h:39:3: note: in expansion of macro 'GENMASK_INPUT_CHECK'
39 | (GENMASK_INPUT_CHECK(h, l) + __GENMASK(h, l))
| ^~~~~~~~~~~~~~~~~~~
drivers/mtd/nand/bbt.c:90:18: note: in expansion of macro 'GENMASK'
90 | return status & GENMASK(bits_per_block - 1, 0);
| ^~~~~~~
drivers/mtd/nand/bbt.c: In function 'nanddev_bbt_set_block_status':
include/linux/bits.h:26:28: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits]
26 | __builtin_constant_p((l) > (h)), (l) > (h), 0)))
| ^
include/linux/build_bug.h:16:62: note: in definition of macro 'BUILD_BUG_ON_ZERO'
16 | #define BUILD_BUG_ON_ZERO(e) ((int)(sizeof(struct { int:(-!!(e)); })))
| ^
include/linux/bits.h:39:3: note: in expansion of macro 'GENMASK_INPUT_CHECK'
39 | (GENMASK_INPUT_CHECK(h, l) + __GENMASK(h, l))
| ^~~~~~~~~~~~~~~~~~~
drivers/mtd/nand/bbt.c:114:31: note: in expansion of macro 'GENMASK'
114 | unsigned long val = status & GENMASK(bits_per_block - 1, 0);
| ^~~~~~~
include/linux/bits.h:26:40: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits]
26 | __builtin_constant_p((l) > (h)), (l) > (h), 0)))
| ^
include/linux/build_bug.h:16:62: note: in definition of macro 'BUILD_BUG_ON_ZERO'
16 | #define BUILD_BUG_ON_ZERO(e) ((int)(sizeof(struct { int:(-!!(e)); })))
| ^
include/linux/bits.h:39:3: note: in expansion of macro 'GENMASK_INPUT_CHECK'
39 | (GENMASK_INPUT_CHECK(h, l) + __GENMASK(h, l))
| ^~~~~~~~~~~~~~~~~~~
drivers/mtd/nand/bbt.c:114:31: note: in expansion of macro 'GENMASK'
114 | unsigned long val = status & GENMASK(bits_per_block - 1, 0);
| ^~~~~~~
include/linux/bits.h:26:28: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits]
26 | __builtin_constant_p((l) > (h)), (l) > (h), 0)))
| ^
include/linux/build_bug.h:16:62: note: in definition of macro 'BUILD_BUG_ON_ZERO'
16 | #define BUILD_BUG_ON_ZERO(e) ((int)(sizeof(struct { int:(-!!(e)); })))
| ^
include/linux/bits.h:39:3: note: in expansion of macro 'GENMASK_INPUT_CHECK'
39 | (GENMASK_INPUT_CHECK(h, l) + __GENMASK(h, l))
| ^~~~~~~~~~~~~~~~~~~
drivers/mtd/nand/bbt.c:125:14: note: in expansion of macro 'GENMASK'
125 | pos[1] &= ~GENMASK(rbits - 1, 0);
| ^~~~~~~
include/linux/bits.h:26:40: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits]
26 | __builtin_constant_p((l) > (h)), (l) > (h), 0)))
| ^
include/linux/build_bug.h:16:62: note: in definition of macro 'BUILD_BUG_ON_ZERO'
16 | #define BUILD_BUG_ON_ZERO(e) ((int)(sizeof(struct { int:(-!!(e)); })))
| ^
include/linux/bits.h:39:3: note: in expansion of macro 'GENMASK_INPUT_CHECK'
39 | (GENMASK_INPUT_CHECK(h, l) + __GENMASK(h, l))
| ^~~~~~~~~~~~~~~~~~~
drivers/mtd/nand/bbt.c:125:14: note: in expansion of macro 'GENMASK'
125 | pos[1] &= ~GENMASK(rbits - 1, 0);
| ^~~~~~~
{standard input}:22723: Error: unknown opcode
{standard input}:23563: Error: unknown opcode
make[4]: *** [scripts/Makefile.build:281: drivers/mtd/chips/cfi_cmdset_0001.o] Error 1
{standard input}:25098: Error: unknown opcode
{standard input}:25198: Error: unknown opcode
{standard input}: Assembler messages:
{standard input}:7022: Error: unknown opcode
make[3]: *** [scripts/Makefile.build:281: drivers/spi/spi.o] Error 1
drivers/mtd/devices/phram.c:19: warning: Function parameter or member 'fmt' not described in 'pr_fmt'
make[5]: *** [scripts/Makefile.build:280: drivers/mtd/nand/onenand/onenand_base.o] Error 1
make[5]: Target '__build' not remade because of errors.
make[4]: *** [scripts/Makefile.build:497: drivers/mtd/nand/onenand] Error 2
drivers/mfd/mfd-core.c:326: warning: Function parameter or member 'dev' not described in 'devm_mfd_add_devices'
drivers/mfd/mfd-core.c:326: warning: Function parameter or member 'id' not described in 'devm_mfd_add_devices'
drivers/mfd/mfd-core.c:326: warning: Function parameter or member 'cells' not described in 'devm_mfd_add_devices'
drivers/mfd/mfd-core.c:326: warning: Function parameter or member 'n_devs' not described in 'devm_mfd_add_devices'
drivers/mfd/mfd-core.c:326: warning: Function parameter or member 'mem_base' not described in 'devm_mfd_add_devices'
drivers/mfd/mfd-core.c:326: warning: Function parameter or member 'irq_base' not described in 'devm_mfd_add_devices'
drivers/mfd/mfd-core.c:326: warning: Function parameter or member 'domain' not described in 'devm_mfd_add_devices'
{standard input}: Assembler messages:
{standard input}:759: Error: unknown opcode
drivers/mtd/chips/map_ram.c:93:15: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected void * @@ got void [noderef] __iomem * @@
drivers/mtd/chips/map_ram.c:93:15: sparse: expected void *
drivers/mtd/chips/map_ram.c:93:15: sparse: got void [noderef] __iomem *
make[4]: *** [scripts/Makefile.build:281: drivers/mtd/chips/gen_probe.o] Error 1
{standard input}: Assembler messages:
{standard input}:807: Error: unknown opcode
{standard input}:988: Error: unknown opcode
make[4]: *** [scripts/Makefile.build:281: drivers/mtd/devices/block2mtd.o] Error 1
drivers/spi/spidev.c:396:34: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned char const *__gu_addr @@ got unsigned char [noderef] [usertype] __user * @@
drivers/spi/spidev.c:396:34: sparse: expected unsigned char const *__gu_addr
drivers/spi/spidev.c:396:34: sparse: got unsigned char [noderef] [usertype] __user *
>> drivers/spi/spidev.c:396:34: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user * @@ got unsigned char const *__gu_addr @@
>> drivers/spi/spidev.c:396:34: sparse: expected void const volatile [noderef] __user *
drivers/spi/spidev.c:396:34: sparse: got unsigned char const *__gu_addr
drivers/spi/spidev.c:398:34: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user * @@
drivers/spi/spidev.c:398:34: sparse: expected unsigned int const *__gu_addr
drivers/spi/spidev.c:398:34: sparse: got unsigned int [noderef] [usertype] __user *
>> drivers/spi/spidev.c:398:34: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user * @@ got unsigned int const *__gu_addr @@
drivers/spi/spidev.c:398:34: sparse: expected void const volatile [noderef] __user *
drivers/spi/spidev.c:398:34: sparse: got unsigned int const *__gu_addr
drivers/spi/spidev.c:422:26: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned char const *__gu_addr @@ got unsigned char [noderef] [usertype] __user * @@
drivers/spi/spidev.c:422:26: sparse: expected unsigned char const *__gu_addr
drivers/spi/spidev.c:422:26: sparse: got unsigned char [noderef] [usertype] __user *
drivers/spi/spidev.c:422:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user * @@ got unsigned char const *__gu_addr @@
drivers/spi/spidev.c:422:26: sparse: expected void const volatile [noderef] __user *
drivers/spi/spidev.c:422:26: sparse: got unsigned char const *__gu_addr
drivers/spi/spidev.c:439:26: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned char const *__gu_addr @@ got unsigned char [noderef] [usertype] __user * @@
drivers/spi/spidev.c:439:26: sparse: expected unsigned char const *__gu_addr
drivers/spi/spidev.c:439:26: sparse: got unsigned char [noderef] [usertype] __user *
drivers/spi/spidev.c:439:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user * @@ got unsigned char const *__gu_addr @@
drivers/spi/spidev.c:439:26: sparse: expected void const volatile [noderef] __user *
drivers/spi/spidev.c:439:26: sparse: got unsigned char const *__gu_addr
drivers/spi/spidev.c:452:26: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user * @@
drivers/spi/spidev.c:452:26: sparse: expected unsigned int const *__gu_addr
drivers/spi/spidev.c:452:26: sparse: got unsigned int [noderef] [usertype] __user *
drivers/spi/spidev.c:452:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user * @@ got unsigned int const *__gu_addr @@
drivers/spi/spidev.c:452:26: sparse: expected void const volatile [noderef] __user *
drivers/spi/spidev.c:452:26: sparse: got unsigned int const *__gu_addr
drivers/mtd/nand/spi/toshiba.c:36: warning: Function parameter or member 'write_cache_variants' not described in 'SPINAND_OP_VARIANTS'
drivers/mtd/nand/spi/toshiba.c:36: warning: Function parameter or member '0' not described in 'SPINAND_OP_VARIANTS'
{standard input}: Assembler messages:
{standard input}:940: Error: unknown opcode
{standard input}:1506: Error: unknown opcode
{standard input}:1737: Error: unknown opcode
{standard input}:2647: Error: unknown opcode
make[3]: *** [scripts/Makefile.build:281: drivers/target/target_core_tmr.o] Error 1
drivers/mtd/chips/map_rom.c:79:15: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected void * @@ got void [noderef] __iomem * @@
drivers/mtd/chips/map_rom.c:79:15: sparse: expected void *
drivers/mtd/chips/map_rom.c:79:15: sparse: got void [noderef] __iomem *
make[4]: Target '__build' not remade because of errors.
make[3]: *** [scripts/Makefile.build:497: drivers/mtd/devices] Error 2
{standard input}: Assembler messages:
{standard input}:2186: Error: unknown opcode
{standard input}:2660: Error: unknown opcode
make[3]: *** [scripts/Makefile.build:281: drivers/spi/spidev.o] Error 1
make[4]: Target '__build' not remade because of errors.
make[3]: *** [scripts/Makefile.build:497: drivers/mtd/chips] Error 2
{standard input}: Assembler messages:
{standard input}:3961: Error: unknown opcode
make[3]: *** [scripts/Makefile.build:497: drivers/mtd/nand] Error 2
make[4]: Target '__build' not remade because of errors.
{standard input}:7182: Error: unknown opcode
{standard input}:7213: Error: unknown opcode
make[3]: *** [scripts/Makefile.build:280: drivers/scsi/scsi_scan.o] Error 1
{standard input}: Assembler messages:
{standard input}:2252: Error: unknown opcode
{standard input}:2503: Error: unknown opcode
{standard input}:2534: Error: unknown opcode
{standard input}:2933: Error: unknown opcode
{standard input}: Assembler messages:
{standard input}:3819: Error: unknown opcode
{standard input}:4738: Error: unknown opcode
{standard input}:4874: Error: unknown opcode
{standard input}:7458: Error: unknown opcode
{standard input}:7492: Error: unknown opcode
make[4]: *** [scripts/Makefile.build:281: drivers/target/iscsi/iscsi_target_nego.o] Error 1
{standard input}:4297: Error: unknown opcode
{standard input}:6837: Error: unknown opcode
{standard input}:7771: Error: unknown opcode
make[4]: *** [scripts/Makefile.build:280: drivers/target/iscsi/iscsi_target_login.o] Error 1
drivers/spi/spi-bitbang.c:181: warning: Function parameter or member 'spi' not described in 'spi_bitbang_setup'
drivers/spi/spi-bitbang.c:215: warning: Function parameter or member 'spi' not described in 'spi_bitbang_cleanup'
drivers/spi/spi-bitbang.c:434: warning: Function parameter or member 'bitbang' not described in 'spi_bitbang_stop'
drivers/mtd/ubi/cdev.c:467:23: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed int const *__gu_addr @@ got signed int [noderef] [usertype] __user * @@
drivers/mtd/ubi/cdev.c:467:23: sparse: expected signed int const *__gu_addr
drivers/mtd/ubi/cdev.c:467:23: sparse: got signed int [noderef] [usertype] __user *
drivers/mtd/ubi/cdev.c:467:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user * @@ got signed int const *__gu_addr @@
drivers/mtd/ubi/cdev.c:467:23: sparse: expected void const volatile [noderef] __user *
drivers/mtd/ubi/cdev.c:467:23: sparse: got signed int const *__gu_addr
drivers/mtd/ubi/cdev.c:512:23: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed int const *__gu_addr @@ got signed int [noderef] [usertype] __user * @@
drivers/mtd/ubi/cdev.c:512:23: sparse: expected signed int const *__gu_addr
drivers/mtd/ubi/cdev.c:512:23: sparse: got signed int [noderef] [usertype] __user *
drivers/mtd/ubi/cdev.c:512:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user * @@ got signed int const *__gu_addr @@
drivers/mtd/ubi/cdev.c:512:23: sparse: expected void const volatile [noderef] __user *
drivers/mtd/ubi/cdev.c:512:23: sparse: got signed int const *__gu_addr
drivers/mtd/ubi/cdev.c:526:23: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed int const *__gu_addr @@ got signed int [noderef] [usertype] __user * @@
drivers/mtd/ubi/cdev.c:526:23: sparse: expected signed int const *__gu_addr
drivers/mtd/ubi/cdev.c:526:23: sparse: got signed int [noderef] [usertype] __user *
drivers/mtd/ubi/cdev.c:526:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user * @@ got signed int const *__gu_addr @@
drivers/mtd/ubi/cdev.c:526:23: sparse: expected void const volatile [noderef] __user *
drivers/mtd/ubi/cdev.c:526:23: sparse: got signed int const *__gu_addr
drivers/mtd/ubi/cdev.c:882:23: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed int const *__gu_addr @@ got signed int [noderef] [usertype] __user * @@
drivers/mtd/ubi/cdev.c:882:23: sparse: expected signed int const *__gu_addr
drivers/mtd/ubi/cdev.c:882:23: sparse: got signed int [noderef] [usertype] __user *
drivers/mtd/ubi/cdev.c:882:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user * @@ got signed int const *__gu_addr @@
drivers/mtd/ubi/cdev.c:882:23: sparse: expected void const volatile [noderef] __user *
drivers/mtd/ubi/cdev.c:882:23: sparse: got signed int const *__gu_addr
drivers/mtd/ubi/cdev.c:969:23: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed int const *__gu_addr @@ got signed int [noderef] [usertype] __user * @@
drivers/mtd/ubi/cdev.c:969:23: sparse: expected signed int const *__gu_addr
drivers/mtd/ubi/cdev.c:969:23: sparse: got signed int [noderef] [usertype] __user *
drivers/mtd/ubi/cdev.c:969:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user * @@ got signed int const *__gu_addr @@
drivers/mtd/ubi/cdev.c:969:23: sparse: expected void const volatile [noderef] __user *
drivers/mtd/ubi/cdev.c:969:23: sparse: got signed int const *__gu_addr
drivers/mtd/ubi/cdev.c:984:23: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed int const *__gu_addr @@ got signed int [noderef] [usertype] __user * @@
drivers/mtd/ubi/cdev.c:984:23: sparse: expected signed int const *__gu_addr
drivers/mtd/ubi/cdev.c:984:23: sparse: got signed int [noderef] [usertype] __user *
drivers/mtd/ubi/cdev.c:984:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user * @@ got signed int const *__gu_addr @@
drivers/mtd/ubi/cdev.c:984:23: sparse: expected void const volatile [noderef] __user *
--
make[4]: *** [scripts/Makefile.build:281: drivers/input/rmi4/rmi_driver.o] Error 1
{standard input}:8780: Error: unknown opcode
{standard input}:10054: Error: unknown opcode
{standard input}:6282: Error: unknown opcode
{standard input}:8161: Error: unknown opcode
{standard input}:10803: Error: unknown opcode
make[4]: *** [scripts/Makefile.build:281: drivers/net/phy/phy_device.o] Error 1
make[4]: *** [scripts/Makefile.build:281: drivers/net/caif/caif_hsi.o] Error 1
{standard input}: Assembler messages:
{standard input}:705: Error: unknown opcode
{standard input}:2503: Error: unknown opcode
{standard input}:2548: Error: unknown opcode
{standard input}:2582: Error: unknown opcode
make[3]: *** [scripts/Makefile.build:281: drivers/input/input.o] Error 1
make[3]: *** [scripts/Makefile.build:497: drivers/net/caif] Error 2
make[4]: *** [scripts/Makefile.build:281: drivers/net/caif/caif_virtio.o] Error 1
make[4]: Target '__build' not remade because of errors.
drivers/input/joystick/analog.c:169:17: sparse: sparse: undefined identifier 'boot_cpu_has'
drivers/input/joystick/analog.c:169:17: sparse: sparse: undefined identifier 'rdtsc'
drivers/input/joystick/analog.c:169:17: sparse: sparse: cast from unknown type
drivers/input/joystick/analog.c:179:24: sparse: sparse: undefined identifier 'boot_cpu_has'
drivers/input/joystick/analog.c:169:17: sparse: sparse: not a function <noident>
drivers/input/joystick/analog.c:169:17: sparse: sparse: undefined identifier 'X86_FEATURE_TSC'
drivers/input/joystick/analog.c:169:17: sparse: sparse: not a function <noident>
drivers/input/joystick/analog.c:179:24: sparse: sparse: not a function <noident>
drivers/input/joystick/analog.c:179:24: sparse: sparse: undefined identifier 'X86_FEATURE_TSC'
drivers/input/joystick/analog.c:179:24: sparse: sparse: not a function <noident>
drivers/input/joystick/analog.c:169:17: sparse: sparse: not a function <noident>
drivers/input/joystick/analog.c:169:17: sparse: sparse: not a function <noident>
drivers/input/joystick/analog.c:169:17: sparse: sparse: not a function <noident>
drivers/input/joystick/analog.c:169:17: sparse: sparse: not a function <noident>
drivers/input/joystick/analog.c:169:17: sparse: sparse: not a function <noident>
drivers/input/joystick/analog.c:169:17: sparse: sparse: not a function <noident>
drivers/input/joystick/analog.c:179:24: sparse: sparse: not a function <noident>
drivers/input/joystick/analog.c:179:24: sparse: sparse: not a function <noident>
drivers/input/joystick/analog.c:169:17: sparse: sparse: not a function <noident>
drivers/input/joystick/analog.c:169:17: sparse: sparse: not a function <noident>
drivers/input/joystick/analog.c:169:17: sparse: sparse: not a function <noident>
drivers/input/joystick/analog.c:169:17: sparse: sparse: not a function <noident>
drivers/input/joystick/analog.c:169:17: sparse: sparse: not a function <noident>
drivers/input/joystick/analog.c:169:17: sparse: sparse: not a function <noident>
drivers/input/joystick/analog.c:179:24: sparse: sparse: not a function <noident>
drivers/input/joystick/analog.c:179:24: sparse: sparse: not a function <noident>
drivers/input/serio/serio_raw.c:219:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected char const *__gu_addr @@ got char const [noderef] __user * @@
drivers/input/serio/serio_raw.c:219:21: sparse: expected char const *__gu_addr
drivers/input/serio/serio_raw.c:219:21: sparse: got char const [noderef] __user *
drivers/input/serio/serio_raw.c:219:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user * @@ got char const *__gu_addr @@
drivers/input/serio/serio_raw.c:219:21: sparse: expected void const volatile [noderef] __user *
drivers/input/serio/serio_raw.c:219:21: sparse: got char const *__gu_addr
drivers/input/joystick/analog.c:160:2: warning: #warning Precise timer not defined for this architecture. [-Wcpp]
160 | #warning Precise timer not defined for this architecture.
| ^~~~~~~
{standard input}: Assembler messages:
{standard input}:5244: Error: unknown opcode
{standard input}:5575: Error: unknown opcode
{standard input}:5630: Error: unknown opcode
make[4]: *** [scripts/Makefile.build:280: drivers/input/keyboard/atkbd.o] Error 1
drivers/input/rmi4/rmi_f01.c:106: warning: Cannot understand * @ctrl0 - see the bit definitions above.
on line 106 - I thought it was a doc line
{standard input}: Assembler messages:
{standard input}:1293: Error: unknown opcode
{standard input}:1324: Error: unknown opcode
{standard input}:2714: Error: unknown opcode
{standard input}:3449: Error: unknown opcode
make[3]: *** [scripts/Makefile.build:280: drivers/input/serio/serio_raw.o] Error 1
drivers/input/misc/drv260x.c: In function 'drv260x_probe':
drivers/input/misc/drv260x.c:478:20: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits]
478 | if (haptics->mode < DRV260X_LRA_MODE ||
| ^
drivers/input/misc/drv260x.c:490:23: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits]
490 | if (haptics->library < DRV260X_LIB_EMPTY ||
| ^
{standard input}: Assembler messages:
{standard input}:60: Error: unknown opcode
make[4]: *** [scripts/Makefile.build:280: drivers/input/joystick/analog.o] Error 1
drivers/mfd/tps6586x.c:323:16: sparse: sparse: cast to restricted __le32
drivers/input/misc/drv260x.c:194: warning: Function parameter or member 'input_dev' not described in 'drv260x_data'
drivers/input/misc/drv260x.c:194: warning: Function parameter or member 'client' not described in 'drv260x_data'
drivers/input/misc/drv260x.c:194: warning: Function parameter or member 'regmap' not described in 'drv260x_data'
drivers/input/misc/drv260x.c:194: warning: Function parameter or member 'work' not described in 'drv260x_data'
drivers/input/misc/drv260x.c:194: warning: Function parameter or member 'enable_gpio' not described in 'drv260x_data'
drivers/input/misc/drv260x.c:194: warning: Function parameter or member 'regulator' not described in 'drv260x_data'
drivers/input/misc/drv260x.c:194: warning: Function parameter or member 'magnitude' not described in 'drv260x_data'
drivers/input/misc/drv260x.c:194: warning: Function parameter or member 'mode' not described in 'drv260x_data'
drivers/input/misc/drv260x.c:194: warning: Function parameter or member 'library' not described in 'drv260x_data'
drivers/input/misc/drv260x.c:194: warning: Function parameter or member 'rated_voltage' not described in 'drv260x_data'
drivers/input/misc/drv260x.c:194: warning: Function parameter or member 'overdrive_voltage' not described in 'drv260x_data'
drivers/input/misc/drv260x.c:244: warning: Function parameter or member 'voltage' not described in 'drv260x_calculate_voltage'
{standard input}: Assembler messages:
{standard input}:2063: Error: unknown opcode
make[4]: *** [scripts/Makefile.build:280: drivers/input/joystick/grip.o] Error 1
{standard input}: Assembler messages:
{standard input}:1743: Error: unknown opcode
{standard input}:1931: Error: unknown opcode
make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_prime.o] Error 1
drivers/input/misc/drv2665.c:59: warning: Function parameter or member 'input_dev' not described in 'drv2665_data'
drivers/input/misc/drv2665.c:59: warning: Function parameter or member 'client' not described in 'drv2665_data'
drivers/input/misc/drv2665.c:59: warning: Function parameter or member 'regmap' not described in 'drv2665_data'
drivers/input/misc/drv2665.c:59: warning: Function parameter or member 'work' not described in 'drv2665_data'
drivers/input/misc/drv2665.c:59: warning: Function parameter or member 'regulator' not described in 'drv2665_data'
>> drivers/net/hamradio/6pack.c:710:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@
drivers/net/hamradio/6pack.c:710:21: sparse: expected int const *__gu_addr
>> drivers/net/hamradio/6pack.c:710:21: sparse: got int [noderef] __user *
>> drivers/net/hamradio/6pack.c:710:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user * @@ got int const *__gu_addr @@
>> drivers/net/hamradio/6pack.c:710:21: sparse: expected void const volatile [noderef] __user *
drivers/net/hamradio/6pack.c:710:21: sparse: got int const *__gu_addr
drivers/net/ppp/ppp_async.c:420:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@
drivers/net/ppp/ppp_async.c:420:21: sparse: expected int const *__gu_addr
drivers/net/ppp/ppp_async.c:420:21: sparse: got int [noderef] __user *p
drivers/net/ppp/ppp_async.c:420:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user * @@ got int const *__gu_addr @@
drivers/net/ppp/ppp_async.c:420:21: sparse: expected void const volatile [noderef] __user *
drivers/net/ppp/ppp_async.c:420:21: sparse: got int const *__gu_addr
drivers/net/ppp/ppp_async.c:435:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user * @@
drivers/net/ppp/ppp_async.c:435:21: sparse: expected unsigned int const *__gu_addr
drivers/net/ppp/ppp_async.c:435:21: sparse: got unsigned int [noderef] [usertype] __user *
drivers/net/ppp/ppp_async.c:435:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user * @@ got unsigned int const *__gu_addr @@
drivers/net/ppp/ppp_async.c:435:21: sparse: expected void const volatile [noderef] __user *
drivers/net/ppp/ppp_async.c:435:21: sparse: got unsigned int const *__gu_addr
drivers/net/ppp/ppp_async.c:446:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user * @@
drivers/net/ppp/ppp_async.c:446:21: sparse: expected unsigned int const *__gu_addr
drivers/net/ppp/ppp_async.c:446:21: sparse: got unsigned int [noderef] [usertype] __user *
drivers/net/ppp/ppp_async.c:446:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user * @@ got unsigned int const *__gu_addr @@
drivers/net/ppp/ppp_async.c:446:21: sparse: expected void const volatile [noderef] __user *
drivers/net/ppp/ppp_async.c:446:21: sparse: got unsigned int const *__gu_addr
drivers/net/ppp/ppp_async.c:471:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@
drivers/net/ppp/ppp_async.c:471:21: sparse: expected int const *__gu_addr
drivers/net/ppp/ppp_async.c:471:21: sparse: got int [noderef] __user *p
drivers/net/ppp/ppp_async.c:471:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user * @@ got int const *__gu_addr @@
drivers/net/ppp/ppp_async.c:471:21: sparse: expected void const volatile [noderef] __user *
drivers/net/ppp/ppp_async.c:471:21: sparse: got int const *__gu_addr
{standard input}: Assembler messages:
{standard input}:633: Error: unknown opcode
{standard input}:667: Error: unknown opcode
drivers/net/ppp/ppp_generic.c:925:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@
drivers/net/ppp/ppp_generic.c:925:21: sparse: expected int const *__gu_addr
drivers/net/ppp/ppp_generic.c:925:21: sparse: got int [noderef] __user *p
drivers/net/ppp/ppp_generic.c:925:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user * @@ got int const *__gu_addr @@
drivers/net/ppp/ppp_generic.c:925:21: sparse: expected void const volatile [noderef] __user *
drivers/net/ppp/ppp_generic.c:925:21: sparse: got int const *__gu_addr
drivers/net/ppp/ppp_generic.c:939:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@
drivers/net/ppp/ppp_generic.c:939:21: sparse: expected int const *__gu_addr
drivers/net/ppp/ppp_generic.c:939:21: sparse: got int [noderef] __user *p
drivers/net/ppp/ppp_generic.c:939:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user * @@ got int const *__gu_addr @@
drivers/net/ppp/ppp_generic.c:939:21: sparse: expected void const volatile [noderef] __user *
drivers/net/ppp/ppp_generic.c:939:21: sparse: got int const *__gu_addr
drivers/net/ppp/ppp_generic.c:954:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@
drivers/net/ppp/ppp_generic.c:954:21: sparse: expected int const *__gu_addr
drivers/net/ppp/ppp_generic.c:954:21: sparse: got int [noderef] __user *p
drivers/net/ppp/ppp_generic.c:954:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user * @@ got int const *__gu_addr @@
drivers/net/ppp/ppp_generic.c:954:21: sparse: expected void const volatile [noderef] __user *
drivers/net/ppp/ppp_generic.c:954:21: sparse: got int const *__gu_addr
drivers/net/ppp/ppp_generic.c:651:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@
drivers/net/ppp/ppp_generic.c:651:29: sparse: expected int const *__gu_addr
drivers/net/ppp/ppp_generic.c:651:29: sparse: got int [noderef] __user *p
drivers/net/ppp/ppp_generic.c:651:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user * @@ got int const *__gu_addr @@
drivers/net/ppp/ppp_generic.c:651:29: sparse: expected void const volatile [noderef] __user *
drivers/net/ppp/ppp_generic.c:651:29: sparse: got int const *__gu_addr
drivers/net/ppp/ppp_generic.c:681:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@
drivers/net/ppp/ppp_generic.c:681:21: sparse: expected int const *__gu_addr
drivers/net/ppp/ppp_generic.c:681:21: sparse: got int [noderef] __user *p
drivers/net/ppp/ppp_generic.c:681:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user * @@ got int const *__gu_addr @@
drivers/net/ppp/ppp_generic.c:681:21: sparse: expected void const volatile [noderef] __user *
drivers/net/ppp/ppp_generic.c:681:21: sparse: got int const *__gu_addr
drivers/net/ppp/ppp_generic.c:688:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@
drivers/net/ppp/ppp_generic.c:688:21: sparse: expected int const *__gu_addr
drivers/net/ppp/ppp_generic.c:688:21: sparse: got int [noderef] __user *p
drivers/net/ppp/ppp_generic.c:688:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user * @@ got int const *__gu_addr @@
drivers/net/ppp/ppp_generic.c:688:21: sparse: expected void const volatile [noderef] __user *
drivers/net/ppp/ppp_generic.c:688:21: sparse: got int const *__gu_addr
drivers/net/ppp/ppp_generic.c:726:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@
drivers/net/ppp/ppp_generic.c:726:21: sparse: expected int const *__gu_addr
drivers/net/ppp/ppp_generic.c:726:21: sparse: got int [noderef] __user *p
drivers/net/ppp/ppp_generic.c:726:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user * @@ got int const *__gu_addr @@
drivers/net/ppp/ppp_generic.c:726:21: sparse: expected void const volatile [noderef] __user *
drivers/net/ppp/ppp_generic.c:726:21: sparse: got int const *__gu_addr
drivers/net/ppp/ppp_generic.c:755:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@
drivers/net/ppp/ppp_generic.c:755:21: sparse: expected int const *__gu_addr
drivers/net/ppp/ppp_generic.c:755:21: sparse: got int [noderef] __user *p
drivers/net/ppp/ppp_generic.c:755:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user * @@ got int const *__gu_addr @@
drivers/net/ppp/ppp_generic.c:755:21: sparse: expected void const volatile [noderef] __user *
drivers/net/ppp/ppp_generic.c:755:21: sparse: got int const *__gu_addr
drivers/net/ppp/ppp_generic.c:823:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@
drivers/net/ppp/ppp_generic.c:823:21: sparse: expected int const *__gu_addr
drivers/net/ppp/ppp_generic.c:823:21: sparse: got int [noderef] __user *p
drivers/net/ppp/ppp_generic.c:823:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user * @@ got int const *__gu_addr @@
drivers/net/ppp/ppp_generic.c:823:21: sparse: expected void const volatile [noderef] __user *
drivers/net/ppp/ppp_generic.c:823:21: sparse: got int const *__gu_addr
{standard input}:5433: Error: unknown opcode
{standard input}:5499: Error: unknown opcode
make[4]: *** [scripts/Makefile.build:281: drivers/net/phy/mdio_bus.o] Error 1
{standard input}: Assembler messages:
{standard input}:2330: Error: unknown opcode
make[4]: *** [scripts/Makefile.build:281: drivers/input/joystick/grip_mp.o] Error 1
{standard input}: Assembler messages:
{standard input}:52: Error: unknown opcode
{standard input}:113: Error: unknown opcode
{standard input}:2195: Error: unknown opcode
{standard input}:2226: Error: unknown opcode
{standard input}:2653: Error: unknown opcode
{standard input}:3418: Error: unknown opcode
{standard input}:3983: Error: unknown opcode
{standard input}:4049: Error: unknown opcode
make[4]: *** [scripts/Makefile.build:281: drivers/net/ppp/ppp_async.o] Error 1
drivers/input/serio/apbps2.c: In function 'apbps2_open':
drivers/input/serio/apbps2.c:106:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable]
--
{standard input}:454: Error: unknown opcode
make[4]: *** [scripts/Makefile.build:281: drivers/input/joystick/magellan.o] Error 1
{standard input}: Assembler messages:
{standard input}:6459: Error: unknown opcode
{standard input}:6490: Error: unknown opcode
{standard input}:6633: Error: unknown opcode
{standard input}:6837: Error: unknown opcode
{standard input}:7814: Error: unknown opcode
{standard input}:8237: Error: unknown opcode
{standard input}:8407: Error: unknown opcode
make[3]: *** [scripts/Makefile.build:280: drivers/input/ff-memless.o] Error 1
{standard input}:8991: Error: unknown opcode
{standard input}: Assembler messages:
{standard input}:446: Error: unknown opcode
make[4]: *** [scripts/Makefile.build:281: drivers/input/misc/pcf50633-input.o] Error 1
{standard input}: Assembler messages:
{standard input}:1527: Error: unknown opcode
{standard input}:1559: Error: unknown opcode
{standard input}: Assembler messages:
{standard input}:6562: Error: unknown opcode
{standard input}:6593: Error: unknown opcode
make[4]: *** [scripts/Makefile.build:280: drivers/gpu/drm/drm_atomic.o] Error 1
make[4]: *** [scripts/Makefile.build:280: drivers/gpu/drm/drm_framebuffer.o] Error 1
drivers/net/hamradio/baycom_ser_fdx.c:290:43: sparse: sparse: dubious: x | !y
{standard input}: Assembler messages:
{standard input}:5009: Error: unknown opcode
{standard input}:5040: Error: unknown opcode
{standard input}:5507: Error: unknown opcode
{standard input}:8186: Error: unknown opcode
make[4]: *** [scripts/Makefile.build:280: drivers/gpu/drm/drm_connector.o] Error 1
{standard input}:17424: Error: unknown opcode
make[4]: Target '__build' not remade because of errors.
make[3]: *** [scripts/Makefile.build:497: drivers/input/rmi4] Error 2
{standard input}:18539: Error: unknown opcode
make[4]: *** [scripts/Makefile.build:280: drivers/net/ppp/ppp_generic.o] Error 1
make[4]: Target '__build' not remade because of errors.
make[3]: *** [scripts/Makefile.build:497: drivers/net/ppp] Error 2
drivers/mfd/lm3533-ctrlbank.c: In function 'lm3533_ctrlbank_set_brightness':
drivers/mfd/lm3533-ctrlbank.c:98:10: warning: comparison is always false due to limited range of data type [-Wtype-limits]
98 | if (val > LM3533_##_NAME##_MAX) 2920- | ^
drivers/mfd/lm3533-ctrlbank.c:125:1: note: in expansion of macro 'lm3533_ctrlbank_set'
125 | lm3533_ctrlbank_set(brightness, BRIGHTNESS);
| ^~~~~~~~~~~~~~~~~~~
include/linux/unaligned/be_byteshift.h:26:16: sparse: sparse: cast truncates bits from constant value (1000 becomes 0)
{standard input}: Assembler messages:
{standard input}:828: Error: unknown opcode
{standard input}:924: Error: unknown opcode
make[3]: *** [scripts/Makefile.build:281: drivers/input/sparse-keymap.o] Error 1
{standard input}: Assembler messages:
{standard input}:489: Error: unknown opcode
drivers/i2c/busses/i2c-rk3x.c:244: warning: Function parameter or member 'i2c' not described in 'rk3x_i2c_start'
drivers/i2c/busses/i2c-rk3x.c:265: warning: Function parameter or member 'i2c' not described in 'rk3x_i2c_stop'
drivers/i2c/busses/i2c-rk3x.c:303: warning: Function parameter or member 'i2c' not described in 'rk3x_i2c_prepare_read'
drivers/i2c/busses/i2c-rk3x.c:334: warning: Function parameter or member 'i2c' not described in 'rk3x_i2c_fill_transmit_buf'
drivers/i2c/busses/i2c-rk3x.c:972: warning: Function parameter or member 'i2c' not described in 'rk3x_i2c_setup'
make[4]: *** [scripts/Makefile.build:281: drivers/input/joystick/twidjoy.o] Error 1
{standard input}: Assembler messages:
{standard input}:460: Error: unknown opcode
make[4]: *** [scripts/Makefile.build:281: drivers/input/joystick/spaceorb.o] Error 1
{standard input}: Assembler messages:
{standard input}:1334: Error: unknown opcode
{standard input}:1437: Error: unknown opcode
{standard input}:1769: Error: unknown opcode
{standard input}:1839: Error: unknown opcode
make[3]: *** [scripts/Makefile.build:281: drivers/i2c/i2c-core-of.o] Error 1
drivers/input/mousedev.c:683:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected char const *__gu_addr @@ got char const [noderef] __user * @@
drivers/input/mousedev.c:683:21: sparse: expected char const *__gu_addr
drivers/input/mousedev.c:683:21: sparse: got char const [noderef] __user *
drivers/input/mousedev.c:683:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user * @@ got char const *__gu_addr @@
drivers/input/mousedev.c:683:21: sparse: expected void const volatile [noderef] __user *
drivers/input/mousedev.c:683:21: sparse: got char const *__gu_addr
{standard input}: Assembler messages:
{standard input}:489: Error: unknown opcode
{standard input}:520: Error: unknown opcode
{standard input}:945: Error: unknown opcode
{standard input}:2544: Error: unknown opcode
make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_mode_object.o] Error 1
{standard input}: Assembler messages:
{standard input}:6331: Error: unknown opcode
make[3]: *** [scripts/Makefile.build:281: drivers/i2c/i2c-core-smbus.o] Error 1
{standard input}: Assembler messages:
{standard input}:8660: Error: unknown opcode
{standard input}:8879: Error: unknown opcode
{standard input}:9080: Error: unknown opcode
{standard input}:11045: Error: unknown opcode
{standard input}: Assembler messages:
{standard input}:656: Error: unknown opcode
{standard input}:701: Error: unknown opcode
make[4]: *** [scripts/Makefile.build:281: drivers/input/keyboard/newtonkbd.o] Error 1
make[3]: *** [scripts/Makefile.build:281: drivers/i2c/i2c-core-base.o] Error 1
{standard input}: Assembler messages:
{standard input}:4684: Error: unknown opcode
drivers/net/slip/slip.c:458:14: sparse: sparse: incompatible types in comparison expression (different address spaces):
drivers/net/slip/slip.c:458:14: sparse: void [noderef] __rcu *
drivers/net/slip/slip.c:458:14: sparse: void *
drivers/net/slip/slip.c:892:9: sparse: sparse: incompatible types in comparison expression (different address spaces):
drivers/net/slip/slip.c:892:9: sparse: void [noderef] __rcu *
drivers/net/slip/slip.c:892:9: sparse: void *
drivers/net/slip/slip.c:1099:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@
>> drivers/net/slip/slip.c:1099:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user * @@ got int const *__gu_addr @@
drivers/net/slip/slip.c:1124:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@
drivers/net/slip/slip.c:1124:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user * @@ got int const *__gu_addr @@
drivers/net/slip/slip.c:1150:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@
drivers/net/slip/slip.c:1150:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user * @@ got int const *__gu_addr @@
make[3]: *** [scripts/Makefile.build:497: drivers/media/i2c] Error 2
make[4]: *** [scripts/Makefile.build:281: drivers/media/i2c/ir-kbd-i2c.o] Error 1
make[4]: Target '__build' not remade because of errors.
make[3]: *** [scripts/Makefile.build:497: drivers/input/joystick] Error 2
make[4]: Target '__build' not remade because of errors.
arch/sh/include/asm/checksum_32.h:116:27: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected restricted __wsum [usertype] sum @@ got unsigned int [assigned] sum @@
arch/sh/include/asm/checksum_32.h:116:27: sparse: expected restricted __wsum [usertype] sum
arch/sh/include/asm/checksum_32.h:116:27: sparse: got unsigned int [assigned] sum
arch/sh/include/asm/checksum_32.h:116:27: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected restricted __wsum [usertype] sum @@ got unsigned int [assigned] sum @@
arch/sh/include/asm/checksum_32.h:116:27: sparse: expected restricted __wsum [usertype] sum
arch/sh/include/asm/checksum_32.h:116:27: sparse: got unsigned int [assigned] sum
arch/sh/include/asm/checksum_32.h:116:27: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected restricted __wsum [usertype] sum @@ got unsigned int [assigned] sum @@
arch/sh/include/asm/checksum_32.h:116:27: sparse: expected restricted __wsum [usertype] sum
arch/sh/include/asm/checksum_32.h:116:27: sparse: got unsigned int [assigned] sum
arch/sh/include/asm/checksum_32.h:116:27: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected restricted __wsum [usertype] sum @@ got unsigned int [assigned] sum @@
arch/sh/include/asm/checksum_32.h:116:27: sparse: expected restricted __wsum [usertype] sum
arch/sh/include/asm/checksum_32.h:116:27: sparse: got unsigned int [assigned] sum
arch/sh/include/asm/checksum_32.h:116:27: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected restricted __wsum [usertype] sum @@ got unsigned int [assigned] sum @@
arch/sh/include/asm/checksum_32.h:116:27: sparse: expected restricted __wsum [usertype] sum
arch/sh/include/asm/checksum_32.h:116:27: sparse: got unsigned int [assigned] sum
{standard input}: Assembler messages:
{standard input}:50: Error: unknown opcode
{standard input}:113: Error: unknown opcode
{standard input}: Assembler messages:
{standard input}:60: Error: unknown opcode
{standard input}: Assembler messages:
{standard input}:1038: Error: unknown opcode
{standard input}:1546: Error: unknown opcode
{standard input}:1696: Error: unknown opcode
{standard input}:1890: Error: unknown opcode
{standard input}:2760: Error: unknown opcode
make[4]: *** [scripts/Makefile.build:280: drivers/input/misc/uinput.o] Error 1
make[3]: *** [scripts/Makefile.build:497: drivers/input/misc] Error 2
make[4]: Target '__build' not remade because of errors.
make[4]: *** [scripts/Makefile.build:280: drivers/net/hamradio/hdlcdrv.o] Error 1
make[4]: Target '__build' not remade because of errors.
make[3]: *** [scripts/Makefile.build:497: drivers/net/hamradio] Error 2
{standard input}:4163: Error: unknown opcode
make[3]: *** [scripts/Makefile.build:280: drivers/input/mousedev.o] Error 1
drivers/w1/slaves/w1_therm.c:875:18: sparse: sparse: cast to restricted __le64
{standard input}: Assembler messages:
{standard input}:62: Error: unknown opcode
{standard input}:1378: Error: unknown opcode
{standard input}:1551: Error: unknown opcode
drivers/w1/masters/ds2482.c:23: warning: Incorrect use of kernel-doc format: * Allow the active pullup to be disabled, default is enabled.
drivers/w1/masters/ds2482.c:32: warning: cannot understand function prototype: 'int ds2482_active_pullup = 1; '
drivers/w1/masters/ds2482.c:82: warning: cannot understand function prototype: 'const u8 ds2482_chan_wr[8] = '
drivers/w1/masters/ds2482.c:132: warning: Function parameter or member 'conf' not described in 'ds2482_calculate_config'
make[4]: *** [scripts/Makefile.build:281: drivers/media/mc/mc-devnode.o] Error 1
drivers/w1/masters/ds2482.c:149: warning: Function parameter or member 'pdev' not described in 'ds2482_select_register'
drivers/w1/masters/ds2482.c:149: warning: Function parameter or member 'read_ptr' not described in 'ds2482_select_register'
drivers/w1/masters/ds2482.c:170: warning: Function parameter or member 'pdev' not described in 'ds2482_send_cmd'
drivers/w1/masters/ds2482.c:170: warning: Function parameter or member 'cmd' not described in 'ds2482_send_cmd'
drivers/w1/masters/ds2482.c:190: warning: Function parameter or member 'pdev' not described in 'ds2482_send_cmd_data'
drivers/w1/masters/ds2482.c:190: warning: Function parameter or member 'cmd' not described in 'ds2482_send_cmd_data'
drivers/w1/masters/ds2482.c:190: warning: Function parameter or member 'byte' not described in 'ds2482_send_cmd_data'
drivers/w1/masters/ds2482.c:214: warning: Function parameter or member 'pdev' not described in 'ds2482_wait_1wire_idle'
drivers/w1/masters/ds2482.c:241: warning: Function parameter or member 'pdev' not described in 'ds2482_set_channel'
drivers/w1/masters/ds2482.c:241: warning: Function parameter or member 'channel' not described in 'ds2482_set_channel'
drivers/w1/masters/ds2482.c:264: warning: Function parameter or member 'data' not described in 'ds2482_w1_touch_bit'
drivers/w1/masters/ds2482.c:264: warning: Function parameter or member 'bit' not described in 'ds2482_w1_touch_bit'
drivers/w1/masters/ds2482.c:296: warning: Function parameter or member 'data' not described in 'ds2482_w1_triplet'
drivers/w1/masters/ds2482.c:296: warning: Function parameter or member 'dbit' not described in 'ds2482_w1_triplet'
drivers/w1/masters/ds2482.c:326: warning: Function parameter or member 'data' not described in 'ds2482_w1_write_byte'
drivers/w1/masters/ds2482.c:326: warning: Function parameter or member 'byte' not described in 'ds2482_w1_write_byte'
drivers/w1/masters/ds2482.c:350: warning: Function parameter or member 'data' not described in 'ds2482_w1_read_byte'
drivers/w1/masters/ds2482.c:387: warning: Function parameter or member 'data' not described in 'ds2482_w1_reset_bus'
drivers/w1/masters/ds2482.c:547: warning: cannot understand function prototype: 'const struct i2c_device_id ds2482_id[] = '
drivers/w1/slaves/w1_therm.c: In function 'w1_seq_show':
drivers/w1/slaves/w1_therm.c:1709:6: warning: variable 'rv' set but not used [-Wunused-but-set-variable]
1709 | int rv;
| ^~
drivers/w1/w1.c:426:17: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned long long [usertype] rn64_le @@ got restricted __le64 [usertype] @@
drivers/w1/w1.c:426:17: sparse: expected unsigned long long [usertype] rn64_le
drivers/w1/w1.c:426:17: sparse: got restricted __le64 [usertype]
drivers/w1/w1.c:920:21: sparse: sparse: incorrect type in initializer (different base types) @@ expected unsigned long long [usertype] rn_le @@ got restricted __le64 [usertype] @@
drivers/w1/w1.c:920:21: sparse: expected unsigned long long [usertype] rn_le
drivers/w1/w1.c:920:21: sparse: got restricted __le64 [usertype]
{standard input}: Assembler messages:
{standard input}:2301: Error: unknown opcode
{standard input}:2789: Error: unknown opcode
{standard input}: Assembler messages:
{standard input}:146: Error: unknown opcode
{standard input}:259: Error: unknown opcode
make[5]: *** [scripts/Makefile.build:281: drivers/media/cec/core/cec-core.o] Error 1
drivers/input/keyboard/samsung-keypad.c: In function 'samsung_keypad_irq':
drivers/input/keyboard/samsung-keypad.c:149:15: warning: variable 'val' set but not used [-Wunused-but-set-variable]
149 | unsigned int val;
| ^~~
{standard input}:5548: Error: unknown opcode
{standard input}:5641: Error: unknown opcode
{standard input}:5826: Error: unknown opcode
{standard input}:5977: Error: unknown opcode
{standard input}:7225: Error: unknown opcode
make[4]: *** [scripts/Makefile.build:281: drivers/media/v4l2-core/v4l2-dev.o] Error 1
drivers/input/joydev.c:528:24: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed int const *__gu_addr @@ got signed int [noderef] [usertype] __user * @@
--
{standard input}:30189: Error: unknown opcode
{standard input}: Assembler messages:
{standard input}:1437: Error: unknown opcode
{standard input}:1471: Error: unknown opcode
{standard input}:30349: Error: unknown opcode
{standard input}:30388: Error: unknown opcode
make[3]: *** [scripts/Makefile.build:281: net/bridge/br.o] Error 1
net/ipv4/ip_sockglue.c:759:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@
net/ipv4/ip_sockglue.c:759:29: sparse: expected int const *__gu_addr
net/ipv4/ip_sockglue.c:759:29: sparse: got int [noderef] __user *
net/ipv4/ip_sockglue.c:759:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user * @@ got int const *__gu_addr @@
net/ipv4/ip_sockglue.c:759:29: sparse: expected void const volatile [noderef] __user *
net/ipv4/ip_sockglue.c:759:29: sparse: got int const *__gu_addr
net/ipv4/ip_sockglue.c:764:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned char const *__gu_addr @@ got unsigned char [noderef] __user * @@
net/ipv4/ip_sockglue.c:764:29: sparse: expected unsigned char const *__gu_addr
net/ipv4/ip_sockglue.c:764:29: sparse: got unsigned char [noderef] __user *
net/ipv4/ip_sockglue.c:764:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user * @@ got unsigned char const *__gu_addr @@
net/ipv4/ip_sockglue.c:764:29: sparse: expected void const volatile [noderef] __user *
net/ipv4/ip_sockglue.c:764:29: sparse: got unsigned char const *__gu_addr
net/ipv4/ip_sockglue.c:1486:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *optlen @@
net/ipv4/ip_sockglue.c:1486:13: sparse: expected int const *__gu_addr
net/ipv4/ip_sockglue.c:1486:13: sparse: got int [noderef] __user *optlen
net/ipv4/ip_sockglue.c:1486:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user * @@ got int const *__gu_addr @@
net/ipv4/ip_sockglue.c:1486:13: sparse: expected void const volatile [noderef] __user *
net/ipv4/ip_sockglue.c:1486:13: sparse: got int const *__gu_addr
{standard input}:27022: Error: unknown opcode
{standard input}:27272: Error: unknown opcode
{standard input}:27304: Error: unknown opcode
make[3]: Target '__build' not remade because of errors.
make[2]: *** [scripts/Makefile.build:497: net/llc] Error 2
make[3]: *** [scripts/Makefile.build:280: net/core/neighbour.o] Error 1
{standard input}:27788: Error: unknown opcode
{standard input}:27931: Error: unknown opcode
{standard input}:28560: Error: unknown opcode
{standard input}:29015: Error: unknown opcode
{standard input}:29090: Error: unknown opcode
{standard input}:29469: Error: unknown opcode
{standard input}: Assembler messages:
{standard input}:864: Error: unknown opcode
{standard input}:917: Error: unknown opcode
{standard input}:1952: Error: unknown opcode
{standard input}:2118: Error: unknown opcode
{standard input}:2536: Error: unknown opcode
{standard input}:2597: Error: unknown opcode
make[3]: *** [scripts/Makefile.build:281: net/bridge/br_device.o] Error 1
make[3]: *** [scripts/Makefile.build:280: net/packet/af_packet.o] Error 1
make[3]: Target '__build' not remade because of errors.
make[2]: *** [scripts/Makefile.build:497: net/packet] Error 2
{standard input}:29907: Error: unknown opcode
{standard input}:31270: Error: unknown opcode
{standard input}:31449: Error: unknown opcode
{standard input}:32568: Error: unknown opcode
net/appletalk/aarp.c:68: warning: Function parameter or member 'last_sent' not described in 'aarp_entry'
net/appletalk/aarp.c:68: warning: Function parameter or member 'packet_queue' not described in 'aarp_entry'
net/appletalk/aarp.c:68: warning: Function parameter or member 'status' not described in 'aarp_entry'
net/appletalk/aarp.c:68: warning: Function parameter or member 'expires_at' not described in 'aarp_entry'
net/appletalk/aarp.c:68: warning: Function parameter or member 'target_addr' not described in 'aarp_entry'
net/appletalk/aarp.c:68: warning: Function parameter or member 'dev' not described in 'aarp_entry'
net/appletalk/aarp.c:68: warning: Function parameter or member 'hwaddr' not described in 'aarp_entry'
net/appletalk/aarp.c:68: warning: Function parameter or member 'xmit_count' not described in 'aarp_entry'
net/appletalk/aarp.c:68: warning: Function parameter or member 'next' not described in 'aarp_entry'
make[3]: *** [scripts/Makefile.build:280: net/core/rtnetlink.o] Error 1
{standard input}:35660: Error: unknown opcode
{standard input}: Assembler messages:
{standard input}:66: Error: unknown opcode
{standard input}:129: Error: unknown opcode
{standard input}: Assembler messages:
{standard input}:1292: Error: unknown opcode
{standard input}:1323: Error: unknown opcode
{standard input}:1550: Error: unknown opcode
{standard input}:36867: Error: unknown opcode
{standard input}:2519: Error: unknown opcode
make[3]: *** [scripts/Makefile.build:281: net/ipv6/anycast.o] Error 1
{standard input}:2306: Error: unknown opcode
{standard input}:4145: Error: unknown opcode
{standard input}:4785: Error: unknown opcode
{standard input}:6063: Error: unknown opcode
{standard input}:6408: Error: unknown opcode
net/x25/af_x25.c:448:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@
net/x25/af_x25.c:448:13: sparse: expected int const *__gu_addr
net/x25/af_x25.c:448:13: sparse: got int [noderef] __user *
net/x25/af_x25.c:448:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user * @@ got int const *__gu_addr @@
net/x25/af_x25.c:448:13: sparse: expected void const volatile [noderef] __user *
net/x25/af_x25.c:448:13: sparse: got int const *__gu_addr
net/x25/af_x25.c:470:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *optlen @@
net/x25/af_x25.c:470:13: sparse: expected int const *__gu_addr
net/x25/af_x25.c:470:13: sparse: got int [noderef] __user *optlen
net/x25/af_x25.c:470:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user * @@ got int const *__gu_addr @@
net/x25/af_x25.c:470:13: sparse: expected void const volatile [noderef] __user *
net/x25/af_x25.c:470:13: sparse: got int const *__gu_addr
{standard input}: Assembler messages:
{standard input}:2717: Error: unknown opcode
{standard input}:2748: Error: unknown opcode
{standard input}:2902: Error: unknown opcode
{standard input}:3899: Error: unknown opcode
{standard input}:7318: Error: unknown opcode
{standard input}:7424: Error: unknown opcode
{standard input}:8378: Error: unknown opcode
{standard input}:43209: Error: unknown opcode
{standard input}:44807: Error: unknown opcode
>> net/netrom/af_netrom.c:309:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@
net/netrom/af_netrom.c:309:13: sparse: expected unsigned int const *__gu_addr
>> net/netrom/af_netrom.c:309:13: sparse: got unsigned int [noderef] __user *
>> net/netrom/af_netrom.c:309:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user * @@ got unsigned int const *__gu_addr @@
>> net/netrom/af_netrom.c:309:13: sparse: expected void const volatile [noderef] __user *
net/netrom/af_netrom.c:309:13: sparse: got unsigned int const *__gu_addr
>> net/netrom/af_netrom.c:359:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *optlen @@
net/netrom/af_netrom.c:359:13: sparse: expected int const *__gu_addr
>> net/netrom/af_netrom.c:359:13: sparse: got int [noderef] __user *optlen
>> net/netrom/af_netrom.c:359:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user * @@ got int const *__gu_addr @@
net/netrom/af_netrom.c:359:13: sparse: expected void const volatile [noderef] __user *
net/netrom/af_netrom.c:359:13: sparse: got int const *__gu_addr
{standard input}:44867: Error: unknown opcode
{standard input}:46057: Error: unknown opcode
{standard input}:46977: Error: unknown opcode
{standard input}: Assembler messages:
{standard input}:980: Error: unknown opcode
{standard input}:15342: Error: unknown opcode
{standard input}:15419: Error: unknown opcode
{standard input}:15531: Error: unknown opcode
{standard input}:15578: Error: unknown opcode
{standard input}:15897: Error: unknown opcode
make[3]: *** [scripts/Makefile.build:281: net/bridge/br_fdb.o] Error 1
{standard input}:47787: Error: unknown opcode
{standard input}:48665: Error: unknown opcode
make[3]: *** [scripts/Makefile.build:281: net/ipv4/ip_options.o] Error 1
{standard input}:49563: Error: unknown opcode
{standard input}:49639: Error: unknown opcode
net/ipv6/addrconf.c:6944:38: sparse: sparse: incorrect type in argument 3 (incompatible argument 3 (different address spaces)) @@ expected int ( [usertype] *proc_handler )( ... ) @@ got int ( * )( ... ) @@
net/ipv6/addrconf.c:6944:38: sparse: expected int ( [usertype] *proc_handler )( ... )
net/ipv6/addrconf.c:6944:38: sparse: got int ( * )( ... )
make[3]: *** [scripts/Makefile.build:281: net/appletalk/ddp.o] Error 1
{standard input}: Assembler messages:
{standard input}:2000: Error: unknown opcode
{standard input}:2139: Error: unknown opcode
{standard input}:2186: Error: unknown opcode
{standard input}:5115: Error: unknown opcode
{standard input}:5303: Error: unknown opcode
{standard input}:6264: Error: unknown opcode
{standard input}: Assembler messages:
{standard input}:1765: Error: unknown opcode
{standard input}:1904: Error: unknown opcode
{standard input}:1951: Error: unknown opcode
{standard input}: Assembler messages:
{standard input}:1441: Error: unknown opcode
{standard input}:58795: Error: unknown opcode
{standard input}: Assembler messages:
{standard input}:267: Error: unknown opcode
{standard input}:314: Error: unknown opcode
{standard input}:1655: Error: unknown opcode
{standard input}:3214: Error: unknown opcode
{standard input}:3412: Error: unknown opcode
net/ipv4/inet_connection_sock.c:181:36: sparse: sparse: context imbalance in 'inet_csk_find_open_port' - wrong count at exit
net/ipv4/inet_connection_sock.c:348:24: sparse: sparse: context imbalance in 'inet_csk_get_port' - different lock contexts for basic block
net/ipv4/inet_connection_sock.c:1000:9: sparse: sparse: context imbalance in 'inet_csk_complete_hashdance' - unexpected unlock
{standard input}:7929: Error: unknown opcode
{standard input}:2893: Error: unknown opcode
{standard input}:4277: Error: unknown opcode
{standard input}:4308: Error: unknown opcode
{standard input}:6070: Error: unknown opcode
{standard input}:6159: Error: unknown opcode
{standard input}:9662: Error: unknown opcode
make[3]: *** [scripts/Makefile.build:281: net/ipv6/ip6_input.o] Error 1
{standard input}:6875: Error: unknown opcode
{standard input}:10789: Error: unknown opcode
{standard input}:10861: Error: unknown opcode
make[3]: *** [scripts/Makefile.build:281: net/ipv4/ip_sockglue.o] Error 1
{standard input}: Assembler messages:
{standard input}:3561: Error: unknown opcode
{standard input}:3592: Error: unknown opcode
{standard input}:3828: Error: unknown opcode
{standard input}: Assembler messages:
{standard input}:582: Error: unknown opcode
{standard input}:717: Error: unknown opcode
make[3]: *** [scripts/Makefile.build:281: net/netrom/nr_dev.o] Error 1
{standard input}:5136: Error: unknown opcode
{standard input}:71407: Error: unknown opcode
{standard input}:71898: Error: unknown opcode
{standard input}:13905: Error: unknown opcode
{standard input}:6774: Error: unknown opcode
{standard input}:8543: Error: unknown opcode
make[3]: *** [scripts/Makefile.build:281: net/ipv4/ip_output.o] Error 1
make[3]: *** [scripts/Makefile.build:281: net/netrom/af_netrom.o] Error 1
net/ipv4/tcp.c:3095:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@
net/ipv4/tcp.c:3095:13: sparse: expected int const *__gu_addr
net/ipv4/tcp.c:3095:13: sparse: got int [noderef] __user *
net/ipv4/tcp.c:3095:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user * @@ got int const *__gu_addr @@
net/ipv4/tcp.c:3095:13: sparse: expected void const volatile [noderef] __user *
net/ipv4/tcp.c:3095:13: sparse: got int const *__gu_addr
net/ipv4/tcp.c:3586:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *optlen @@
net/ipv4/tcp.c:3586:13: sparse: expected int const *__gu_addr
net/ipv4/tcp.c:3586:13: sparse: got int [noderef] __user *optlen
net/ipv4/tcp.c:3586:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user * @@ got int const *__gu_addr @@
net/ipv4/tcp.c:3586:13: sparse: expected void const volatile [noderef] __user *
net/ipv4/tcp.c:3586:13: sparse: got int const *__gu_addr
net/ipv4/tcp.c:3635:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *optlen @@
net/ipv4/tcp.c:3635:21: sparse: expected int const *__gu_addr
net/ipv4/tcp.c:3635:21: sparse: got int [noderef] __user *optlen
net/ipv4/tcp.c:3635:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user * @@ got int const *__gu_addr @@
net/ipv4/tcp.c:3635:21: sparse: expected void const volatile [noderef] __user *
net/ipv4/tcp.c:3635:21: sparse: got int const *__gu_addr
net/ipv4/tcp.c:3653:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *optlen @@
net/ipv4/tcp.c:3653:21: sparse: expected int const *__gu_addr
net/ipv4/tcp.c:3653:21: sparse: got int [noderef] __user *optlen
net/ipv4/tcp.c:3653:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user * @@ got int const *__gu_addr @@
net/ipv4/tcp.c:3653:21: sparse: expected void const volatile [noderef] __user *
net/ipv4/tcp.c:3653:21: sparse: got int const *__gu_addr
net/ipv4/tcp.c:3672:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *optlen @@
net/ipv4/tcp.c:3672:21: sparse: expected int const *__gu_addr
net/ipv4/tcp.c:3672:21: sparse: got int [noderef] __user *optlen
--
{standard input}: Assembler messages:
{standard input}:20486: Error: unknown opcode
{standard input}:22723: Error: unknown opcode
{standard input}:23563: Error: unknown opcode
{standard input}:25098: Error: unknown opcode
{standard input}:25198: Error: unknown opcode
make[3]: *** [scripts/Makefile.build:281: drivers/spi/spi.o] Error 1
drivers/spi/spidev.c:396:34: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned char const *__gu_addr @@ got unsigned char [noderef] [usertype] __user * @@
drivers/spi/spidev.c:396:34: sparse: expected unsigned char const *__gu_addr
drivers/spi/spidev.c:396:34: sparse: got unsigned char [noderef] [usertype] __user *
>> drivers/spi/spidev.c:396:34: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user * @@ got unsigned char const *__gu_addr @@
>> drivers/spi/spidev.c:396:34: sparse: expected void const volatile [noderef] __user *
drivers/spi/spidev.c:396:34: sparse: got unsigned char const *__gu_addr
drivers/spi/spidev.c:398:34: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user * @@
drivers/spi/spidev.c:398:34: sparse: expected unsigned int const *__gu_addr
drivers/spi/spidev.c:398:34: sparse: got unsigned int [noderef] [usertype] __user *
>> drivers/spi/spidev.c:398:34: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user * @@ got unsigned int const *__gu_addr @@
drivers/spi/spidev.c:398:34: sparse: expected void const volatile [noderef] __user *
drivers/spi/spidev.c:398:34: sparse: got unsigned int const *__gu_addr
drivers/spi/spidev.c:422:26: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned char const *__gu_addr @@ got unsigned char [noderef] [usertype] __user * @@
drivers/spi/spidev.c:422:26: sparse: expected unsigned char const *__gu_addr
drivers/spi/spidev.c:422:26: sparse: got unsigned char [noderef] [usertype] __user *
drivers/spi/spidev.c:422:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user * @@ got unsigned char const *__gu_addr @@
drivers/spi/spidev.c:422:26: sparse: expected void const volatile [noderef] __user *
drivers/spi/spidev.c:422:26: sparse: got unsigned char const *__gu_addr
drivers/spi/spidev.c:439:26: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned char const *__gu_addr @@ got unsigned char [noderef] [usertype] __user * @@
drivers/spi/spidev.c:439:26: sparse: expected unsigned char const *__gu_addr
drivers/spi/spidev.c:439:26: sparse: got unsigned char [noderef] [usertype] __user *
drivers/spi/spidev.c:439:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user * @@ got unsigned char const *__gu_addr @@
drivers/spi/spidev.c:439:26: sparse: expected void const volatile [noderef] __user *
drivers/spi/spidev.c:439:26: sparse: got unsigned char const *__gu_addr
drivers/spi/spidev.c:452:26: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user * @@
drivers/spi/spidev.c:452:26: sparse: expected unsigned int const *__gu_addr
drivers/spi/spidev.c:452:26: sparse: got unsigned int [noderef] [usertype] __user *
drivers/spi/spidev.c:452:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user * @@ got unsigned int const *__gu_addr @@
drivers/spi/spidev.c:452:26: sparse: expected void const volatile [noderef] __user *
drivers/spi/spidev.c:452:26: sparse: got unsigned int const *__gu_addr
{standard input}: Assembler messages:
{standard input}:2186: Error: unknown opcode
{standard input}:2660: Error: unknown opcode
make[3]: *** [scripts/Makefile.build:281: drivers/spi/spidev.o] Error 1
drivers/spi/spi-bitbang.c:181: warning: Function parameter or member 'spi' not described in 'spi_bitbang_setup'
drivers/spi/spi-bitbang.c:215: warning: Function parameter or member 'spi' not described in 'spi_bitbang_cleanup'
drivers/spi/spi-bitbang.c:434: warning: Function parameter or member 'bitbang' not described in 'spi_bitbang_stop'
{standard input}: Assembler messages:
{standard input}:2232: Error: unknown opcode
make[3]: *** [scripts/Makefile.build:281: drivers/spi/spi-dw-core.o] Error 1
drivers/spi/spi-fsl-spi.c:93:44: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected struct fsl_spi_reg *reg_base @@ got void [noderef] __iomem *reg_base @@
drivers/spi/spi-fsl-spi.c:93:44: sparse: expected struct fsl_spi_reg *reg_base
drivers/spi/spi-fsl-spi.c:93:44: sparse: got void [noderef] __iomem *reg_base
drivers/spi/spi-fsl-spi.c:94:33: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected restricted __be32 [noderef] [usertype] __iomem *mode @@ got restricted __be32 * @@
drivers/spi/spi-fsl-spi.c:94:33: sparse: expected restricted __be32 [noderef] [usertype] __iomem *mode
drivers/spi/spi-fsl-spi.c:94:33: sparse: got restricted __be32 *
drivers/spi/spi-fsl-spi.c:294:44: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected struct fsl_spi_reg *reg_base @@ got void [noderef] __iomem *reg_base @@
drivers/spi/spi-fsl-spi.c:294:44: sparse: expected struct fsl_spi_reg *reg_base
drivers/spi/spi-fsl-spi.c:294:44: sparse: got void [noderef] __iomem *reg_base
drivers/spi/spi-fsl-spi.c:299:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected restricted __be32 [noderef] [usertype] __iomem *reg @@ got restricted __be32 * @@
drivers/spi/spi-fsl-spi.c:299:32: sparse: expected restricted __be32 [noderef] [usertype] __iomem *reg
drivers/spi/spi-fsl-spi.c:299:32: sparse: got restricted __be32 *
drivers/spi/spi-fsl-spi.c:303:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected restricted __be32 [noderef] [usertype] __iomem *reg @@ got restricted __be32 * @@
drivers/spi/spi-fsl-spi.c:303:32: sparse: expected restricted __be32 [noderef] [usertype] __iomem *reg
drivers/spi/spi-fsl-spi.c:303:32: sparse: got restricted __be32 *
drivers/spi/spi-fsl-spi.c:317:18: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct fsl_spi_reg *reg_base @@ got void [noderef] __iomem *reg_base @@
drivers/spi/spi-fsl-spi.c:317:18: sparse: expected struct fsl_spi_reg *reg_base
drivers/spi/spi-fsl-spi.c:317:18: sparse: got void [noderef] __iomem *reg_base
drivers/spi/spi-fsl-spi.c:350:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected restricted __be32 [noderef] [usertype] __iomem *reg @@ got restricted __be32 * @@
drivers/spi/spi-fsl-spi.c:350:32: sparse: expected restricted __be32 [noderef] [usertype] __iomem *reg
drivers/spi/spi-fsl-spi.c:350:32: sparse: got restricted __be32 *
drivers/spi/spi-fsl-spi.c:459:18: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct fsl_spi_reg *reg_base @@ got void [noderef] __iomem *reg_base @@
drivers/spi/spi-fsl-spi.c:459:18: sparse: expected struct fsl_spi_reg *reg_base
drivers/spi/spi-fsl-spi.c:459:18: sparse: got void [noderef] __iomem *reg_base
drivers/spi/spi-fsl-spi.c:462:45: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected restricted __be32 [noderef] [usertype] __iomem *reg @@ got restricted __be32 * @@
drivers/spi/spi-fsl-spi.c:462:45: sparse: expected restricted __be32 [noderef] [usertype] __iomem *reg
drivers/spi/spi-fsl-spi.c:462:45: sparse: got restricted __be32 *
drivers/spi/spi-fsl-spi.c:498:44: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected struct fsl_spi_reg *reg_base @@ got void [noderef] __iomem *reg_base @@
drivers/spi/spi-fsl-spi.c:498:44: sparse: expected struct fsl_spi_reg *reg_base
drivers/spi/spi-fsl-spi.c:498:44: sparse: got void [noderef] __iomem *reg_base
drivers/spi/spi-fsl-spi.c:502:53: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected restricted __be32 [noderef] [usertype] __iomem *reg @@ got restricted __be32 * @@
drivers/spi/spi-fsl-spi.c:502:53: sparse: expected restricted __be32 [noderef] [usertype] __iomem *reg
drivers/spi/spi-fsl-spi.c:502:53: sparse: got restricted __be32 *
drivers/spi/spi-fsl-spi.c:511:47: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected restricted __be32 [noderef] [usertype] __iomem *reg @@ got restricted __be32 * @@
drivers/spi/spi-fsl-spi.c:511:47: sparse: expected restricted __be32 [noderef] [usertype] __iomem *reg
drivers/spi/spi-fsl-spi.c:511:47: sparse: got restricted __be32 *
drivers/spi/spi-fsl-spi.c:516:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected restricted __be32 [noderef] [usertype] __iomem *reg @@ got restricted __be32 * @@
drivers/spi/spi-fsl-spi.c:516:32: sparse: expected restricted __be32 [noderef] [usertype] __iomem *reg
drivers/spi/spi-fsl-spi.c:516:32: sparse: got restricted __be32 *
drivers/spi/spi-fsl-spi.c:522:40: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected restricted __be32 [noderef] [usertype] __iomem *reg @@ got restricted __be32 * @@
drivers/spi/spi-fsl-spi.c:522:40: sparse: expected restricted __be32 [noderef] [usertype] __iomem *reg
drivers/spi/spi-fsl-spi.c:522:40: sparse: got restricted __be32 *
drivers/spi/spi-fsl-spi.c:533:44: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected struct fsl_spi_reg *reg_base @@ got void [noderef] __iomem *reg_base @@
drivers/spi/spi-fsl-spi.c:533:44: sparse: expected struct fsl_spi_reg *reg_base
drivers/spi/spi-fsl-spi.c:533:44: sparse: got void [noderef] __iomem *reg_base
drivers/spi/spi-fsl-spi.c:536:40: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected restricted __be32 [noderef] [usertype] __iomem *reg @@ got restricted __be32 * @@
drivers/spi/spi-fsl-spi.c:536:40: sparse: expected restricted __be32 [noderef] [usertype] __iomem *reg
drivers/spi/spi-fsl-spi.c:536:40: sparse: got restricted __be32 *
drivers/spi/spi-fsl-spi.c:553:51: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected struct fsl_spi_reg *reg_base @@ got void [noderef] __iomem *reg_base @@
drivers/spi/spi-fsl-spi.c:553:51: sparse: expected struct fsl_spi_reg *reg_base
drivers/spi/spi-fsl-spi.c:553:51: sparse: got void [noderef] __iomem *reg_base
drivers/spi/spi-fsl-spi.c:560:48: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected restricted __be32 [noderef] [usertype] __iomem *reg @@ got restricted __be32 * @@
drivers/spi/spi-fsl-spi.c:560:48: sparse: expected restricted __be32 [noderef] [usertype] __iomem *reg
drivers/spi/spi-fsl-spi.c:560:48: sparse: got restricted __be32 *
drivers/spi/spi-fsl-spi.c:562:40: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected restricted __be32 [noderef] [usertype] __iomem *reg @@ got restricted __be32 * @@
drivers/spi/spi-fsl-spi.c:562:40: sparse: expected restricted __be32 [noderef] [usertype] __iomem *reg
drivers/spi/spi-fsl-spi.c:562:40: sparse: got restricted __be32 *
drivers/spi/spi-fsl-spi.c:571:51: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected struct fsl_spi_reg *reg_base @@ got void [noderef] __iomem *reg_base @@
drivers/spi/spi-fsl-spi.c:571:51: sparse: expected struct fsl_spi_reg *reg_base
drivers/spi/spi-fsl-spi.c:571:51: sparse: got void [noderef] __iomem *reg_base
drivers/spi/spi-fsl-spi.c:575:46: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected restricted __be32 [noderef] [usertype] __iomem *reg @@ got restricted __be32 * @@
drivers/spi/spi-fsl-spi.c:575:46: sparse: expected restricted __be32 [noderef] [usertype] __iomem *reg
drivers/spi/spi-fsl-spi.c:575:46: sparse: got restricted __be32 *
drivers/spi/spi-fsl-spi.c:585:40: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected restricted __be32 [noderef] [usertype] __iomem *reg @@ got restricted __be32 * @@
drivers/spi/spi-fsl-spi.c:585:40: sparse: expected restricted __be32 [noderef] [usertype] __iomem *reg
drivers/spi/spi-fsl-spi.c:585:40: sparse: got restricted __be32 *
drivers/spi/spi-fsl-spi.c:652:18: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct fsl_spi_reg *reg_base @@ got void [noderef] __iomem *reg_base @@
drivers/spi/spi-fsl-spi.c:652:18: sparse: expected struct fsl_spi_reg *reg_base
drivers/spi/spi-fsl-spi.c:652:18: sparse: got void [noderef] __iomem *reg_base
drivers/spi/spi-fsl-spi.c:655:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected restricted __be32 [noderef] [usertype] __iomem *reg @@ got restricted __be32 * @@
--
{standard input}: Assembler messages:
{standard input}:6026: Error: unknown opcode
make[5]: *** [scripts/Makefile.build:281: drivers/net/phy/mscc/mscc_main.o] Error 1
make[5]: Target '__build' not remade because of errors.
make[4]: *** [scripts/Makefile.build:497: drivers/net/phy/mscc] Error 2
drivers/net/phy/mdio-boardinfo.c:27: warning: Function parameter or member 'bus' not described in 'mdiobus_setup_mdiodev_from_board_info'
drivers/net/phy/mdio-boardinfo.c:27: warning: Function parameter or member 'cb' not described in 'mdiobus_setup_mdiodev_from_board_info'
drivers/net/phy/mdio-boardinfo.c:27: warning: Excess function parameter 'mdiodev' description in 'mdiobus_setup_mdiodev_from_board_info'
{standard input}: Assembler messages:
{standard input}:4219: Error: unknown opcode
{standard input}:4308: Error: unknown opcode
make[4]: *** [scripts/Makefile.build:281: drivers/net/phy/phy.o] Error 1
{standard input}: Assembler messages:
{standard input}:50: Error: unknown opcode
{standard input}:113: Error: unknown opcode
{standard input}:176: Error: unknown opcode
{standard input}: Assembler messages:
{standard input}:1352: Error: unknown opcode
{standard input}:1891: Error: unknown opcode
{standard input}:2120: Error: unknown opcode
{standard input}:2379: Error: unknown opcode
{standard input}:2518: Error: unknown opcode
{standard input}:2654: Error: unknown opcode
{standard input}:2847: Error: unknown opcode
{standard input}:2883: Error: unknown opcode
{standard input}:3309: Error: unknown opcode
make[4]: *** [scripts/Makefile.build:281: drivers/net/caif/caif_serial.o] Error 1
{standard input}: Assembler messages:
{standard input}:9384: Error: unknown opcode
{standard input}:6282: Error: unknown opcode
{standard input}:8161: Error: unknown opcode
{standard input}:10803: Error: unknown opcode
make[4]: *** [scripts/Makefile.build:281: drivers/net/phy/phy_device.o] Error 1
make[4]: *** [scripts/Makefile.build:281: drivers/net/caif/caif_hsi.o] Error 1
{standard input}: Assembler messages:
{standard input}:705: Error: unknown opcode
{standard input}:2503: Error: unknown opcode
{standard input}:2548: Error: unknown opcode
{standard input}:2582: Error: unknown opcode
make[3]: *** [scripts/Makefile.build:497: drivers/net/caif] Error 2
make[4]: *** [scripts/Makefile.build:281: drivers/net/caif/caif_virtio.o] Error 1
make[4]: Target '__build' not remade because of errors.
>> drivers/net/hamradio/6pack.c:710:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@
drivers/net/hamradio/6pack.c:710:21: sparse: expected int const *__gu_addr
>> drivers/net/hamradio/6pack.c:710:21: sparse: got int [noderef] __user *
>> drivers/net/hamradio/6pack.c:710:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user * @@ got int const *__gu_addr @@
>> drivers/net/hamradio/6pack.c:710:21: sparse: expected void const volatile [noderef] __user *
drivers/net/hamradio/6pack.c:710:21: sparse: got int const *__gu_addr
drivers/net/ppp/ppp_async.c:420:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@
drivers/net/ppp/ppp_async.c:420:21: sparse: expected int const *__gu_addr
drivers/net/ppp/ppp_async.c:420:21: sparse: got int [noderef] __user *p
drivers/net/ppp/ppp_async.c:420:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user * @@ got int const *__gu_addr @@
drivers/net/ppp/ppp_async.c:420:21: sparse: expected void const volatile [noderef] __user *
drivers/net/ppp/ppp_async.c:420:21: sparse: got int const *__gu_addr
drivers/net/ppp/ppp_async.c:435:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user * @@
drivers/net/ppp/ppp_async.c:435:21: sparse: expected unsigned int const *__gu_addr
drivers/net/ppp/ppp_async.c:435:21: sparse: got unsigned int [noderef] [usertype] __user *
drivers/net/ppp/ppp_async.c:435:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user * @@ got unsigned int const *__gu_addr @@
drivers/net/ppp/ppp_async.c:435:21: sparse: expected void const volatile [noderef] __user *
drivers/net/ppp/ppp_async.c:435:21: sparse: got unsigned int const *__gu_addr
drivers/net/ppp/ppp_async.c:446:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user * @@
drivers/net/ppp/ppp_async.c:446:21: sparse: expected unsigned int const *__gu_addr
drivers/net/ppp/ppp_async.c:446:21: sparse: got unsigned int [noderef] [usertype] __user *
drivers/net/ppp/ppp_async.c:446:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user * @@ got unsigned int const *__gu_addr @@
drivers/net/ppp/ppp_async.c:446:21: sparse: expected void const volatile [noderef] __user *
drivers/net/ppp/ppp_async.c:446:21: sparse: got unsigned int const *__gu_addr
drivers/net/ppp/ppp_async.c:471:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@
drivers/net/ppp/ppp_async.c:471:21: sparse: expected int const *__gu_addr
drivers/net/ppp/ppp_async.c:471:21: sparse: got int [noderef] __user *p
drivers/net/ppp/ppp_async.c:471:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user * @@ got int const *__gu_addr @@
drivers/net/ppp/ppp_async.c:471:21: sparse: expected void const volatile [noderef] __user *
drivers/net/ppp/ppp_async.c:471:21: sparse: got int const *__gu_addr
{standard input}: Assembler messages:
{standard input}:633: Error: unknown opcode
{standard input}:667: Error: unknown opcode
drivers/net/ppp/ppp_generic.c:925:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@
drivers/net/ppp/ppp_generic.c:925:21: sparse: expected int const *__gu_addr
drivers/net/ppp/ppp_generic.c:925:21: sparse: got int [noderef] __user *p
drivers/net/ppp/ppp_generic.c:925:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user * @@ got int const *__gu_addr @@
drivers/net/ppp/ppp_generic.c:925:21: sparse: expected void const volatile [noderef] __user *
drivers/net/ppp/ppp_generic.c:925:21: sparse: got int const *__gu_addr
drivers/net/ppp/ppp_generic.c:939:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@
drivers/net/ppp/ppp_generic.c:939:21: sparse: expected int const *__gu_addr
drivers/net/ppp/ppp_generic.c:939:21: sparse: got int [noderef] __user *p
drivers/net/ppp/ppp_generic.c:939:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user * @@ got int const *__gu_addr @@
drivers/net/ppp/ppp_generic.c:939:21: sparse: expected void const volatile [noderef] __user *
drivers/net/ppp/ppp_generic.c:939:21: sparse: got int const *__gu_addr
drivers/net/ppp/ppp_generic.c:954:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@
drivers/net/ppp/ppp_generic.c:954:21: sparse: expected int const *__gu_addr
drivers/net/ppp/ppp_generic.c:954:21: sparse: got int [noderef] __user *p
drivers/net/ppp/ppp_generic.c:954:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user * @@ got int const *__gu_addr @@
drivers/net/ppp/ppp_generic.c:954:21: sparse: expected void const volatile [noderef] __user *
drivers/net/ppp/ppp_generic.c:954:21: sparse: got int const *__gu_addr
drivers/net/ppp/ppp_generic.c:651:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@
drivers/net/ppp/ppp_generic.c:651:29: sparse: expected int const *__gu_addr
drivers/net/ppp/ppp_generic.c:651:29: sparse: got int [noderef] __user *p
drivers/net/ppp/ppp_generic.c:651:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user * @@ got int const *__gu_addr @@
drivers/net/ppp/ppp_generic.c:651:29: sparse: expected void const volatile [noderef] __user *
drivers/net/ppp/ppp_generic.c:651:29: sparse: got int const *__gu_addr
drivers/net/ppp/ppp_generic.c:681:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@
drivers/net/ppp/ppp_generic.c:681:21: sparse: expected int const *__gu_addr
drivers/net/ppp/ppp_generic.c:681:21: sparse: got int [noderef] __user *p
drivers/net/ppp/ppp_generic.c:681:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user * @@ got int const *__gu_addr @@
drivers/net/ppp/ppp_generic.c:681:21: sparse: expected void const volatile [noderef] __user *
drivers/net/ppp/ppp_generic.c:681:21: sparse: got int const *__gu_addr
drivers/net/ppp/ppp_generic.c:688:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@
drivers/net/ppp/ppp_generic.c:688:21: sparse: expected int const *__gu_addr
drivers/net/ppp/ppp_generic.c:688:21: sparse: got int [noderef] __user *p
drivers/net/ppp/ppp_generic.c:688:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user * @@ got int const *__gu_addr @@
drivers/net/ppp/ppp_generic.c:688:21: sparse: expected void const volatile [noderef] __user *
drivers/net/ppp/ppp_generic.c:688:21: sparse: got int const *__gu_addr
drivers/net/ppp/ppp_generic.c:726:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@
drivers/net/ppp/ppp_generic.c:726:21: sparse: expected int const *__gu_addr
drivers/net/ppp/ppp_generic.c:726:21: sparse: got int [noderef] __user *p
drivers/net/ppp/ppp_generic.c:726:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user * @@ got int const *__gu_addr @@
drivers/net/ppp/ppp_generic.c:726:21: sparse: expected void const volatile [noderef] __user *
drivers/net/ppp/ppp_generic.c:726:21: sparse: got int const *__gu_addr
drivers/net/ppp/ppp_generic.c:755:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@
drivers/net/ppp/ppp_generic.c:755:21: sparse: expected int const *__gu_addr
drivers/net/ppp/ppp_generic.c:755:21: sparse: got int [noderef] __user *p
drivers/net/ppp/ppp_generic.c:755:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user * @@ got int const *__gu_addr @@
drivers/net/ppp/ppp_generic.c:755:21: sparse: expected void const volatile [noderef] __user *
drivers/net/ppp/ppp_generic.c:755:21: sparse: got int const *__gu_addr
drivers/net/ppp/ppp_generic.c:823:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@
drivers/net/ppp/ppp_generic.c:823:21: sparse: expected int const *__gu_addr
drivers/net/ppp/ppp_generic.c:823:21: sparse: got int [noderef] __user *p
drivers/net/ppp/ppp_generic.c:823:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user * @@ got int const *__gu_addr @@
drivers/net/ppp/ppp_generic.c:823:21: sparse: expected void const volatile [noderef] __user *
drivers/net/ppp/ppp_generic.c:823:21: sparse: got int const *__gu_addr
{standard input}:5433: Error: unknown opcode
{standard input}:5499: Error: unknown opcode
make[4]: *** [scripts/Makefile.build:281: drivers/net/phy/mdio_bus.o] Error 1
{standard input}: Assembler messages:
{standard input}:52: Error: unknown opcode
{standard input}:113: Error: unknown opcode
{standard input}:2195: Error: unknown opcode
{standard input}:2226: Error: unknown opcode
{standard input}:2653: Error: unknown opcode
{standard input}:3418: Error: unknown opcode
{standard input}:3983: Error: unknown opcode
{standard input}:4049: Error: unknown opcode
make[4]: *** [scripts/Makefile.build:281: drivers/net/ppp/ppp_async.o] Error 1
{standard input}: Assembler messages:
{standard input}:1340: Error: unknown opcode
{standard input}:1371: Error: unknown opcode
{standard input}:1576: Error: unknown opcode
{standard input}:1853: Error: unknown opcode
{standard input}:2081: Error: unknown opcode
{standard input}:2320: Error: unknown opcode
{standard input}:2893: Error: unknown opcode
{standard input}:3462: Error: unknown opcode
{standard input}:3750: Error: unknown opcode
{standard input}:4086: Error: unknown opcode
{standard input}:4363: Error: unknown opcode
{standard input}:6410: Error: unknown opcode
make[4]: *** [scripts/Makefile.build:281: drivers/net/hamradio/6pack.o] Error 1
drivers/net/phy/mdio_device.c:188: warning: Function parameter or member 'drv' not described in 'mdio_driver_register'
drivers/net/phy/mdio_device.c:188: warning: Excess function parameter 'new_driver' description in 'mdio_driver_register'
{standard input}: Assembler messages:
{standard input}:6459: Error: unknown opcode
{standard input}:6490: Error: unknown opcode
{standard input}:6633: Error: unknown opcode
{standard input}:6837: Error: unknown opcode
{standard input}:7814: Error: unknown opcode
{standard input}:8237: Error: unknown opcode
{standard input}:8407: Error: unknown opcode
{standard input}:8991: Error: unknown opcode
drivers/net/hamradio/baycom_ser_fdx.c:290:43: sparse: sparse: dubious: x | !y
{standard input}:17424: Error: unknown opcode
{standard input}:18539: Error: unknown opcode
make[4]: *** [scripts/Makefile.build:280: drivers/net/ppp/ppp_generic.o] Error 1
make[4]: Target '__build' not remade because of errors.
make[3]: *** [scripts/Makefile.build:497: drivers/net/ppp] Error 2
drivers/net/slip/slip.c:458:14: sparse: sparse: incompatible types in comparison expression (different address spaces):
drivers/net/slip/slip.c:458:14: sparse: void [noderef] __rcu *
drivers/net/slip/slip.c:458:14: sparse: void *
drivers/net/slip/slip.c:892:9: sparse: sparse: incompatible types in comparison expression (different address spaces):
drivers/net/slip/slip.c:892:9: sparse: void [noderef] __rcu *
drivers/net/slip/slip.c:892:9: sparse: void *
drivers/net/slip/slip.c:1099:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@
>> drivers/net/slip/slip.c:1099:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user * @@ got int const *__gu_addr @@
drivers/net/slip/slip.c:1124:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@
drivers/net/slip/slip.c:1124:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user * @@ got int const *__gu_addr @@
drivers/net/slip/slip.c:1150:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@
drivers/net/slip/slip.c:1150:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user * @@ got int const *__gu_addr @@
arch/sh/include/asm/checksum_32.h:116:27: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected restricted __wsum [usertype] sum @@ got unsigned int [assigned] sum @@
arch/sh/include/asm/checksum_32.h:116:27: sparse: expected restricted __wsum [usertype] sum
arch/sh/include/asm/checksum_32.h:116:27: sparse: got unsigned int [assigned] sum
arch/sh/include/asm/checksum_32.h:116:27: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected restricted __wsum [usertype] sum @@ got unsigned int [assigned] sum @@
arch/sh/include/asm/checksum_32.h:116:27: sparse: expected restricted __wsum [usertype] sum
arch/sh/include/asm/checksum_32.h:116:27: sparse: got unsigned int [assigned] sum
arch/sh/include/asm/checksum_32.h:116:27: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected restricted __wsum [usertype] sum @@ got unsigned int [assigned] sum @@
arch/sh/include/asm/checksum_32.h:116:27: sparse: expected restricted __wsum [usertype] sum
arch/sh/include/asm/checksum_32.h:116:27: sparse: got unsigned int [assigned] sum
arch/sh/include/asm/checksum_32.h:116:27: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected restricted __wsum [usertype] sum @@ got unsigned int [assigned] sum @@
arch/sh/include/asm/checksum_32.h:116:27: sparse: expected restricted __wsum [usertype] sum
arch/sh/include/asm/checksum_32.h:116:27: sparse: got unsigned int [assigned] sum
arch/sh/include/asm/checksum_32.h:116:27: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected restricted __wsum [usertype] sum @@ got unsigned int [assigned] sum @@
arch/sh/include/asm/checksum_32.h:116:27: sparse: expected restricted __wsum [usertype] sum
arch/sh/include/asm/checksum_32.h:116:27: sparse: got unsigned int [assigned] sum
{standard input}: Assembler messages:
{standard input}:1038: Error: unknown opcode
{standard input}:1546: Error: unknown opcode
{standard input}:1696: Error: unknown opcode
{standard input}:1890: Error: unknown opcode
{standard input}:2760: Error: unknown opcode
make[4]: *** [scripts/Makefile.build:280: drivers/net/hamradio/hdlcdrv.o] Error 1
make[4]: Target '__build' not remade because of errors.
make[3]: *** [scripts/Makefile.build:497: drivers/net/hamradio] Error 2
{standard input}: Assembler messages:
{standard input}:50: Error: unknown opcode
{standard input}:113: Error: unknown opcode
{standard input}:878: Error: unknown opcode
{standard input}:931: Error: unknown opcode
{standard input}: Assembler messages:
{standard input}:7197: Error: unknown opcode
{standard input}:4211: Error: unknown opcode
{standard input}:4254: Error: unknown opcode
{standard input}:4693: Error: unknown opcode
{standard input}:4736: Error: unknown opcode
{standard input}:6118: Error: unknown opcode
{standard input}:6216: Error: unknown opcode
{standard input}:6472: Error: unknown opcode
{standard input}:6541: Error: unknown opcode
{standard input}:6631: Error: unknown opcode
make[4]: *** [scripts/Makefile.build:281: drivers/net/slip/slip.o] Error 1
{standard input}:11372: Error: unknown opcode
{standard input}:14484: Error: unknown opcode
make[6]: *** [scripts/Makefile.build:280: drivers/net/wireless/ath/ath6kl/debug.o] Error 1
make[4]: Target '__build' not remade because of errors.
make[3]: *** [scripts/Makefile.build:497: drivers/net/slip] Error 2
drivers/net/ieee802154/ca8210.c:1840:27: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __le16 [addressable] [assigned] [usertype] pan_id @@ got unsigned short [usertype] @@
drivers/net/ieee802154/ca8210.c:1840:27: sparse: expected restricted __le16 [addressable] [assigned] [usertype] pan_id
drivers/net/ieee802154/ca8210.c:1840:27: sparse: got unsigned short [usertype]
drivers/net/ieee802154/ca8210.c:1845:25: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __le16 [addressable] [assigned] [usertype] pan_id @@ got unsigned short [usertype] @@
drivers/net/ieee802154/ca8210.c:1845:25: sparse: expected restricted __le16 [addressable] [assigned] [usertype] pan_id
drivers/net/ieee802154/ca8210.c:1845:25: sparse: got unsigned short [usertype]
drivers/net/ieee802154/ca8210.c:1971:28: sparse: sparse: incorrect type in argument 3 (different base types) @@ expected unsigned short [usertype] dst_pan_id @@ got restricted __le16 [addressable] [usertype] pan_id @@
drivers/net/ieee802154/ca8210.c:1971:28: sparse: expected unsigned short [usertype] dst_pan_id
drivers/net/ieee802154/ca8210.c:1971:28: sparse: got restricted __le16 [addressable] [usertype] pan_id
drivers/net/ieee802154/ca8210.c:326: warning: Function parameter or member 'readq' not described in 'ca8210_test'
drivers/net/ieee802154/ca8210.c:375: warning: Function parameter or member 'spi_transfer_complete' not described in 'ca8210_priv'
drivers/net/ieee802154/ca8210.c:375: warning: Function parameter or member 'sync_exchange_complete' not described in 'ca8210_priv'
drivers/net/ieee802154/ca8210.c:375: warning: Function parameter or member 'promiscuous' not described in 'ca8210_priv'
drivers/net/ieee802154/ca8210.c:430: warning: Function parameter or member 'short_address' not described in 'macaddr'
drivers/net/ieee802154/ca8210.c:723: warning: Function parameter or member 'cas_ctl' not described in 'ca8210_rx_done'
drivers/net/ieee802154/ca8210.c:723: warning: Excess function parameter 'arg' description in 'ca8210_rx_done'
drivers/net/ieee802154/ca8210.c:1289: warning: Excess function parameter 'device_ref' description in 'tdme_checkpibattribute'
drivers/net/ieee802154/ca8210.c:3053: warning: Function parameter or member 'spi_device' not described in 'ca8210_remove'
drivers/net/ieee802154/ca8210.c:3053: warning: Excess function parameter 'priv' description in 'ca8210_remove'
drivers/net/ieee802154/ca8210.c:3103: warning: Function parameter or member 'spi_device' not described in 'ca8210_probe'
drivers/net/ieee802154/ca8210.c:3103: warning: Excess function parameter 'priv' description in 'ca8210_probe'
{standard input}: Assembler messages:
{standard input}:66: Error: unknown opcode
{standard input}:129: Error: unknown opcode
{standard input}: Assembler messages:
{standard input}:609: Error: unknown opcode
make[4]: *** [scripts/Makefile.build:281: drivers/net/phy/mdio-xpcs.o] Error 1
drivers/net/wireless/marvell/libertas/cfg.c: In function 'lbs_ret_scan':
drivers/net/wireless/marvell/libertas/cfg.c:586:6: warning: variable 'ssid_len' set but not used [-Wunused-but-set-variable]
586 | u8 ssid_len = 0;
| ^~~~~~~~
drivers/net/wireless/marvell/libertas/cfg.c:585:13: warning: variable 'ssid' set but not used [-Wunused-but-set-variable]
585 | const u8 *ssid = NULL;
| ^~~~
drivers/net/wireless/marvell/libertas/cfg.c:507:6: warning: variable 'tsfsize' set but not used [-Wunused-but-set-variable]
507 | int tsfsize;
| ^~~~~~~
drivers/net/wireless/marvell/libertas/cfg.c: In function 'lbs_associate':
drivers/net/wireless/marvell/libertas/cfg.c:1075:6: warning: variable 'tmp' set but not used [-Wunused-but-set-variable]
1075 | u8 *tmp;
| ^~~
{standard input}: Assembler messages:
{standard input}:7516: Error: unknown opcode
{standard input}: Assembler messages:
{standard input}:50: Error: unknown opcode
{standard input}:113: Error: unknown opcode
{standard input}:13038: Error: unknown opcode
make[6]: *** [scripts/Makefile.build:281: drivers/net/wireless/marvell/libertas/cfg.o] Error 1
{standard input}: Assembler messages:
{standard input}:2550: Error: unknown opcode
--
>> net/netrom/af_netrom.c:309:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@
net/netrom/af_netrom.c:309:13: sparse: expected unsigned int const *__gu_addr
>> net/netrom/af_netrom.c:309:13: sparse: got unsigned int [noderef] __user *
>> net/netrom/af_netrom.c:309:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user * @@ got unsigned int const *__gu_addr @@
>> net/netrom/af_netrom.c:309:13: sparse: expected void const volatile [noderef] __user *
net/netrom/af_netrom.c:309:13: sparse: got unsigned int const *__gu_addr
>> net/netrom/af_netrom.c:359:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *optlen @@
net/netrom/af_netrom.c:359:13: sparse: expected int const *__gu_addr
>> net/netrom/af_netrom.c:359:13: sparse: got int [noderef] __user *optlen
>> net/netrom/af_netrom.c:359:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user * @@ got int const *__gu_addr @@
net/netrom/af_netrom.c:359:13: sparse: expected void const volatile [noderef] __user *
net/netrom/af_netrom.c:359:13: sparse: got int const *__gu_addr
{standard input}: Assembler messages:
{standard input}:3561: Error: unknown opcode
{standard input}:3592: Error: unknown opcode
{standard input}:3828: Error: unknown opcode
{standard input}: Assembler messages:
{standard input}:582: Error: unknown opcode
{standard input}:717: Error: unknown opcode
make[3]: *** [scripts/Makefile.build:281: net/netrom/nr_dev.o] Error 1
{standard input}:5136: Error: unknown opcode
{standard input}:6774: Error: unknown opcode
{standard input}:8543: Error: unknown opcode
make[3]: *** [scripts/Makefile.build:281: net/netrom/af_netrom.o] Error 1
{standard input}: Assembler messages:
{standard input}:1100: Error: unknown opcode
{standard input}:1131: Error: unknown opcode
{standard input}:1289: Error: unknown opcode
make[3]: *** [scripts/Makefile.build:280: net/netrom/nr_route.o] Error 1
{standard input}: Assembler messages:
{standard input}:1215: Error: unknown opcode
{standard input}:1354: Error: unknown opcode
{standard input}:1386: Error: unknown opcode
make[3]: *** [scripts/Makefile.build:281: net/netrom/nr_timer.o] Error 1
make[3]: Target '__build' not remade because of errors.
vim +309 net/netrom/af_netrom.c
^1da177e4c3f41 Linus Torvalds 2005-04-16 290
^1da177e4c3f41 Linus Torvalds 2005-04-16 291 /*
^1da177e4c3f41 Linus Torvalds 2005-04-16 292 * Handling for system calls applied via the various interfaces to a
^1da177e4c3f41 Linus Torvalds 2005-04-16 293 * NET/ROM socket object.
^1da177e4c3f41 Linus Torvalds 2005-04-16 294 */
^1da177e4c3f41 Linus Torvalds 2005-04-16 295
^1da177e4c3f41 Linus Torvalds 2005-04-16 296 static int nr_setsockopt(struct socket *sock, int level, int optname,
b7058842c940ad David S. Miller 2009-09-30 297 char __user *optval, unsigned int optlen)
^1da177e4c3f41 Linus Torvalds 2005-04-16 298 {
^1da177e4c3f41 Linus Torvalds 2005-04-16 299 struct sock *sk = sock->sk;
^1da177e4c3f41 Linus Torvalds 2005-04-16 300 struct nr_sock *nr = nr_sk(sk);
32288eb4d940b1 Xi Wang 2011-12-27 301 unsigned long opt;
^1da177e4c3f41 Linus Torvalds 2005-04-16 302
^1da177e4c3f41 Linus Torvalds 2005-04-16 303 if (level != SOL_NETROM)
^1da177e4c3f41 Linus Torvalds 2005-04-16 304 return -ENOPROTOOPT;
^1da177e4c3f41 Linus Torvalds 2005-04-16 305
32288eb4d940b1 Xi Wang 2011-12-27 306 if (optlen < sizeof(unsigned int))
^1da177e4c3f41 Linus Torvalds 2005-04-16 307 return -EINVAL;
^1da177e4c3f41 Linus Torvalds 2005-04-16 308
32288eb4d940b1 Xi Wang 2011-12-27 @309 if (get_user(opt, (unsigned int __user *)optval))
^1da177e4c3f41 Linus Torvalds 2005-04-16 310 return -EFAULT;
^1da177e4c3f41 Linus Torvalds 2005-04-16 311
^1da177e4c3f41 Linus Torvalds 2005-04-16 312 switch (optname) {
^1da177e4c3f41 Linus Torvalds 2005-04-16 313 case NETROM_T1:
32288eb4d940b1 Xi Wang 2011-12-27 314 if (opt < 1 || opt > ULONG_MAX / HZ)
^1da177e4c3f41 Linus Torvalds 2005-04-16 315 return -EINVAL;
^1da177e4c3f41 Linus Torvalds 2005-04-16 316 nr->t1 = opt * HZ;
^1da177e4c3f41 Linus Torvalds 2005-04-16 317 return 0;
^1da177e4c3f41 Linus Torvalds 2005-04-16 318
^1da177e4c3f41 Linus Torvalds 2005-04-16 319 case NETROM_T2:
32288eb4d940b1 Xi Wang 2011-12-27 320 if (opt < 1 || opt > ULONG_MAX / HZ)
^1da177e4c3f41 Linus Torvalds 2005-04-16 321 return -EINVAL;
^1da177e4c3f41 Linus Torvalds 2005-04-16 322 nr->t2 = opt * HZ;
^1da177e4c3f41 Linus Torvalds 2005-04-16 323 return 0;
^1da177e4c3f41 Linus Torvalds 2005-04-16 324
^1da177e4c3f41 Linus Torvalds 2005-04-16 325 case NETROM_N2:
^1da177e4c3f41 Linus Torvalds 2005-04-16 326 if (opt < 1 || opt > 31)
^1da177e4c3f41 Linus Torvalds 2005-04-16 327 return -EINVAL;
^1da177e4c3f41 Linus Torvalds 2005-04-16 328 nr->n2 = opt;
^1da177e4c3f41 Linus Torvalds 2005-04-16 329 return 0;
^1da177e4c3f41 Linus Torvalds 2005-04-16 330
^1da177e4c3f41 Linus Torvalds 2005-04-16 331 case NETROM_T4:
32288eb4d940b1 Xi Wang 2011-12-27 332 if (opt < 1 || opt > ULONG_MAX / HZ)
^1da177e4c3f41 Linus Torvalds 2005-04-16 333 return -EINVAL;
^1da177e4c3f41 Linus Torvalds 2005-04-16 334 nr->t4 = opt * HZ;
^1da177e4c3f41 Linus Torvalds 2005-04-16 335 return 0;
^1da177e4c3f41 Linus Torvalds 2005-04-16 336
^1da177e4c3f41 Linus Torvalds 2005-04-16 337 case NETROM_IDLE:
32288eb4d940b1 Xi Wang 2011-12-27 338 if (opt > ULONG_MAX / (60 * HZ))
^1da177e4c3f41 Linus Torvalds 2005-04-16 339 return -EINVAL;
^1da177e4c3f41 Linus Torvalds 2005-04-16 340 nr->idle = opt * 60 * HZ;
^1da177e4c3f41 Linus Torvalds 2005-04-16 341 return 0;
^1da177e4c3f41 Linus Torvalds 2005-04-16 342
^1da177e4c3f41 Linus Torvalds 2005-04-16 343 default:
^1da177e4c3f41 Linus Torvalds 2005-04-16 344 return -ENOPROTOOPT;
^1da177e4c3f41 Linus Torvalds 2005-04-16 345 }
^1da177e4c3f41 Linus Torvalds 2005-04-16 346 }
^1da177e4c3f41 Linus Torvalds 2005-04-16 347
^1da177e4c3f41 Linus Torvalds 2005-04-16 348 static int nr_getsockopt(struct socket *sock, int level, int optname,
^1da177e4c3f41 Linus Torvalds 2005-04-16 349 char __user *optval, int __user *optlen)
^1da177e4c3f41 Linus Torvalds 2005-04-16 350 {
^1da177e4c3f41 Linus Torvalds 2005-04-16 351 struct sock *sk = sock->sk;
^1da177e4c3f41 Linus Torvalds 2005-04-16 352 struct nr_sock *nr = nr_sk(sk);
^1da177e4c3f41 Linus Torvalds 2005-04-16 353 int val = 0;
^1da177e4c3f41 Linus Torvalds 2005-04-16 354 int len;
^1da177e4c3f41 Linus Torvalds 2005-04-16 355
^1da177e4c3f41 Linus Torvalds 2005-04-16 356 if (level != SOL_NETROM)
^1da177e4c3f41 Linus Torvalds 2005-04-16 357 return -ENOPROTOOPT;
^1da177e4c3f41 Linus Torvalds 2005-04-16 358
^1da177e4c3f41 Linus Torvalds 2005-04-16 @359 if (get_user(len, optlen))
^1da177e4c3f41 Linus Torvalds 2005-04-16 360 return -EFAULT;
^1da177e4c3f41 Linus Torvalds 2005-04-16 361
^1da177e4c3f41 Linus Torvalds 2005-04-16 362 if (len < 0)
^1da177e4c3f41 Linus Torvalds 2005-04-16 363 return -EINVAL;
^1da177e4c3f41 Linus Torvalds 2005-04-16 364
^1da177e4c3f41 Linus Torvalds 2005-04-16 365 switch (optname) {
^1da177e4c3f41 Linus Torvalds 2005-04-16 366 case NETROM_T1:
^1da177e4c3f41 Linus Torvalds 2005-04-16 367 val = nr->t1 / HZ;
^1da177e4c3f41 Linus Torvalds 2005-04-16 368 break;
^1da177e4c3f41 Linus Torvalds 2005-04-16 369
^1da177e4c3f41 Linus Torvalds 2005-04-16 370 case NETROM_T2:
^1da177e4c3f41 Linus Torvalds 2005-04-16 371 val = nr->t2 / HZ;
^1da177e4c3f41 Linus Torvalds 2005-04-16 372 break;
^1da177e4c3f41 Linus Torvalds 2005-04-16 373
^1da177e4c3f41 Linus Torvalds 2005-04-16 374 case NETROM_N2:
^1da177e4c3f41 Linus Torvalds 2005-04-16 375 val = nr->n2;
^1da177e4c3f41 Linus Torvalds 2005-04-16 376 break;
^1da177e4c3f41 Linus Torvalds 2005-04-16 377
^1da177e4c3f41 Linus Torvalds 2005-04-16 378 case NETROM_T4:
^1da177e4c3f41 Linus Torvalds 2005-04-16 379 val = nr->t4 / HZ;
^1da177e4c3f41 Linus Torvalds 2005-04-16 380 break;
^1da177e4c3f41 Linus Torvalds 2005-04-16 381
^1da177e4c3f41 Linus Torvalds 2005-04-16 382 case NETROM_IDLE:
^1da177e4c3f41 Linus Torvalds 2005-04-16 383 val = nr->idle / (60 * HZ);
^1da177e4c3f41 Linus Torvalds 2005-04-16 384 break;
^1da177e4c3f41 Linus Torvalds 2005-04-16 385
^1da177e4c3f41 Linus Torvalds 2005-04-16 386 default:
^1da177e4c3f41 Linus Torvalds 2005-04-16 387 return -ENOPROTOOPT;
^1da177e4c3f41 Linus Torvalds 2005-04-16 388 }
^1da177e4c3f41 Linus Torvalds 2005-04-16 389
^1da177e4c3f41 Linus Torvalds 2005-04-16 390 len = min_t(unsigned int, len, sizeof(int));
^1da177e4c3f41 Linus Torvalds 2005-04-16 391
^1da177e4c3f41 Linus Torvalds 2005-04-16 392 if (put_user(len, optlen))
^1da177e4c3f41 Linus Torvalds 2005-04-16 393 return -EFAULT;
^1da177e4c3f41 Linus Torvalds 2005-04-16 394
^1da177e4c3f41 Linus Torvalds 2005-04-16 395 return copy_to_user(optval, &val, len) ? -EFAULT : 0;
^1da177e4c3f41 Linus Torvalds 2005-04-16 396 }
^1da177e4c3f41 Linus Torvalds 2005-04-16 397
:::::: The code at line 309 was first introduced by commit
:::::: 32288eb4d940b10e40c6d4178fe3a40d1437d2f8 netrom: avoid overflows in nr_setsockopt()
:::::: TO: Xi Wang <xi.wang(a)gmail.com>
:::::: CC: David S. Miller <davem(a)davemloft.net>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years
[iio:testing 72/75] drivers/iio/industrialio-core.c:168:16: error: redefinition of 'iio_get_debugfs_dentry'
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio.git testing
head: fd1e8bb8eb47fe6c5c8fc29b83b595b8cfbf3dc7
commit: d634f6b9cc37b15b7b8a457abb37cd7872e5a897 [72/75] iio: core: move debugfs data on the private iio dev info
config: sparc64-randconfig-c021-20200629 (attached as .config)
compiler: sparc64-linux-gcc (GCC) 9.3.0
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
>> drivers/iio/industrialio-core.c:168:16: error: redefinition of 'iio_get_debugfs_dentry'
168 | struct dentry *iio_get_debugfs_dentry(struct iio_dev *indio_dev)
| ^~~~~~~~~~~~~~~~~~~~~~
In file included from drivers/iio/industrialio-core.c:27:
include/linux/iio/iio.h:724:30: note: previous definition of 'iio_get_debugfs_dentry' was here
724 | static inline struct dentry *iio_get_debugfs_dentry(struct iio_dev *indio_dev)
| ^~~~~~~~~~~~~~~~~~~~~~
drivers/iio/industrialio-core.c: In function 'iio_get_debugfs_dentry':
>> drivers/iio/industrialio-core.c:171:23: error: 'struct iio_dev_opaque' has no member named 'debugfs_dentry'
171 | return iio_dev_opaque->debugfs_dentry;
| ^~
drivers/iio/industrialio-core.c:172:1: warning: control reaches end of non-void function [-Wreturn-type]
172 | }
| ^
vim +/iio_get_debugfs_dentry +168 drivers/iio/industrialio-core.c
167
> 168 struct dentry *iio_get_debugfs_dentry(struct iio_dev *indio_dev)
169 {
170 struct iio_dev_opaque *iio_dev_opaque = to_iio_dev_opaque(indio_dev);
> 171 return iio_dev_opaque->debugfs_dentry;
172 }
173 EXPORT_SYMBOL_GPL(iio_get_debugfs_dentry);
174
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years
Re: [PATCH 2/4] io_uring: handle EAGAIN iopoll
by kernel test robot
Hi Pavel,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on next-20200622]
[cannot apply to linus/master v5.8-rc2 v5.8-rc1 v5.7 v5.8-rc3]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use as documented in
https://git-scm.com/docs/git-format-patch]
url: https://github.com/0day-ci/linux/commits/Pavel-Begunkov/iopoll-fixes-clea...
base: 27f11fea33608cbd321a97cbecfa2ef97dcc1821
config: x86_64-randconfig-a001-20200629-CONFIG_DEBUG_INFO_REDUCED (attached as .config)
compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project cf1d04484344be52ada8178e41d18fd15a9b880c)
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
# install x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
kernel/locking/rwsem.c:295:1: warning: unused function 'rwsem_owner_flags'
rwsem_owner_flags(struct rw_semaphore unsigned long
^
In file included from kernel/cpu.c:26:
In file included from include/linux/suspend.h:5:
In file included from include/linux/swap.h:9:
include/linux/memcontrol.h:45:30: warning: implicit conversion from enumeration type 'enum memcg_stat_item' to different enumeration type 'enum node_stat_item'
return vmstat_item_in_bytes(item);
~~~~~~~~~~~~~~~~~~~~ ^~~~
In file included from kernel/exit.c:53:
In file included from include/linux/tracehook.h:50:
include/linux/memcontrol.h:45:30: warning: implicit conversion from enumeration type 'enum memcg_stat_item' to different enumeration type 'enum node_stat_item'
return vmstat_item_in_bytes(item);
~~~~~~~~~~~~~~~~~~~~ ^~~~
kernel/panic.c:85:13: warning: no previous prototype for function 'panic_smp_self_stop'
void __weak panic_smp_self_stop(void)
^
kernel/panic.c:85:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void __weak panic_smp_self_stop(void)
^
static
kernel/panic.c:95:13: warning: no previous prototype for function 'nmi_panic_self_stop'
void __weak nmi_panic_self_stop(struct pt_regs
^
kernel/panic.c:95:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void __weak nmi_panic_self_stop(struct pt_regs
^
static
kernel/panic.c:106:13: warning: no previous prototype for function 'crash_smp_send_stop'
void __weak crash_smp_send_stop(void)
^
kernel/panic.c:106:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void __weak crash_smp_send_stop(void)
^
static
3 warnings generated.
In file included from kernel/fork.c:53:
In file included from include/linux/swap.h:9:
include/linux/memcontrol.h:45:30: warning: implicit conversion from enumeration type 'enum memcg_stat_item' to different enumeration type 'enum node_stat_item'
return vmstat_item_in_bytes(item);
~~~~~~~~~~~~~~~~~~~~ ^~~~
In file included from kernel/power/user.c:10:
In file included from include/linux/suspend.h:5:
In file included from include/linux/swap.h:9:
include/linux/memcontrol.h:45:30: warning: implicit conversion from enumeration type 'enum memcg_stat_item' to different enumeration type 'enum node_stat_item'
return vmstat_item_in_bytes(item);
~~~~~~~~~~~~~~~~~~~~ ^~~~
kernel/cpu.c:101:20: warning: unused function 'cpuhp_lock_acquire'
static inline void cpuhp_lock_acquire(bool bringup) { }
^
kernel/cpu.c:102:20: warning: unused function 'cpuhp_lock_release'
static inline void cpuhp_lock_release(bool bringup) { }
^
1 warning generated.
1 warning generated.
In file included from kernel/power/wakelock.c:23:
In file included from kernel/power/power.h:2:
In file included from include/linux/suspend.h:5:
In file included from include/linux/swap.h:9:
include/linux/memcontrol.h:45:30: warning: implicit conversion from enumeration type 'enum memcg_stat_item' to different enumeration type 'enum node_stat_item'
return vmstat_item_in_bytes(item);
~~~~~~~~~~~~~~~~~~~~ ^~~~
>> kernel/power/wakelock.c:74:20: warning: unused function 'decrement_wakelocks_number'
static inline void decrement_wakelocks_number(void)
^
3 warnings generated.
2 warnings generated.
kernel/cpu.c:56: warning: cannot understand function prototype: 'struct cpuhp_cpu_state '
kernel/cpu.c:113: warning: cannot understand function prototype: 'struct cpuhp_step '
kernel/cpu.c:1884: warning: Function parameter or member 'name' not described in '__cpuhp_setup_state_cpuslocked'
In file included from kernel/sched/core.c:9:
In file included from kernel/sched/sched.h:63:
In file included from include/linux/suspend.h:5:
In file included from include/linux/swap.h:9:
include/linux/memcontrol.h:45:30: warning: implicit conversion from enumeration type 'enum memcg_stat_item' to different enumeration type 'enum node_stat_item'
return vmstat_item_in_bytes(item);
~~~~~~~~~~~~~~~~~~~~ ^~~~
>> kernel/trace/ftrace.c:6859:20: warning: unused function 'ftrace_startup_enable'
static inline void ftrace_startup_enable(int command) { }
^
1 warning generated.
kernel/sched/core.c:4270:35: warning: no previous prototype for function 'schedule_user'
asmlinkage __visible void __sched schedule_user(void)
^
kernel/sched/core.c:4270:22: note: declare 'static' if the function is not intended to be used outside of this translation unit
asmlinkage __visible void __sched schedule_user(void)
^
static
In file included from kernel/power/process.c:14:
In file included from include/linux/suspend.h:5:
In file included from include/linux/swap.h:9:
include/linux/memcontrol.h:45:30: warning: implicit conversion from enumeration type 'enum memcg_stat_item' to different enumeration type 'enum node_stat_item'
return vmstat_item_in_bytes(item);
~~~~~~~~~~~~~~~~~~~~ ^~~~
1 warning generated.
1 warning generated.
In file included from kernel/power/snapshot.c:16:
In file included from include/linux/suspend.h:5:
In file included from include/linux/swap.h:9:
include/linux/memcontrol.h:45:30: warning: implicit conversion from enumeration type 'enum memcg_stat_item' to different enumeration type 'enum node_stat_item'
return vmstat_item_in_bytes(item);
~~~~~~~~~~~~~~~~~~~~ ^~~~
kernel/fork.c:1153: warning: Function parameter or member 'mm' not described in 'set_mm_exe_file'
kernel/fork.c:1153: warning: Function parameter or member 'new_exe_file' not described in 'set_mm_exe_file'
kernel/fork.c:1177: warning: Function parameter or member 'mm' not described in 'get_mm_exe_file'
kernel/fork.c:1197: warning: Function parameter or member 'task' not described in 'get_task_exe_file'
kernel/fork.c:1222: warning: Function parameter or member 'task' not described in 'get_task_mm'
kernel/sched/core.c:227:1: warning: unused function 'rq_csd_init'
rq_csd_init(struct rq call_single_data_t smp_call_func_t func)
^
kernel/sched/core.c:3822:20: warning: unused function 'sched_tick_start'
static inline void sched_tick_start(int cpu) { }
^
kernel/sched/core.c:3823:20: warning: unused function 'sched_tick_stop'
static inline void sched_tick_stop(int cpu) { }
^
kernel/trace/ftrace.c:5350: warning: Function parameter or member 'ops' not described in 'ftrace_set_filter_ip'
kernel/trace/ftrace.c:5350: warning: Function parameter or member 'ip' not described in 'ftrace_set_filter_ip'
kernel/trace/ftrace.c:5350: warning: Function parameter or member 'remove' not described in 'ftrace_set_filter_ip'
kernel/trace/ftrace.c:5350: warning: Function parameter or member 'reset' not described in 'ftrace_set_filter_ip'
kernel/trace/ftrace.c:5364: warning: Function parameter or member 'ops' not described in 'ftrace_ops_set_global_filter'
kernel/trace/ftrace.c:5392: warning: Function parameter or member 'ops' not described in 'ftrace_set_filter'
kernel/trace/ftrace.c:5392: warning: Function parameter or member 'buf' not described in 'ftrace_set_filter'
kernel/trace/ftrace.c:5392: warning: Function parameter or member 'len' not described in 'ftrace_set_filter'
kernel/trace/ftrace.c:5392: warning: Function parameter or member 'reset' not described in 'ftrace_set_filter'
kernel/trace/ftrace.c:5411: warning: Function parameter or member 'ops' not described in 'ftrace_set_notrace'
kernel/trace/ftrace.c:5411: warning: Function parameter or member 'buf' not described in 'ftrace_set_notrace'
kernel/trace/ftrace.c:5411: warning: Function parameter or member 'len' not described in 'ftrace_set_notrace'
kernel/trace/ftrace.c:5411: warning: Function parameter or member 'reset' not described in 'ftrace_set_notrace'
kernel/trace/ftrace.c:5426: warning: Function parameter or member 'buf' not described in 'ftrace_set_global_filter'
kernel/trace/ftrace.c:5426: warning: Function parameter or member 'len' not described in 'ftrace_set_global_filter'
kernel/trace/ftrace.c:5426: warning: Function parameter or member 'reset' not described in 'ftrace_set_global_filter'
kernel/trace/ftrace.c:5442: warning: Function parameter or member 'buf' not described in 'ftrace_set_global_notrace'
kernel/trace/ftrace.c:5442: warning: Function parameter or member 'len' not described in 'ftrace_set_global_notrace'
kernel/trace/ftrace.c:5442: warning: Function parameter or member 'reset' not described in 'ftrace_set_global_notrace'
kernel/trace/ftrace.c:7471: warning: Function parameter or member 'ops' not described in 'register_ftrace_function'
kernel/trace/ftrace.c:7493: warning: Function parameter or member 'ops' not described in 'unregister_ftrace_function'
In file included from kernel/power/main.c:16:
In file included from include/linux/suspend.h:5:
In file included from include/linux/swap.h:9:
include/linux/memcontrol.h:45:30: warning: implicit conversion from enumeration type 'enum memcg_stat_item' to different enumeration type 'enum node_stat_item'
return vmstat_item_in_bytes(item);
~~~~~~~~~~~~~~~~~~~~ ^~~~
In file included from kernel/power/hibernate.c:15:
In file included from include/linux/suspend.h:5:
In file included from include/linux/swap.h:9:
include/linux/memcontrol.h:45:30: warning: implicit conversion from enumeration type 'enum memcg_stat_item' to different enumeration type 'enum node_stat_item'
return vmstat_item_in_bytes(item);
~~~~~~~~~~~~~~~~~~~~ ^~~~
In file included from kernel/power/swap.c:23:
In file included from include/linux/swap.h:9:
include/linux/memcontrol.h:45:30: warning: implicit conversion from enumeration type 'enum memcg_stat_item' to different enumeration type 'enum node_stat_item'
return vmstat_item_in_bytes(item);
~~~~~~~~~~~~~~~~~~~~ ^~~~
In file included from kernel/sched/loadavg.c:9:
In file included from kernel/sched/sched.h:63:
In file included from include/linux/suspend.h:5:
In file included from include/linux/swap.h:9:
include/linux/memcontrol.h:45:30: warning: implicit conversion from enumeration type 'enum memcg_stat_item' to different enumeration type 'enum node_stat_item'
return vmstat_item_in_bytes(item);
~~~~~~~~~~~~~~~~~~~~ ^~~~
kernel/power/snapshot.c:1266:21: warning: unused function 'saveable_highmem_page'
static inline void zone unsigned long p)
^
1 warning generated.
In file included from kernel/sysctl.c:25:
In file included from include/linux/swap.h:9:
include/linux/memcontrol.h:45:30: warning: implicit conversion from enumeration type 'enum memcg_stat_item' to different enumeration type 'enum node_stat_item'
return vmstat_item_in_bytes(item);
~~~~~~~~~~~~~~~~~~~~ ^~~~
1 warning generated.
In file included from kernel/cgroup/cgroup.c:60:
In file included from include/net/sock.h:53:
include/linux/memcontrol.h:45:30: warning: implicit conversion from enumeration type 'enum memcg_stat_item' to different enumeration type 'enum node_stat_item'
return vmstat_item_in_bytes(item);
~~~~~~~~~~~~~~~~~~~~ ^~~~
kernel/power/hibernate.c:272:12: warning: no previous prototype for function 'arch_resume_nosmt'
__weak int arch_resume_nosmt(void)
--
In file included from kernel/power/user.c:10:
In file included from include/linux/suspend.h:5:
In file included from include/linux/swap.h:9:
include/linux/memcontrol.h:45:30: warning: implicit conversion from enumeration type 'enum memcg_stat_item' to different enumeration type 'enum node_stat_item' [-Wenum-conversion]
return vmstat_item_in_bytes(item);
~~~~~~~~~~~~~~~~~~~~ ^~~~
1 warning generated.
In file included from kernel/power/wakelock.c:23:
In file included from kernel/power/power.h:2:
In file included from include/linux/suspend.h:5:
In file included from include/linux/swap.h:9:
include/linux/memcontrol.h:45:30: warning: implicit conversion from enumeration type 'enum memcg_stat_item' to different enumeration type 'enum node_stat_item' [-Wenum-conversion]
return vmstat_item_in_bytes(item);
~~~~~~~~~~~~~~~~~~~~ ^~~~
>> kernel/power/wakelock.c:74:20: warning: unused function 'decrement_wakelocks_number' [-Wunused-function]
static inline void decrement_wakelocks_number(void)
^
2 warnings generated.
In file included from kernel/power/process.c:14:
In file included from include/linux/suspend.h:5:
In file included from include/linux/swap.h:9:
include/linux/memcontrol.h:45:30: warning: implicit conversion from enumeration type 'enum memcg_stat_item' to different enumeration type 'enum node_stat_item' [-Wenum-conversion]
return vmstat_item_in_bytes(item);
~~~~~~~~~~~~~~~~~~~~ ^~~~
In file included from kernel/power/snapshot.c:16:
In file included from include/linux/suspend.h:5:
In file included from include/linux/swap.h:9:
include/linux/memcontrol.h:45:30: warning: implicit conversion from enumeration type 'enum memcg_stat_item' to different enumeration type 'enum node_stat_item' [-Wenum-conversion]
return vmstat_item_in_bytes(item);
~~~~~~~~~~~~~~~~~~~~ ^~~~
In file included from kernel/power/main.c:16:
In file included from include/linux/suspend.h:5:
In file included from include/linux/swap.h:9:
include/linux/memcontrol.h:45:30: warning: implicit conversion from enumeration type 'enum memcg_stat_item' to different enumeration type 'enum node_stat_item' [-Wenum-conversion]
return vmstat_item_in_bytes(item);
~~~~~~~~~~~~~~~~~~~~ ^~~~
In file included from kernel/power/hibernate.c:15:
In file included from include/linux/suspend.h:5:
In file included from include/linux/swap.h:9:
include/linux/memcontrol.h:45:30: warning: implicit conversion from enumeration type 'enum memcg_stat_item' to different enumeration type 'enum node_stat_item' [-Wenum-conversion]
return vmstat_item_in_bytes(item);
~~~~~~~~~~~~~~~~~~~~ ^~~~
In file included from kernel/power/swap.c:23:
In file included from include/linux/swap.h:9:
include/linux/memcontrol.h:45:30: warning: implicit conversion from enumeration type 'enum memcg_stat_item' to different enumeration type 'enum node_stat_item' [-Wenum-conversion]
return vmstat_item_in_bytes(item);
~~~~~~~~~~~~~~~~~~~~ ^~~~
kernel/power/snapshot.c:1266:21: warning: unused function 'saveable_highmem_page' [-Wunused-function]
static inline void *saveable_highmem_page(struct zone *z, unsigned long p)
^
1 warning generated.
kernel/power/hibernate.c:272:12: warning: no previous prototype for function 'arch_resume_nosmt' [-Wmissing-prototypes]
__weak int arch_resume_nosmt(void)
^
kernel/power/hibernate.c:272:8: note: declare 'static' if the function is not intended to be used outside of this translation unit
__weak int arch_resume_nosmt(void)
^
static
kernel/power/main.c:593: warning: Function parameter or member 'kobj' not described in 'state_show'
kernel/power/main.c:593: warning: Function parameter or member 'attr' not described in 'state_show'
kernel/power/main.c:593: warning: Function parameter or member 'buf' not described in 'state_show'
2 warnings generated.
kernel/power/snapshot.c:404: warning: Function parameter or member 'gfp_mask' not described in 'alloc_rtree_node'
kernel/power/snapshot.c:404: warning: Function parameter or member 'safe_needed' not described in 'alloc_rtree_node'
kernel/power/snapshot.c:404: warning: Function parameter or member 'ca' not described in 'alloc_rtree_node'
kernel/power/snapshot.c:404: warning: Function parameter or member 'list' not described in 'alloc_rtree_node'
kernel/power/snapshot.c:429: warning: Function parameter or member 'zone' not described in 'add_rtree_block'
kernel/power/snapshot.c:429: warning: Function parameter or member 'gfp_mask' not described in 'add_rtree_block'
kernel/power/snapshot.c:429: warning: Function parameter or member 'safe_needed' not described in 'add_rtree_block'
kernel/power/snapshot.c:429: warning: Function parameter or member 'ca' not described in 'add_rtree_block'
kernel/power/snapshot.c:502: warning: Function parameter or member 'gfp_mask' not described in 'create_zone_bm_rtree'
kernel/power/snapshot.c:502: warning: Function parameter or member 'safe_needed' not described in 'create_zone_bm_rtree'
kernel/power/snapshot.c:502: warning: Function parameter or member 'ca' not described in 'create_zone_bm_rtree'
kernel/power/snapshot.c:502: warning: Function parameter or member 'start' not described in 'create_zone_bm_rtree'
kernel/power/snapshot.c:502: warning: Function parameter or member 'end' not described in 'create_zone_bm_rtree'
kernel/power/snapshot.c:537: warning: Function parameter or member 'zone' not described in 'free_zone_bm_rtree'
kernel/power/snapshot.c:537: warning: Function parameter or member 'clear_nosave_free' not described in 'free_zone_bm_rtree'
kernel/power/snapshot.c:644: warning: Function parameter or member 'bm' not described in 'memory_bm_create'
kernel/power/snapshot.c:644: warning: Function parameter or member 'gfp_mask' not described in 'memory_bm_create'
kernel/power/snapshot.c:644: warning: Function parameter or member 'safe_needed' not described in 'memory_bm_create'
kernel/power/snapshot.c:686: warning: Function parameter or member 'clear_nosave_free' not described in 'memory_bm_free'
kernel/power/snapshot.c:708: warning: Function parameter or member 'bm' not described in 'memory_bm_find_bit'
kernel/power/snapshot.c:708: warning: Function parameter or member 'pfn' not described in 'memory_bm_find_bit'
kernel/power/snapshot.c:708: warning: Function parameter or member 'addr' not described in 'memory_bm_find_bit'
kernel/power/snapshot.c:708: warning: Function parameter or member 'bit_nr' not described in 'memory_bm_find_bit'
kernel/power/snapshot.c:949: warning: Function parameter or member 'start_pfn' not described in '__register_nosave_region'
kernel/power/snapshot.c:949: warning: Function parameter or member 'end_pfn' not described in '__register_nosave_region'
kernel/power/snapshot.c:949: warning: Function parameter or member 'use_kmalloc' not described in '__register_nosave_region'
kernel/power/snapshot.c:1219: warning: Function parameter or member 'zone' not described in 'saveable_highmem_page'
kernel/power/snapshot.c:1219: warning: Function parameter or member 'pfn' not described in 'saveable_highmem_page'
kernel/power/snapshot.c:1283: warning: Function parameter or member 'zone' not described in 'saveable_page'
kernel/power/snapshot.c:1283: warning: Function parameter or member 'pfn' not described in 'saveable_page'
kernel/power/snapshot.c:1354: warning: Function parameter or member 'dst' not described in 'safe_copy_page'
kernel/power/snapshot.c:1354: warning: Function parameter or member 's_page' not described in 'safe_copy_page'
kernel/power/snapshot.c:1567: warning: Function parameter or member 'x' not described in '__fraction'
kernel/power/snapshot.c:1567: warning: Function parameter or member 'multiplier' not described in '__fraction'
kernel/power/snapshot.c:1567: warning: Function parameter or member 'base' not described in '__fraction'
kernel/power/snapshot.c:1858: warning: Function parameter or member 'nr_highmem' not described in 'count_pages_for_highmem'
kernel/power/snapshot.c:1876: warning: Function parameter or member 'nr_pages' not described in 'enough_free_mem'
kernel/power/snapshot.c:1876: warning: Function parameter or member 'nr_highmem' not described in 'enough_free_mem'
kernel/power/snapshot.c:1899: warning: Function parameter or member 'safe_needed' not described in 'get_highmem_buffer'
kernel/power/snapshot.c:1912: warning: Function parameter or member 'bm' not described in 'alloc_highmem_pages'
kernel/power/snapshot.c:1912: warning: Function parameter or member 'nr_highmem' not described in 'alloc_highmem_pages'
kernel/power/snapshot.c:1947: warning: Function parameter or member 'copy_bm' not described in 'swsusp_alloc'
kernel/power/snapshot.c:1947: warning: Function parameter or member 'nr_pages' not described in 'swsusp_alloc'
kernel/power/snapshot.c:1947: warning: Function parameter or member 'nr_highmem' not described in 'swsusp_alloc'
kernel/power/snapshot.c:2160: warning: Function parameter or member 'bm' not described in 'mark_unsafe_pages'
kernel/power/snapshot.c:2195: warning: Function parameter or member 'info' not described in 'load_header'
kernel/power/snapshot.c:2349: warning: Function parameter or member 'page' not described in 'get_highmem_page_buffer'
kernel/power/snapshot.c:2349: warning: Function parameter or member 'ca' not described in 'get_highmem_page_buffer'
kernel/power/snapshot.c:2534: warning: Function parameter or member 'bm' not described in 'get_buffer'
kernel/power/snapshot.c:2534: warning: Function parameter or member 'ca' not described in 'get_buffer'
kernel/power/snapshot.c:2658: warning: Function parameter or member 'handle' not described in 'snapshot_write_finalize'
1 warning generated.
2 warnings generated.
--
>> kernel/trace/ftrace.c:6859:20: warning: unused function 'ftrace_startup_enable' [-Wunused-function]
static inline void ftrace_startup_enable(int command) { }
^
1 warning generated.
kernel/trace/ftrace.c:5350: warning: Function parameter or member 'ops' not described in 'ftrace_set_filter_ip'
kernel/trace/ftrace.c:5350: warning: Function parameter or member 'ip' not described in 'ftrace_set_filter_ip'
kernel/trace/ftrace.c:5350: warning: Function parameter or member 'remove' not described in 'ftrace_set_filter_ip'
kernel/trace/ftrace.c:5350: warning: Function parameter or member 'reset' not described in 'ftrace_set_filter_ip'
kernel/trace/ftrace.c:5364: warning: Function parameter or member 'ops' not described in 'ftrace_ops_set_global_filter'
kernel/trace/ftrace.c:5392: warning: Function parameter or member 'ops' not described in 'ftrace_set_filter'
kernel/trace/ftrace.c:5392: warning: Function parameter or member 'buf' not described in 'ftrace_set_filter'
kernel/trace/ftrace.c:5392: warning: Function parameter or member 'len' not described in 'ftrace_set_filter'
kernel/trace/ftrace.c:5392: warning: Function parameter or member 'reset' not described in 'ftrace_set_filter'
kernel/trace/ftrace.c:5411: warning: Function parameter or member 'ops' not described in 'ftrace_set_notrace'
kernel/trace/ftrace.c:5411: warning: Function parameter or member 'buf' not described in 'ftrace_set_notrace'
kernel/trace/ftrace.c:5411: warning: Function parameter or member 'len' not described in 'ftrace_set_notrace'
kernel/trace/ftrace.c:5411: warning: Function parameter or member 'reset' not described in 'ftrace_set_notrace'
kernel/trace/ftrace.c:5426: warning: Function parameter or member 'buf' not described in 'ftrace_set_global_filter'
kernel/trace/ftrace.c:5426: warning: Function parameter or member 'len' not described in 'ftrace_set_global_filter'
kernel/trace/ftrace.c:5426: warning: Function parameter or member 'reset' not described in 'ftrace_set_global_filter'
kernel/trace/ftrace.c:5442: warning: Function parameter or member 'buf' not described in 'ftrace_set_global_notrace'
kernel/trace/ftrace.c:5442: warning: Function parameter or member 'len' not described in 'ftrace_set_global_notrace'
kernel/trace/ftrace.c:5442: warning: Function parameter or member 'reset' not described in 'ftrace_set_global_notrace'
kernel/trace/ftrace.c:7471: warning: Function parameter or member 'ops' not described in 'register_ftrace_function'
kernel/trace/ftrace.c:7493: warning: Function parameter or member 'ops' not described in 'unregister_ftrace_function'
kernel/trace/ring_buffer.c:1141: warning: Function parameter or member 'cpu_buffer' not described in 'rb_check_list'
kernel/trace/ring_buffer.c:1141: warning: Function parameter or member 'list' not described in 'rb_check_list'
kernel/trace/trace.c:313: warning: Function parameter or member 'this_tr' not described in 'trace_array_put'
kernel/trace/trace.c:392: warning: Function parameter or member 'filtered_no_pids' not described in 'trace_ignore_this_task'
kernel/trace/trace_seq.c:142: warning: Function parameter or member 'args' not described in 'trace_seq_vprintf'
kernel/trace/trace_preemptirq.c:88:16: warning: no previous prototype for function 'trace_hardirqs_on_caller' [-Wmissing-prototypes]
__visible void trace_hardirqs_on_caller(unsigned long caller_addr)
^
kernel/trace/trace_preemptirq.c:88:11: note: declare 'static' if the function is not intended to be used outside of this translation unit
__visible void trace_hardirqs_on_caller(unsigned long caller_addr)
^
static
kernel/trace/trace_preemptirq.c:103:16: warning: no previous prototype for function 'trace_hardirqs_off_caller' [-Wmissing-prototypes]
__visible void trace_hardirqs_off_caller(unsigned long caller_addr)
^
kernel/trace/trace_preemptirq.c:103:11: note: declare 'static' if the function is not intended to be used outside of this translation unit
__visible void trace_hardirqs_off_caller(unsigned long caller_addr)
^
static
2 warnings generated.
In file included from kernel/trace/fgraph.c:10:
In file included from include/linux/suspend.h:5:
In file included from include/linux/swap.h:9:
include/linux/memcontrol.h:45:30: warning: implicit conversion from enumeration type 'enum memcg_stat_item' to different enumeration type 'enum node_stat_item' [-Wenum-conversion]
return vmstat_item_in_bytes(item);
~~~~~~~~~~~~~~~~~~~~ ^~~~
kernel/trace/fgraph.c:232:15: warning: no previous prototype for function 'ftrace_return_to_handler' [-Wmissing-prototypes]
unsigned long ftrace_return_to_handler(unsigned long frame_pointer)
^
kernel/trace/fgraph.c:232:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
unsigned long ftrace_return_to_handler(unsigned long frame_pointer)
^
static
kernel/trace/fgraph.c:348:6: warning: no previous prototype for function 'ftrace_graph_sleep_time_control' [-Wmissing-prototypes]
void ftrace_graph_sleep_time_control(bool enable)
^
kernel/trace/fgraph.c:348:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void ftrace_graph_sleep_time_control(bool enable)
^
static
3kernel/trace/trace_events_filter.c:1565:1: warningwarning: unused function 'event_set_no_set_filter_flag' [-Wunused-function]s
generated.
event_set_no_set_filter_flag(struct trace_event_file *file)
^
kernel/trace/trace_events_filter.c:1571:1: warning: unused function 'event_clear_no_set_filter_flag' [-Wunused-function]
event_clear_no_set_filter_flag(struct trace_event_file *file)
^
kernel/trace/trace_events_filter.c:1577:1: warning: unused function 'event_no_set_filter_flag' [-Wunused-function]
event_no_set_filter_flag(struct trace_event_file *file)
^
kernel/trace/fgraph.c:298: warning: Function parameter or member 'task' not described in 'ftrace_graph_ret_addr'
kernel/trace/fgraph.c:298: warning: Function parameter or member 'idx' not described in 'ftrace_graph_ret_addr'
kernel/trace/fgraph.c:298: warning: Function parameter or member 'ret' not described in 'ftrace_graph_ret_addr'
kernel/trace/fgraph.c:298: warning: Function parameter or member 'retp' not described in 'ftrace_graph_ret_addr'
kernel/trace/trace_branch.c:205:6: warning: no previous prototype for function 'ftrace_likely_update' [-Wmissing-prototypes]
void ftrace_likely_update(struct ftrace_likely_data *f, int val,
^
kernel/trace/trace_branch.c:205:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void ftrace_likely_update(struct ftrace_likely_data *f, int val,
^
static
1 warning generated.
kernel/trace/trace_events_trigger.c:58: warning: Function parameter or member 'event' not described in 'event_triggers_call'
kernel/trace/trace_events_trigger.c:917: warning: Function parameter or member 'named_data' not described in 'set_named_trigger_data'
3 warnings generated.
kernel/trace/trace_events_filter.c:99: warning: cannot understand function prototype: 'struct prog_entry '
kernel/trace/trace_events_filter.c:118: warning: Function parameter or member 'invert' not described in 'update_preds'
kernel/trace/trace_events_filter.c:118: warning: Excess function parameter 'when_to_branch' description in 'update_preds'
kernel/trace/trace_events_filter.c:1736: warning: Function parameter or member 'tr' not described in 'create_filter'
kernel/trace/trace_events_filter.c:1736: warning: Function parameter or member 'filter_string' not described in 'create_filter'
kernel/trace/trace_events_filter.c:1736: warning: Excess function parameter 'filter_str' description in 'create_filter'
kernel/trace/trace_events_filter.c:1776: warning: Function parameter or member 'dir' not described in 'create_system_filter'
kernel/trace/trace_events_filter.c:1776: warning: Function parameter or member 'tr' not described in 'create_system_filter'
kernel/trace/trace_events_filter.c:1776: warning: Excess function parameter 'system' description in 'create_system_filter'
..
vim +/decrement_wakelocks_number +74 kernel/power/wakelock.c
c73893e2ca731b Rafael J. Wysocki 2012-05-05 73
c73893e2ca731b Rafael J. Wysocki 2012-05-05 @74 static inline void decrement_wakelocks_number(void)
c73893e2ca731b Rafael J. Wysocki 2012-05-05 75 {
c73893e2ca731b Rafael J. Wysocki 2012-05-05 76 number_of_wakelocks--;
c73893e2ca731b Rafael J. Wysocki 2012-05-05 77 }
c73893e2ca731b Rafael J. Wysocki 2012-05-05 78 #else /* CONFIG_PM_WAKELOCKS_LIMIT = 0 */
c73893e2ca731b Rafael J. Wysocki 2012-05-05 79 static inline bool wakelocks_limit_exceeded(void) { return false; }
c73893e2ca731b Rafael J. Wysocki 2012-05-05 80 static inline void increment_wakelocks_number(void) {}
c73893e2ca731b Rafael J. Wysocki 2012-05-05 81 static inline void decrement_wakelocks_number(void) {}
c73893e2ca731b Rafael J. Wysocki 2012-05-05 82 #endif /* CONFIG_PM_WAKELOCKS_LIMIT */
c73893e2ca731b Rafael J. Wysocki 2012-05-05 83
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years