Buildresult: crypto/x86_64-allmodconfig/x86_64-gcc13 built on Jul 20 2023, 01:33
kisskb
Revisions
|
Branches
|
Compilers
|
Configs
|
Build Results
|
Build Failures
|
Status:
Failed
Date/Time:
Jul 20 2023, 01:33
Duration:
0:07:00.986391
Builder:
alpine2
Revision:
crypto: x86/polyval - Fix crashes when keys are not 16-byte aligned (
9f6035af06b526e678808d492fc0830aef6cfbd8)
Target:
crypto/x86_64-allmodconfig/x86_64-gcc13
Branch:
crypto
Compiler:
x86_64-gcc13
(x86_64-linux-gcc (GCC) 13.1.0 / GNU ld (GNU Binutils) 2.40)
Config:
allmodconfig
(
download
)
Log:
Download original
Possible errors
block/blk-iocost.c:3035:37: error: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Werror=format=] block/blk-iocost.c:3045:34: error: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Werror=format=] sound/soc/kirkwood/kirkwood-dma.c:90:24: error: array subscript 0 is outside array bounds of 'const struct mbus_dram_window[0]' [-Werror=array-bounds=] sound/soc/kirkwood/kirkwood-dma.c:93:36: error: array subscript 0 is outside array bounds of 'const struct mbus_dram_window[0]' [-Werror=array-bounds=] sound/soc/kirkwood/kirkwood-dma.c:94:36: error: array subscript 0 is outside array bounds of 'const struct mbus_dram_window[0]' [-Werror=array-bounds=] cc1: all warnings being treated as errors make[5]: *** [scripts/Makefile.build:250: sound/soc/kirkwood/kirkwood-dma.o] Error 1 cc1: all warnings being treated as errors make[3]: *** [scripts/Makefile.build:250: block/blk-iocost.o] Error 1 make[4]: *** [scripts/Makefile.build:500: sound/soc/kirkwood] Error 2 make[2]: *** [scripts/Makefile.build:500: block] Error 2 net/sched/sch_htb.c:433:44: error: array subscript [0, 31] is outside array bounds of 'struct htb_prio[8]' [-Werror=array-bounds=] fs/coda/upcall.c:801:22: error: array subscript 'union inputArgs[0]' is partly outside array bounds of 'unsigned char[20]' [-Werror=array-bounds=] fs/coda/upcall.c:802:22: error: array subscript 'union inputArgs[0]' is partly outside array bounds of 'unsigned char[20]' [-Werror=array-bounds=] cc1: all warnings being treated as errors make[4]: *** [scripts/Makefile.build:250: net/sched/sch_htb.o] Error 1 cc1: all warnings being treated as errors make[4]: *** [scripts/Makefile.build:250: fs/coda/upcall.o] Error 1 make[3]: *** [scripts/Makefile.build:500: fs/coda] Error 2 make[3]: *** [scripts/Makefile.build:500: net/sched] Error 2 drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c:329:46: error: array subscript 0 is outside array bounds of 'struct virt_dma_desc[46116860184273879]' [-Werror=array-bounds=] drivers/block/mtip32xx/mtip32xx.c:716:25: error: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long int' [-Werror=format=] cc1: all warnings being treated as errors make[5]: *** [scripts/Makefile.build:250: drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.o] Error 1 make[4]: *** [scripts/Makefile.build:500: drivers/dma/dw-axi-dmac] Error 2 make[3]: *** [scripts/Makefile.build:500: drivers/dma] Error 2 cc1: all warnings being treated as errors make[5]: *** [scripts/Makefile.build:250: drivers/block/mtip32xx/mtip32xx.o] Error 1 make[4]: *** [scripts/Makefile.build:500: drivers/block/mtip32xx] Error 2 make[3]: *** [scripts/Makefile.build:500: drivers/block] Error 2 drivers/regulator/max77802-regulator.c:100:25: error: array subscript [0, 41] is outside array bounds of 'unsigned int[42]' [-Werror=array-bounds=] drivers/regulator/max77802-regulator.c:215:29: error: array subscript [0, 41] is outside array bounds of 'unsigned int[42]' [-Werror=array-bounds=] drivers/regulator/max77802-regulator.c:216:33: error: array subscript [0, 41] is outside array bounds of 'unsigned int[42]' [-Werror=array-bounds=] drivers/regulator/max77802-regulator.c:220:51: error: array subscript [0, 41] is outside array bounds of 'unsigned int[42]' [-Werror=array-bounds=] cc1: all warnings being treated as errors make[4]: *** [scripts/Makefile.build:250: drivers/regulator/max77802-regulator.o] Error 1 make[3]: *** [scripts/Makefile.build:500: drivers/regulator] Error 2 make[2]: *** [scripts/Makefile.build:500: net] Error 2 make[2]: *** [scripts/Makefile.build:500: fs] Error 2 drivers/gpu/drm/i915/selftests/intel_scheduler_helpers.c:29:5: error: conflicting types for 'intel_selftest_modify_policy' due to enum/integer mismatch; have 'int(struct intel_engine_cs *, struct intel_selftest_saved_policy *, u32)' {aka 'int(struct intel_engine_cs *, struct intel_selftest_saved_policy *, unsigned int)'} [-Werror=enum-int-mismatch] cc1: all warnings being treated as errors make[6]: *** [scripts/Makefile.build:250: drivers/gpu/drm/i915/selftests/intel_scheduler_helpers.o] Error 1 drivers/gpu/drm/amd/amdgpu/../display/dc/clk_mgr/dcn21/rn_clk_mgr_vbios_smu.c:237:6: error: conflicting types for 'rn_vbios_smu_set_dcn_low_power_state' due to enum/integer mismatch; have 'void(struct clk_mgr_internal *, enum dcn_pwr_state)' [-Werror=enum-int-mismatch] cc1: all warnings being treated as errors make[6]: *** [scripts/Makefile.build:250: drivers/gpu/drm/amd/amdgpu/../display/dc/clk_mgr/dcn21/rn_clk_mgr_vbios_smu.o] Error 1 make[5]: *** [scripts/Makefile.build:500: drivers/gpu/drm/i915] Error 2 drivers/gpu/drm/nouveau/dispnv50/wndw.c:696:1: error: conflicting types for 'nv50_wndw_new_' due to enum/integer mismatch; have 'int(const struct nv50_wndw_func *, struct drm_device *, enum drm_plane_type, const char *, int, const u32 *, u32, enum nv50_disp_interlock_type, u32, struct nv50_wndw **)' {aka 'int(const struct nv50_wndw_func *, struct drm_device *, enum drm_plane_type, const char *, int, const unsigned int *, unsigned int, enum nv50_disp_interlock_type, unsigned int, struct nv50_wndw **)'} [-Werror=enum-int-mismatch] cc1: all warnings being treated as errors make[6]: *** [scripts/Makefile.build:250: drivers/gpu/drm/nouveau/dispnv50/wndw.o] Error 1 make[5]: *** [scripts/Makefile.build:500: drivers/gpu/drm/nouveau] Error 2 make[5]: *** [scripts/Makefile.build:500: drivers/gpu/drm/amd/amdgpu] Error 2 make[4]: *** [scripts/Makefile.build:500: drivers/gpu/drm] Error 2 make[3]: *** [scripts/Makefile.build:500: drivers/gpu] Error 2 make[2]: *** [scripts/Makefile.build:500: drivers] Error 2 make[3]: *** [scripts/Makefile.build:500: sound/soc] Error 2 make[2]: *** [scripts/Makefile.build:500: sound] Error 2 make[1]: *** [Makefile:1992: .] Error 2 make: *** [Makefile:231: __sub-make] Error 2
Possible warnings (3)
arch/x86/realmode/rm/../../boot/bioscall.S:35: Warning: found `movsd'; assuming `movsl' was meant arch/x86/realmode/rm/../../boot/bioscall.S:70: Warning: found `movsd'; assuming `movsl' was meant arch/x86/lib/iomap_copy_64.S:13: Warning: found `movsd'; assuming `movsl' was meant
Full Log
# git rev-parse -q --verify 9f6035af06b526e678808d492fc0830aef6cfbd8^{commit} 9f6035af06b526e678808d492fc0830aef6cfbd8 already have revision, skipping fetch # git checkout -q -f -B kisskb 9f6035af06b526e678808d492fc0830aef6cfbd8 # git clean -qxdf # < git log -1 # commit 9f6035af06b526e678808d492fc0830aef6cfbd8 # Author: Nathan Huckleberry <nhuck@google.com> # Date: Tue Oct 18 16:04:12 2022 -0700 # # crypto: x86/polyval - Fix crashes when keys are not 16-byte aligned # # crypto_tfm::__crt_ctx is not guaranteed to be 16-byte aligned on x86-64. # This causes crashes due to movaps instructions in clmul_polyval_update. # # Add logic to align polyval_tfm_ctx to 16 bytes. # # Cc: <stable@vger.kernel.org> # Fixes: 34f7f6c30112 ("crypto: x86/polyval - Add PCLMULQDQ accelerated implementation of POLYVAL") # Reported-by: Bruno Goncalves <bgoncalv@redhat.com> # Signed-off-by: Nathan Huckleberry <nhuck@google.com> # Reviewed-by: Eric Biggers <ebiggers@google.com> # Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> # < /opt/cross/kisskb/korg/gcc-13.1.0-nolibc/x86_64-linux/bin/x86_64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-13.1.0-nolibc/x86_64-linux/bin/x86_64-linux-ld --version # < git log --format=%s --max-count=1 9f6035af06b526e678808d492fc0830aef6cfbd8 # make -s -j 160 ARCH=x86 O=/kisskb/build/crypto_allmodconfig_x86_64-gcc13 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-13.1.0-nolibc/x86_64-linux/bin/x86_64-linux- allmodconfig # Added to kconfig CONFIG_BUILD_DOCSRC=n # Added to kconfig CONFIG_MODULE_SIG=n # Added to kconfig CONFIG_SAMPLES=n # Added to kconfig CONFIG_GCC_PLUGINS=n # Added to kconfig # < make -s -j 160 ARCH=x86 O=/kisskb/build/crypto_allmodconfig_x86_64-gcc13 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-13.1.0-nolibc/x86_64-linux/bin/x86_64-linux- help # make -s -j 160 ARCH=x86 O=/kisskb/build/crypto_allmodconfig_x86_64-gcc13 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-13.1.0-nolibc/x86_64-linux/bin/x86_64-linux- olddefconfig # make -s -j 160 ARCH=x86 O=/kisskb/build/crypto_allmodconfig_x86_64-gcc13 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-13.1.0-nolibc/x86_64-linux/bin/x86_64-linux- /kisskb/src/arch/x86/realmode/rm/../../boot/bioscall.S: Assembler messages: /kisskb/src/arch/x86/realmode/rm/../../boot/bioscall.S:35: Warning: found `movsd'; assuming `movsl' was meant /kisskb/src/arch/x86/realmode/rm/../../boot/bioscall.S:70: Warning: found `movsd'; assuming `movsl' was meant /kisskb/src/arch/x86/lib/iomap_copy_64.S: Assembler messages: /kisskb/src/arch/x86/lib/iomap_copy_64.S:13: Warning: found `movsd'; assuming `movsl' was meant /kisskb/src/block/blk-iocost.c: In function 'ioc_weight_prfill': /kisskb/src/block/blk-iocost.c:3035:37: error: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Werror=format=] 3035 | seq_printf(sf, "%s %u\n", dname, iocg->cfg_weight / WEIGHT_ONE); | ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | unsigned int long unsigned int | %lu /kisskb/src/block/blk-iocost.c: In function 'ioc_weight_show': /kisskb/src/block/blk-iocost.c:3045:34: error: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Werror=format=] 3045 | seq_printf(sf, "default %u\n", iocc->dfl_weight / WEIGHT_ONE); | ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | unsigned int long unsigned int | %lu /kisskb/src/sound/soc/kirkwood/kirkwood-dma.c: In function 'kirkwood_dma_conf_mbus_windows.constprop': /kisskb/src/sound/soc/kirkwood/kirkwood-dma.c:90:24: error: array subscript 0 is outside array bounds of 'const struct mbus_dram_window[0]' [-Werror=array-bounds=] 90 | if ((cs->base & 0xffff0000) < (dma & 0xffff0000)) { | ~~^~~~~~ cc1: note: source object is likely at address zero /kisskb/src/sound/soc/kirkwood/kirkwood-dma.c:93:36: error: array subscript 0 is outside array bounds of 'const struct mbus_dram_window[0]' [-Werror=array-bounds=] 93 | writel(((cs->size - 1) & 0xffff0000) | | ~~^~~~~~ cc1: note: source object is likely at address zero /kisskb/src/sound/soc/kirkwood/kirkwood-dma.c:94:36: error: array subscript 0 is outside array bounds of 'const struct mbus_dram_window[0]' [-Werror=array-bounds=] 94 | (cs->mbus_attr << 8) | | ~~^~~~~~~~~~~ cc1: note: source object is likely at address zero cc1: all warnings being treated as errors make[5]: *** [/kisskb/src/scripts/Makefile.build:250: sound/soc/kirkwood/kirkwood-dma.o] Error 1 make[5]: *** Waiting for unfinished jobs.... cc1: all warnings being treated as errors make[3]: *** [/kisskb/src/scripts/Makefile.build:250: block/blk-iocost.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[4]: *** [/kisskb/src/scripts/Makefile.build:500: sound/soc/kirkwood] Error 2 make[4]: *** Waiting for unfinished jobs.... make[2]: *** [/kisskb/src/scripts/Makefile.build:500: block] Error 2 make[2]: *** Waiting for unfinished jobs.... /kisskb/src/net/sched/sch_htb.c: In function 'htb_activate_prios': /kisskb/src/net/sched/sch_htb.c:433:44: error: array subscript [0, 31] is outside array bounds of 'struct htb_prio[8]' [-Werror=array-bounds=] 433 | if (p->inner.clprio[prio].feed.rb_node) | ~~~~~~~~~~~~~~~^~~~~~ /kisskb/src/net/sched/sch_htb.c:131:41: note: while referencing 'clprio' 131 | struct htb_prio clprio[TC_HTB_NUMPRIO]; | ^~~~~~ /kisskb/src/fs/coda/upcall.c: In function 'coda_upcall': /kisskb/src/fs/coda/upcall.c:801:22: error: array subscript 'union inputArgs[0]' is partly outside array bounds of 'unsigned char[20]' [-Werror=array-bounds=] 801 | sig_inputArgs->ih.opcode = CODA_SIGNAL; | ^~ In file included from /kisskb/src/include/linux/fs.h:45, from /kisskb/src/include/linux/huge_mm.h:8, from /kisskb/src/include/linux/mm.h:737, from /kisskb/src/fs/coda/upcall.c:22: In function 'kvmalloc', inlined from 'kvzalloc' at /kisskb/src/include/linux/slab.h:737:9, inlined from 'coda_upcall' at /kisskb/src/fs/coda/upcall.c:794:18: /kisskb/src/include/linux/slab.h:729:16: note: object of size 20 allocated by 'kvmalloc_node' 729 | return kvmalloc_node(size, flags, NUMA_NO_NODE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/fs/coda/upcall.c: In function 'coda_upcall': /kisskb/src/fs/coda/upcall.c:802:22: error: array subscript 'union inputArgs[0]' is partly outside array bounds of 'unsigned char[20]' [-Werror=array-bounds=] 802 | sig_inputArgs->ih.unique = req->uc_unique; | ^~ In function 'kvmalloc', inlined from 'kvzalloc' at /kisskb/src/include/linux/slab.h:737:9, inlined from 'coda_upcall' at /kisskb/src/fs/coda/upcall.c:794:18: /kisskb/src/include/linux/slab.h:729:16: note: object of size 20 allocated by 'kvmalloc_node' 729 | return kvmalloc_node(size, flags, NUMA_NO_NODE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors make[4]: *** [/kisskb/src/scripts/Makefile.build:250: net/sched/sch_htb.o] Error 1 make[4]: *** Waiting for unfinished jobs.... cc1: all warnings being treated as errors make[4]: *** [/kisskb/src/scripts/Makefile.build:250: fs/coda/upcall.o] Error 1 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [/kisskb/src/scripts/Makefile.build:500: fs/coda] Error 2 make[3]: *** Waiting for unfinished jobs.... make[3]: *** [/kisskb/src/scripts/Makefile.build:500: net/sched] Error 2 make[3]: *** Waiting for unfinished jobs.... /kisskb/src/drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c: In function 'dma_chan_tx_status': /kisskb/src/drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c:329:46: error: array subscript 0 is outside array bounds of 'struct virt_dma_desc[46116860184273879]' [-Werror=array-bounds=] 329 | bytes = vd_to_axi_desc(vdesc)->length; | ^~ In file included from /kisskb/src/include/linux/device.h:15, from /kisskb/src/include/linux/pci.h:37, from /kisskb/src/drivers/block/mtip32xx/mtip32xx.c:11: /kisskb/src/drivers/block/mtip32xx/mtip32xx.c: In function 'mtip_process_errors': /kisskb/src/drivers/block/mtip32xx/mtip32xx.c:716:25: error: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long int' [-Werror=format=] 716 | "Port stat errors %x unhandled\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/dev_printk.h:110:30: note: in definition of macro 'dev_printk_index_wrap' 110 | _p_func(dev, fmt, ##__VA_ARGS__); \ | ^~~ /kisskb/src/include/linux/dev_printk.h:146:61: note: in expansion of macro 'dev_fmt' 146 | dev_printk_index_wrap(_dev_warn, KERN_WARNING, dev, dev_fmt(fmt), ##__VA_ARGS__) | ^~~~~~~ /kisskb/src/drivers/block/mtip32xx/mtip32xx.c:715:17: note: in expansion of macro 'dev_warn' 715 | dev_warn(&dd->pdev->dev, | ^~~~~~~~ /kisskb/src/drivers/block/mtip32xx/mtip32xx.c:716:44: note: format string is defined here 716 | "Port stat errors %x unhandled\n", | ~^ | | | unsigned int | %lx cc1: all warnings being treated as errors make[5]: *** [/kisskb/src/scripts/Makefile.build:250: drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.o] Error 1 make[4]: *** [/kisskb/src/scripts/Makefile.build:500: drivers/dma/dw-axi-dmac] Error 2 make[3]: *** [/kisskb/src/scripts/Makefile.build:500: drivers/dma] Error 2 make[3]: *** Waiting for unfinished jobs.... cc1: all warnings being treated as errors make[5]: *** [/kisskb/src/scripts/Makefile.build:250: drivers/block/mtip32xx/mtip32xx.o] Error 1 make[4]: *** [/kisskb/src/scripts/Makefile.build:500: drivers/block/mtip32xx] Error 2 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [/kisskb/src/scripts/Makefile.build:500: drivers/block] Error 2 /kisskb/src/drivers/regulator/max77802-regulator.c: In function 'max77802_set_suspend_disable': /kisskb/src/drivers/regulator/max77802-regulator.c:100:25: error: array subscript [0, 41] is outside array bounds of 'unsigned int[42]' [-Werror=array-bounds=] 100 | max77802->opmode[id] = val; | ~~~~~~~~~~~~~~~~^~~~ /kisskb/src/drivers/regulator/max77802-regulator.c:62:22: note: while referencing 'opmode' 62 | unsigned int opmode[MAX77802_REG_MAX]; | ^~~~~~ /kisskb/src/drivers/regulator/max77802-regulator.c: In function 'max77802_enable': /kisskb/src/drivers/regulator/max77802-regulator.c:215:29: error: array subscript [0, 41] is outside array bounds of 'unsigned int[42]' [-Werror=array-bounds=] 215 | if (max77802->opmode[id] == MAX77802_OFF_PWRREQ) | ~~~~~~~~~~~~~~~~^~~~ /kisskb/src/drivers/regulator/max77802-regulator.c:62:22: note: while referencing 'opmode' 62 | unsigned int opmode[MAX77802_REG_MAX]; | ^~~~~~ /kisskb/src/drivers/regulator/max77802-regulator.c:216:33: error: array subscript [0, 41] is outside array bounds of 'unsigned int[42]' [-Werror=array-bounds=] 216 | max77802->opmode[id] = MAX77802_OPMODE_NORMAL; | ~~~~~~~~~~~~~~~~^~~~ /kisskb/src/drivers/regulator/max77802-regulator.c:62:22: note: while referencing 'opmode' 62 | unsigned int opmode[MAX77802_REG_MAX]; | ^~~~~~ /kisskb/src/drivers/regulator/max77802-regulator.c:220:51: error: array subscript [0, 41] is outside array bounds of 'unsigned int[42]' [-Werror=array-bounds=] 220 | max77802->opmode[id] << shift); | ~~~~~~~~~~~~~~~~^~~~ /kisskb/src/drivers/regulator/max77802-regulator.c:62:22: note: while referencing 'opmode' 62 | unsigned int opmode[MAX77802_REG_MAX]; | ^~~~~~ cc1: all warnings being treated as errors make[4]: *** [/kisskb/src/scripts/Makefile.build:250: drivers/regulator/max77802-regulator.o] Error 1 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [/kisskb/src/scripts/Makefile.build:500: drivers/regulator] Error 2 make[2]: *** [/kisskb/src/scripts/Makefile.build:500: net] Error 2 make[2]: *** [/kisskb/src/scripts/Makefile.build:500: fs] Error 2 /kisskb/src/drivers/gpu/drm/i915/selftests/intel_scheduler_helpers.c:29:5: error: conflicting types for 'intel_selftest_modify_policy' due to enum/integer mismatch; have 'int(struct intel_engine_cs *, struct intel_selftest_saved_policy *, u32)' {aka 'int(struct intel_engine_cs *, struct intel_selftest_saved_policy *, unsigned int)'} [-Werror=enum-int-mismatch] 29 | int intel_selftest_modify_policy(struct intel_engine_cs *engine, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/drivers/gpu/drm/i915/selftests/intel_scheduler_helpers.c:11: /kisskb/src/drivers/gpu/drm/i915/selftests/intel_scheduler_helpers.h:28:5: note: previous declaration of 'intel_selftest_modify_policy' with type 'int(struct intel_engine_cs *, struct intel_selftest_saved_policy *, enum selftest_scheduler_modify)' 28 | int intel_selftest_modify_policy(struct intel_engine_cs *engine, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors make[6]: *** [/kisskb/src/scripts/Makefile.build:250: drivers/gpu/drm/i915/selftests/intel_scheduler_helpers.o] Error 1 make[6]: *** Waiting for unfinished jobs.... /kisskb/src/drivers/gpu/drm/amd/amdgpu/../display/dc/clk_mgr/dcn21/rn_clk_mgr_vbios_smu.c:237:6: error: conflicting types for 'rn_vbios_smu_set_dcn_low_power_state' due to enum/integer mismatch; have 'void(struct clk_mgr_internal *, enum dcn_pwr_state)' [-Werror=enum-int-mismatch] 237 | void rn_vbios_smu_set_dcn_low_power_state(struct clk_mgr_internal *clk_mgr, enum dcn_pwr_state state) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/drivers/gpu/drm/amd/amdgpu/../display/dc/clk_mgr/dcn21/rn_clk_mgr_vbios_smu.c:36: /kisskb/src/drivers/gpu/drm/amd/amdgpu/../display/dc/clk_mgr/dcn21/rn_clk_mgr_vbios_smu.h:36:6: note: previous declaration of 'rn_vbios_smu_set_dcn_low_power_state' with type 'void(struct clk_mgr_internal *, int)' 36 | void rn_vbios_smu_set_dcn_low_power_state(struct clk_mgr_internal *clk_mgr, int display_count); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors make[6]: *** [/kisskb/src/scripts/Makefile.build:250: drivers/gpu/drm/amd/amdgpu/../display/dc/clk_mgr/dcn21/rn_clk_mgr_vbios_smu.o] Error 1 make[6]: *** Waiting for unfinished jobs.... make[5]: *** [/kisskb/src/scripts/Makefile.build:500: drivers/gpu/drm/i915] Error 2 make[5]: *** Waiting for unfinished jobs.... /kisskb/src/drivers/gpu/drm/nouveau/dispnv50/wndw.c:696:1: error: conflicting types for 'nv50_wndw_new_' due to enum/integer mismatch; have 'int(const struct nv50_wndw_func *, struct drm_device *, enum drm_plane_type, const char *, int, const u32 *, u32, enum nv50_disp_interlock_type, u32, struct nv50_wndw **)' {aka 'int(const struct nv50_wndw_func *, struct drm_device *, enum drm_plane_type, const char *, int, const unsigned int *, unsigned int, enum nv50_disp_interlock_type, unsigned int, struct nv50_wndw **)'} [-Werror=enum-int-mismatch] 696 | nv50_wndw_new_(const struct nv50_wndw_func *func, struct drm_device *dev, | ^~~~~~~~~~~~~~ In file included from /kisskb/src/drivers/gpu/drm/nouveau/dispnv50/wndw.c:22: /kisskb/src/drivers/gpu/drm/nouveau/dispnv50/wndw.h:36:5: note: previous declaration of 'nv50_wndw_new_' with type 'int(const struct nv50_wndw_func *, struct drm_device *, enum drm_plane_type, const char *, int, const u32 *, enum nv50_disp_interlock_type, u32, u32, struct nv50_wndw **)' {aka 'int(const struct nv50_wndw_func *, struct drm_device *, enum drm_plane_type, const char *, int, const unsigned int *, enum nv50_disp_interlock_type, unsigned int, unsigned int, struct nv50_wndw **)'} 36 | int nv50_wndw_new_(const struct nv50_wndw_func *, struct drm_device *, | ^~~~~~~~~~~~~~ cc1: all warnings being treated as errors make[6]: *** [/kisskb/src/scripts/Makefile.build:250: drivers/gpu/drm/nouveau/dispnv50/wndw.o] Error 1 make[6]: *** Waiting for unfinished jobs.... make[5]: *** [/kisskb/src/scripts/Makefile.build:500: drivers/gpu/drm/nouveau] Error 2 make[5]: *** [/kisskb/src/scripts/Makefile.build:500: drivers/gpu/drm/amd/amdgpu] Error 2 make[4]: *** [/kisskb/src/scripts/Makefile.build:500: drivers/gpu/drm] Error 2 make[3]: *** [/kisskb/src/scripts/Makefile.build:500: drivers/gpu] Error 2 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=x86 O=/kisskb/build/crypto_allmodconfig_x86_64-gcc13 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-13.1.0-nolibc/x86_64-linux/bin/x86_64-linux- ' returned non-zero exit status 2. # rm -rf /kisskb/build/crypto_allmodconfig_x86_64-gcc13 # Build took: 0:07:00.986391
© Michael Ellerman 2006-2018.