# git rev-parse -q --verify 6fbda10ec6f8d70d0f4446f861f7db726c2f2e7c^{commit} 6fbda10ec6f8d70d0f4446f861f7db726c2f2e7c already have revision, skipping fetch # git checkout -q -f -B kisskb 6fbda10ec6f8d70d0f4446f861f7db726c2f2e7c # git clean -qxdf # < git log -1 # commit 6fbda10ec6f8d70d0f4446f861f7db726c2f2e7c # Author: Stephen Rothwell # Date: Mon Oct 31 18:06:52 2022 +1100 # # Add linux-next specific files for 20221031 # # Signed-off-by: Stephen Rothwell # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/sh4-linux/bin/sh4-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/sh4-linux/bin/sh4-linux-ld --version # < git log --format=%s --max-count=1 6fbda10ec6f8d70d0f4446f861f7db726c2f2e7c # < make -s -j 160 ARCH=sh O=/kisskb/build/linux-next_sh-allyesconfig_sh4-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.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 160 ARCH=sh O=/kisskb/build/linux-next_sh-allyesconfig_sh4-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/sh4-linux/bin/sh4-linux- help # make -s -j 160 ARCH=sh O=/kisskb/build/linux-next_sh-allyesconfig_sh4-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/sh4-linux/bin/sh4-linux- olddefconfig # make -s -j 160 ARCH=sh O=/kisskb/build/linux-next_sh-allyesconfig_sh4-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/sh4-linux/bin/sh4-linux- Generating include/generated/machtypes.h :1517: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:357: Warning: overflow in branch to syscall_exit_work; converted into longer instruction sequence /kisskb/src/arch/sh/kernel/cpu/sh2/../../entry-common.S:360: Warning: overflow in branch to syscall_exit_work; converted into longer instruction sequence In file included from /kisskb/src/arch/sh/include/asm/hw_irq.h:6, from /kisskb/src/include/linux/irq.h:596, from /kisskb/src/include/asm-generic/hardirq.h:17, from /kisskb/src/arch/sh/include/asm/hardirq.h:9, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/serial_core.h:13, 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: error: division 'sizeof (void *) / sizeof (void)' does not compute the number of array elements [-Werror=sizeof-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:31: note: in expansion of macro '_INTC_ARRAY' 105 | _INTC_ARRAY(vectors), _INTC_ARRAY(groups), \ | ^~~~~~~~~~~ /kisskb/src/include/linux/sh_intc.h:124:15: 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: error: division 'sizeof (void *) / sizeof (void)' does not compute the number of array elements [-Werror=sizeof-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:9: note: in expansion of macro '_INTC_ARRAY' 106 | _INTC_ARRAY(mask_regs), _INTC_ARRAY(prio_regs), \ | ^~~~~~~~~~~ /kisskb/src/include/linux/sh_intc.h:124:15: 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: error: division 'sizeof (void *) / sizeof (void)' does not compute the number of array elements [-Werror=sizeof-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:9: note: in expansion of macro '_INTC_ARRAY' 107 | _INTC_ARRAY(sense_regs), _INTC_ARRAY(ack_regs), \ | ^~~~~~~~~~~ /kisskb/src/include/linux/sh_intc.h:124:15: 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: error: division 'sizeof (void *) / sizeof (void)' does not compute the number of array elements [-Werror=sizeof-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:34: note: in expansion of macro '_INTC_ARRAY' 107 | _INTC_ARRAY(sense_regs), _INTC_ARRAY(ack_regs), \ | ^~~~~~~~~~~ /kisskb/src/include/linux/sh_intc.h:124:15: 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, | ^~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors make[6]: *** [/kisskb/src/scripts/Makefile.build:250: arch/sh/kernel/cpu/sh2/setup-sh7619.o] Error 1 make[5]: *** [/kisskb/src/scripts/Makefile.build:500: arch/sh/kernel/cpu/sh2] Error 2 make[5]: *** Waiting for unfinished jobs.... make[4]: *** [/kisskb/src/scripts/Makefile.build:500: arch/sh/kernel/cpu] Error 2 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [/kisskb/src/scripts/Makefile.build:500: arch/sh/kernel] Error 2 make[2]: *** [/kisskb/src/scripts/Makefile.build:500: arch/sh] Error 2 make[2]: *** Waiting for unfinished jobs.... In file included from /kisskb/src/sound/soc/sof/intel/atom.c:21: /kisskb/src/sound/soc/sof/intel/../ops.h: In function 'snd_sof_dsp_writeb': /kisskb/src/sound/soc/sof/intel/../ops.h:309:75: error: macro "writeb" passed 3 arguments, but takes just 2 309 | sof_ops(sdev)->writeb(sdev, sdev->bar[bar] + offset, value); | ^ In file included from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/include/asm-generic/hardirq.h:17, from /kisskb/src/arch/sh/include/asm/hardirq.h:9, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/pci.h:38, from /kisskb/src/include/sound/sof.h:14, from /kisskb/src/sound/soc/sof/intel/atom.c:16: /kisskb/src/arch/sh/include/asm/io.h:54: note: macro "writeb" defined here 54 | #define writeb(v,a) ({ wmb(); writeb_relaxed((v),(a)); }) | In file included from /kisskb/src/sound/soc/sof/intel/atom.c:21: /kisskb/src/sound/soc/sof/intel/../ops.h:309:30: error: statement with no effect [-Werror=unused-value] 309 | sof_ops(sdev)->writeb(sdev, sdev->bar[bar] + offset, value); | ^ /kisskb/src/sound/soc/sof/intel/../ops.h: In function 'snd_sof_dsp_readb': /kisskb/src/sound/soc/sof/intel/../ops.h:336:74: error: macro "readb" passed 2 arguments, but takes just 1 336 | return sof_ops(sdev)->readb(sdev, sdev->bar[bar] + offset); | ^ In file included from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/include/asm-generic/hardirq.h:17, from /kisskb/src/arch/sh/include/asm/hardirq.h:9, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/pci.h:38, from /kisskb/src/include/sound/sof.h:14, from /kisskb/src/sound/soc/sof/intel/atom.c:16: /kisskb/src/arch/sh/include/asm/io.h:49: note: macro "readb" defined here 49 | #define readb(a) ({ u8 r_ = readb_relaxed(a); rmb(); r_; }) | In file included from /kisskb/src/sound/soc/sof/intel/atom.c:21: /kisskb/src/sound/soc/sof/intel/../ops.h:336:37: error: returning 'u8 (*)(struct snd_sof_dev *, void *)' {aka 'unsigned char (*)(struct snd_sof_dev *, void *)'} from a function with return type 'u8' {aka 'unsigned char'} makes integer from pointer without a cast [-Werror=int-conversion] 336 | return sof_ops(sdev)->readb(sdev, sdev->bar[bar] + offset); | ^ cc1: all warnings being treated as errors make[6]: *** [/kisskb/src/scripts/Makefile.build:250: sound/soc/sof/intel/atom.o] Error 1 make[6]: *** Waiting for unfinished jobs.... In file included from /kisskb/src/sound/soc/sof/intel/bdw.c:21: /kisskb/src/sound/soc/sof/intel/../ops.h: In function 'snd_sof_dsp_writeb': /kisskb/src/sound/soc/sof/intel/../ops.h:309:75: error: macro "writeb" passed 3 arguments, but takes just 2 309 | sof_ops(sdev)->writeb(sdev, sdev->bar[bar] + offset, value); | ^ In file included from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/include/asm-generic/hardirq.h:17, from /kisskb/src/arch/sh/include/asm/hardirq.h:9, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/pci.h:38, from /kisskb/src/include/sound/sof.h:14, from /kisskb/src/sound/soc/sof/intel/bdw.c:16: /kisskb/src/arch/sh/include/asm/io.h:54: note: macro "writeb" defined here 54 | #define writeb(v,a) ({ wmb(); writeb_relaxed((v),(a)); }) | In file included from /kisskb/src/sound/soc/sof/intel/bdw.c:21: /kisskb/src/sound/soc/sof/intel/../ops.h:309:30: error: statement with no effect [-Werror=unused-value] 309 | sof_ops(sdev)->writeb(sdev, sdev->bar[bar] + offset, value); | ^ /kisskb/src/sound/soc/sof/intel/../ops.h: In function 'snd_sof_dsp_readb': /kisskb/src/sound/soc/sof/intel/../ops.h:336:74: error: macro "readb" passed 2 arguments, but takes just 1 336 | return sof_ops(sdev)->readb(sdev, sdev->bar[bar] + offset); | ^ In file included from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/include/asm-generic/hardirq.h:17, from /kisskb/src/arch/sh/include/asm/hardirq.h:9, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/pci.h:38, from /kisskb/src/include/sound/sof.h:14, from /kisskb/src/sound/soc/sof/intel/bdw.c:16: /kisskb/src/arch/sh/include/asm/io.h:49: note: macro "readb" defined here 49 | #define readb(a) ({ u8 r_ = readb_relaxed(a); rmb(); r_; }) | In file included from /kisskb/src/sound/soc/sof/intel/bdw.c:21: /kisskb/src/sound/soc/sof/intel/../ops.h:336:37: error: returning 'u8 (*)(struct snd_sof_dev *, void *)' {aka 'unsigned char (*)(struct snd_sof_dev *, void *)'} from a function with return type 'u8' {aka 'unsigned char'} makes integer from pointer without a cast [-Werror=int-conversion] 336 | return sof_ops(sdev)->readb(sdev, sdev->bar[bar] + offset); | ^ cc1: all warnings being treated as errors make[6]: *** [/kisskb/src/scripts/Makefile.build:250: sound/soc/sof/intel/bdw.o] Error 1 In file included from /kisskb/src/sound/soc/sof/imx/imx8.c:23: /kisskb/src/sound/soc/sof/imx/../ops.h: In function 'snd_sof_dsp_writeb': /kisskb/src/sound/soc/sof/imx/../ops.h:309:75: error: macro "writeb" passed 3 arguments, but takes just 2 309 | sof_ops(sdev)->writeb(sdev, sdev->bar[bar] + offset, value); | ^ In file included from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/of_address.h:7, from /kisskb/src/sound/soc/sof/imx/imx8.c:11: /kisskb/src/arch/sh/include/asm/io.h:54: note: macro "writeb" defined here 54 | #define writeb(v,a) ({ wmb(); writeb_relaxed((v),(a)); }) | In file included from /kisskb/src/sound/soc/sof/imx/imx8.c:23: /kisskb/src/sound/soc/sof/imx/../ops.h:309:30: error: statement with no effect [-Werror=unused-value] 309 | sof_ops(sdev)->writeb(sdev, sdev->bar[bar] + offset, value); | ^ /kisskb/src/sound/soc/sof/imx/../ops.h: In function 'snd_sof_dsp_readb': /kisskb/src/sound/soc/sof/imx/../ops.h:336:74: error: macro "readb" passed 2 arguments, but takes just 1 336 | return sof_ops(sdev)->readb(sdev, sdev->bar[bar] + offset); | ^ In file included from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/of_address.h:7, from /kisskb/src/sound/soc/sof/imx/imx8.c:11: /kisskb/src/arch/sh/include/asm/io.h:49: note: macro "readb" defined here 49 | #define readb(a) ({ u8 r_ = readb_relaxed(a); rmb(); r_; }) | In file included from /kisskb/src/sound/soc/sof/imx/imx8.c:23: /kisskb/src/sound/soc/sof/imx/../ops.h:336:37: error: returning 'u8 (*)(struct snd_sof_dev *, void *)' {aka 'unsigned char (*)(struct snd_sof_dev *, void *)'} from a function with return type 'u8' {aka 'unsigned char'} makes integer from pointer without a cast [-Werror=int-conversion] 336 | return sof_ops(sdev)->readb(sdev, sdev->bar[bar] + offset); | ^ cc1: all warnings being treated as errors make[6]: *** [/kisskb/src/scripts/Makefile.build:250: sound/soc/sof/imx/imx8.o] Error 1 make[5]: *** [/kisskb/src/scripts/Makefile.build:500: sound/soc/sof/imx] Error 2 make[5]: *** Waiting for unfinished jobs.... In file included from /kisskb/src/sound/soc/sof/intel/byt.c:21: /kisskb/src/sound/soc/sof/intel/../ops.h: In function 'snd_sof_dsp_writeb': /kisskb/src/sound/soc/sof/intel/../ops.h:309:75: error: macro "writeb" passed 3 arguments, but takes just 2 309 | sof_ops(sdev)->writeb(sdev, sdev->bar[bar] + offset, value); | ^ In file included from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/include/asm-generic/hardirq.h:17, from /kisskb/src/arch/sh/include/asm/hardirq.h:9, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/pci.h:38, from /kisskb/src/include/sound/sof.h:14, from /kisskb/src/sound/soc/sof/intel/byt.c:16: /kisskb/src/arch/sh/include/asm/io.h:54: note: macro "writeb" defined here 54 | #define writeb(v,a) ({ wmb(); writeb_relaxed((v),(a)); }) | In file included from /kisskb/src/sound/soc/sof/intel/byt.c:21: /kisskb/src/sound/soc/sof/intel/../ops.h:309:30: error: statement with no effect [-Werror=unused-value] 309 | sof_ops(sdev)->writeb(sdev, sdev->bar[bar] + offset, value); | ^ /kisskb/src/sound/soc/sof/intel/../ops.h: In function 'snd_sof_dsp_readb': /kisskb/src/sound/soc/sof/intel/../ops.h:336:74: error: macro "readb" passed 2 arguments, but takes just 1 336 | return sof_ops(sdev)->readb(sdev, sdev->bar[bar] + offset); | ^ In file included from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/include/asm-generic/hardirq.h:17, from /kisskb/src/arch/sh/include/asm/hardirq.h:9, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/pci.h:38, from /kisskb/src/include/sound/sof.h:14, from /kisskb/src/sound/soc/sof/intel/byt.c:16: /kisskb/src/arch/sh/include/asm/io.h:49: note: macro "readb" defined here 49 | #define readb(a) ({ u8 r_ = readb_relaxed(a); rmb(); r_; }) | In file included from /kisskb/src/sound/soc/sof/intel/byt.c:21: /kisskb/src/sound/soc/sof/intel/../ops.h:336:37: error: returning 'u8 (*)(struct snd_sof_dev *, void *)' {aka 'unsigned char (*)(struct snd_sof_dev *, void *)'} from a function with return type 'u8' {aka 'unsigned char'} makes integer from pointer without a cast [-Werror=int-conversion] 336 | return sof_ops(sdev)->readb(sdev, sdev->bar[bar] + offset); | ^ cc1: all warnings being treated as errors make[6]: *** [/kisskb/src/scripts/Makefile.build:250: sound/soc/sof/intel/byt.o] Error 1 make[5]: *** [/kisskb/src/scripts/Makefile.build:500: sound/soc/sof/intel] Error 2 In file included from /kisskb/src/sound/soc/sof/mediatek/mt8186/mt8186.c:23: /kisskb/src/sound/soc/sof/mediatek/mt8186/../../ops.h: In function 'snd_sof_dsp_writeb': /kisskb/src/sound/soc/sof/mediatek/mt8186/../../ops.h:309:75: error: macro "writeb" passed 3 arguments, but takes just 2 309 | sof_ops(sdev)->writeb(sdev, sdev->bar[bar] + offset, value); | ^ In file included from /kisskb/src/include/linux/io.h:13, from /kisskb/src/sound/soc/sof/mediatek/mt8186/mt8186.c:14: /kisskb/src/arch/sh/include/asm/io.h:54: note: macro "writeb" defined here 54 | #define writeb(v,a) ({ wmb(); writeb_relaxed((v),(a)); }) | In file included from /kisskb/src/sound/soc/sof/mediatek/mt8186/mt8186.c:23: /kisskb/src/sound/soc/sof/mediatek/mt8186/../../ops.h:309:30: error: statement with no effect [-Werror=unused-value] 309 | sof_ops(sdev)->writeb(sdev, sdev->bar[bar] + offset, value); | ^ /kisskb/src/sound/soc/sof/mediatek/mt8186/../../ops.h: In function 'snd_sof_dsp_readb': /kisskb/src/sound/soc/sof/mediatek/mt8186/../../ops.h:336:74: error: macro "readb" passed 2 arguments, but takes just 1 336 | return sof_ops(sdev)->readb(sdev, sdev->bar[bar] + offset); | ^ In file included from /kisskb/src/include/linux/io.h:13, from /kisskb/src/sound/soc/sof/mediatek/mt8186/mt8186.c:14: /kisskb/src/arch/sh/include/asm/io.h:49: note: macro "readb" defined here 49 | #define readb(a) ({ u8 r_ = readb_relaxed(a); rmb(); r_; }) | In file included from /kisskb/src/sound/soc/sof/mediatek/mt8186/mt8186.c:23: /kisskb/src/sound/soc/sof/mediatek/mt8186/../../ops.h:336:37: error: returning 'u8 (*)(struct snd_sof_dev *, void *)' {aka 'unsigned char (*)(struct snd_sof_dev *, void *)'} from a function with return type 'u8' {aka 'unsigned char'} makes integer from pointer without a cast [-Werror=int-conversion] 336 | return sof_ops(sdev)->readb(sdev, sdev->bar[bar] + offset); | ^ In file included from /kisskb/src/sound/soc/sof/mediatek/mt8195/mt8195.c:23: /kisskb/src/sound/soc/sof/mediatek/mt8195/../../ops.h: In function 'snd_sof_dsp_writeb': /kisskb/src/sound/soc/sof/mediatek/mt8195/../../ops.h:309:75: error: macro "writeb" passed 3 arguments, but takes just 2 309 | sof_ops(sdev)->writeb(sdev, sdev->bar[bar] + offset, value); | ^ In file included from /kisskb/src/include/linux/io.h:13, from /kisskb/src/sound/soc/sof/mediatek/mt8195/mt8195.c:14: /kisskb/src/arch/sh/include/asm/io.h:54: note: macro "writeb" defined here 54 | #define writeb(v,a) ({ wmb(); writeb_relaxed((v),(a)); }) | In file included from /kisskb/src/sound/soc/sof/mediatek/mt8195/mt8195.c:23: /kisskb/src/sound/soc/sof/mediatek/mt8195/../../ops.h:309:30: error: statement with no effect [-Werror=unused-value] 309 | sof_ops(sdev)->writeb(sdev, sdev->bar[bar] + offset, value); | ^ /kisskb/src/sound/soc/sof/mediatek/mt8195/../../ops.h: In function 'snd_sof_dsp_readb': /kisskb/src/sound/soc/sof/mediatek/mt8195/../../ops.h:336:74: error: macro "readb" passed 2 arguments, but takes just 1 336 | return sof_ops(sdev)->readb(sdev, sdev->bar[bar] + offset); | ^ In file included from /kisskb/src/include/linux/io.h:13, from /kisskb/src/sound/soc/sof/mediatek/mt8195/mt8195.c:14: /kisskb/src/arch/sh/include/asm/io.h:49: note: macro "readb" defined here 49 | #define readb(a) ({ u8 r_ = readb_relaxed(a); rmb(); r_; }) | In file included from /kisskb/src/sound/soc/sof/mediatek/mt8195/mt8195.c:23: /kisskb/src/sound/soc/sof/mediatek/mt8195/../../ops.h:336:37: error: returning 'u8 (*)(struct snd_sof_dev *, void *)' {aka 'unsigned char (*)(struct snd_sof_dev *, void *)'} from a function with return type 'u8' {aka 'unsigned char'} makes integer from pointer without a cast [-Werror=int-conversion] 336 | return sof_ops(sdev)->readb(sdev, sdev->bar[bar] + offset); | ^ cc1: all warnings being treated as errors make[7]: *** [/kisskb/src/scripts/Makefile.build:250: sound/soc/sof/mediatek/mt8186/mt8186.o] Error 1 make[7]: *** Waiting for unfinished jobs.... cc1: all warnings being treated as errors make[7]: *** [/kisskb/src/scripts/Makefile.build:250: sound/soc/sof/mediatek/mt8195/mt8195.o] Error 1 make[7]: *** Waiting for unfinished jobs.... In file included from /kisskb/src/sound/soc/sof/mediatek/mt8186/mt8186-loader.c:12: /kisskb/src/sound/soc/sof/mediatek/mt8186/../../ops.h: In function 'snd_sof_dsp_writeb': /kisskb/src/sound/soc/sof/mediatek/mt8186/../../ops.h:309:75: error: macro "writeb" passed 3 arguments, but takes just 2 309 | sof_ops(sdev)->writeb(sdev, sdev->bar[bar] + offset, value); | ^ In file included from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/include/asm-generic/hardirq.h:17, from /kisskb/src/arch/sh/include/asm/hardirq.h:9, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/pci.h:38, from /kisskb/src/include/sound/sof.h:14, from /kisskb/src/sound/soc/sof/mediatek/mt8186/mt8186-loader.c:10: /kisskb/src/arch/sh/include/asm/io.h:54: note: macro "writeb" defined here 54 | #define writeb(v,a) ({ wmb(); writeb_relaxed((v),(a)); }) | In file included from /kisskb/src/sound/soc/sof/mediatek/mt8186/mt8186-loader.c:12: /kisskb/src/sound/soc/sof/mediatek/mt8186/../../ops.h:309:30: error: statement with no effect [-Werror=unused-value] 309 | sof_ops(sdev)->writeb(sdev, sdev->bar[bar] + offset, value); | ^ /kisskb/src/sound/soc/sof/mediatek/mt8186/../../ops.h: In function 'snd_sof_dsp_readb': /kisskb/src/sound/soc/sof/mediatek/mt8186/../../ops.h:336:74: error: macro "readb" passed 2 arguments, but takes just 1 336 | return sof_ops(sdev)->readb(sdev, sdev->bar[bar] + offset); | ^ In file included from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/include/asm-generic/hardirq.h:17, from /kisskb/src/arch/sh/include/asm/hardirq.h:9, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/pci.h:38, from /kisskb/src/include/sound/sof.h:14, from /kisskb/src/sound/soc/sof/mediatek/mt8186/mt8186-loader.c:10: /kisskb/src/arch/sh/include/asm/io.h:49: note: macro "readb" defined here 49 | #define readb(a) ({ u8 r_ = readb_relaxed(a); rmb(); r_; }) | In file included from /kisskb/src/sound/soc/sof/mediatek/mt8186/mt8186-loader.c:12: /kisskb/src/sound/soc/sof/mediatek/mt8186/../../ops.h:336:37: error: returning 'u8 (*)(struct snd_sof_dev *, void *)' {aka 'unsigned char (*)(struct snd_sof_dev *, void *)'} from a function with return type 'u8' {aka 'unsigned char'} makes integer from pointer without a cast [-Werror=int-conversion] 336 | return sof_ops(sdev)->readb(sdev, sdev->bar[bar] + offset); | ^ cc1: all warnings being treated as errors make[7]: *** [/kisskb/src/scripts/Makefile.build:250: sound/soc/sof/mediatek/mt8186/mt8186-loader.o] Error 1 In file included from /kisskb/src/sound/soc/sof/mediatek/mt8186/mt8186-clk.c:15: /kisskb/src/sound/soc/sof/mediatek/mt8186/../../ops.h: In function 'snd_sof_dsp_writeb': /kisskb/src/sound/soc/sof/mediatek/mt8186/../../ops.h:309:75: error: macro "writeb" passed 3 arguments, but takes just 2 309 | sof_ops(sdev)->writeb(sdev, sdev->bar[bar] + offset, value); | ^ In file included from /kisskb/src/include/linux/io.h:13, from /kisskb/src/sound/soc/sof/mediatek/mt8186/mt8186-clk.c:12: /kisskb/src/arch/sh/include/asm/io.h:54: note: macro "writeb" defined here 54 | #define writeb(v,a) ({ wmb(); writeb_relaxed((v),(a)); }) | In file included from /kisskb/src/sound/soc/sof/mediatek/mt8186/mt8186-clk.c:15: /kisskb/src/sound/soc/sof/mediatek/mt8186/../../ops.h:309:30: error: statement with no effect [-Werror=unused-value] 309 | sof_ops(sdev)->writeb(sdev, sdev->bar[bar] + offset, value); | ^ /kisskb/src/sound/soc/sof/mediatek/mt8186/../../ops.h: In function 'snd_sof_dsp_readb': /kisskb/src/sound/soc/sof/mediatek/mt8186/../../ops.h:336:74: error: macro "readb" passed 2 arguments, but takes just 1 336 | return sof_ops(sdev)->readb(sdev, sdev->bar[bar] + offset); | ^ In file included from /kisskb/src/include/linux/io.h:13, from /kisskb/src/sound/soc/sof/mediatek/mt8186/mt8186-clk.c:12: /kisskb/src/arch/sh/include/asm/io.h:49: note: macro "readb" defined here 49 | #define readb(a) ({ u8 r_ = readb_relaxed(a); rmb(); r_; }) | In file included from /kisskb/src/sound/soc/sof/mediatek/mt8186/mt8186-clk.c:15: /kisskb/src/sound/soc/sof/mediatek/mt8186/../../ops.h:336:37: error: returning 'u8 (*)(struct snd_sof_dev *, void *)' {aka 'unsigned char (*)(struct snd_sof_dev *, void *)'} from a function with return type 'u8' {aka 'unsigned char'} makes integer from pointer without a cast [-Werror=int-conversion] 336 | return sof_ops(sdev)->readb(sdev, sdev->bar[bar] + offset); | ^ cc1: all warnings being treated as errors make[7]: *** [/kisskb/src/scripts/Makefile.build:250: sound/soc/sof/mediatek/mt8186/mt8186-clk.o] Error 1 make[6]: *** [/kisskb/src/scripts/Makefile.build:500: sound/soc/sof/mediatek/mt8186] Error 2 make[6]: *** Waiting for unfinished jobs.... In file included from /kisskb/src/sound/soc/sof/mediatek/mtk-adsp-common.c:16: /kisskb/src/sound/soc/sof/mediatek/../ops.h: In function 'snd_sof_dsp_writeb': /kisskb/src/sound/soc/sof/mediatek/../ops.h:309:75: error: macro "writeb" passed 3 arguments, but takes just 2 309 | sof_ops(sdev)->writeb(sdev, sdev->bar[bar] + offset, value); | ^ In file included from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/include/asm-generic/hardirq.h:17, from /kisskb/src/arch/sh/include/asm/hardirq.h:9, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/sound/soc/sof/mediatek/../ops.h:15, from /kisskb/src/sound/soc/sof/mediatek/mtk-adsp-common.c:16: /kisskb/src/arch/sh/include/asm/io.h:54: note: macro "writeb" defined here 54 | #define writeb(v,a) ({ wmb(); writeb_relaxed((v),(a)); }) | In file included from /kisskb/src/sound/soc/sof/mediatek/mtk-adsp-common.c:16: /kisskb/src/sound/soc/sof/mediatek/../ops.h:309:30: error: statement with no effect [-Werror=unused-value] 309 | sof_ops(sdev)->writeb(sdev, sdev->bar[bar] + offset, value); | ^ /kisskb/src/sound/soc/sof/mediatek/../ops.h: In function 'snd_sof_dsp_readb': /kisskb/src/sound/soc/sof/mediatek/../ops.h:336:74: error: macro "readb" passed 2 arguments, but takes just 1 336 | return sof_ops(sdev)->readb(sdev, sdev->bar[bar] + offset); | ^ In file included from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/include/asm-generic/hardirq.h:17, from /kisskb/src/arch/sh/include/asm/hardirq.h:9, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/sound/soc/sof/mediatek/../ops.h:15, from /kisskb/src/sound/soc/sof/mediatek/mtk-adsp-common.c:16: /kisskb/src/arch/sh/include/asm/io.h:49: note: macro "readb" defined here 49 | #define readb(a) ({ u8 r_ = readb_relaxed(a); rmb(); r_; }) | In file included from /kisskb/src/sound/soc/sof/mediatek/mtk-adsp-common.c:16: /kisskb/src/sound/soc/sof/mediatek/../ops.h:336:37: error: returning 'u8 (*)(struct snd_sof_dev *, void *)' {aka 'unsigned char (*)(struct snd_sof_dev *, void *)'} from a function with return type 'u8' {aka 'unsigned char'} makes integer from pointer without a cast [-Werror=int-conversion] 336 | return sof_ops(sdev)->readb(sdev, sdev->bar[bar] + offset); | ^ cc1: all warnings being treated as errors make[6]: *** [/kisskb/src/scripts/Makefile.build:250: sound/soc/sof/mediatek/mtk-adsp-common.o] Error 1 make[6]: *** [/kisskb/src/scripts/Makefile.build:500: sound/soc/sof/mediatek/mt8195] Error 2 make[5]: *** [/kisskb/src/scripts/Makefile.build:500: sound/soc/sof/mediatek] Error 2 make[4]: *** [/kisskb/src/scripts/Makefile.build:500: sound/soc/sof] Error 2 make[4]: *** Waiting for unfinished jobs.... {standard input}: Assembler messages: {standard input}: Warning: end of file not at end of a line; newline inserted {standard input}:2305: Error: unknown pseudo-op: `.l' {standard input}: Error: open CFI at the end of file; missing .cfi_endproc directive {standard input}:2213: Error: displacement to undefined symbol .L382 overflows 8-bit field {standard input}:2286: Error: displacement to undefined symbol .L377 overflows 12-bit field {standard input}:2302: Error: displacement to undefined symbol .L378 overflows 8-bit field {standard input}:2204: Error: pcrel too far {standard input}:2206: Error: pcrel too far {standard input}:2209: Error: pcrel too far {standard input}:2215: Error: pcrel too far {standard input}:2216: Error: pcrel too far {standard input}:2217: Error: pcrel too far {standard input}:2221: Error: pcrel too far {standard input}:2229: Error: pcrel too far {standard input}:2231: Error: pcrel too far {standard input}:2232: Error: pcrel too far {standard input}:2247: Error: pcrel too far {standard input}:2248: Error: pcrel too far {standard input}:2249: Error: pcrel too far {standard input}:2259: Error: pcrel too far {standard input}:2261: Error: pcrel too far {standard input}:2262: Error: pcrel too far {standard input}:2274: Error: pcrel too far {standard input}:2293: Error: pcrel too far sh4-linux-gcc: internal compiler error: Segmentation fault signal terminated program cc1 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. make[5]: *** [/kisskb/src/scripts/Makefile.build:250: drivers/net/pcs/pcs-xpcs.o] Error 4 make[5]: *** Waiting for unfinished jobs.... make[4]: *** [/kisskb/src/scripts/Makefile.build:500: drivers/net/pcs] Error 2 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [/kisskb/src/scripts/Makefile.build:500: drivers/net] Error 2 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [/kisskb/src/scripts/Makefile.build:500: drivers] Error 2 make[3]: *** [/kisskb/src/scripts/Makefile.build:500: sound/soc] Error 2 make[2]: *** [/kisskb/src/scripts/Makefile.build:500: sound] Error 2 make[1]: *** [/kisskb/src/Makefile:1992: .] Error 2 make: *** [Makefile:231: __sub-make] Error 2 Command 'make -s -j 160 ARCH=sh O=/kisskb/build/linux-next_sh-allyesconfig_sh4-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/sh4-linux/bin/sh4-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/linux-next_sh-allyesconfig_sh4-gcc11 # Build took: 0:06:55.419875