tree/branch: https://gitee.com/openeuler/kernel.git openEuler-1.0-LTS branch HEAD: 1ed85cbd67db3ccd721e15f7459154e8daec22a8 !5755 sh: push-switch: Reorder cleanup operations to avoid use-after-free bug
Unverified Error/Warning (likely false positive, please contact us if interested):
arch/arm64/kernel/paravirt.c:40:1: sparse: sparse: symbol '__pcpu_scope_pvsched_vcpu_region' was not declared. Should it be static? sound/drivers/opl4/opl4_synth.o: warning: objtool: missing symbol for section .text sound/firewire/bebob/bebob_proc.o: warning: objtool: missing symbol for section .text
Error/Warning ids grouped by kconfigs:
gcc_recent_errors |-- arm64-allmodconfig | |-- drivers-dma-pl330.c:warning:dst-may-be-used-uninitialized | `-- drivers-dma-pl330.c:warning:src-may-be-used-uninitialized |-- arm64-defconfig | |-- drivers-dma-pl330.c:warning:dst-may-be-used-uninitialized | `-- drivers-dma-pl330.c:warning:src-may-be-used-uninitialized |-- arm64-randconfig-002-20240408 | |-- drivers-dma-pl330.c:warning:dst-may-be-used-uninitialized | `-- drivers-dma-pl330.c:warning:src-may-be-used-uninitialized |-- arm64-randconfig-004-20240408 | |-- drivers-dma-pl330.c:warning:dst-may-be-used-uninitialized | `-- drivers-dma-pl330.c:warning:src-may-be-used-uninitialized |-- arm64-randconfig-r111-20240331 | |-- :Error:immediate-out-of-range-at-operand-bic-w0-w1 | |-- drivers-isdn-hisax-st5481_usb.c:sparse:sparse:incorrect-type-in-argument-(different-base-types)-expected-unsigned-int-epaddr-got-restricted-__le16-usertype-wIndex | |-- drivers-net-xen-netback-interface.c:sparse:sparse:dubious:x-y | |-- drivers-scsi-osd-osd_initiator.c:sparse:sparse:incorrect-type-in-argument-(different-base-types)-expected-unsigned-long-long-usertype-val-got-restricted-osd_id-const-usertype-id | |-- drivers-scsi-osd-osd_initiator.c:sparse:sparse:incorrect-type-in-argument-(different-base-types)-expected-unsigned-long-long-usertype-val-got-restricted-osd_id-const-usertype-partition | |-- drivers-scsi-osd-osd_initiator.c:sparse:sparse:incorrect-type-in-assignment-(different-base-types)-expected-restricted-osd_id-usertype-id-got-unsigned-long-long | |-- drivers-scsi-osd-osd_initiator.c:sparse:sparse:incorrect-type-in-assignment-(different-base-types)-expected-restricted-osd_id-usertype-partition-got-unsigned-long-long | |-- drivers-staging-gmjstcm-tcm_tis_spi.c:sparse:sparse:dereference-of-noderef-expression | |-- drivers-staging-gmjstcm-tcm_tis_spi.c:sparse:sparse:symbol-tcm_tis_spi_transfer-was-not-declared.-Should-it-be-static | |-- mm-pin_mem.c:sparse:sparse:not-addressable | |-- mm-pin_mem.c:sparse:sparse:symbol-calculate_pin_mem_digest-was-not-declared.-Should-it-be-static | |-- mm-pin_mem.c:sparse:sparse:symbol-check_redirect_end_valid-was-not-declared.-Should-it-be-static | |-- mm-pin_mem.c:sparse:sparse:symbol-collect_normal_pages-was-not-declared.-Should-it-be-static | |-- mm-pin_mem.c:sparse:sparse:symbol-collect_pmd_huge_pages-was-not-declared.-Should-it-be-static | |-- mm-pin_mem.c:sparse:sparse:symbol-free_pin_pages-was-not-declared.-Should-it-be-static | |-- mm-pin_mem.c:sparse:sparse:symbol-free_user_map_pages-was-not-declared.-Should-it-be-static | |-- mm-pin_mem.c:sparse:sparse:symbol-max_pin_pid_num-was-not-declared.-Should-it-be-static | |-- mm-pin_mem.c:sparse:sparse:symbol-redirect_space_size-was-not-declared.-Should-it-be-static | |-- mm-pin_mem.c:sparse:sparse:symbol-remap_huge_pmd_pages-was-not-declared.-Should-it-be-static | |-- mm-pin_mem.c:sparse:sparse:symbol-remap_normal_pages-was-not-declared.-Should-it-be-static | `-- mm-pin_mem.c:sparse:sparse:symbol-reserve_page_from_buddy-was-not-declared.-Should-it-be-static |-- arm64-randconfig-r113-20240401 | `-- arch-arm64-kernel-paravirt.c:sparse:sparse:symbol-__pcpu_scope_pvsched_vcpu_region-was-not-declared.-Should-it-be-static `-- arm64-randconfig-r133-20240401 |-- drivers-clocksource-jcore-pit.c:sparse:sparse:incorrect-type-in-initializer-(different-address-spaces)-expected-void-const-noderef-asn-got-void |-- drivers-connector-cn_proc.c:sparse:sparse:incorrect-type-in-initializer-(different-address-spaces)-expected-unsigned-int-noderef-asn-got-unsigned-int |-- drivers-crypto-picoxcell_crypto.c:sparse:sparse:Variable-length-array-is-used. |-- drivers-firmware-google-coreboot_table.c:sparse:sparse:cast-removes-address-space-asn-of-expression |-- drivers-firmware-google-coreboot_table.c:sparse:sparse:incorrect-type-in-argument-(different-address-spaces)-expected-void-const-volatile-noderef-asn-got-void-assigned-ptr_entry |-- drivers-firmware-google-memconsole-coreboot.c:sparse:sparse:dereference-of-noderef-expression |-- drivers-firmware-google-memconsole-coreboot.c:sparse:sparse:incorrect-type-in-argument-(different-address-spaces)-expected-void-addr-got-struct-cbmem_cons-noderef-asn-static-toplevel-cbmem_console |-- drivers-firmware-google-memconsole-coreboot.c:sparse:sparse:incorrect-type-in-argument-(different-address-spaces)-expected-void-addr-got-struct-cbmem_cons-noderef-asn-tmp_cbmc |-- drivers-firmware-google-memconsole-coreboot.c:sparse:sparse:incorrect-type-in-argument-(different-address-spaces)-expected-void-const-from-got-unsigned-char-noderef-asn |-- drivers-firmware-google-memconsole-coreboot.c:sparse:sparse:incorrect-type-in-assignment-(different-address-spaces)-expected-struct-cbmem_cons-noderef-asn-static-toplevel-cbmem_console-got-void |-- drivers-firmware-google-memconsole-coreboot.c:sparse:sparse:incorrect-type-in-assignment-(different-address-spaces)-expected-struct-cbmem_cons-noderef-asn-tmp_cbmc-got-void |-- drivers-firmware-meson-meson_sm.c:sparse:sparse:incorrect-type-in-argument-(different-address-spaces)-expected-void-const-got-void-noderef-asn-static-toplevel-sm_shmem_out_base |-- drivers-firmware-meson-meson_sm.c:sparse:sparse:incorrect-type-in-argument-(different-address-spaces)-expected-void-got-void-noderef-asn-static-toplevel-sm_shmem_in_base |-- drivers-irqchip-irq-gic.c:sparse:sparse:incorrect-type-in-argument-(different-address-spaces)-expected-void-noderef-asn-got-void-noderef-asn-noderef-asn-percpu_base |-- drivers-irqchip-irq-gic.c:sparse:sparse:incorrect-type-in-initializer-(different-address-spaces)-expected-void-const-noderef-asn-got-void-noderef-asn-noderef-asn |-- drivers-isdn-i4l-isdn_net.c:sparse:sparse:incorrect-type-in-assignment-(different-address-spaces)-expected-struct-in_device-in_dev-got-struct-in_device-noderef-asn-ip_ptr |-- drivers-spi-spi-bcm63xx.c:sparse:sparse:cast-removes-address-space-asn-of-expression |-- drivers-spi-spi-bcm63xx.c:sparse:sparse:incorrect-type-in-assignment-(different-address-spaces)-expected-unsigned-char-const-noderef-usertype-asn-rx_io-got-unsigned-char-const-usertype |-- drivers-spi-spi-bcm63xx.c:sparse:sparse:incorrect-type-in-assignment-(different-address-spaces)-expected-unsigned-char-noderef-usertype-asn-tx_io-got-unsigned-char-usertype |-- drivers-spi-spi-lp8841-rtc.c:sparse:sparse:incorrect-type-in-argument-(different-address-spaces)-expected-void-const-volatile-noderef-asn-addr-got-void-iomem |-- drivers-spi-spi-lp8841-rtc.c:sparse:sparse:incorrect-type-in-argument-(different-address-spaces)-expected-void-volatile-noderef-asn-addr-got-void-iomem |-- drivers-spi-spi-lp8841-rtc.c:sparse:sparse:incorrect-type-in-assignment-(different-address-spaces)-expected-void-iomem-got-void-noderef-asn |-- drivers-staging-gmjstcm-tcm_tis_spi.c:sparse:sparse:incorrect-type-in-argument-(different-address-spaces)-expected-void-const-volatile-noderef-asn-addr-got-void-static-noderef-toplevel-asn-reuse_conf_ |-- drivers-staging-gmjstcm-tcm_tis_spi.c:sparse:sparse:incorrect-type-in-argument-(different-address-spaces)-expected-void-volatile-noderef-asn-addr-got-void |-- drivers-staging-gmjstcm-tcm_tis_spi.c:sparse:sparse:incorrect-type-in-argument-(different-address-spaces)-expected-void-volatile-noderef-asn-addr-got-void-static-noderef-toplevel-asn-gpio1_a5 |-- drivers-staging-gmjstcm-tcm_tis_spi.c:sparse:sparse:incorrect-type-in-argument-(different-address-spaces)-expected-void-volatile-noderef-asn-addr-got-void-static-noderef-toplevel-asn-reuse_conf_reg |-- drivers-staging-gmjstcm-tcm_tis_spi.c:sparse:sparse:incorrect-type-in-assignment-(different-address-spaces)-expected-void-static-noderef-toplevel-asn-gpio1_a5-got-void-noderef-asn |-- drivers-staging-gmjstcm-tcm_tis_spi.c:sparse:sparse:incorrect-type-in-assignment-(different-address-spaces)-expected-void-static-noderef-toplevel-asn-reuse_conf_reg-got-void-noderef-asn |-- drivers-staging-vc04_services-interface-vchiq_arm-vchiq_arm.c:sparse:sparse:incorrect-type-in-argument-(different-address-spaces)-expected-void-const-noderef-asn-from-got-struct-vchiq_element-const-ad |-- drivers-staging-vc04_services-interface-vchiq_arm-vchiq_arm.c:sparse:sparse:incorrect-type-in-argument-(different-address-spaces)-expected-void-const-noderef-asn-from-got-void-const |-- drivers-w1-slaves-w1_ds28e04.c:sparse:sparse:incorrect-type-in-initializer-(different-address-spaces)-expected-char-const-noderef-asn-got-char-const-buf |-- drivers-w1-slaves-w1_ds28e04.c:sparse:sparse:incorrect-type-in-initializer-(different-address-spaces)-expected-char-noderef-asn-got-char-buf |-- fs-proc-etmem_scan.c:sparse:sparse:incorrect-type-in-assignment-(different-address-spaces)-expected-void-noderef-asn-buf-got-void-buf |-- kernel-events-core.c:sparse:sparse:incorrect-type-in-argument-(different-address-spaces)-expected-void-noderef-asn-got-int-noderef-pmu_disable_count |-- kernel-events-core.c:sparse:sparse:incorrect-type-in-argument-(different-address-spaces)-expected-void-noderef-asn-got-struct-perf_cpu_context-noderef-pmu_cpu_context |-- kernel-events-core.c:sparse:sparse:incorrect-type-in-initializer-(different-address-spaces)-expected-int-noderef-asn-got-int |-- kernel-events-core.c:sparse:sparse:incorrect-type-in-initializer-(different-address-spaces)-expected-void-const-noderef-asn-got-int |-- kernel-events-core.c:sparse:sparse:incorrect-type-in-initializer-(different-address-spaces)-expected-void-const-noderef-asn-got-struct-perf_cpu_context |-- kernel-printk-printk.c:sparse:sparse:incorrect-type-in-initializer-(different-address-spaces)-expected-int-noderef-asn-got-int |-- kernel-trace-trace.c:sparse:sparse:incorrect-type-in-initializer-(different-address-spaces)-expected-int-noderef-asn-got-int |-- mm-vmstat.c:sparse:sparse:incorrect-type-in-initializer-(different-address-spaces)-expected-signed-char-noderef-usertype-asn-got-signed-char `-- net-openvswitch-actions.c:sparse:sparse:incorrect-type-in-initializer-(different-address-spaces)-expected-int-noderef-asn-got-int clang_recent_errors |-- x86_64-buildonly-randconfig-002-20240408 | `-- drivers-media-usb-dvb-usb-v2-gl861.o:warning:objtool:friio_power_ctrl-falls-through-to-next-function-friio_frontend_attach() |-- x86_64-buildonly-randconfig-003-20240408 | |-- sound-drivers-opl4-opl4_synth.o:warning:objtool:missing-symbol-for-section-.text | `-- sound-firewire-bebob-bebob_proc.o:warning:objtool:missing-symbol-for-section-.text `-- x86_64-randconfig-121-20240408 |-- drivers-gpu-drm-radeon-radeon_bios.c:sparse:sparse:incorrect-type-in-argument-(different-address-spaces)-expected-void-const-src-got-unsigned-char-noderef-usertype-asn-assigned-bios |-- drivers-pci-controller-hisi-pcie-customer-hisi_pcie_cae.c:sparse:sparse:incorrect-type-in-argument-(different-address-spaces)-expected-void-noderef-asn-to-got-void |-- drivers-pci-rom.c:sparse:sparse:incorrect-type-in-return-expression-(different-address-spaces)-expected-void-noderef-asn-got-void |-- fs-io_uring.c:sparse:sparse:incorrect-type-in-argument-(different-address-spaces)-expected-long-long-noderef-usertype-asn-off_in-got-long-long-usertype-assigned-poff_in |-- fs-io_uring.c:sparse:sparse:incorrect-type-in-argument-(different-address-spaces)-expected-long-long-noderef-usertype-asn-off_out-got-long-long-usertype-assigned-poff_out |-- fs-io_uring.c:sparse:sparse:incorrect-type-in-assignment-(different-address-spaces)-expected-struct-file-assigned-file-got-struct-file-noderef-asn |-- fs-io_uring.c:sparse:sparse:incorrect-type-in-return-expression-(different-address-spaces)-expected-void-noderef-asn-got-struct-io_buffer-assigned-kbuf |-- kernel-events-core.c:sparse:sparse:incorrect-type-in-argument-(different-address-spaces)-expected-void-noderef-asn-got-int-noderef-pmu_disable_count |-- kernel-events-core.c:sparse:sparse:incorrect-type-in-argument-(different-address-spaces)-expected-void-noderef-asn-got-struct-perf_cpu_context-noderef-pmu_cpu_context |-- kernel-events-core.c:sparse:sparse:incorrect-type-in-initializer-(different-address-spaces)-expected-void-const-noderef-asn-got-int `-- kernel-events-core.c:sparse:sparse:incorrect-type-in-initializer-(different-address-spaces)-expected-void-const-noderef-asn-got-struct-perf_cpu_context
elapsed time: 723m
configs tested: 36 configs skipped: 147
tested configs: arm64 alldefconfig gcc arm64 allmodconfig gcc arm64 allnoconfig gcc arm64 defconfig gcc arm64 randconfig-001-20240408 gcc arm64 randconfig-002-20240408 gcc arm64 randconfig-003-20240408 gcc arm64 randconfig-004-20240408 gcc x86_64 allnoconfig clang x86_64 allyesconfig clang x86_64 buildonly-randconfig-001-20240408 clang x86_64 buildonly-randconfig-002-20240408 clang x86_64 buildonly-randconfig-003-20240408 clang x86_64 buildonly-randconfig-004-20240408 clang x86_64 buildonly-randconfig-005-20240408 clang x86_64 buildonly-randconfig-006-20240408 clang x86_64 defconfig gcc x86_64 randconfig-001-20240408 gcc x86_64 randconfig-002-20240408 clang x86_64 randconfig-003-20240408 clang x86_64 randconfig-004-20240408 clang x86_64 randconfig-005-20240408 clang x86_64 randconfig-006-20240408 gcc x86_64 randconfig-011-20240408 clang x86_64 randconfig-012-20240408 clang x86_64 randconfig-013-20240408 gcc x86_64 randconfig-014-20240408 clang x86_64 randconfig-015-20240408 clang x86_64 randconfig-016-20240408 clang x86_64 randconfig-071-20240408 gcc x86_64 randconfig-072-20240408 clang x86_64 randconfig-073-20240408 clang x86_64 randconfig-074-20240408 gcc x86_64 randconfig-075-20240408 gcc x86_64 randconfig-076-20240408 clang x86_64 rhel-8.3-rust clang