Buildresult: linux-next/sh-allyesconfig/sh4-gcc10 built on Jun 2 2020, 22:20
kisskb
Revisions
|
Branches
|
Compilers
|
Configs
|
Build Results
|
Build Failures
|
Status:
Failed
Date/Time:
Jun 2 2020, 22:20
Duration:
0:13:41.494548
Builder:
blade4b
Revision:
Add linux-next specific files for 20200602 (
0e21d4620dd047da7952f44a2e1ac777ded2d57e)
Target:
linux-next/sh-allyesconfig/sh4-gcc10
Branch:
linux-next
Compiler:
sh4-gcc10
(sh4-linux-gcc (GCC) 10.1.0 / GNU ld (GNU Binutils) 2.34)
Config:
allyesconfig
(
download
)
Log:
Download original
Possible errors
fs/binfmt_elf_fdpic.c:611:7: error: too few arguments to function 'copy_to_user' fs/binfmt_elf_fdpic.c:611:7: error: too few arguments to function 'copy_to_user' fs/binfmt_elf_fdpic.c:611:7: error: too few arguments to function 'copy_to_user' fs/binfmt_elf_fdpic.c:611:7: error: too few arguments to function 'copy_to_user' fs/binfmt_elf_fdpic.c:611:7: error: too few arguments to function 'copy_to_user' fs/binfmt_elf_fdpic.c:611:7: error: too few arguments to function 'copy_to_user' fs/binfmt_elf_fdpic.c:611:7: error: too few arguments to function 'copy_to_user' fs/binfmt_elf_fdpic.c:611:7: error: too few arguments to function 'copy_to_user' fs/binfmt_elf_fdpic.c:611:7: error: too few arguments to function 'copy_to_user' fs/binfmt_elf_fdpic.c:611:7: error: too few arguments to function 'copy_to_user' fs/binfmt_elf_fdpic.c:611:7: error: too few arguments to function 'copy_to_user' fs/binfmt_elf_fdpic.c:611:7: error: too few arguments to function 'copy_to_user' fs/binfmt_elf_fdpic.c:611:7: error: too few arguments to function 'copy_to_user' fs/binfmt_elf_fdpic.c:611:7: error: too few arguments to function 'copy_to_user' fs/binfmt_elf_fdpic.c:611:7: error: too few arguments to function 'copy_to_user' fs/binfmt_elf_fdpic.c:611:7: error: too few arguments to function 'copy_to_user' fs/binfmt_elf_fdpic.c:611:7: error: too few arguments to function 'copy_to_user' fs/binfmt_elf_fdpic.c:611:7: error: too few arguments to function 'copy_to_user' fs/binfmt_elf_fdpic.c:611:7: error: too few arguments to function 'copy_to_user' fs/binfmt_elf_fdpic.c:611:7: error: too few arguments to function 'copy_to_user' fs/binfmt_elf_fdpic.c:611:7: error: too few arguments to function 'copy_to_user' fs/binfmt_elf_fdpic.c:611:7: error: too few arguments to function 'copy_to_user' fs/binfmt_elf_fdpic.c:611:7: error: too few arguments to function 'copy_to_user' fs/binfmt_elf_fdpic.c:611:7: error: too few arguments to function 'copy_to_user' make[2]: *** [scripts/Makefile.build:277: fs/binfmt_elf_fdpic.o] Error 1 make[1]: *** [Makefile:1747: fs] Error 2 sh4-linux-gcc: internal compiler error: Segmentation fault signal terminated program cc1 make[4]: *** [scripts/Makefile.build:277: drivers/net/phy/mdio-xpcs.o] Error 4 make[3]: *** [scripts/Makefile.build:493: drivers/net/phy] Error 2 make[2]: *** [scripts/Makefile.build:493: drivers/net] Error 2 make[1]: *** [Makefile:1747: drivers] Error 2 make: *** [Makefile:185: __sub-make] Error 2
Possible warnings (51)
<stdin>:1511:2: warning: #warning syscall clone3 not implemented [-Wcpp] arch/sh/kernel/cpu/sh2/../../entry-common.S:85: Warning: overflow in branch to __restore_all; converted into longer instruction sequence arch/sh/kernel/cpu/sh2/../../entry-common.S:204: Warning: overflow in branch to syscall_call; converted into longer instruction sequence arch/sh/kernel/cpu/sh2/../../entry-common.S:352: Warning: overflow in branch to syscall_trace_entry; converted into longer instruction sequence arch/sh/kernel/cpu/sh2/../../entry-common.S:354: Warning: overflow in branch to syscall_trace_entry; converted into longer instruction sequence arch/sh/kernel/cpu/sh2/../../entry-common.S:385: Warning: overflow in branch to syscall_exit_work; converted into longer instruction sequence arch/sh/kernel/cpu/sh2/../../entry-common.S:388: Warning: overflow in branch to syscall_exit_work; converted into longer instruction sequence include/math-emu/single.h:50:21: warning: "__BIG_ENDIAN" is not defined, evaluates to 0 [-Wundef] include/math-emu/double.h:59:21: warning: "__BIG_ENDIAN" is not defined, evaluates to 0 [-Wundef] arch/sh/math-emu/math.c:54: warning: "WRITE" redefined arch/sh/math-emu/math.c:55: warning: "READ" redefined arch/sh/math-emu/math.c:505:12: warning: 'ieee_fpe_handler' defined but not used [-Wunused-function] include/linux/sh_intc.h:100:63: warning: division 'sizeof (void *) / sizeof (void)' does not compute the number of array elements [-Wsizeof-pointer-div] include/linux/sh_intc.h:100:63: warning: division 'sizeof (void *) / sizeof (void)' does not compute the number of array elements [-Wsizeof-pointer-div] include/linux/sh_intc.h:100:63: warning: division 'sizeof (void *) / sizeof (void)' does not compute the number of array elements [-Wsizeof-pointer-div] include/linux/sh_intc.h:100:63: warning: division 'sizeof (void *) / sizeof (void)' does not compute the number of array elements [-Wsizeof-pointer-div] include/linux/kern_levels.h:5:18: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'unsigned int' [-Wformat=] sound/soc/codecs/max98390.c:781:3: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'size_t' {aka 'const unsigned int'} [-Wformat=] drivers/mfd/htc-pasic3.c:186:22: warning: unused variable 'asic' [-Wunused-variable] arch/sh/include/asm/cmpxchg.h:49:3: warning: value computed is not used [-Wunused-value] 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. drivers/net/arcnet/arc-rimi.c:346:23: warning: unused variable 'lp' [-Wunused-variable] drivers/net/ethernet/8390/ax88796.c:808:20: warning: unused variable 'ei_local' [-Wunused-variable] drivers/net/phy/mdio-cavium.h:114:37: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] drivers/net/phy/mdio-cavium.h:113:48: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] drivers/net/phy/mdio-cavium.h:113:48: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] drivers/net/phy/mdio-cavium.h:113:48: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] drivers/net/phy/mdio-cavium.h:114:37: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] drivers/net/phy/mdio-cavium.h:113:48: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] drivers/net/phy/mdio-cavium.h:114:37: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] drivers/net/phy/mdio-cavium.h:113:48: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] drivers/net/phy/mdio-cavium.h:113:48: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] drivers/net/phy/mdio-cavium.h:114:37: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] drivers/net/can/cc770/cc770_platform.c:236:21: warning: unused variable 'priv' [-Wunused-variable] drivers/net/phy/mdio-octeon.c:48:3: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] drivers/net/phy/mdio-cavium.h:113:48: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] drivers/net/phy/mdio-cavium.h:113:48: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] drivers/net/phy/mdio-cavium.h:113:48: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] {standard input}: Warning: end of file not at end of a line; newline inserted drivers/thermal/broadcom/ns-thermal.c:78:21: warning: unused variable 'ns_thermal' [-Wunused-variable] drivers/net/ethernet/fujitsu/fmvj18x_cs.c:823:17: warning: unused variable 'buf' [-Wunused-variable] drivers/net/ethernet/freescale/fsl_pq_mdio.c:518:27: warning: unused variable 'priv' [-Wunused-variable] drivers/sh/clk/cpg.c:41:17: warning: passing argument 1 of 'ioread8' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] drivers/sh/clk/cpg.c:46:18: warning: passing argument 1 of 'ioread16' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] drivers/sh/clk/cpg.c:51:18: warning: passing argument 1 of 'ioread32' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] drivers/net/ethernet/smsc/smc91c92_cs.c:958:23: warning: unused variable 'smc' [-Wunused-variable] drivers/net/ethernet/smsc/smc911x.c:2117:24: warning: unused variable 'lp' [-Wunused-variable] drivers/iio/adc/ad7606_par.c:21:23: warning: unused variable 'st' [-Wunused-variable] drivers/iio/adc/ad7606_par.c:36:23: warning: unused variable 'st' [-Wunused-variable] arch/sh/include/asm/io.h:244:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
Full Log
# git rev-parse -q --verify 0e21d4620dd047da7952f44a2e1ac777ded2d57e^{commit} 0e21d4620dd047da7952f44a2e1ac777ded2d57e already have revision, skipping fetch # git checkout -q -f -B kisskb 0e21d4620dd047da7952f44a2e1ac777ded2d57e # git clean -qxdf # < git log -1 # commit 0e21d4620dd047da7952f44a2e1ac777ded2d57e # Author: Stephen Rothwell <sfr@canb.auug.org.au> # Date: Tue Jun 2 20:33:21 2020 +1000 # # Add linux-next specific files for 20200602 # # Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> # < /opt/cross/kisskb/korg/gcc-10.1.0-nolibc/sh4-linux/bin/sh4-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-10.1.0-nolibc/sh4-linux/bin/sh4-linux-ld --version # < git log --format=%s --max-count=1 0e21d4620dd047da7952f44a2e1ac777ded2d57e # < make -s -j 24 ARCH=sh O=/kisskb/build/linux-next_sh-allyesconfig_sh4-gcc10 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-10.1.0-nolibc/sh4-linux/bin/sh4-linux- allyesconfig # Added to kconfig CONFIG_BUILD_DOCSRC=n # Added to kconfig CONFIG_MODULE_SIG=n # < make -s -j 24 ARCH=sh O=/kisskb/build/linux-next_sh-allyesconfig_sh4-gcc10 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-10.1.0-nolibc/sh4-linux/bin/sh4-linux- help # make -s -j 24 ARCH=sh O=/kisskb/build/linux-next_sh-allyesconfig_sh4-gcc10 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-10.1.0-nolibc/sh4-linux/bin/sh4-linux- olddefconfig # make -s -j 24 ARCH=sh O=/kisskb/build/linux-next_sh-allyesconfig_sh4-gcc10 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-10.1.0-nolibc/sh4-linux/bin/sh4-linux- Generating include/generated/machtypes.h <stdin>:1511:2: warning: #warning syscall clone3 not implemented [-Wcpp] /kisskb/src/arch/sh/kernel/cpu/sh2/../../entry-common.S: Assembler messages: /kisskb/src/arch/sh/kernel/cpu/sh2/../../entry-common.S:85: Warning: overflow in branch to __restore_all; converted into longer instruction sequence /kisskb/src/arch/sh/kernel/cpu/sh2/../../entry-common.S:204: Warning: overflow in branch to syscall_call; converted into longer instruction sequence /kisskb/src/arch/sh/kernel/cpu/sh2/../../entry-common.S:352: Warning: overflow in branch to syscall_trace_entry; converted into longer instruction sequence /kisskb/src/arch/sh/kernel/cpu/sh2/../../entry-common.S:354: Warning: overflow in branch to syscall_trace_entry; converted into longer instruction sequence /kisskb/src/arch/sh/kernel/cpu/sh2/../../entry-common.S:385: Warning: overflow in branch to syscall_exit_work; converted into longer instruction sequence /kisskb/src/arch/sh/kernel/cpu/sh2/../../entry-common.S:388: Warning: overflow in branch to syscall_exit_work; converted into longer instruction sequence In file included from /kisskb/src/arch/sh/math-emu/math.c:23: /kisskb/src/include/math-emu/single.h:50:21: warning: "__BIG_ENDIAN" is not defined, evaluates to 0 [-Wundef] 50 | #if __BYTE_ORDER == __BIG_ENDIAN | ^~~~~~~~~~~~ In file included from /kisskb/src/arch/sh/math-emu/math.c:24: /kisskb/src/include/math-emu/double.h:59:21: warning: "__BIG_ENDIAN" is not defined, evaluates to 0 [-Wundef] 59 | #if __BYTE_ORDER == __BIG_ENDIAN | ^~~~~~~~~~~~ /kisskb/src/arch/sh/math-emu/math.c:54: warning: "WRITE" redefined 54 | #define WRITE(d,a) ({if(put_user(d, (typeof (d)*)a)) return -EFAULT;}) | In file included from /kisskb/src/arch/sh/math-emu/math.c:10: /kisskb/src/include/linux/kernel.h:41: note: this is the location of the previous definition 41 | #define WRITE 1 | /kisskb/src/arch/sh/math-emu/math.c:55: warning: "READ" redefined 55 | #define READ(d,a) ({if(get_user(d, (typeof (d)*)a)) return -EFAULT;}) | In file included from /kisskb/src/arch/sh/math-emu/math.c:10: /kisskb/src/include/linux/kernel.h:40: note: this is the location of the previous definition 40 | #define READ 0 | /kisskb/src/arch/sh/math-emu/math.c:505:12: warning: 'ieee_fpe_handler' defined but not used [-Wunused-function] 505 | static int ieee_fpe_handler(struct pt_regs *regs) | ^~~~~~~~~~~~~~~~ In file included from /kisskb/src/arch/sh/include/asm/hw_irq.h:6, from /kisskb/src/include/linux/irq.h:563, from /kisskb/src/arch/sh/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:10, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/serial_core.h:14, from /kisskb/src/include/linux/serial_sci.h:6, from /kisskb/src/arch/sh/kernel/cpu/sh2/setup-sh7619.c:11: /kisskb/src/include/linux/sh_intc.h:100:63: warning: division 'sizeof (void *) / sizeof (void)' does not compute the number of array elements [-Wsizeof-pointer-div] 100 | #define _INTC_ARRAY(a) a, __same_type(a, NULL) ? 0 : sizeof(a)/sizeof(*a) | ^ /kisskb/src/include/linux/sh_intc.h:105:24: note: in expansion of macro '_INTC_ARRAY' 105 | _INTC_ARRAY(vectors), _INTC_ARRAY(groups), \ | ^~~~~~~~~~~ /kisskb/src/include/linux/sh_intc.h:124:8: note: in expansion of macro 'INTC_HW_DESC' 124 | .hw = INTC_HW_DESC(vectors, groups, mask_regs, \ | ^~~~~~~~~~~~ /kisskb/src/arch/sh/kernel/cpu/sh2/setup-sh7619.c:58:8: note: in expansion of macro 'DECLARE_INTC_DESC' 58 | static DECLARE_INTC_DESC(intc_desc, "sh7619", vectors, NULL, | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/sh_intc.h:100:63: warning: division 'sizeof (void *) / sizeof (void)' does not compute the number of array elements [-Wsizeof-pointer-div] 100 | #define _INTC_ARRAY(a) a, __same_type(a, NULL) ? 0 : sizeof(a)/sizeof(*a) | ^ /kisskb/src/include/linux/sh_intc.h:106:2: note: in expansion of macro '_INTC_ARRAY' 106 | _INTC_ARRAY(mask_regs), _INTC_ARRAY(prio_regs), \ | ^~~~~~~~~~~ /kisskb/src/include/linux/sh_intc.h:124:8: note: in expansion of macro 'INTC_HW_DESC' 124 | .hw = INTC_HW_DESC(vectors, groups, mask_regs, \ | ^~~~~~~~~~~~ /kisskb/src/arch/sh/kernel/cpu/sh2/setup-sh7619.c:58:8: note: in expansion of macro 'DECLARE_INTC_DESC' 58 | static DECLARE_INTC_DESC(intc_desc, "sh7619", vectors, NULL, | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/sh_intc.h:100:63: warning: division 'sizeof (void *) / sizeof (void)' does not compute the number of array elements [-Wsizeof-pointer-div] 100 | #define _INTC_ARRAY(a) a, __same_type(a, NULL) ? 0 : sizeof(a)/sizeof(*a) | ^ /kisskb/src/include/linux/sh_intc.h:107:2: note: in expansion of macro '_INTC_ARRAY' 107 | _INTC_ARRAY(sense_regs), _INTC_ARRAY(ack_regs), \ | ^~~~~~~~~~~ /kisskb/src/include/linux/sh_intc.h:124:8: note: in expansion of macro 'INTC_HW_DESC' 124 | .hw = INTC_HW_DESC(vectors, groups, mask_regs, \ | ^~~~~~~~~~~~ /kisskb/src/arch/sh/kernel/cpu/sh2/setup-sh7619.c:58:8: note: in expansion of macro 'DECLARE_INTC_DESC' 58 | static DECLARE_INTC_DESC(intc_desc, "sh7619", vectors, NULL, | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/sh_intc.h:100:63: warning: division 'sizeof (void *) / sizeof (void)' does not compute the number of array elements [-Wsizeof-pointer-div] 100 | #define _INTC_ARRAY(a) a, __same_type(a, NULL) ? 0 : sizeof(a)/sizeof(*a) | ^ /kisskb/src/include/linux/sh_intc.h:107:27: note: in expansion of macro '_INTC_ARRAY' 107 | _INTC_ARRAY(sense_regs), _INTC_ARRAY(ack_regs), \ | ^~~~~~~~~~~ /kisskb/src/include/linux/sh_intc.h:124:8: note: in expansion of macro 'INTC_HW_DESC' 124 | .hw = INTC_HW_DESC(vectors, groups, mask_regs, \ | ^~~~~~~~~~~~ /kisskb/src/arch/sh/kernel/cpu/sh2/setup-sh7619.c:58:8: note: in expansion of macro 'DECLARE_INTC_DESC' 58 | static DECLARE_INTC_DESC(intc_desc, "sh7619", vectors, NULL, | ^~~~~~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/printk.h:7, from /kisskb/src/include/linux/kernel.h:15, from /kisskb/src/kernel/rcu/rcuperf.c:13: /kisskb/src/kernel/rcu/rcuperf.c: In function 'kfree_perf_init': /kisskb/src/include/linux/kern_levels.h:5:18: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'unsigned int' [-Wformat=] 5 | #define KERN_SOH "\001" /* ASCII Start Of Header */ | ^~~~~~ /kisskb/src/include/linux/kern_levels.h:9:20: note: in expansion of macro 'KERN_SOH' 9 | #define KERN_ALERT KERN_SOH "1" /* action must be taken immediately */ | ^~~~~~~~ /kisskb/src/include/linux/printk.h:318:9: note: in expansion of macro 'KERN_ALERT' 318 | printk(KERN_ALERT pr_fmt(fmt), ##__VA_ARGS__) | ^~~~~~~~~~ /kisskb/src/kernel/rcu/rcuperf.c:726:2: note: in expansion of macro 'pr_alert' 726 | pr_alert("kfree object size=%lu\n", kfree_mult * sizeof(struct kfree_obj)); | ^~~~~~~~ In file included from /kisskb/src/include/linux/printk.h:404, from /kisskb/src/include/linux/kernel.h:15, from /kisskb/src/include/linux/list.h:9, from /kisskb/src/include/linux/kobject.h:19, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/sound/soc/codecs/max98390.c:9: /kisskb/src/sound/soc/codecs/max98390.c: In function 'max98390_dsm_init': /kisskb/src/sound/soc/codecs/max98390.c:781:3: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'size_t' {aka 'const unsigned int'} [-Wformat=] 781 | "max98390: param fw size %ld\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/dynamic_debug.h:125:15: note: in definition of macro '__dynamic_func_call' 125 | func(&id, ##__VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/include/linux/dynamic_debug.h:157:2: note: in expansion of macro '_dynamic_func_call' 157 | _dynamic_func_call(fmt,__dynamic_dev_dbg, \ | ^~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/dev_printk.h:115:2: note: in expansion of macro 'dynamic_dev_dbg' 115 | dynamic_dev_dbg(dev, dev_fmt(fmt), ##__VA_ARGS__) | ^~~~~~~~~~~~~~~ /kisskb/src/include/linux/dev_printk.h:115:23: note: in expansion of macro 'dev_fmt' 115 | dynamic_dev_dbg(dev, dev_fmt(fmt), ##__VA_ARGS__) | ^~~~~~~ /kisskb/src/sound/soc/codecs/max98390.c:780:2: note: in expansion of macro 'dev_dbg' 780 | dev_dbg(component->dev, | ^~~~~~~ /kisskb/src/sound/soc/codecs/max98390.c:781:30: note: format string is defined here 781 | "max98390: param fw size %ld\n", | ~~^ | | | long int | %d /kisskb/src/drivers/mfd/htc-pasic3.c: In function 'pasic3_remove': /kisskb/src/drivers/mfd/htc-pasic3.c:186:22: warning: unused variable 'asic' [-Wunused-variable] 186 | struct pasic3_data *asic = platform_get_drvdata(pdev); | ^~~~ In file included from /kisskb/src/arch/sh/include/asm/atomic.h:19, from /kisskb/src/include/linux/atomic.h:7, from /kisskb/src/include/asm-generic/bitops/atomic.h:5, from /kisskb/src/arch/sh/include/asm/bitops.h:25, from /kisskb/src/include/linux/bitops.h:29, from /kisskb/src/include/linux/kernel.h:12, from /kisskb/src/include/linux/list.h:9, from /kisskb/src/include/linux/wait.h:7, from /kisskb/src/include/linux/wait_bit.h:8, from /kisskb/src/include/linux/fs.h:6, from /kisskb/src/fs/ocfs2/file.c:13: /kisskb/src/fs/ocfs2/file.c: In function 'ocfs2_file_write_iter': /kisskb/src/arch/sh/include/asm/cmpxchg.h:49:3: warning: value computed is not used [-Wunused-value] 49 | ((__typeof__(*(ptr)))__xchg((ptr),(unsigned long)(x), sizeof(*(ptr)))) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/fs/ocfs2/file.c:2419:3: note: in expansion of macro 'xchg' 2419 | xchg(&iocb->ki_complete, saved_ki_complete); | ^~~~ /kisskb/src/fs/binfmt_elf_fdpic.c: In function 'create_elf_fdpic_tables': /kisskb/src/fs/binfmt_elf_fdpic.c:611:7: error: too few arguments to function 'copy_to_user' 611 | if (copy_to_user(ent + nr, &v)) \ | ^~~~~~~~~~~~ /kisskb/src/fs/binfmt_elf_fdpic.c:618:2: note: in expansion of macro 'NEW_AUX_ENT' 618 | NEW_AUX_ENT(AT_NULL, 0); | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/sched/task.h:11, from /kisskb/src/include/linux/sched/signal.h:9, from /kisskb/src/include/linux/rcuwait.h:6, from /kisskb/src/include/linux/percpu-rwsem.h:7, from /kisskb/src/include/linux/fs.h:33, from /kisskb/src/fs/binfmt_elf_fdpic.c:11: /kisskb/src/include/linux/uaccess.h:149:1: note: declared here 149 | copy_to_user(void __user *to, const void *from, unsigned long n) | ^~~~~~~~~~~~ /kisskb/src/fs/binfmt_elf_fdpic.c:611:7: error: too few arguments to function 'copy_to_user' 611 | if (copy_to_user(ent + nr, &v)) \ | ^~~~~~~~~~~~ /kisskb/src/fs/binfmt_elf_fdpic.c:622:3: note: in expansion of macro 'NEW_AUX_ENT' 622 | NEW_AUX_ENT(AT_PLATFORM, | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/sched/task.h:11, from /kisskb/src/include/linux/sched/signal.h:9, from /kisskb/src/include/linux/rcuwait.h:6, from /kisskb/src/include/linux/percpu-rwsem.h:7, from /kisskb/src/include/linux/fs.h:33, from /kisskb/src/fs/binfmt_elf_fdpic.c:11: /kisskb/src/include/linux/uaccess.h:149:1: note: declared here 149 | copy_to_user(void __user *to, const void *from, unsigned long n) | ^~~~~~~~~~~~ /kisskb/src/fs/binfmt_elf_fdpic.c:611:7: error: too few arguments to function 'copy_to_user' 611 | if (copy_to_user(ent + nr, &v)) \ | ^~~~~~~~~~~~ /kisskb/src/fs/binfmt_elf_fdpic.c:629:3: note: in expansion of macro 'NEW_AUX_ENT' 629 | NEW_AUX_ENT(AT_BASE_PLATFORM, | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/sched/task.h:11, from /kisskb/src/include/linux/sched/signal.h:9, from /kisskb/src/include/linux/rcuwait.h:6, from /kisskb/src/include/linux/percpu-rwsem.h:7, from /kisskb/src/include/linux/fs.h:33, from /kisskb/src/fs/binfmt_elf_fdpic.c:11: /kisskb/src/include/linux/uaccess.h:149:1: note: declared here 149 | copy_to_user(void __user *to, const void *from, unsigned long n) | ^~~~~~~~~~~~ /kisskb/src/fs/binfmt_elf_fdpic.c:611:7: error: too few arguments to function 'copy_to_user' 611 | if (copy_to_user(ent + nr, &v)) \ | ^~~~~~~~~~~~ /kisskb/src/fs/binfmt_elf_fdpic.c:636:3: note: in expansion of macro 'NEW_AUX_ENT' 636 | NEW_AUX_ENT(AT_EXECFD, bprm->execfd); | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/sched/task.h:11, from /kisskb/src/include/linux/sched/signal.h:9, from /kisskb/src/include/linux/rcuwait.h:6, from /kisskb/src/include/linux/percpu-rwsem.h:7, from /kisskb/src/include/linux/fs.h:33, from /kisskb/src/fs/binfmt_elf_fdpic.c:11: /kisskb/src/include/linux/uaccess.h:149:1: note: declared here 149 | copy_to_user(void __user *to, const void *from, unsigned long n) | ^~~~~~~~~~~~ /kisskb/src/fs/binfmt_elf_fdpic.c:611:7: error: too few arguments to function 'copy_to_user' 611 | if (copy_to_user(ent + nr, &v)) \ | ^~~~~~~~~~~~ /kisskb/src/fs/binfmt_elf_fdpic.c:641:2: note: in expansion of macro 'NEW_AUX_ENT' 641 | NEW_AUX_ENT(AT_HWCAP, ELF_HWCAP); | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/sched/task.h:11, from /kisskb/src/include/linux/sched/signal.h:9, from /kisskb/src/include/linux/rcuwait.h:6, from /kisskb/src/include/linux/percpu-rwsem.h:7, from /kisskb/src/include/linux/fs.h:33, from /kisskb/src/fs/binfmt_elf_fdpic.c:11: /kisskb/src/include/linux/uaccess.h:149:1: note: declared here 149 | copy_to_user(void __user *to, const void *from, unsigned long n) | ^~~~~~~~~~~~ /kisskb/src/fs/binfmt_elf_fdpic.c:611:7: error: too few arguments to function 'copy_to_user' 611 | if (copy_to_user(ent + nr, &v)) \ | ^~~~~~~~~~~~ /kisskb/src/fs/binfmt_elf_fdpic.c:645:2: note: in expansion of macro 'NEW_AUX_ENT' 645 | NEW_AUX_ENT(AT_PAGESZ, PAGE_SIZE); | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/sched/task.h:11, from /kisskb/src/include/linux/sched/signal.h:9, from /kisskb/src/include/linux/rcuwait.h:6, from /kisskb/src/include/linux/percpu-rwsem.h:7, from /kisskb/src/include/linux/fs.h:33, from /kisskb/src/fs/binfmt_elf_fdpic.c:11: /kisskb/src/include/linux/uaccess.h:149:1: note: declared here 149 | copy_to_user(void __user *to, const void *from, unsigned long n) | ^~~~~~~~~~~~ /kisskb/src/fs/binfmt_elf_fdpic.c:611:7: error: too few arguments to function 'copy_to_user' 611 | if (copy_to_user(ent + nr, &v)) \ | ^~~~~~~~~~~~ /kisskb/src/fs/binfmt_elf_fdpic.c:646:2: note: in expansion of macro 'NEW_AUX_ENT' 646 | NEW_AUX_ENT(AT_CLKTCK, CLOCKS_PER_SEC); | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/sched/task.h:11, from /kisskb/src/include/linux/sched/signal.h:9, from /kisskb/src/include/linux/rcuwait.h:6, from /kisskb/src/include/linux/percpu-rwsem.h:7, from /kisskb/src/include/linux/fs.h:33, from /kisskb/src/fs/binfmt_elf_fdpic.c:11: /kisskb/src/include/linux/uaccess.h:149:1: note: declared here 149 | copy_to_user(void __user *to, const void *from, unsigned long n) | ^~~~~~~~~~~~ /kisskb/src/fs/binfmt_elf_fdpic.c:611:7: error: too few arguments to function 'copy_to_user' 611 | if (copy_to_user(ent + nr, &v)) \ | ^~~~~~~~~~~~ /kisskb/src/fs/binfmt_elf_fdpic.c:647:2: note: in expansion of macro 'NEW_AUX_ENT' 647 | NEW_AUX_ENT(AT_PHDR, exec_params->ph_addr); | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/sched/task.h:11, from /kisskb/src/include/linux/sched/signal.h:9, from /kisskb/src/include/linux/rcuwait.h:6, from /kisskb/src/include/linux/percpu-rwsem.h:7, from /kisskb/src/include/linux/fs.h:33, from /kisskb/src/fs/binfmt_elf_fdpic.c:11: /kisskb/src/include/linux/uaccess.h:149:1: note: declared here 149 | copy_to_user(void __user *to, const void *from, unsigned long n) | ^~~~~~~~~~~~ /kisskb/src/fs/binfmt_elf_fdpic.c:611:7: error: too few arguments to function 'copy_to_user' 611 | if (copy_to_user(ent + nr, &v)) \ | ^~~~~~~~~~~~ /kisskb/src/fs/binfmt_elf_fdpic.c:648:2: note: in expansion of macro 'NEW_AUX_ENT' 648 | NEW_AUX_ENT(AT_PHENT, sizeof(struct elf_phdr)); | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/sched/task.h:11, from /kisskb/src/include/linux/sched/signal.h:9, from /kisskb/src/include/linux/rcuwait.h:6, from /kisskb/src/include/linux/percpu-rwsem.h:7, from /kisskb/src/include/linux/fs.h:33, from /kisskb/src/fs/binfmt_elf_fdpic.c:11: /kisskb/src/include/linux/uaccess.h:149:1: note: declared here 149 | copy_to_user(void __user *to, const void *from, unsigned long n) | ^~~~~~~~~~~~ /kisskb/src/fs/binfmt_elf_fdpic.c:611:7: error: too few arguments to function 'copy_to_user' 611 | if (copy_to_user(ent + nr, &v)) \ | ^~~~~~~~~~~~ /kisskb/src/fs/binfmt_elf_fdpic.c:649:2: note: in expansion of macro 'NEW_AUX_ENT' 649 | NEW_AUX_ENT(AT_PHNUM, exec_params->hdr.e_phnum); | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/sched/task.h:11, from /kisskb/src/include/linux/sched/signal.h:9, from /kisskb/src/include/linux/rcuwait.h:6, from /kisskb/src/include/linux/percpu-rwsem.h:7, from /kisskb/src/include/linux/fs.h:33, from /kisskb/src/fs/binfmt_elf_fdpic.c:11: /kisskb/src/include/linux/uaccess.h:149:1: note: declared here 149 | copy_to_user(void __user *to, const void *from, unsigned long n) | ^~~~~~~~~~~~ /kisskb/src/fs/binfmt_elf_fdpic.c:611:7: error: too few arguments to function 'copy_to_user' 611 | if (copy_to_user(ent + nr, &v)) \ | ^~~~~~~~~~~~ /kisskb/src/fs/binfmt_elf_fdpic.c:650:2: note: in expansion of macro 'NEW_AUX_ENT' 650 | NEW_AUX_ENT(AT_BASE, interp_params->elfhdr_addr); | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/sched/task.h:11, from /kisskb/src/include/linux/sched/signal.h:9, from /kisskb/src/include/linux/rcuwait.h:6, from /kisskb/src/include/linux/percpu-rwsem.h:7, from /kisskb/src/include/linux/fs.h:33, from /kisskb/src/fs/binfmt_elf_fdpic.c:11: /kisskb/src/include/linux/uaccess.h:149:1: note: declared here 149 | copy_to_user(void __user *to, const void *from, unsigned long n) | ^~~~~~~~~~~~ /kisskb/src/fs/binfmt_elf_fdpic.c:611:7: error: too few arguments to function 'copy_to_user' 611 | if (copy_to_user(ent + nr, &v)) \ | ^~~~~~~~~~~~ /kisskb/src/fs/binfmt_elf_fdpic.c:651:2: note: in expansion of macro 'NEW_AUX_ENT' 651 | NEW_AUX_ENT(AT_FLAGS, 0); | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/sched/task.h:11, from /kisskb/src/include/linux/sched/signal.h:9, from /kisskb/src/include/linux/rcuwait.h:6, from /kisskb/src/include/linux/percpu-rwsem.h:7, from /kisskb/src/include/linux/fs.h:33, from /kisskb/src/fs/binfmt_elf_fdpic.c:11: /kisskb/src/include/linux/uaccess.h:149:1: note: declared here 149 | copy_to_user(void __user *to, const void *from, unsigned long n) | ^~~~~~~~~~~~ /kisskb/src/fs/binfmt_elf_fdpic.c:611:7: error: too few arguments to function 'copy_to_user' 611 | if (copy_to_user(ent + nr, &v)) \ | ^~~~~~~~~~~~ /kisskb/src/fs/binfmt_elf_fdpic.c:652:2: note: in expansion of macro 'NEW_AUX_ENT' 652 | NEW_AUX_ENT(AT_ENTRY, exec_params->entry_addr); | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/sched/task.h:11, from /kisskb/src/include/linux/sched/signal.h:9, from /kisskb/src/include/linux/rcuwait.h:6, from /kisskb/src/include/linux/percpu-rwsem.h:7, from /kisskb/src/include/linux/fs.h:33, from /kisskb/src/fs/binfmt_elf_fdpic.c:11: /kisskb/src/include/linux/uaccess.h:149:1: note: declared here 149 | copy_to_user(void __user *to, const void *from, unsigned long n) | ^~~~~~~~~~~~ /kisskb/src/fs/binfmt_elf_fdpic.c:611:7: error: too few arguments to function 'copy_to_user' 611 | if (copy_to_user(ent + nr, &v)) \ | ^~~~~~~~~~~~ /kisskb/src/fs/binfmt_elf_fdpic.c:653:2: note: in expansion of macro 'NEW_AUX_ENT' 653 | NEW_AUX_ENT(AT_UID, (elf_addr_t) from_kuid_munged(cred->user_ns, cred->uid)); | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/sched/task.h:11, from /kisskb/src/include/linux/sched/signal.h:9, from /kisskb/src/include/linux/rcuwait.h:6, from /kisskb/src/include/linux/percpu-rwsem.h:7, from /kisskb/src/include/linux/fs.h:33, from /kisskb/src/fs/binfmt_elf_fdpic.c:11: /kisskb/src/include/linux/uaccess.h:149:1: note: declared here 149 | copy_to_user(void __user *to, const void *from, unsigned long n) | ^~~~~~~~~~~~ /kisskb/src/fs/binfmt_elf_fdpic.c:611:7: error: too few arguments to function 'copy_to_user' 611 | if (copy_to_user(ent + nr, &v)) \ | ^~~~~~~~~~~~ /kisskb/src/fs/binfmt_elf_fdpic.c:654:2: note: in expansion of macro 'NEW_AUX_ENT' 654 | NEW_AUX_ENT(AT_EUID, (elf_addr_t) from_kuid_munged(cred->user_ns, cred->euid)); | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/sched/task.h:11, from /kisskb/src/include/linux/sched/signal.h:9, from /kisskb/src/include/linux/rcuwait.h:6, from /kisskb/src/include/linux/percpu-rwsem.h:7, from /kisskb/src/include/linux/fs.h:33, from /kisskb/src/fs/binfmt_elf_fdpic.c:11: /kisskb/src/include/linux/uaccess.h:149:1: note: declared here 149 | copy_to_user(void __user *to, const void *from, unsigned long n) | ^~~~~~~~~~~~ /kisskb/src/fs/binfmt_elf_fdpic.c:611:7: error: too few arguments to function 'copy_to_user' 611 | if (copy_to_user(ent + nr, &v)) \ | ^~~~~~~~~~~~ /kisskb/src/fs/binfmt_elf_fdpic.c:655:2: note: in expansion of macro 'NEW_AUX_ENT' 655 | NEW_AUX_ENT(AT_GID, (elf_addr_t) from_kgid_munged(cred->user_ns, cred->gid)); | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/sched/task.h:11, from /kisskb/src/include/linux/sched/signal.h:9, from /kisskb/src/include/linux/rcuwait.h:6, from /kisskb/src/include/linux/percpu-rwsem.h:7, from /kisskb/src/include/linux/fs.h:33, from /kisskb/src/fs/binfmt_elf_fdpic.c:11: /kisskb/src/include/linux/uaccess.h:149:1: note: declared here 149 | copy_to_user(void __user *to, const void *from, unsigned long n) | ^~~~~~~~~~~~ /kisskb/src/fs/binfmt_elf_fdpic.c:611:7: error: too few arguments to function 'copy_to_user' 611 | if (copy_to_user(ent + nr, &v)) \ | ^~~~~~~~~~~~ /kisskb/src/fs/binfmt_elf_fdpic.c:656:2: note: in expansion of macro 'NEW_AUX_ENT' 656 | NEW_AUX_ENT(AT_EGID, (elf_addr_t) from_kgid_munged(cred->user_ns, cred->egid)); | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/sched/task.h:11, from /kisskb/src/include/linux/sched/signal.h:9, from /kisskb/src/include/linux/rcuwait.h:6, from /kisskb/src/include/linux/percpu-rwsem.h:7, from /kisskb/src/include/linux/fs.h:33, from /kisskb/src/fs/binfmt_elf_fdpic.c:11: /kisskb/src/include/linux/uaccess.h:149:1: note: declared here 149 | copy_to_user(void __user *to, const void *from, unsigned long n) | ^~~~~~~~~~~~ /kisskb/src/fs/binfmt_elf_fdpic.c:611:7: error: too few arguments to function 'copy_to_user' 611 | if (copy_to_user(ent + nr, &v)) \ | ^~~~~~~~~~~~ /kisskb/src/fs/binfmt_elf_fdpic.c:657:2: note: in expansion of macro 'NEW_AUX_ENT' 657 | NEW_AUX_ENT(AT_SECURE, bprm->secureexec); | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/sched/task.h:11, from /kisskb/src/include/linux/sched/signal.h:9, from /kisskb/src/include/linux/rcuwait.h:6, from /kisskb/src/include/linux/percpu-rwsem.h:7, from /kisskb/src/include/linux/fs.h:33, from /kisskb/src/fs/binfmt_elf_fdpic.c:11: /kisskb/src/include/linux/uaccess.h:149:1: note: declared here 149 | copy_to_user(void __user *to, const void *from, unsigned long n) | ^~~~~~~~~~~~ /kisskb/src/fs/binfmt_elf_fdpic.c:611:7: error: too few arguments to function 'copy_to_user' 611 | if (copy_to_user(ent + nr, &v)) \ | ^~~~~~~~~~~~ /kisskb/src/fs/binfmt_elf_fdpic.c:658:2: note: in expansion of macro 'NEW_AUX_ENT' 658 | NEW_AUX_ENT(AT_EXECFN, bprm->exec); | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/sched/task.h:11, from /kisskb/src/include/linux/sched/signal.h:9, from /kisskb/src/include/linux/rcuwait.h:6, from /kisskb/src/include/linux/percpu-rwsem.h:7, from /kisskb/src/include/linux/fs.h:33, from /kisskb/src/fs/binfmt_elf_fdpic.c:11: /kisskb/src/include/linux/uaccess.h:149:1: note: declared here 149 | copy_to_user(void __user *to, const void *from, unsigned long n) | ^~~~~~~~~~~~ /kisskb/src/fs/binfmt_elf_fdpic.c:611:7: error: too few arguments to function 'copy_to_user' 611 | if (copy_to_user(ent + nr, &v)) \ | ^~~~~~~~~~~~ /kisskb/src/arch/sh/include/asm/elf.h:215:21: note: in expansion of macro 'NEW_AUX_ENT' 215 | #define FPU_AUX_ENT NEW_AUX_ENT(AT_IGNORE, 0) | ^~~~~~~~~~~ /kisskb/src/arch/sh/include/asm/elf.h:224:2: note: in expansion of macro 'FPU_AUX_ENT' 224 | FPU_AUX_ENT; \ | ^~~~~~~~~~~ /kisskb/src/fs/binfmt_elf_fdpic.c:667:2: note: in expansion of macro 'ARCH_DLINFO' 667 | ARCH_DLINFO; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/sched/task.h:11, from /kisskb/src/include/linux/sched/signal.h:9, from /kisskb/src/include/linux/rcuwait.h:6, from /kisskb/src/include/linux/percpu-rwsem.h:7, from /kisskb/src/include/linux/fs.h:33, from /kisskb/src/fs/binfmt_elf_fdpic.c:11: /kisskb/src/include/linux/uaccess.h:149:1: note: declared here 149 | copy_to_user(void __user *to, const void *from, unsigned long n) | ^~~~~~~~~~~~ /kisskb/src/fs/binfmt_elf_fdpic.c:611:7: error: too few arguments to function 'copy_to_user' 611 | if (copy_to_user(ent + nr, &v)) \ | ^~~~~~~~~~~~ /kisskb/src/arch/sh/include/asm/elf.h:209:26: note: in expansion of macro 'NEW_AUX_ENT' 209 | #define VSYSCALL_AUX_ENT NEW_AUX_ENT(AT_IGNORE, 0) | ^~~~~~~~~~~ /kisskb/src/arch/sh/include/asm/elf.h:227:2: note: in expansion of macro 'VSYSCALL_AUX_ENT' 227 | VSYSCALL_AUX_ENT; \ | ^~~~~~~~~~~~~~~~ /kisskb/src/fs/binfmt_elf_fdpic.c:667:2: note: in expansion of macro 'ARCH_DLINFO' 667 | ARCH_DLINFO; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/sched/task.h:11, from /kisskb/src/include/linux/sched/signal.h:9, from /kisskb/src/include/linux/rcuwait.h:6, from /kisskb/src/include/linux/percpu-rwsem.h:7, from /kisskb/src/include/linux/fs.h:33, from /kisskb/src/fs/binfmt_elf_fdpic.c:11: /kisskb/src/include/linux/uaccess.h:149:1: note: declared here 149 | copy_to_user(void __user *to, const void *from, unsigned long n) | ^~~~~~~~~~~~ /kisskb/src/fs/binfmt_elf_fdpic.c:611:7: error: too few arguments to function 'copy_to_user' 611 | if (copy_to_user(ent + nr, &v)) \ | ^~~~~~~~~~~~ /kisskb/src/arch/sh/include/asm/elf.h:230:2: note: in expansion of macro 'NEW_AUX_ENT' 230 | NEW_AUX_ENT(AT_L1I_CACHESHAPE, l1i_cache_shape); \ | ^~~~~~~~~~~ /kisskb/src/fs/binfmt_elf_fdpic.c:667:2: note: in expansion of macro 'ARCH_DLINFO' 667 | ARCH_DLINFO; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/sched/task.h:11, from /kisskb/src/include/linux/sched/signal.h:9, from /kisskb/src/include/linux/rcuwait.h:6, from /kisskb/src/include/linux/percpu-rwsem.h:7, from /kisskb/src/include/linux/fs.h:33, from /kisskb/src/fs/binfmt_elf_fdpic.c:11: /kisskb/src/include/linux/uaccess.h:149:1: note: declared here 149 | copy_to_user(void __user *to, const void *from, unsigned long n) | ^~~~~~~~~~~~ /kisskb/src/fs/binfmt_elf_fdpic.c:611:7: error: too few arguments to function 'copy_to_user' 611 | if (copy_to_user(ent + nr, &v)) \ | ^~~~~~~~~~~~ /kisskb/src/arch/sh/include/asm/elf.h:231:2: note: in expansion of macro 'NEW_AUX_ENT' 231 | NEW_AUX_ENT(AT_L1D_CACHESHAPE, l1d_cache_shape); \ | ^~~~~~~~~~~ /kisskb/src/fs/binfmt_elf_fdpic.c:667:2: note: in expansion of macro 'ARCH_DLINFO' 667 | ARCH_DLINFO; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/sched/task.h:11, from /kisskb/src/include/linux/sched/signal.h:9, from /kisskb/src/include/linux/rcuwait.h:6, from /kisskb/src/include/linux/percpu-rwsem.h:7, from /kisskb/src/include/linux/fs.h:33, from /kisskb/src/fs/binfmt_elf_fdpic.c:11: /kisskb/src/include/linux/uaccess.h:149:1: note: declared here 149 | copy_to_user(void __user *to, const void *from, unsigned long n) | ^~~~~~~~~~~~ /kisskb/src/fs/binfmt_elf_fdpic.c:611:7: error: too few arguments to function 'copy_to_user' 611 | if (copy_to_user(ent + nr, &v)) \ | ^~~~~~~~~~~~ /kisskb/src/arch/sh/include/asm/elf.h:232:2: note: in expansion of macro 'NEW_AUX_ENT' 232 | NEW_AUX_ENT(AT_L2_CACHESHAPE, l2_cache_shape); \ | ^~~~~~~~~~~ /kisskb/src/fs/binfmt_elf_fdpic.c:667:2: note: in expansion of macro 'ARCH_DLINFO' 667 | ARCH_DLINFO; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/sched/task.h:11, from /kisskb/src/include/linux/sched/signal.h:9, from /kisskb/src/include/linux/rcuwait.h:6, from /kisskb/src/include/linux/percpu-rwsem.h:7, from /kisskb/src/include/linux/fs.h:33, from /kisskb/src/fs/binfmt_elf_fdpic.c:11: /kisskb/src/include/linux/uaccess.h:149:1: note: declared here 149 | copy_to_user(void __user *to, const void *from, unsigned long n) | ^~~~~~~~~~~~ make[2]: *** [/kisskb/src/scripts/Makefile.build:277: fs/binfmt_elf_fdpic.o] Error 1 make[2]: *** Waiting for unfinished jobs.... /kisskb/src/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. | ^~~~~~~ make[1]: *** [/kisskb/src/Makefile:1747: fs] Error 2 make[1]: *** Waiting for unfinished jobs.... /kisskb/src/drivers/net/arcnet/arc-rimi.c: In function 'arc_rimi_exit': /kisskb/src/drivers/net/arcnet/arc-rimi.c:346:23: warning: unused variable 'lp' [-Wunused-variable] 346 | struct arcnet_local *lp = netdev_priv(dev); | ^~ /kisskb/src/drivers/net/ethernet/8390/ax88796.c: In function 'ax_remove': /kisskb/src/drivers/net/ethernet/8390/ax88796.c:808:20: warning: unused variable 'ei_local' [-Wunused-variable] 808 | struct ei_device *ei_local = netdev_priv(dev); | ^~~~~~~~ In file included from /kisskb/src/arch/sh/include/asm/io.h:28, from /kisskb/src/include/linux/scatterlist.h:9, from /kisskb/src/include/linux/dma-mapping.h:11, from /kisskb/src/include/linux/skbuff.h:31, from /kisskb/src/include/linux/if_ether.h:19, from /kisskb/src/include/uapi/linux/ethtool.h:19, from /kisskb/src/include/linux/ethtool.h:18, from /kisskb/src/include/linux/phy.h:16, from /kisskb/src/drivers/net/phy/mdio-cavium.c:8: /kisskb/src/drivers/net/phy/mdio-cavium.c: In function 'cavium_mdiobus_set_mode': /kisskb/src/drivers/net/phy/mdio-cavium.h:114:37: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 114 | #define oct_mdio_readq(addr) readq((void *)addr) | ^ /kisskb/src/arch/sh/include/mach-common/mach/mangle-port.h:41:23: note: in definition of macro 'ioswabq' 41 | # define ioswabq(x) (x) | ^ /kisskb/src/arch/sh/include/asm/io.h:43:47: note: in expansion of macro '__raw_readq' 43 | #define readq_relaxed(c) ({ u64 __v = ioswabq(__raw_readq(c)); __v; }) | ^~~~~~~~~~~ /kisskb/src/arch/sh/include/asm/io.h:53:31: note: in expansion of macro 'readq_relaxed' 53 | #define readq(a) ({ u64 r_ = readq_relaxed(a); rmb(); r_; }) | ^~~~~~~~~~~~~ /kisskb/src/drivers/net/phy/mdio-cavium.h:114:31: note: in expansion of macro 'readq' 114 | #define oct_mdio_readq(addr) readq((void *)addr) | ^~~~~ /kisskb/src/drivers/net/phy/mdio-cavium.c:21:16: note: in expansion of macro 'oct_mdio_readq' 21 | smi_clk.u64 = oct_mdio_readq(p->register_base + SMI_CLK); | ^~~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/scatterlist.h:9, from /kisskb/src/include/linux/dma-mapping.h:11, from /kisskb/src/include/linux/skbuff.h:31, from /kisskb/src/include/linux/if_ether.h:19, from /kisskb/src/include/uapi/linux/ethtool.h:19, from /kisskb/src/include/linux/ethtool.h:18, from /kisskb/src/include/linux/phy.h:16, from /kisskb/src/drivers/net/phy/mdio-cavium.c:8: /kisskb/src/drivers/net/phy/mdio-cavium.h:113:48: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 113 | #define oct_mdio_writeq(val, addr) writeq(val, (void *)addr) | ^ /kisskb/src/arch/sh/include/asm/io.h:33:71: note: in definition of macro '__raw_writeq' 33 | #define __raw_writeq(v,a) (__chk_io_ptr(a), *(volatile u64 __force *)(a) = (v)) | ^ /kisskb/src/arch/sh/include/asm/io.h:58:32: note: in expansion of macro 'writeq_relaxed' 58 | #define writeq(v,a) ({ wmb(); writeq_relaxed((v),(a)); }) | ^~~~~~~~~~~~~~ /kisskb/src/drivers/net/phy/mdio-cavium.h:113:36: note: in expansion of macro 'writeq' 113 | #define oct_mdio_writeq(val, addr) writeq(val, (void *)addr) | ^~~~~~ /kisskb/src/drivers/net/phy/mdio-cavium.c:24:2: note: in expansion of macro 'oct_mdio_writeq' 24 | oct_mdio_writeq(smi_clk.u64, p->register_base + SMI_CLK); | ^~~~~~~~~~~~~~~ /kisskb/src/drivers/net/phy/mdio-cavium.c: In function 'cavium_mdiobus_c45_addr': /kisskb/src/drivers/net/phy/mdio-cavium.h:113:48: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 113 | #define oct_mdio_writeq(val, addr) writeq(val, (void *)addr) | ^ /kisskb/src/arch/sh/include/asm/io.h:33:71: note: in definition of macro '__raw_writeq' 33 | #define __raw_writeq(v,a) (__chk_io_ptr(a), *(volatile u64 __force *)(a) = (v)) | ^ /kisskb/src/arch/sh/include/asm/io.h:58:32: note: in expansion of macro 'writeq_relaxed' 58 | #define writeq(v,a) ({ wmb(); writeq_relaxed((v),(a)); }) | ^~~~~~~~~~~~~~ /kisskb/src/drivers/net/phy/mdio-cavium.h:113:36: note: in expansion of macro 'writeq' 113 | #define oct_mdio_writeq(val, addr) writeq(val, (void *)addr) | ^~~~~~ /kisskb/src/drivers/net/phy/mdio-cavium.c:39:2: note: in expansion of macro 'oct_mdio_writeq' 39 | oct_mdio_writeq(smi_wr.u64, p->register_base + SMI_WR_DAT); | ^~~~~~~~~~~~~~~ /kisskb/src/drivers/net/phy/mdio-cavium.h:113:48: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 113 | #define oct_mdio_writeq(val, addr) writeq(val, (void *)addr) | ^ /kisskb/src/arch/sh/include/asm/io.h:33:71: note: in definition of macro '__raw_writeq' 33 | #define __raw_writeq(v,a) (__chk_io_ptr(a), *(volatile u64 __force *)(a) = (v)) | ^ /kisskb/src/arch/sh/include/asm/io.h:58:32: note: in expansion of macro 'writeq_relaxed' 58 | #define writeq(v,a) ({ wmb(); writeq_relaxed((v),(a)); }) | ^~~~~~~~~~~~~~ /kisskb/src/drivers/net/phy/mdio-cavium.h:113:36: note: in expansion of macro 'writeq' 113 | #define oct_mdio_writeq(val, addr) writeq(val, (void *)addr) | ^~~~~~ /kisskb/src/drivers/net/phy/mdio-cavium.c:47:2: note: in expansion of macro 'oct_mdio_writeq' 47 | oct_mdio_writeq(smi_cmd.u64, p->register_base + SMI_CMD); | ^~~~~~~~~~~~~~~ In file included from /kisskb/src/arch/sh/include/asm/io.h:28, from /kisskb/src/include/linux/scatterlist.h:9, from /kisskb/src/include/linux/dma-mapping.h:11, from /kisskb/src/include/linux/skbuff.h:31, from /kisskb/src/include/linux/if_ether.h:19, from /kisskb/src/include/uapi/linux/ethtool.h:19, from /kisskb/src/include/linux/ethtool.h:18, from /kisskb/src/include/linux/phy.h:16, from /kisskb/src/drivers/net/phy/mdio-cavium.c:8: /kisskb/src/drivers/net/phy/mdio-cavium.h:114:37: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 114 | #define oct_mdio_readq(addr) readq((void *)addr) | ^ /kisskb/src/arch/sh/include/mach-common/mach/mangle-port.h:41:23: note: in definition of macro 'ioswabq' 41 | # define ioswabq(x) (x) | ^ /kisskb/src/arch/sh/include/asm/io.h:43:47: note: in expansion of macro '__raw_readq' 43 | #define readq_relaxed(c) ({ u64 __v = ioswabq(__raw_readq(c)); __v; }) | ^~~~~~~~~~~ /kisskb/src/arch/sh/include/asm/io.h:53:31: note: in expansion of macro 'readq_relaxed' 53 | #define readq(a) ({ u64 r_ = readq_relaxed(a); rmb(); r_; }) | ^~~~~~~~~~~~~ /kisskb/src/drivers/net/phy/mdio-cavium.h:114:31: note: in expansion of macro 'readq' 114 | #define oct_mdio_readq(addr) readq((void *)addr) | ^~~~~ /kisskb/src/drivers/net/phy/mdio-cavium.c:54:16: note: in expansion of macro 'oct_mdio_readq' 54 | smi_wr.u64 = oct_mdio_readq(p->register_base + SMI_WR_DAT); | ^~~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/scatterlist.h:9, from /kisskb/src/include/linux/dma-mapping.h:11, from /kisskb/src/include/linux/skbuff.h:31, from /kisskb/src/include/linux/if_ether.h:19, from /kisskb/src/include/uapi/linux/ethtool.h:19, from /kisskb/src/include/linux/ethtool.h:18, from /kisskb/src/include/linux/phy.h:16, from /kisskb/src/drivers/net/phy/mdio-cavium.c:8: /kisskb/src/drivers/net/phy/mdio-cavium.c: In function 'cavium_mdiobus_read': /kisskb/src/drivers/net/phy/mdio-cavium.h:113:48: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 113 | #define oct_mdio_writeq(val, addr) writeq(val, (void *)addr) | ^ /kisskb/src/arch/sh/include/asm/io.h:33:71: note: in definition of macro '__raw_writeq' 33 | #define __raw_writeq(v,a) (__chk_io_ptr(a), *(volatile u64 __force *)(a) = (v)) | ^ /kisskb/src/arch/sh/include/asm/io.h:58:32: note: in expansion of macro 'writeq_relaxed' 58 | #define writeq(v,a) ({ wmb(); writeq_relaxed((v),(a)); }) | ^~~~~~~~~~~~~~ /kisskb/src/drivers/net/phy/mdio-cavium.h:113:36: note: in expansion of macro 'writeq' 113 | #define oct_mdio_writeq(val, addr) writeq(val, (void *)addr) | ^~~~~~ /kisskb/src/drivers/net/phy/mdio-cavium.c:86:2: note: in expansion of macro 'oct_mdio_writeq' 86 | oct_mdio_writeq(smi_cmd.u64, p->register_base + SMI_CMD); | ^~~~~~~~~~~~~~~ In file included from /kisskb/src/arch/sh/include/asm/io.h:28, from /kisskb/src/include/linux/scatterlist.h:9, from /kisskb/src/include/linux/dma-mapping.h:11, from /kisskb/src/include/linux/skbuff.h:31, from /kisskb/src/include/linux/if_ether.h:19, from /kisskb/src/include/uapi/linux/ethtool.h:19, from /kisskb/src/include/linux/ethtool.h:18, from /kisskb/src/include/linux/phy.h:16, from /kisskb/src/drivers/net/phy/mdio-cavium.c:8: /kisskb/src/drivers/net/phy/mdio-cavium.h:114:37: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 114 | #define oct_mdio_readq(addr) readq((void *)addr) | ^ /kisskb/src/arch/sh/include/mach-common/mach/mangle-port.h:41:23: note: in definition of macro 'ioswabq' 41 | # define ioswabq(x) (x) | ^ /kisskb/src/arch/sh/include/asm/io.h:43:47: note: in expansion of macro '__raw_readq' 43 | #define readq_relaxed(c) ({ u64 __v = ioswabq(__raw_readq(c)); __v; }) | ^~~~~~~~~~~ /kisskb/src/arch/sh/include/asm/io.h:53:31: note: in expansion of macro 'readq_relaxed' 53 | #define readq(a) ({ u64 r_ = readq_relaxed(a); rmb(); r_; }) | ^~~~~~~~~~~~~ /kisskb/src/drivers/net/phy/mdio-cavium.h:114:31: note: in expansion of macro 'readq' 114 | #define oct_mdio_readq(addr) readq((void *)addr) | ^~~~~ /kisskb/src/drivers/net/phy/mdio-cavium.c:93:16: note: in expansion of macro 'oct_mdio_readq' 93 | smi_rd.u64 = oct_mdio_readq(p->register_base + SMI_RD_DAT); | ^~~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/scatterlist.h:9, from /kisskb/src/include/linux/dma-mapping.h:11, from /kisskb/src/include/linux/skbuff.h:31, from /kisskb/src/include/linux/if_ether.h:19, from /kisskb/src/include/uapi/linux/ethtool.h:19, from /kisskb/src/include/linux/ethtool.h:18, from /kisskb/src/include/linux/phy.h:16, from /kisskb/src/drivers/net/phy/mdio-cavium.c:8: /kisskb/src/drivers/net/phy/mdio-cavium.c: In function 'cavium_mdiobus_write': /kisskb/src/drivers/net/phy/mdio-cavium.h:113:48: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 113 | #define oct_mdio_writeq(val, addr) writeq(val, (void *)addr) | ^ /kisskb/src/arch/sh/include/asm/io.h:33:71: note: in definition of macro '__raw_writeq' 33 | #define __raw_writeq(v,a) (__chk_io_ptr(a), *(volatile u64 __force *)(a) = (v)) | ^ /kisskb/src/arch/sh/include/asm/io.h:58:32: note: in expansion of macro 'writeq_relaxed' 58 | #define writeq(v,a) ({ wmb(); writeq_relaxed((v),(a)); }) | ^~~~~~~~~~~~~~ /kisskb/src/drivers/net/phy/mdio-cavium.h:113:36: note: in expansion of macro 'writeq' 113 | #define oct_mdio_writeq(val, addr) writeq(val, (void *)addr) | ^~~~~~ /kisskb/src/drivers/net/phy/mdio-cavium.c:125:2: note: in expansion of macro 'oct_mdio_writeq' 125 | oct_mdio_writeq(smi_wr.u64, p->register_base + SMI_WR_DAT); | ^~~~~~~~~~~~~~~ /kisskb/src/drivers/net/phy/mdio-cavium.h:113:48: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 113 | #define oct_mdio_writeq(val, addr) writeq(val, (void *)addr) | ^ /kisskb/src/arch/sh/include/asm/io.h:33:71: note: in definition of macro '__raw_writeq' 33 | #define __raw_writeq(v,a) (__chk_io_ptr(a), *(volatile u64 __force *)(a) = (v)) | ^ /kisskb/src/arch/sh/include/asm/io.h:58:32: note: in expansion of macro 'writeq_relaxed' 58 | #define writeq(v,a) ({ wmb(); writeq_relaxed((v),(a)); }) | ^~~~~~~~~~~~~~ /kisskb/src/drivers/net/phy/mdio-cavium.h:113:36: note: in expansion of macro 'writeq' 113 | #define oct_mdio_writeq(val, addr) writeq(val, (void *)addr) | ^~~~~~ /kisskb/src/drivers/net/phy/mdio-cavium.c:131:2: note: in expansion of macro 'oct_mdio_writeq' 131 | oct_mdio_writeq(smi_cmd.u64, p->register_base + SMI_CMD); | ^~~~~~~~~~~~~~~ In file included from /kisskb/src/arch/sh/include/asm/io.h:28, from /kisskb/src/include/linux/scatterlist.h:9, from /kisskb/src/include/linux/dma-mapping.h:11, from /kisskb/src/include/linux/skbuff.h:31, from /kisskb/src/include/linux/if_ether.h:19, from /kisskb/src/include/uapi/linux/ethtool.h:19, from /kisskb/src/include/linux/ethtool.h:18, from /kisskb/src/include/linux/phy.h:16, from /kisskb/src/drivers/net/phy/mdio-cavium.c:8: /kisskb/src/drivers/net/phy/mdio-cavium.h:114:37: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 114 | #define oct_mdio_readq(addr) readq((void *)addr) | ^ /kisskb/src/arch/sh/include/mach-common/mach/mangle-port.h:41:23: note: in definition of macro 'ioswabq' 41 | # define ioswabq(x) (x) | ^ /kisskb/src/arch/sh/include/asm/io.h:43:47: note: in expansion of macro '__raw_readq' 43 | #define readq_relaxed(c) ({ u64 __v = ioswabq(__raw_readq(c)); __v; }) | ^~~~~~~~~~~ /kisskb/src/arch/sh/include/asm/io.h:53:31: note: in expansion of macro 'readq_relaxed' 53 | #define readq(a) ({ u64 r_ = readq_relaxed(a); rmb(); r_; }) | ^~~~~~~~~~~~~ /kisskb/src/drivers/net/phy/mdio-cavium.h:114:31: note: in expansion of macro 'readq' 114 | #define oct_mdio_readq(addr) readq((void *)addr) | ^~~~~ /kisskb/src/drivers/net/phy/mdio-cavium.c:138:16: note: in expansion of macro 'oct_mdio_readq' 138 | smi_wr.u64 = oct_mdio_readq(p->register_base + SMI_WR_DAT); | ^~~~~~~~~~~~~~ /kisskb/src/drivers/net/can/cc770/cc770_platform.c: In function 'cc770_platform_remove': /kisskb/src/drivers/net/can/cc770/cc770_platform.c:236:21: warning: unused variable 'priv' [-Wunused-variable] 236 | struct cc770_priv *priv = netdev_priv(dev); | ^~~~ /kisskb/src/drivers/net/phy/mdio-octeon.c: In function 'octeon_mdiobus_probe': /kisskb/src/drivers/net/phy/mdio-octeon.c:48:3: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 48 | (u64)devm_ioremap(&pdev->dev, mdio_phys, regsize); | ^ In file included from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/of_address.h:7, from /kisskb/src/drivers/net/phy/mdio-octeon.c:7: /kisskb/src/drivers/net/phy/mdio-cavium.h:113:48: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 113 | #define oct_mdio_writeq(val, addr) writeq(val, (void *)addr) | ^ /kisskb/src/arch/sh/include/asm/io.h:33:71: note: in definition of macro '__raw_writeq' 33 | #define __raw_writeq(v,a) (__chk_io_ptr(a), *(volatile u64 __force *)(a) = (v)) | ^ /kisskb/src/arch/sh/include/asm/io.h:58:32: note: in expansion of macro 'writeq_relaxed' 58 | #define writeq(v,a) ({ wmb(); writeq_relaxed((v),(a)); }) | ^~~~~~~~~~~~~~ /kisskb/src/drivers/net/phy/mdio-cavium.h:113:36: note: in expansion of macro 'writeq' 113 | #define oct_mdio_writeq(val, addr) writeq(val, (void *)addr) | ^~~~~~ /kisskb/src/drivers/net/phy/mdio-octeon.c:56:2: note: in expansion of macro 'oct_mdio_writeq' 56 | oct_mdio_writeq(smi_en.u64, bus->register_base + SMI_EN); | ^~~~~~~~~~~~~~~ /kisskb/src/drivers/net/phy/mdio-cavium.h:113:48: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 113 | #define oct_mdio_writeq(val, addr) writeq(val, (void *)addr) | ^ /kisskb/src/arch/sh/include/asm/io.h:33:71: note: in definition of macro '__raw_writeq' 33 | #define __raw_writeq(v,a) (__chk_io_ptr(a), *(volatile u64 __force *)(a) = (v)) | ^ /kisskb/src/arch/sh/include/asm/io.h:58:32: note: in expansion of macro 'writeq_relaxed' 58 | #define writeq(v,a) ({ wmb(); writeq_relaxed((v),(a)); }) | ^~~~~~~~~~~~~~ /kisskb/src/drivers/net/phy/mdio-cavium.h:113:36: note: in expansion of macro 'writeq' 113 | #define oct_mdio_writeq(val, addr) writeq(val, (void *)addr) | ^~~~~~ /kisskb/src/drivers/net/phy/mdio-octeon.c:77:2: note: in expansion of macro 'oct_mdio_writeq' 77 | oct_mdio_writeq(smi_en.u64, bus->register_base + SMI_EN); | ^~~~~~~~~~~~~~~ /kisskb/src/drivers/net/phy/mdio-octeon.c: In function 'octeon_mdiobus_remove': /kisskb/src/drivers/net/phy/mdio-cavium.h:113:48: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 113 | #define oct_mdio_writeq(val, addr) writeq(val, (void *)addr) | ^ /kisskb/src/arch/sh/include/asm/io.h:33:71: note: in definition of macro '__raw_writeq' 33 | #define __raw_writeq(v,a) (__chk_io_ptr(a), *(volatile u64 __force *)(a) = (v)) | ^ /kisskb/src/arch/sh/include/asm/io.h:58:32: note: in expansion of macro 'writeq_relaxed' 58 | #define writeq(v,a) ({ wmb(); writeq_relaxed((v),(a)); }) | ^~~~~~~~~~~~~~ /kisskb/src/drivers/net/phy/mdio-cavium.h:113:36: note: in expansion of macro 'writeq' 113 | #define oct_mdio_writeq(val, addr) writeq(val, (void *)addr) | ^~~~~~ /kisskb/src/drivers/net/phy/mdio-octeon.c:91:2: note: in expansion of macro 'oct_mdio_writeq' 91 | oct_mdio_writeq(smi_en.u64, bus->register_base + SMI_EN); | ^~~~~~~~~~~~~~~ {standard input}: Assembler messages: {standard input}: Warning: end of file not at end of a line; newline inserted sh4-linux-gcc: internal compiler error: Segmentation fault signal terminated program cc1 Please submit a full bug report, with preprocessed source if appropriate. See <https://gcc.gnu.org/bugs/> for instructions. make[4]: *** [/kisskb/src/scripts/Makefile.build:277: drivers/net/phy/mdio-xpcs.o] Error 4 make[4]: *** Deleting file 'drivers/net/phy/mdio-xpcs.o' make[3]: *** [/kisskb/src/scripts/Makefile.build:493: drivers/net/phy] Error 2 make[3]: *** Waiting for unfinished jobs.... /kisskb/src/drivers/thermal/broadcom/ns-thermal.c: In function 'ns_thermal_remove': /kisskb/src/drivers/thermal/broadcom/ns-thermal.c:78:21: warning: unused variable 'ns_thermal' [-Wunused-variable] 78 | struct ns_thermal *ns_thermal = platform_get_drvdata(pdev); | ^~~~~~~~~~ /kisskb/src/drivers/net/ethernet/fujitsu/fmvj18x_cs.c: In function 'fjn_start_xmit': /kisskb/src/drivers/net/ethernet/fujitsu/fmvj18x_cs.c:823:17: warning: unused variable 'buf' [-Wunused-variable] 823 | unsigned char *buf = skb->data; | ^~~ /kisskb/src/drivers/net/ethernet/freescale/fsl_pq_mdio.c: In function 'fsl_pq_mdio_remove': /kisskb/src/drivers/net/ethernet/freescale/fsl_pq_mdio.c:518:27: warning: unused variable 'priv' [-Wunused-variable] 518 | struct fsl_pq_mdio_priv *priv = bus->priv; | ^~~~ /kisskb/src/drivers/sh/clk/cpg.c: In function 'r8': /kisskb/src/drivers/sh/clk/cpg.c:41:17: warning: passing argument 1 of 'ioread8' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 41 | return ioread8(addr); | ^~~~ In file included from /kisskb/src/arch/sh/include/asm/io.h:21, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/drivers/sh/clk/cpg.c:14: /kisskb/src/include/asm-generic/iomap.h:29:29: note: expected 'void *' but argument is of type 'const void *' 29 | extern unsigned int ioread8(void __iomem *); | ^~~~~~~~~~~~~~ /kisskb/src/drivers/sh/clk/cpg.c: In function 'r16': /kisskb/src/drivers/sh/clk/cpg.c:46:18: warning: passing argument 1 of 'ioread16' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 46 | return ioread16(addr); | ^~~~ In file included from /kisskb/src/arch/sh/include/asm/io.h:21, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/drivers/sh/clk/cpg.c:14: /kisskb/src/include/asm-generic/iomap.h:30:30: note: expected 'void *' but argument is of type 'const void *' 30 | extern unsigned int ioread16(void __iomem *); | ^~~~~~~~~~~~~~ /kisskb/src/drivers/sh/clk/cpg.c: In function 'r32': /kisskb/src/drivers/sh/clk/cpg.c:51:18: warning: passing argument 1 of 'ioread32' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 51 | return ioread32(addr); | ^~~~ In file included from /kisskb/src/arch/sh/include/asm/io.h:21, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/drivers/sh/clk/cpg.c:14: /kisskb/src/include/asm-generic/iomap.h:32:30: note: expected 'void *' but argument is of type 'const void *' 32 | extern unsigned int ioread32(void __iomem *); | ^~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/smsc/smc91c92_cs.c: In function 'smc91c92_release': /kisskb/src/drivers/net/ethernet/smsc/smc91c92_cs.c:958:23: warning: unused variable 'smc' [-Wunused-variable] 958 | struct smc_private *smc = netdev_priv(dev); | ^~~ /kisskb/src/drivers/net/ethernet/smsc/smc911x.c: In function 'smc911x_drv_remove': /kisskb/src/drivers/net/ethernet/smsc/smc911x.c:2117:24: warning: unused variable 'lp' [-Wunused-variable] 2117 | struct smc911x_local *lp = netdev_priv(ndev); | ^~ /kisskb/src/drivers/iio/adc/ad7606_par.c: In function 'ad7606_par16_read_block': /kisskb/src/drivers/iio/adc/ad7606_par.c:21:23: warning: unused variable 'st' [-Wunused-variable] 21 | struct ad7606_state *st = iio_priv(indio_dev); | ^~ /kisskb/src/drivers/iio/adc/ad7606_par.c: In function 'ad7606_par8_read_block': /kisskb/src/drivers/iio/adc/ad7606_par.c:36:23: warning: unused variable 'st' [-Wunused-variable] 36 | struct ad7606_state *st = iio_priv(indio_dev); | ^~ In file included from /kisskb/src/include/linux/scatterlist.h:9, from /kisskb/src/include/linux/dma-mapping.h:11, from /kisskb/src/include/linux/skbuff.h:31, from /kisskb/src/include/linux/if_ether.h:19, from /kisskb/src/include/uapi/linux/ethtool.h:19, from /kisskb/src/include/linux/ethtool.h:18, from /kisskb/src/include/linux/netdevice.h:37, from /kisskb/src/drivers/staging/octeon/ethernet-mem.c:9: /kisskb/src/drivers/staging/octeon/ethernet-mem.c: In function 'cvm_oct_free_hw_memory': /kisskb/src/arch/sh/include/asm/io.h:244:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 244 | #define phys_to_virt(address) ((void *)(address)) | ^ /kisskb/src/drivers/staging/octeon/ethernet-mem.c:123:18: note: in expansion of macro 'phys_to_virt' 123 | fpa = (char *)phys_to_virt(cvmx_ptr_to_phys(fpa)); | ^~~~~~~~~~~~ make[2]: *** [/kisskb/src/scripts/Makefile.build:493: drivers/net] Error 2 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [/kisskb/src/Makefile:1747: drivers] Error 2 make: *** [Makefile:185: __sub-make] Error 2 Command 'make -s -j 24 ARCH=sh O=/kisskb/build/linux-next_sh-allyesconfig_sh4-gcc10 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-10.1.0-nolibc/sh4-linux/bin/sh4-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/linux-next_sh-allyesconfig_sh4-gcc10 # Build took: 0:13:41.494548
© Michael Ellerman 2006-2018.