BUILD REGRESSION 4662b7adea50bb62e993a67f611f3be625d3df0d
Subsystems (9)
kernel test robot
build bottree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master branch HEAD: 4662b7adea50bb62e993a67f611f3be625d3df0d Add linux-next specific files for 20220713
Error/Warning reports:
https://lore.kernel.org/linux-doc/202207021352.PpKTUY8V-lkp at intel.com
https://lore.kernel.org/linux-doc/202207031437.qIh6LFcx-lkp at intel.com
https://lore.kernel.org/linux-doc/202207051821.3f0eRIsL-lkp at intel.com
https://lore.kernel.org/linux-doc/202207140742.GTPk4U8i-lkp at intel.com
https://lore.kernel.org/linux-mm/202206292052.LsFui3zO-lkp at intel.com
https://lore.kernel.org/linux-mm/202207140042.cK3tlk6j-lkp at intel.com
https://lore.kernel.org/llvm/202207090100.acXdJ79H-lkp at intel.com
Error/Warning: (recently discovered and may have been fixed)
Documentation/PCI/endpoint/pci-vntb-function.rst:82: WARNING: Unexpected indentation.Documentation/PCI/endpoint/pci-vntb-howto.rst:131: WARNING: Title underline too short.Documentation/filesystems/netfs_library.rst:384: WARNING: Inline emphasis start-string without end-string.Documentation/filesystems/netfs_library:609: fs/netfs/buffered_read.c:318: WARNING: Inline emphasis start-string without end-string.Documentation/virt/kvm/api.rst:8256: WARNING: Title underline too short.Documentation/virt/kvm/api.rst:8263: WARNING: Unexpected indentation.drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:2837:6: warning: no previous prototype for function 'dc_reset_state' [-Wmissing-prototypes]drivers/mmc/host/sdhci-of-aspeed-test.c:10: undefined reference to `kunit_binary_assert_format'drivers/pci/endpoint/functions/pci-epf-vntb.c:975:5: warning: no previous prototype for 'pci_read' [-Wmissing-prototypes]drivers/pci/endpoint/functions/pci-epf-vntb.c:984:5: warning: no previous prototype for 'pci_write' [-Wmissing-prototypes]drivers/vfio/vfio_iommu_type1.c:2141:35: warning: cast to smaller integer type 'enum iommu_cap' from 'void *' [-Wvoid-pointer-to-enum-cast]fs/ntfs/attrib.c:705:18: warning: Either the condition '!al' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck]fs/ntfs/layout.h:126:43: warning: Parameter 'p' can be declared with const [constParameter]fs/ntfs/ntfs.h:144:3: warning: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg]fs/super.c:1310:57: warning: Parameter 'data' can be declared with const [constParameter]fs/super.c:750:52: warning: Parameter 'bdev' can be declared with const [constParameter]ipc/shm.c:158:0: warning: failed to expand 'ipc_init_proc_interface', it is invalid to use a preprocessor directive as macro parameter [preprocessorErrorDirective]kernel/bpf/task_iter.c:152:11: warning: Redundant initialization for 'curr_fd'. The initialized value is overwritten before it is read. [redundantInitialization]kernel/bpf/task_iter.c:498:59: warning: Parameter 'v' can be declared with const [constParameter]kernel/fork.c:3256:42: warning: Parameter 'table' can be declared with const [constParameter]kernel/fork.c:942:33: warning: Parameter 'src' can be declared with const [constParameter]kernel/sched/fair.c:5081:25: warning: Uninitialized variables: cfs_rq.load, cfs_rq.nr_running, cfs_rq.h_nr_running, cfs_rq.idle_nr_running, cfs_rq.idle_h_nr_running, cfs_rq.exec_clock, cfs_rq.min_vruntime, cfs_rq.min_vruntime_copy, cfs_rq.tasks_timeline, cfs_rq.curr, cfs_rq.next, cfs_rq.last, cfs_rq.skip [uninitvar] kernel/sched/fair.c:6967:7: warning: Local variable 'min_vruntime' shadows outer function [shadowFunction]lib/maple_tree.c:1522:52: warning: Parameter 'gaps' can be declared with const [constParameter]lib/maple_tree.c:1871:21: warning: Array index 'split' is used before limits check. [arrayIndexThenCheck]lib/maple_tree.c:2033:55: warning: Parameter 'mas' can be declared with const [constParameter]lib/maple_tree.c:2426:8: warning: Redundant initialization for 'r_tmp'. The initialized value is overwritten before it is read. [redundantInitialization]lib/maple_tree.c:2427:8: warning: Redundant initialization for 'l_tmp'. The initialized value is overwritten before it is read. [redundantInitialization]lib/maple_tree.c:3160:22: warning: Found suspicious operator ',' [constStatement]lib/maple_tree.c:3208:11: warning: Size of pointer 'pivs' used instead of size of its data. [pointerSize]lib/maple_tree.c:326:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg]lib/maple_tree.c:4266:15: warning: The if condition is the same as the previous if condition [duplicateCondition]lib/maple_tree.c:4302:23: warning: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition]lib/maple_tree.c:694:59: warning: Parameter 'pivots' can be declared with const [constParameter]lib/test_printf.c:415:11: warning: Local variable 'addr' shadows outer function [shadowFunction]mm/highmem.c:737:13: warning: Uninitialized variable: pam->page [uninitvar]mm/migrate.c:355:53: warning: Parameter 'mapping' can be declared with const [constParameter]mm/migrate.c:875:7: warning: Redundant initialization for 'rc'. The initialized value is overwritten before it is read. [redundantInitialization]mm/mlock.c:230:20: warning: Using pointer that is a temporary. [danglingTemporaryLifetime]mm/slab.c:1635:24: warning: Uninitialized variables: slab.__page_flags, slab.__unused_1, slab.freelist, slab.units, slab.__unused_2, slab.__page_refcount [uninitvar]mm/slab.c:3289:7: warning: Redundant assignment of 'objp' to itself. [selfAssignment]mm/slab.c:3509:8: warning: Redundant assignment of 'p[i]' to itself. [selfAssignment]mm/slab.c:405:9: warning: Local variable 'slab_size' shadows outer function [shadowFunction]mm/vmstat.c:1409:53: warning: Parameter 'pos' can be declared with const [constParameter]mm/vmstat.c:1650:68: warning: Parameter 'zone' can be declared with const [constParameter]mm/zsmalloc.c:2019:15: warning: Uninitialized variables: zspage.huge, zspage.fullness, zspage.class, zspage.isolated, zspage.magic, zspage.inuse, zspage.freeobj, zspage.first_page, zspage.lock [uninitvar]mm/zsmalloc.c:2060:16: warning: Local variable 'obj_allocated' shadows outer function [shadowFunction]
or1k-linux-ld: drivers/mmc/host/sdhci-of-aspeed-test.c:10: undefined reference to `kunit_binary_assert_format'
or1k-linux-ld: drivers/mmc/host/sdhci-of-aspeed-test.c:10: undefined reference to `kunit_do_failed_assertion'
Unverified Error/Warning (likely false positive, please contact us if interested):
arch/x86/kernel/cpu/rdrand.c:36 x86_init_rdrand() error: uninitialized symbol 'prev'. drivers/firmware/arm_scmi/clock.c:394:1: internal compiler error: in arc_ifcvt, at config/arc/arc.c:9637 drivers/firmware/arm_scmi/powercap.c:376:1: internal compiler error: in arc_ifcvt, at config/arc/arc.c:9637 drivers/gpu/drm/amd/amdgpu/../pm/powerplay/hwmgr/vega10_powertune.c:1214:1: internal compiler error: in arc_ifcvt, at config/arc/arc.c:9637 drivers/gpu/drm/bridge/ite-it66121.c:1398:1: internal compiler error: in arc_ifcvt, at config/arc/arc.c:9637 drivers/gpu/drm/tests/drm_buddy_test.c:197:26-31: ERROR: invalid reference to the index variable of the iterator on line 152 drivers/infiniband/hw/irdma/hw.c:1484:1: internal compiler error: in arc_ifcvt, at config/arc/arc.c:9637 drivers/md/dm-mpath.c:1681:1: internal compiler error: in arc_ifcvt, at config/arc/arc.c:9637 drivers/media/dvb-frontends/mxl692.c:49:1: internal compiler error: in arc_ifcvt, at config/arc/arc.c:9637 drivers/media/i2c/ov5647.c:636:1: internal compiler error: in arc_ifcvt, at config/arc/arc.c:9637 drivers/media/i2c/st-mipid02.c:295:1: internal compiler error: in arc_ifcvt, at config/arc/arc.c:9637 drivers/media/platform/qcom/venus/vdec.c:1505:1: internal compiler error: in arc_ifcvt, at config/arc/arc.c:9637 drivers/media/platform/st/sti/delta/delta-v4l2.c:719:1: internal compiler error: in arc_ifcvt, at config/arc/arc.c:9637 drivers/media/tuners/msi001.c:81:1: internal compiler error: in arc_ifcvt, at config/arc/arc.c:9637 drivers/mfd/sec-core.c:429:1: internal compiler error: in arc_ifcvt, at config/arc/arc.c:9637 drivers/mmc/host/sh_mmcif.c:1318:1: internal compiler error: in arc_ifcvt, at config/arc/arc.c:9637 drivers/net/bonding/bond_main.c:4647:1: internal compiler error: in arc_ifcvt, at config/arc/arc.c:9637drivers/net/can/slcan/slcan-core.c:601:14: sparse: void *drivers/net/can/slcan/slcan-core.c:601:14: sparse: void [noderef] __rcu *drivers/net/can/slcan/slcan-core.c:601:14: sparse: sparse: incompatible types in comparison expression (different address spaces):drivers/net/dsa/microchip/ksz9477.c:501:1: internal compiler error: in arc_ifcvt, at config/arc/arc.c:9637 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c:1388:1: internal compiler error: in arc_ifcvt, at config/arc/arc.c:9637 drivers/net/ethernet/faraday/ftgmac100.c:854:1: internal compiler error: in arc_ifcvt, at config/arc/arc.c:9637 drivers/net/ethernet/hisilicon/hns/hnae.c:436:1: internal compiler error: in arc_ifcvt, at config/arc/arc.c:9637 drivers/net/ethernet/intel/i40e/i40e_main.c:9347:1: internal compiler error: in arc_ifcvt, at config/arc/arc.c:9637 drivers/net/ethernet/intel/ice/ice_base.c:1003:1: internal compiler error: in arc_ifcvt, at config/arc/arc.c:9637 drivers/net/ethernet/intel/ice/ice_dcb_lib.c:520:1: internal compiler error: in arc_ifcvt, at config/arc/arc.c:9637 drivers/net/ethernet/intel/ice/ice_vlan_mode.c:379:1: internal compiler error: in arc_ifcvt, at config/arc/arc.c:9637 drivers/net/ethernet/intel/igb/e1000_phy.c:1185:1: internal compiler error: in arc_ifcvt, at config/arc/arc.c:9637 drivers/net/ethernet/microchip/encx24j600.c:827:1: internal compiler error: in arc_ifcvt, at config/arc/arc.c:9637 drivers/net/ethernet/microchip/lan743x_main.c:1238:1: internal compiler error: in arc_ifcvt, at config/arc/arc.c:9637 drivers/net/ethernet/smsc/smsc9420.c:451:1: internal compiler error: in arc_ifcvt, at config/arc/arc.c:9637 drivers/net/ethernet/vertexcom/mse102x.c:422:1: internal compiler error: in arc_ifcvt, at config/arc/arc.c:9637 drivers/net/phy/dp83640.c:890:1: internal compiler error: in arc_ifcvt, at config/arc/arc.c:9637 drivers/net/usb/cdc_ncm.c:195:1: internal compiler error: in arc_ifcvt, at config/arc/arc.c:9637 drivers/net/usb/rtl8150.c:176:1: internal compiler error: in arc_ifcvt, at config/arc/arc.c:9637 drivers/parport/ieee1284_ops.c:615:1: internal compiler error: in arc_ifcvt, at config/arc/arc.c:9637 drivers/scsi/elx/efct/efct_unsol.c:297:1: internal compiler error: in arc_ifcvt, at config/arc/arc.c:9637 drivers/scsi/elx/libefc/efc_domain.c:692:1: internal compiler error: in arc_ifcvt, at config/arc/arc.c:9637 drivers/scsi/megaraid/megaraid_sas_fp.c:297:1: internal compiler error: in arc_ifcvt, at config/arc/arc.c:9637 drivers/soc/mediatek/mtk-mutex.c:793:1: internal compiler error: in arc_ifcvt, at config/arc/arc.c:9637 drivers/staging/media/zoran/zr36016.c:430:1: internal compiler error: in arc_ifcvt, at config/arc/arc.c:9637 drivers/staging/media/zoran/zr36050.c:829:1: internal compiler error: in arc_ifcvt, at config/arc/arc.c:9637 drivers/staging/media/zoran/zr36060.c:869:1: internal compiler error: in arc_ifcvt, at config/arc/arc.c:9637 drivers/target/iscsi/iscsi_target.c:2348:1: internal compiler error: in arc_ifcvt, at config/arc/arc.c:9637 drivers/target/target_core_device.c:1013:1: internal compiler error: in arc_ifcvt, at config/arc/arc.c:9637 drivers/thunderbolt/tmu.c:758:1: internal compiler error: in arc_ifcvt, at config/arc/arc.c:9637 drivers/thunderbolt/tunnel.c:1264:1: internal compiler error: in arc_ifcvt, at config/arc/arc.c:9637 drivers/tty/serial/atmel_serial.c:1442:1: internal compiler error: in arc_ifcvt, at config/arc/arc.c:9637 drivers/usb/host/uhci-q.c:1367:1: internal compiler error: in arc_ifcvt, at config/arc/arc.c:9637 drivers/usb/serial/digi_acceleport.c:1167:1: internal compiler error: in arc_ifcvt, at config/arc/arc.c:9637 drivers/video/backlight/qcom-wled.c:871:1: internal compiler error: in arc_ifcvt, at config/arc/arc.c:9637 fs/ext4/mballoc.c:3618:1: internal compiler error: in arc_ifcvt, at config/arc/arc.c:9637fs/kernel_read_file.c:61 kernel_read_file() warn: impossible condition '(i_size > (((~0) >> 1))) => (s64min-s64max > s64max)' fs/ubifs/recovery.c:1062:1: internal compiler error: in arc_ifcvt, at config/arc/arc.c:9637 include/linux/bits.h:9:41: warning: shift by negative count ('-1') [-Wanalyzer-shift-count-negative] mm/filemap.c:1354:1: internal compiler error: in arc_ifcvt, at config/arc/arc.c:9637mm/khugepaged.c:2410 madvise_collapse() warn: possible memory leak of 'cc'mm/madvise.c:1174:66: warning: Parameter 'task' can be declared with const [constParameter]mm/page_alloc.c:1181:1: internal compiler error: in arc_ifcvt, at config/arc/arc.c:9637mm/page_alloc.c:7744:1: internal compiler error: in arc_ifcvt, at config/arc/arc.c:9637mm/slub.c:5434:1: internal compiler error: in arc_ifcvt, at config/arc/arc.c:9637net/bluetooth/hci_event.c:5926:1: internal compiler error: in arc_ifcvt, at config/arc/arc.c:9637 net/qrtr/mhi.c:102:1: internal compiler error: in arc_ifcvt, at config/arc/arc.c:9637net/wireless/reg.c:205:1: internal compiler error: in arc_ifcvt, at config/arc/arc.c:9637 sound/pci/lola/lola.c:178:1: internal compiler error: in arc_ifcvt, at config/arc/arc.c:9637 sound/pci/pcxhr/pcxhr_core.c:134:1: internal compiler error: in arc_ifcvt, at config/arc/arc.c:9637 sound/pci/rme9652/hdsp.c:666:1: internal compiler error: in arc_ifcvt, at config/arc/arc.c:9637 sound/soc/fsl/fsl_spdif.c:1508:1: internal compiler error: in arc_ifcvt, at config/arc/arc.c:9637 sound/soc/sh/rcar/core.c:1602:1: internal compiler error: in arc_ifcvt, at config/arc/arc.c:9637 sound/soc/sof/intel/mtl.c:553:1: internal compiler error: in arc_ifcvt, at config/arc/arc.c:9637
{standard input}:2311: Error: expecting )
Error/Warning ids grouped by kconfigs:
gcc_recent_errors
|-- alpha-allyesconfig | |-- drivers-pci-endpoint-functions-pci-epf-vntb.c:warning:no-previous-prototype-for-pci_read | `-- drivers-pci-endpoint-functions-pci-epf-vntb.c:warning:no-previous-prototype-for-pci_write |-- alpha-randconfig-r004-20220712 | |-- drivers-pci-endpoint-functions-pci-epf-vntb.c:warning:no-previous-prototype-for-pci_read | `-- drivers-pci-endpoint-functions-pci-epf-vntb.c:warning:no-previous-prototype-for-pci_write |-- arc-allyesconfig | |-- block-partitions-efi.c:internal-compiler-error:in-arc_ifcvt-at-config-arc-arc.c | |-- block-sed-opal.c:internal-compiler-error:in-arc_ifcvt-at-config-arc-arc.c | |-- crypto-asymmetric_keys-pkcs7_verify.c:internal-compiler-error:in-arc_ifcvt-at-config-arc-arc.c | |-- drivers-ata-libata-core.c:internal-compiler-error:in-arc_ifcvt-at-config-arc-arc.c | |-- drivers-ata-libata-eh.c:internal-compiler-error:in-arc_ifcvt-at-config-arc-arc.c | |-- drivers-ata-sata_dwc_460ex.c:internal-compiler-error:in-arc_ifcvt-at-config-arc-arc.c | |-- drivers-base-power-runtime.c:internal-compiler-error:in-arc_ifcvt-at-config-arc-arc.c | |-- drivers-block-rbd.c:internal-compiler-error:in-arc_ifcvt-at-config-arc-arc.c | |-- drivers-bluetooth-hci_ll.c:internal-compiler-error:in-arc_ifcvt-at-config-arc-arc.c | |-- drivers-bluetooth-hci_qca.c:internal-compiler-error:in-arc_ifcvt-at-config-arc-arc.c | |-- drivers-cdrom-cdrom.c:internal-compiler-error:in-arc_ifcvt-at-config-arc-arc.c | |-- drivers-char-ipmi-ipmi_ssif.c:internal-compiler-error:in-arc_ifcvt-at-config-arc-arc.c | |-- drivers-char-pcmcia-cm4000_cs.c:internal-compiler-error:in-arc_ifcvt-at-config-arc-arc.c | |-- drivers-char-random.c:internal-compiler-error:in-arc_ifcvt-at-config-arc-arc.c | |-- drivers-char-tpm-tpm_tis_core.c:internal-compiler-error:in-arc_ifcvt-at-config-arc-arc.c | |-- drivers-clk-bcm-clk-iproc-armpll.c:internal-compiler-error:in-arc_ifcvt-at-config-arc-arc.c | |-- drivers-clk-clk-bd718x7.c:internal-compiler-error:in-arc_ifcvt-at-config-arc-arc.c | |-- drivers-clk-clk-lochnagar.c:internal-compiler-error:in-arc_ifcvt-at-config-arc-arc.c | |-- drivers-crypto-ccree-cc_request_mgr.c:internal-compiler-error:in-arc_ifcvt-at-config-arc-arc.c | |-- drivers-crypto-qce-sha.c:internal-compiler-error:in-arc_ifcvt-at-config-arc-arc.c | |-- drivers-crypto-qce-skcipher.c:internal-compiler-error:in-arc_ifcvt-at-config-arc-arc.c | |-- drivers-cxl-core-hdm.c:internal-compiler-error:in-arc_ifcvt-at-config-arc-arc.c | |-- drivers-cxl-core-pci.c:internal-compiler-error:in-arc_ifcvt-at-config-arc-arc.c | |-- drivers-dma-buf-dma-buf.c:internal-compiler-error:in-arc_ifcvt-at-config-arc-arc.c | |-- drivers-firmware-arm_scmi-bus.c:internal-compiler-error:in-arc_ifcvt-at-config-arc-arc.c | |-- drivers-firmware-arm_scmi-clock.c:internal-compiler-error:in-arc_ifcvt-at-config-arc-arc.c | |-- drivers-firmware-arm_scmi-powercap.c:internal-compiler-error:in-arc_ifcvt-at-config-arc-arc.c | |-- drivers-firmware-arm_scmi-sensors.c:internal-compiler-error:in-arc_ifcvt-at-config-arc-arc.c | |-- drivers-firmware-arm_scmi-voltage.c:internal-compiler-error:in-arc_ifcvt-at-config-arc-arc.c | |-- drivers-fpga-dfl-fme-mgr.c:internal-compiler-error:in-arc_ifcvt-at-config-arc-arc.c | |-- drivers-gnss-usb.c:internal-compiler-error:in-arc_ifcvt-at-config-arc-arc.c | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc_debug.c:internal-compiler-error:in-arc_ifcvt-at-config-arc-arc.c | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc_link_dp.c:internal-compiler-error:in-arc_ifcvt-at-config-arc-arc.c | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-dce110-dce110_resource.c:internal-compiler-error:in-arc_ifcvt-at-config-arc-arc.c | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-dce112-dce112_resource.c:internal-compiler-error:in-arc_ifcvt-at-config-arc-arc.c | |-- drivers-gpu-drm-amd-amdgpu-..-pm-powerplay-hwmgr-smu7_hwmgr.c:internal-compiler-error:in-arc_ifcvt-at-config-arc-arc.c | |-- drivers-gpu-drm-amd-amdgpu-..-pm-powerplay-hwmgr-smu8_hwmgr.c:internal-compiler-error:in-arc_ifcvt-at-config-arc-arc.c | |-- drivers-gpu-drm-amd-amdgpu-..-pm-powerplay-hwmgr-vega10_powertune.c:internal-compiler-error:in-arc_ifcvt-at-config-arc-arc.c | |-- drivers-gpu-drm-amd-amdgpu-..-pm-powerplay-smumgr-smu7_smumgr.c:internal-compiler-error:in-arc_ifcvt-at-config-arc-arc.c | |-- drivers-gpu-drm-amd-amdgpu-..-pm-swsmu-smu13-smu_v13_0.c:internal-compiler-error:in-arc_ifcvt-at-config-arc-arc.c | |-- drivers-gpu-drm-amd-amdgpu-amdgpu_ttm.c:internal-compiler-error:in-arc_ifcvt-at-config-arc-arc.c | |-- drivers-gpu-drm-bridge-cadence-cdns-mhdp8546-hdcp.c:internal-compiler-error:in-arc_ifcvt-at-config-arc-arc.c | |-- drivers-gpu-drm-bridge-ite-it66121.c:internal-compiler-error:in-arc_ifcvt-at-config-arc-arc.c clang_recent_errors |-- arm-randconfig-r024-20220712 | `-- drivers-gpu-drm-tests-drm_mm_test.c:warning:stack-frame-size-()-exceeds-limit-()-in-__igt_reserve |-- s390-randconfig-r044-20220713 | `-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc.c:warning:no-previous-prototype-for-function-dc_reset_state |-- x86_64-randconfig-a001 | `-- drivers-vfio-vfio_iommu_type1.c:warning:cast-to-smaller-integer-type-enum-iommu_cap-from-void |-- x86_64-randconfig-a005 | `-- drivers-vfio-vfio_iommu_type1.c:warning:cast-to-smaller-integer-type-enum-iommu_cap-from-void |-- x86_64-randconfig-a012 | `-- drivers-vfio-vfio_iommu_type1.c:warning:cast-to-smaller-integer-type-enum-iommu_cap-from-void
`-- x86_64-randconfig-k001
`-- drivers-vfio-vfio_iommu_type1.c:warning:cast-to-smaller-integer-type-enum-iommu_cap-from-void
elapsed time: 723m
configs tested: 95
configs skipped: 2
gcc tested configs:
arm defconfig
arm allyesconfig
arm64 allyesconfig
i386 randconfig-c001
nios2 3c120_defconfig
arm64 alldefconfig
powerpc makalu_defconfig
sh r7785rp_defconfig
arm footbridge_defconfig
arm lart_defconfig
arm hisi_defconfig
sh urquell_defconfig
microblaze mmu_defconfig
sparc defconfig
sh r7780mp_defconfig
m68k virt_defconfig
arc alldefconfig
sh se7721_defconfig
mips gpr_defconfig
arc nsimosci_hs_smp_defconfig
sparc sparc32_defconfig
csky defconfigx86_64 kexec
sparc allyesconfig
xtensa allyesconfig
riscv allnoconfig
riscv nommu_k210_defconfig
i386 debian-10.3-kselftests
riscv rv32_defconfig
riscv nommu_virt_defconfig
i386 debian-10.3
arm randconfig-c002-20220712x86_64 randconfig-c001
ia64 allmodconfig alpha allyesconfig m68k allmodconfig arc allyesconfig m68k allyesconfig powerpc allnoconfig mips allyesconfig powerpc allmodconfig sh allmodconfig i386 defconfig i386 allyesconfig x86_64 randconfig-a006 i386 randconfig-a001 i386 randconfig-a003 i386 randconfig-a005 x86_64 randconfig-a013 x86_64 randconfig-a011 x86_64 randconfig-a015 i386 randconfig-a012 i386 randconfig-a016 i386 randconfig-a014 arc randconfig-r043-20220712 riscv randconfig-r042-20220712 s390 randconfig-r044-20220712 arc randconfig-r043-20220713
x86_64 randconfig-a002x86_64 randconfig-a004
um i386_defconfig
um x86_64_defconfigx86_64 defconfigx86_64 rhel-8.3x86_64 allyesconfigx86_64 rhel-8.3-funcx86_64 rhel-8.3-kunitx86_64 rhel-8.3-kselftestsx86_64 rhel-8.3-syz
clang tested configs:
powerpc akebono_defconfig
mips ip27_defconfig
riscv alldefconfig
arm imx_v4_v5_defconfig
arm mvebu_v5_defconfig
mips ath79_defconfig
arm magician_defconfig
x86_64 randconfig-k001 x86_64 randconfig-a005 i386 randconfig-a002 i386 randconfig-a006 i386 randconfig-a004 x86_64 randconfig-a012 x86_64 randconfig-a014 x86_64 randconfig-a016 i386 randconfig-a013 i386 randconfig-a011 i386 randconfig-a015 hexagon randconfig-r041-20220712 hexagon randconfig-r045-20220712 hexagon randconfig-r045-20220713 riscv randconfig-r042-20220713 hexagon randconfig-r041-20220713 s390 randconfig-r044-20220713
x86_64 randconfig-a001x86_64 randconfig-a003
Signature · 2 lines
0-DAY CI Kernel Test Service https://01.org/lkp
Hi,
I don't mean to discourge test systems, but looking at this, I just go "meh" and delete it - it doesn't seem to contain obviously useful information. One has to read every damn line to see if there's something of relevence, which I for one am not going to do.
Is there some kind of improvement that could be done to this to make it more useful - such as only sending the warnings/errors to the appropriate mailing lists for those - rather than grouping everything together into one email. At least that should make the stuff (a) more relevant and (b) easier to parse.
Russell.
Quoted 320 lines · kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master branch HEAD:
4662b7adea50bb62e993a67f611f3be625d3df0dAdd linux-next specific files for 20220713Error/Warning reports:
https://lore.kernel.org/linux-doc/202207021352.PpKTUY8V-lkp at intel.com
https://lore.kernel.org/linux-doc/202207031437.qIh6LFcx-lkp at intel.com
https://lore.kernel.org/linux-doc/202207051821.3f0eRIsL-lkp at intel.com
https://lore.kernel.org/linux-doc/202207140742.GTPk4U8i-lkp at intel.com
https://lore.kernel.org/linux-mm/202206292052.LsFui3zO-lkp at intel.com
https://lore.kernel.org/linux-mm/202207140042.cK3tlk6j-lkp at intel.com
https://lore.kernel.org/llvm/202207090100.acXdJ79H-lkp at intel.comError/Warning: (recently discovered and may have been fixed)
Documentation/PCI/endpoint/pci-vntb-function.rst:82: WARNING: Unexpected indentation.Documentation/PCI/endpoint/pci-vntb-howto.rst:131: WARNING: Title underline too short.Documentation/filesystems/netfs_library.rst:384: WARNING: Inline emphasis start-string without end-string.Documentation/filesystems/netfs_library:609:fs/netfs/buffered_read.c:318: WARNING: Inline emphasis start-string without end-string.Documentation/virt/kvm/api.rst:8256: WARNING: Title underline too short.Documentation/virt/kvm/api.rst:8263: WARNING: Unexpected indentation.drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:2837:6: warning: no previous prototype for function 'dc_reset_state' [-Wmissing-prototypes]drivers/mmc/host/sdhci-of-aspeed-test.c:10: undefined reference to `kunit_binary_assert_format'drivers/pci/endpoint/functions/pci-epf-vntb.c:975:5: warning: no previous prototype for 'pci_read' [-Wmissing-prototypes]drivers/pci/endpoint/functions/pci-epf-vntb.c:984:5: warning: no previous prototype for 'pci_write' [-Wmissing-prototypes]drivers/vfio/vfio_iommu_type1.c:2141:35: warning: cast to smaller integer type 'enumiommu_cap' from 'void *' [-Wvoid-pointer-to-enum-cast]fs/ntfs/attrib.c:705:18: warning: Either the condition '!al' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck]fs/ntfs/layout.h:126:43: warning: Parameter 'p' can be declared with const [constParameter]fs/ntfs/ntfs.h:144:3: warning: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg]fs/super.c:1310:57: warning: Parameter 'data' can be declared with const [constParameter]fs/super.c:750:52: warning: Parameter 'bdev' can be declared with const [constParameter]ipc/shm.c:158:0: warning: failed to expand 'ipc_init_proc_interface', it is invalid to use a preprocessor directive as macro parameter [preprocessorErrorDirective]kernel/bpf/task_iter.c:152:11: warning: Redundant initialization for 'curr_fd'. The initialized value is overwritten before it is read. [redundantInitialization]kernel/bpf/task_iter.c:498:59: warning: Parameter 'v' can be declared with const [constParameter]kernel/fork.c:3256:42: warning: Parameter 'table' can be declared with const [constParameter]kernel/fork.c:942:33: warning: Parameter 'src' can be declared with const [constParameter]kernel/sched/fair.c:5081:25: warning: Uninitialized variables: cfs_rq.load, cfs_rq.nr_running, cfs_rq.h_nr_running, cfs_rq.idle_nr_running, cfs_rq.idle_h_nr_running, cfs_rq.exec_clock, cfs_rq.min_vruntime, cfs_rq.min_vruntime_copy, cfs_rq.tasks_timeline, cfs_rq.curr, cfs_rq.next, cfs_rq.last, cfs_rq.skip [uninitvar]kernel/sched/fair.c:6967:7: warning: Local variable 'min_vruntime' shadows outer function [shadowFunction]lib/maple_tree.c:1522:52: warning: Parameter 'gaps' can be declared with const [constParameter]lib/maple_tree.c:1871:21: warning: Array index 'split' is used before limits check. [arrayIndexThenCheck]lib/maple_tree.c:2033:55: warning: Parameter 'mas' can be declared with const [constParameter]lib/maple_tree.c:2426:8: warning: Redundant initialization for 'r_tmp'. The initialized value is overwritten before it is read. [redundantInitialization]lib/maple_tree.c:2427:8: warning: Redundant initialization for 'l_tmp'. The initialized value is overwritten before it is read. [redundantInitialization]lib/maple_tree.c:3160:22: warning: Found suspicious operator ',' [constStatement]lib/maple_tree.c:3208:11: warning: Size of pointer 'pivs' used instead of size of its data. [pointerSize]lib/maple_tree.c:326:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg]lib/maple_tree.c:4266:15: warning: The if condition is the same as the previous if condition [duplicateCondition]lib/maple_tree.c:4302:23: warning: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition]lib/maple_tree.c:694:59: warning: Parameter 'pivots' can be declared with const [constParameter]lib/test_printf.c:415:11: warning: Local variable 'addr' shadows outer function [shadowFunction]mm/highmem.c:737:13: warning: Uninitialized variable:pam->page[uninitvar]mm/migrate.c:355:53: warning: Parameter 'mapping' can be declared with const [constParameter]mm/migrate.c:875:7: warning: Redundant initialization for 'rc'. The initialized value is overwritten before it is read. [redundantInitialization]mm/mlock.c:230:20: warning: Using pointer that is a temporary. [danglingTemporaryLifetime]mm/slab.c:1635:24: warning: Uninitialized variables: slab.__page_flags, slab.__unused_1, slab.freelist, slab.units, slab.__unused_2, slab.__page_refcount [uninitvar]mm/slab.c:3289:7: warning: Redundant assignment of 'objp' to itself. [selfAssignment]mm/slab.c:3509:8: warning: Redundant assignment of 'p[i]' to itself. [selfAssignment]mm/slab.c:405:9: warning: Local variable 'slab_size' shadows outer function [shadowFunction]mm/vmstat.c:1409:53: warning: Parameter 'pos' can be declared with const [constParameter]mm/vmstat.c:1650:68: warning: Parameter 'zone' can be declared with const [constParameter]mm/zsmalloc.c:2019:15: warning: Uninitialized variables: zspage.huge, zspage.fullness, zspage.class, zspage.isolated, zspage.magic, zspage.inuse, zspage.freeobj, zspage.first_page, zspage.lock [uninitvar]mm/zsmalloc.c:2060:16: warning: Local variable 'obj_allocated' shadows outer function [shadowFunction]
or1k-linux-ld:drivers/mmc/host/sdhci-of-aspeed-test.c:10: undefined reference to `kunit_binary_assert_format'
or1k-linux-ld:drivers/mmc/host/sdhci-of-aspeed-test.c:10: undefined reference to `kunit_do_failed_assertion'Unverified Error/Warning (likely false positive, please contact us if interested):
arch/x86/kernel/cpu/rdrand.c:36x86_init_rdrand()error: uninitialized symbol 'prev'.drivers/firmware/arm_scmi/clock.c:394:1: internal compiler error: inarc_ifcvt, atconfig/arc/arc.c:9637drivers/firmware/arm_scmi/powercap.c:376:1: internal compiler error: inarc_ifcvt, atconfig/arc/arc.c:9637drivers/gpu/drm/amd/amdgpu/../pm/powerplay/hwmgr/vega10_powertune.c:1214:1: internal compiler error: inarc_ifcvt, atconfig/arc/arc.c:9637drivers/gpu/drm/bridge/ite-it66121.c:1398:1: internal compiler error: inarc_ifcvt, atconfig/arc/arc.c:9637drivers/gpu/drm/tests/drm_buddy_test.c:197:26-31: ERROR: invalid reference to the index variable of the iterator on line 152drivers/infiniband/hw/irdma/hw.c:1484:1: internal compiler error: inarc_ifcvt, atconfig/arc/arc.c:9637drivers/md/dm-mpath.c:1681:1: internal compiler error: inarc_ifcvt, atconfig/arc/arc.c:9637drivers/media/dvb-frontends/mxl692.c:49:1: internal compiler error: inarc_ifcvt, atconfig/arc/arc.c:9637drivers/media/i2c/ov5647.c:636:1: internal compiler error: inarc_ifcvt, atconfig/arc/arc.c:9637drivers/media/i2c/st-mipid02.c:295:1: internal compiler error: inarc_ifcvt, atconfig/arc/arc.c:9637drivers/media/platform/qcom/venus/vdec.c:1505:1: internal compiler error: inarc_ifcvt, atconfig/arc/arc.c:9637drivers/media/platform/st/sti/delta/delta-v4l2.c:719:1: internal compiler error: inarc_ifcvt, atconfig/arc/arc.c:9637drivers/media/tuners/msi001.c:81:1: internal compiler error: inarc_ifcvt, atconfig/arc/arc.c:9637drivers/mfd/sec-core.c:429:1: internal compiler error: inarc_ifcvt, atconfig/arc/arc.c:9637drivers/mmc/host/sh_mmcif.c:1318:1: internal compiler error: inarc_ifcvt, atconfig/arc/arc.c:9637drivers/net/bonding/bond_main.c:4647:1: internal compiler error: inarc_ifcvt, atconfig/arc/arc.c:9637drivers/net/can/slcan/slcan-core.c:601:14: sparse: void *drivers/net/can/slcan/slcan-core.c:601:14: sparse: void [noderef]__rcu*drivers/net/can/slcan/slcan-core.c:601:14: sparse: sparse: incompatible types in comparison expression (different address spaces):drivers/net/dsa/microchip/ksz9477.c:501:1: internal compiler error: inarc_ifcvt, atconfig/arc/arc.c:9637drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c:1388:1: internal compiler error: inarc_ifcvt, atconfig/arc/arc.c:9637drivers/net/ethernet/faraday/ftgmac100.c:854:1: internal compiler error: inarc_ifcvt, atconfig/arc/arc.c:9637drivers/net/ethernet/hisilicon/hns/hnae.c:436:1: internal compiler error: inarc_ifcvt, atconfig/arc/arc.c:9637drivers/net/ethernet/intel/i40e/i40e_main.c:9347:1: internal compiler error: inarc_ifcvt, atconfig/arc/arc.c:9637drivers/net/ethernet/intel/ice/ice_base.c:1003:1: internal compiler error: inarc_ifcvt, atconfig/arc/arc.c:9637drivers/net/ethernet/intel/ice/ice_dcb_lib.c:520:1: internal compiler error: inarc_ifcvt, atconfig/arc/arc.c:9637drivers/net/ethernet/intel/ice/ice_vlan_mode.c:379:1: internal compiler error: inarc_ifcvt, atconfig/arc/arc.c:9637drivers/net/ethernet/intel/igb/e1000_phy.c:1185:1: internal compiler error: inarc_ifcvt, atconfig/arc/arc.c:9637drivers/net/ethernet/microchip/encx24j600.c:827:1: internal compiler error: inarc_ifcvt, atconfig/arc/arc.c:9637drivers/net/ethernet/microchip/lan743x_main.c:1238:1: internal compiler error: inarc_ifcvt, atconfig/arc/arc.c:9637drivers/net/ethernet/smsc/smsc9420.c:451:1: internal compiler error: inarc_ifcvt, atconfig/arc/arc.c:9637drivers/net/ethernet/vertexcom/mse102x.c:422:1: internal compiler error: inarc_ifcvt, atconfig/arc/arc.c:9637drivers/net/phy/dp83640.c:890:1: internal compiler error: inarc_ifcvt, atconfig/arc/arc.c:9637drivers/net/usb/cdc_ncm.c:195:1: internal compiler error: inarc_ifcvt, atconfig/arc/arc.c:9637drivers/net/usb/rtl8150.c:176:1: internal compiler error: inarc_ifcvt, atconfig/arc/arc.c:9637drivers/parport/ieee1284_ops.c:615:1: internal compiler error: inarc_ifcvt, atconfig/arc/arc.c:9637drivers/scsi/elx/efct/efct_unsol.c:297:1: internal compiler error: inarc_ifcvt, atconfig/arc/arc.c:9637drivers/scsi/elx/libefc/efc_domain.c:692:1: internal compiler error: inarc_ifcvt, atconfig/arc/arc.c:9637drivers/scsi/megaraid/megaraid_sas_fp.c:297:1: internal compiler error: inarc_ifcvt, atconfig/arc/arc.c:9637drivers/soc/mediatek/mtk-mutex.c:793:1: internal compiler error: inarc_ifcvt, atconfig/arc/arc.c:9637drivers/staging/media/zoran/zr36016.c:430:1: internal compiler error: inarc_ifcvt, atconfig/arc/arc.c:9637drivers/staging/media/zoran/zr36050.c:829:1: internal compiler error: inarc_ifcvt, atconfig/arc/arc.c:9637drivers/staging/media/zoran/zr36060.c:869:1: internal compiler error: inarc_ifcvt, atconfig/arc/arc.c:9637drivers/target/iscsi/iscsi_target.c:2348:1: internal compiler error: inarc_ifcvt, atconfig/arc/arc.c:9637drivers/target/target_core_device.c:1013:1: internal compiler error: inarc_ifcvt, atconfig/arc/arc.c:9637drivers/thunderbolt/tmu.c:758:1: internal compiler error: inarc_ifcvt, atconfig/arc/arc.c:9637drivers/thunderbolt/tunnel.c:1264:1: internal compiler error: inarc_ifcvt, atconfig/arc/arc.c:9637drivers/tty/serial/atmel_serial.c:1442:1: internal compiler error: inarc_ifcvt, atconfig/arc/arc.c:9637drivers/usb/host/uhci-q.c:1367:1: internal compiler error: inarc_ifcvt, atconfig/arc/arc.c:9637drivers/usb/serial/digi_acceleport.c:1167:1: internal compiler error: inarc_ifcvt, atconfig/arc/arc.c:9637drivers/video/backlight/qcom-wled.c:871:1: internal compiler error: inarc_ifcvt, atconfig/arc/arc.c:9637fs/ext4/mballoc.c:3618:1: internal compiler error: inarc_ifcvt, atconfig/arc/arc.c:9637fs/kernel_read_file.c:61kernel_read_file()warn: impossible condition '(i_size> (((~0) >> 1))) => (s64min-s64max > s64max)'fs/ubifs/recovery.c:1062:1: internal compiler error: inarc_ifcvt, atconfig/arc/arc.c:9637include/linux/bits.h:9:41: warning: shift by negative count ('-1') [-Wanalyzer-shift-count-negative]mm/filemap.c:1354:1: internal compiler error: inarc_ifcvt, atconfig/arc/arc.c:9637mm/khugepaged.c:2410madvise_collapse()warn: possible memory leak of 'cc'mm/madvise.c:1174:66: warning: Parameter 'task' can be declared with const [constParameter]mm/page_alloc.c:1181:1: internal compiler error: inarc_ifcvt, atconfig/arc/arc.c:9637mm/page_alloc.c:7744:1: internal compiler error: inarc_ifcvt, atconfig/arc/arc.c:9637mm/slub.c:5434:1: internal compiler error: inarc_ifcvt, atconfig/arc/arc.c:9637net/bluetooth/hci_event.c:5926:1: internal compiler error: inarc_ifcvt, atconfig/arc/arc.c:9637net/qrtr/mhi.c:102:1: internal compiler error: inarc_ifcvt, atconfig/arc/arc.c:9637net/wireless/reg.c:205:1: internal compiler error: inarc_ifcvt, atconfig/arc/arc.c:9637sound/pci/lola/lola.c:178:1: internal compiler error: inarc_ifcvt, atconfig/arc/arc.c:9637sound/pci/pcxhr/pcxhr_core.c:134:1: internal compiler error: inarc_ifcvt, atconfig/arc/arc.c:9637sound/pci/rme9652/hdsp.c:666:1: internal compiler error: inarc_ifcvt, atconfig/arc/arc.c:9637sound/soc/fsl/fsl_spdif.c:1508:1: internal compiler error: inarc_ifcvt, atconfig/arc/arc.c:9637sound/soc/sh/rcar/core.c:1602:1: internal compiler error: inarc_ifcvt, atconfig/arc/arc.c:9637sound/soc/sof/intel/mtl.c:553:1: internal compiler error: inarc_ifcvt, atconfig/arc/arc.c:9637
{standard input}:2311: Error: expecting )Error/Warning ids grouped by kconfigs:
gcc_recent_errors|-- alpha-allyesconfig | |-- drivers-pci-endpoint-functions-pci-epf-vntb.c:warning:no-previous-prototype-for-pci_read | `-- drivers-pci-endpoint-functions-pci-epf-vntb.c:warning:no-previous-prototype-for-pci_write |-- alpha-randconfig-r004-20220712 | |-- drivers-pci-endpoint-functions-pci-epf-vntb.c:warning:no-previous-prototype-for-pci_read | `-- drivers-pci-endpoint-functions-pci-epf-vntb.c:warning:no-previous-prototype-for-pci_write |-- arc-allyesconfig | |-- block-partitions-efi.c:internal-compiler-error:in-arc_ifcvt-at-config-arc-arc.c | |-- block-sed-opal.c:internal-compiler-error:in-arc_ifcvt-at-config-arc-arc.c | |-- crypto-asymmetric_keys-pkcs7_verify.c:internal-compiler-error:in-arc_ifcvt-at-config-arc-arc.c | |-- drivers-ata-libata-core.c:internal-compiler-error:in-arc_ifcvt-at-config-arc-arc.c | |-- drivers-ata-libata-eh.c:internal-compiler-error:in-arc_ifcvt-at-config-arc-arc.c | |-- drivers-ata-sata_dwc_460ex.c:internal-compiler-error:in-arc_ifcvt-at-config-arc-arc.c | |-- drivers-base-power-runtime.c:internal-compiler-error:in-arc_ifcvt-at-config-arc-arc.c | |-- drivers-block-rbd.c:internal-compiler-error:in-arc_ifcvt-at-config-arc-arc.c | |-- drivers-bluetooth-hci_ll.c:internal-compiler-error:in-arc_ifcvt-at-config-arc-arc.c | |-- drivers-bluetooth-hci_qca.c:internal-compiler-error:in-arc_ifcvt-at-config-arc-arc.c | |-- drivers-cdrom-cdrom.c:internal-compiler-error:in-arc_ifcvt-at-config-arc-arc.c | |-- drivers-char-ipmi-ipmi_ssif.c:internal-compiler-error:in-arc_ifcvt-at-config-arc-arc.c | |-- drivers-char-pcmcia-cm4000_cs.c:internal-compiler-error:in-arc_ifcvt-at-config-arc-arc.c | |-- drivers-char-random.c:internal-compiler-error:in-arc_ifcvt-at-config-arc-arc.c | |-- drivers-char-tpm-tpm_tis_core.c:internal-compiler-error:in-arc_ifcvt-at-config-arc-arc.c | |-- drivers-clk-bcm-clk-iproc-armpll.c:internal-compiler-error:in-arc_ifcvt-at-config-arc-arc.c | |-- drivers-clk-clk-bd718x7.c:internal-compiler-error:in-arc_ifcvt-at-config-arc-arc.c | |-- drivers-clk-clk-lochnagar.c:internal-compiler-error:in-arc_ifcvt-at-config-arc-arc.c | |-- drivers-crypto-ccree-cc_request_mgr.c:internal-compiler-error:in-arc_ifcvt-at-config-arc-arc.c | |-- drivers-crypto-qce-sha.c:internal-compiler-error:in-arc_ifcvt-at-config-arc-arc.c | |-- drivers-crypto-qce-skcipher.c:internal-compiler-error:in-arc_ifcvt-at-config-arc-arc.c | |-- drivers-cxl-core-hdm.c:internal-compiler-error:in-arc_ifcvt-at-config-arc-arc.c | |-- drivers-cxl-core-pci.c:internal-compiler-error:in-arc_ifcvt-at-config-arc-arc.c | |-- drivers-dma-buf-dma-buf.c:internal-compiler-error:in-arc_ifcvt-at-config-arc-arc.c | |-- drivers-firmware-arm_scmi-bus.c:internal-compiler-error:in-arc_ifcvt-at-config-arc-arc.c | |-- drivers-firmware-arm_scmi-clock.c:internal-compiler-error:in-arc_ifcvt-at-config-arc-arc.c | |-- drivers-firmware-arm_scmi-powercap.c:internal-compiler-error:in-arc_ifcvt-at-config-arc-arc.c | |-- drivers-firmware-arm_scmi-sensors.c:internal-compiler-error:in-arc_ifcvt-at-config-arc-arc.c | |-- drivers-firmware-arm_scmi-voltage.c:internal-compiler-error:in-arc_ifcvt-at-config-arc-arc.c | |-- drivers-fpga-dfl-fme-mgr.c:internal-compiler-error:in-arc_ifcvt-at-config-arc-arc.c | |-- drivers-gnss-usb.c:internal-compiler-error:in-arc_ifcvt-at-config-arc-arc.c | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc_debug.c:internal-compiler-error:in-arc_ifcvt-at-config-arc-arc.c | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc_link_dp.c:internal-compiler-error:in-arc_ifcvt-at-config-arc-arc.c | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-dce110-dce110_resource.c:internal-compiler-error:in-arc_ifcvt-at-config-arc-arc.c | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-dce112-dce112_resource.c:internal-compiler-error:in-arc_ifcvt-at-config-arc-arc.c | |-- drivers-gpu-drm-amd-amdgpu-..-pm-powerplay-hwmgr-smu7_hwmgr.c:internal-compiler-error:in-arc_ifcvt-at-config-arc-arc.c | |-- drivers-gpu-drm-amd-amdgpu-..-pm-powerplay-hwmgr-smu8_hwmgr.c:internal-compiler-error:in-arc_ifcvt-at-config-arc-arc.c | |-- drivers-gpu-drm-amd-amdgpu-..-pm-powerplay-hwmgr-vega10_powertune.c:internal-compiler-error:in-arc_ifcvt-at-config-arc-arc.c | |-- drivers-gpu-drm-amd-amdgpu-..-pm-powerplay-smumgr-smu7_smumgr.c:internal-compiler-error:in-arc_ifcvt-at-config-arc-arc.c | |-- drivers-gpu-drm-amd-amdgpu-..-pm-swsmu-smu13-smu_v13_0.c:internal-compiler-error:in-arc_ifcvt-at-config-arc-arc.c | |-- drivers-gpu-drm-amd-amdgpu-amdgpu_ttm.c:internal-compiler-error:in-arc_ifcvt-at-config-arc-arc.c | |-- drivers-gpu-drm-bridge-cadence-cdns-mhdp8546-hdcp.c:internal-compiler-error:in-arc_ifcvt-at-config-arc-arc.c | |-- drivers-gpu-drm-bridge-ite-it66121.c:internal-compiler-error:in-arc_ifcvt-at-config-arc-arc.c clang_recent_errors |-- arm-randconfig-r024-20220712 | `-- drivers-gpu-drm-tests-drm_mm_test.c:warning:stack-frame-size-()-exceeds-limit-()-in-__igt_reserve |-- s390-randconfig-r044-20220713 | `-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc.c:warning:no-previous-prototype-for-function-dc_reset_state |-- x86_64-randconfig-a001 | `-- drivers-vfio-vfio_iommu_type1.c:warning:cast-to-smaller-integer-type-enum-iommu_cap-from-void |-- x86_64-randconfig-a005 | `-- drivers-vfio-vfio_iommu_type1.c:warning:cast-to-smaller-integer-type-enum-iommu_cap-from-void |-- x86_64-randconfig-a012 | `-- drivers-vfio-vfio_iommu_type1.c:warning:cast-to-smaller-integer-type-enum-iommu_cap-from-void`-- x86_64-randconfig-k001
`-- drivers-vfio-vfio_iommu_type1.c:warning:cast-to-smaller-integer-type-enum-iommu_cap-from-voidelapsed time: 723m
configs tested: 95
configs skipped: 2gcc tested configs:
arm defconfig
arm allyesconfig
arm64 allyesconfig
i386 randconfig-c001
nios2 3c120_defconfig
arm64 alldefconfig
powerpcmakalu_defconfig
shr7785rp_defconfig
armfootbridge_defconfig
armlart_defconfig
armhisi_defconfig
shurquell_defconfig
microblazemmu_defconfig
sparc defconfig
shr7780mp_defconfig
m68kvirt_defconfig
arc alldefconfig
shse7721_defconfig
mipsgpr_defconfig
arcnsimosci_hs_smp_defconfig
sparcsparc32_defconfig
csky defconfigx86_64kexec
sparc allyesconfig
xtensa allyesconfig
riscv allnoconfig
riscvnommu_k210_defconfig
i386 debian-10.3-kselftests
riscvrv32_defconfig
riscvnommu_virt_defconfig
i386 debian-10.3
arm randconfig-c002-20220712x86_64randconfig-c001ia64 allmodconfig alpha allyesconfig m68k allmodconfig arc allyesconfig m68k allyesconfig powerpc allnoconfig mips allyesconfig powerpc allmodconfig sh allmodconfig i386 defconfig i386 allyesconfig x86_64 randconfig-a006 i386 randconfig-a001 i386 randconfig-a003 i386 randconfig-a005 x86_64 randconfig-a013 x86_64 randconfig-a011 x86_64 randconfig-a015 i386 randconfig-a012 i386 randconfig-a016 i386 randconfig-a014 arc randconfig-r043-20220712 riscv randconfig-r042-20220712 s390 randconfig-r044-20220712 arc randconfig-r043-20220713
x86_64randconfig-a002x86_64randconfig-a004
umi386_defconfig
umx86_64_defconfigx86_64defconfigx86_64rhel-8.3x86_64allyesconfigx86_64rhel-8.3-funcx86_64rhel-8.3-kunitx86_64rhel-8.3-kselftestsx86_64rhel-8.3-syzclang tested configs:
powerpcakebono_defconfig
mipsip27_defconfig
riscv alldefconfig
armimx_v4_v5_defconfig
armmvebu_v5_defconfig
mipsath79_defconfig
armmagician_defconfigx86_64 randconfig-k001 x86_64 randconfig-a005 i386 randconfig-a002 i386 randconfig-a006 i386 randconfig-a004 x86_64 randconfig-a012 x86_64 randconfig-a014 x86_64 randconfig-a016 i386 randconfig-a013 i386 randconfig-a011 i386 randconfig-a015 hexagon randconfig-r041-20220712 hexagon randconfig-r045-20220712 hexagon randconfig-r045-20220713 riscv randconfig-r042-20220713 hexagon randconfig-r041-20220713 s390 randconfig-r044-20220713
x86_64randconfig-a001x86_64randconfig-a003Signature · 7 lines
0-DAY CI Kernel Test Service https://01.org/lkp _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel at lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Signature · 2 lines
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last!
Quoted 7 lines · Russell King (Oracle)
Hi,
I don't mean to discourge test systems, but looking at this, I just go "meh" and delete it - it doesn't seem to contain obviously useful information. One has to read every damn line to see if there's something of relevence, which I for one am not going to do.
Quoted 5 lines
Is there some kind of improvement that could be done to this to make it more useful - such as only sending the warnings/errors to the appropriate mailing lists for those - rather than grouping everything together into one email. At least that should make the stuff (a) more relevant and (b) easier to parse.
Thanks for the feedback Russell, we will further consider how to make this summary report more helpful, and reduce unnecessary distribution to many mailing list.
Typically, 0day ci sends 2 kinds of reports, one is bisected report, which has specific warning/error as you mentioned to related receivers. Such as
https://lore.kernel.org/all/202207130344.AUqExE4E-lkp at intel.com/
The other is this summary, we want to give an overview to the owner for the head status. And we will re-consider the appropriate audiences for the mail and the contents to make it clear.
Quoted 329 lines
Russell.
Quoted 320 lines · kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master branch HEAD:
4662b7adea50bb62e993a67f611f3be625d3df0dAdd linux-next specific files for 20220713Error/Warning reports:
https://lore.kernel.org/linux-doc/202207021352.PpKTUY8V-lkp at intel.com
https://lore.kernel.org/linux-doc/202207031437.qIh6LFcx-lkp at intel.com
https://lore.kernel.org/linux-doc/202207051821.3f0eRIsL-lkp at intel.com
https://lore.kernel.org/linux-doc/202207140742.GTPk4U8i-lkp at intel.com
https://lore.kernel.org/linux-mm/202206292052.LsFui3zO-lkp at intel.com
https://lore.kernel.org/linux-mm/202207140042.cK3tlk6j-lkp at intel.com
https://lore.kernel.org/llvm/202207090100.acXdJ79H-lkp at intel.comError/Warning: (recently discovered and may have been fixed)
Documentation/PCI/endpoint/pci-vntb-function.rst:82: WARNING: Unexpected indentation.Documentation/PCI/endpoint/pci-vntb-howto.rst:131: WARNING: Title underline too short.Documentation/filesystems/netfs_library.rst:384: WARNING: Inline emphasis start-string without end-string.Documentation/filesystems/netfs_library:609:fs/netfs/buffered_read.c:318: WARNING: Inline emphasis start-string without end-string.Documentation/virt/kvm/api.rst:8256: WARNING: Title underline too short.Documentation/virt/kvm/api.rst:8263: WARNING: Unexpected indentation.drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:2837:6: warning: no previous prototype for function 'dc_reset_state' [-Wmissing-prototypes]drivers/mmc/host/sdhci-of-aspeed-test.c:10: undefined reference to `kunit_binary_assert_format'drivers/pci/endpoint/functions/pci-epf-vntb.c:975:5: warning: no previous prototype for 'pci_read' [-Wmissing-prototypes]drivers/pci/endpoint/functions/pci-epf-vntb.c:984:5: warning: no previous prototype for 'pci_write' [-Wmissing-prototypes]drivers/vfio/vfio_iommu_type1.c:2141:35: warning: cast to smaller integer type 'enumiommu_cap' from 'void *' [-Wvoid-pointer-to-enum-cast]fs/ntfs/attrib.c:705:18: warning: Either the condition '!al' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck]fs/ntfs/layout.h:126:43: warning: Parameter 'p' can be declared with const [constParameter]fs/ntfs/ntfs.h:144:3: warning: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg]fs/super.c:1310:57: warning: Parameter 'data' can be declared with const [constParameter]fs/super.c:750:52: warning: Parameter 'bdev' can be declared with const [constParameter]ipc/shm.c:158:0: warning: failed to expand 'ipc_init_proc_interface', it is invalid to use a preprocessor directive as macro parameter [preprocessorErrorDirective]kernel/bpf/task_iter.c:152:11: warning: Redundant initialization for 'curr_fd'. The initialized value is overwritten before it is read. [redundantInitialization]kernel/bpf/task_iter.c:498:59: warning: Parameter 'v' can be declared with const [constParameter]kernel/fork.c:3256:42: warning: Parameter 'table' can be declared with const [constParameter]kernel/fork.c:942:33: warning: Parameter 'src' can be declared with const [constParameter]kernel/sched/fair.c:5081:25: warning: Uninitialized variables: cfs_rq.load, cfs_rq.nr_running, cfs_rq.h_nr_running, cfs_rq.idle_nr_running, cfs_rq.idle_h_nr_running, cfs_rq.exec_clock, cfs_rq.min_vruntime, cfs_rq.min_vruntime_copy, cfs_rq.tasks_timeline, cfs_rq.curr, cfs_rq.next, cfs_rq.last, cfs_rq.skip [uninitvar]kernel/sched/fair.c:6967:7: warning: Local variable 'min_vruntime' shadows outer function [shadowFunction]lib/maple_tree.c:1522:52: warning: Parameter 'gaps' can be declared with const [constParameter]lib/maple_tree.c:1871:21: warning: Array index 'split' is used before limits check. [arrayIndexThenCheck]lib/maple_tree.c:2033:55: warning: Parameter 'mas' can be declared with const [constParameter]lib/maple_tree.c:2426:8: warning: Redundant initialization for 'r_tmp'. The initialized value is overwritten before it is read. [redundantInitialization]lib/maple_tree.c:2427:8: warning: Redundant initialization for 'l_tmp'. The initialized value is overwritten before it is read. [redundantInitialization]lib/maple_tree.c:3160:22: warning: Found suspicious operator ',' [constStatement]lib/maple_tree.c:3208:11: warning: Size of pointer 'pivs' used instead of size of its data. [pointerSize]lib/maple_tree.c:326:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg]lib/maple_tree.c:4266:15: warning: The if condition is the same as the previous if condition [duplicateCondition]lib/maple_tree.c:4302:23: warning: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition]lib/maple_tree.c:694:59: warning: Parameter 'pivots' can be declared with const [constParameter]lib/test_printf.c:415:11: warning: Local variable 'addr' shadows outer function [shadowFunction]mm/highmem.c:737:13: warning: Uninitialized variable:pam->page[uninitvar]mm/migrate.c:355:53: warning: Parameter 'mapping' can be declared with const [constParameter]mm/migrate.c:875:7: warning: Redundant initialization for 'rc'. The initialized value is overwritten before it is read. [redundantInitialization]mm/mlock.c:230:20: warning: Using pointer that is a temporary. [danglingTemporaryLifetime]mm/slab.c:1635:24: warning: Uninitialized variables: slab.__page_flags, slab.__unused_1, slab.freelist, slab.units, slab.__unused_2, slab.__page_refcount [uninitvar]mm/slab.c:3289:7: warning: Redundant assignment of 'objp' to itself. [selfAssignment]mm/slab.c:3509:8: warning: Redundant assignment of 'p[i]' to itself. [selfAssignment]mm/slab.c:405:9: warning: Local variable 'slab_size' shadows outer function [shadowFunction]mm/vmstat.c:1409:53: warning: Parameter 'pos' can be declared with const [constParameter]mm/vmstat.c:1650:68: warning: Parameter 'zone' can be declared with const [constParameter]mm/zsmalloc.c:2019:15: warning: Uninitialized variables: zspage.huge, zspage.fullness, zspage.class, zspage.isolated, zspage.magic, zspage.inuse, zspage.freeobj, zspage.first_page, zspage.lock [uninitvar]mm/zsmalloc.c:2060:16: warning: Local variable 'obj_allocated' shadows outer function [shadowFunction]
or1k-linux-ld:drivers/mmc/host/sdhci-of-aspeed-test.c:10: undefined reference to `kunit_binary_assert_format'
or1k-linux-ld:drivers/mmc/host/sdhci-of-aspeed-test.c:10: undefined reference to `kunit_do_failed_assertion'Unverified Error/Warning (likely false positive, please contact us if interested):
arch/x86/kernel/cpu/rdrand.c:36x86_init_rdrand()error: uninitialized symbol 'prev'.drivers/firmware/arm_scmi/clock.c:394:1: internal compiler error: inarc_ifcvt, atconfig/arc/arc.c:9637drivers/firmware/arm_scmi/powercap.c:376:1: internal compiler error: inarc_ifcvt, atconfig/arc/arc.c:9637drivers/gpu/drm/amd/amdgpu/../pm/powerplay/hwmgr/vega10_powertune.c:1214:1: internal compiler error: inarc_ifcvt, atconfig/arc/arc.c:9637drivers/gpu/drm/bridge/ite-it66121.c:1398:1: internal compiler error: inarc_ifcvt, atconfig/arc/arc.c:9637drivers/gpu/drm/tests/drm_buddy_test.c:197:26-31: ERROR: invalid reference to the index variable of the iterator on line 152drivers/infiniband/hw/irdma/hw.c:1484:1: internal compiler error: inarc_ifcvt, atconfig/arc/arc.c:9637drivers/md/dm-mpath.c:1681:1: internal compiler error: inarc_ifcvt, atconfig/arc/arc.c:9637drivers/media/dvb-frontends/mxl692.c:49:1: internal compiler error: inarc_ifcvt, atconfig/arc/arc.c:9637drivers/media/i2c/ov5647.c:636:1: internal compiler error: inarc_ifcvt, atconfig/arc/arc.c:9637drivers/media/i2c/st-mipid02.c:295:1: internal compiler error: inarc_ifcvt, atconfig/arc/arc.c:9637drivers/media/platform/qcom/venus/vdec.c:1505:1: internal compiler error: inarc_ifcvt, atconfig/arc/arc.c:9637drivers/media/platform/st/sti/delta/delta-v4l2.c:719:1: internal compiler error: inarc_ifcvt, atconfig/arc/arc.c:9637drivers/media/tuners/msi001.c:81:1: internal compiler error: inarc_ifcvt, atconfig/arc/arc.c:9637drivers/mfd/sec-core.c:429:1: internal compiler error: inarc_ifcvt, atconfig/arc/arc.c:9637drivers/mmc/host/sh_mmcif.c:1318:1: internal compiler error: inarc_ifcvt, atconfig/arc/arc.c:9637drivers/net/bonding/bond_main.c:4647:1: internal compiler error: inarc_ifcvt, atconfig/arc/arc.c:9637drivers/net/can/slcan/slcan-core.c:601:14: sparse: void *drivers/net/can/slcan/slcan-core.c:601:14: sparse: void [noderef]__rcu*drivers/net/can/slcan/slcan-core.c:601:14: sparse: sparse: incompatible types in comparison expression (different address spaces):drivers/net/dsa/microchip/ksz9477.c:501:1: internal compiler error: inarc_ifcvt, atconfig/arc/arc.c:9637drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c:1388:1: internal compiler error: inarc_ifcvt, atconfig/arc/arc.c:9637drivers/net/ethernet/faraday/ftgmac100.c:854:1: internal compiler error: inarc_ifcvt, atconfig/arc/arc.c:9637drivers/net/ethernet/hisilicon/hns/hnae.c:436:1: internal compiler error: inarc_ifcvt, atconfig/arc/arc.c:9637drivers/net/ethernet/intel/i40e/i40e_main.c:9347:1: internal compiler error: inarc_ifcvt, atconfig/arc/arc.c:9637drivers/net/ethernet/intel/ice/ice_base.c:1003:1: internal compiler error: inarc_ifcvt, atconfig/arc/arc.c:9637drivers/net/ethernet/intel/ice/ice_dcb_lib.c:520:1: internal compiler error: inarc_ifcvt, atconfig/arc/arc.c:9637drivers/net/ethernet/intel/ice/ice_vlan_mode.c:379:1: internal compiler error: inarc_ifcvt, atconfig/arc/arc.c:9637drivers/net/ethernet/intel/igb/e1000_phy.c:1185:1: internal compiler error: inarc_ifcvt, atconfig/arc/arc.c:9637drivers/net/ethernet/microchip/encx24j600.c:827:1: internal compiler error: inarc_ifcvt, atconfig/arc/arc.c:9637drivers/net/ethernet/microchip/lan743x_main.c:1238:1: internal compiler error: inarc_ifcvt, atconfig/arc/arc.c:9637drivers/net/ethernet/smsc/smsc9420.c:451:1: internal compiler error: inarc_ifcvt, atconfig/arc/arc.c:9637drivers/net/ethernet/vertexcom/mse102x.c:422:1: internal compiler error: inarc_ifcvt, atconfig/arc/arc.c:9637drivers/net/phy/dp83640.c:890:1: internal compiler error: inarc_ifcvt, atconfig/arc/arc.c:9637drivers/net/usb/cdc_ncm.c:195:1: internal compiler error: inarc_ifcvt, atconfig/arc/arc.c:9637drivers/net/usb/rtl8150.c:176:1: internal compiler error: inarc_ifcvt, atconfig/arc/arc.c:9637drivers/parport/ieee1284_ops.c:615:1: internal compiler error: inarc_ifcvt, atconfig/arc/arc.c:9637drivers/scsi/elx/efct/efct_unsol.c:297:1: internal compiler error: inarc_ifcvt, atconfig/arc/arc.c:9637drivers/scsi/elx/libefc/efc_domain.c:692:1: internal compiler error: inarc_ifcvt, atconfig/arc/arc.c:9637drivers/scsi/megaraid/megaraid_sas_fp.c:297:1: internal compiler error: inarc_ifcvt, atconfig/arc/arc.c:9637drivers/soc/mediatek/mtk-mutex.c:793:1: internal compiler error: inarc_ifcvt, atconfig/arc/arc.c:9637drivers/staging/media/zoran/zr36016.c:430:1: internal compiler error: inarc_ifcvt, atconfig/arc/arc.c:9637drivers/staging/media/zoran/zr36050.c:829:1: internal compiler error: inarc_ifcvt, atconfig/arc/arc.c:9637drivers/staging/media/zoran/zr36060.c:869:1: internal compiler error: inarc_ifcvt, atconfig/arc/arc.c:9637drivers/target/iscsi/iscsi_target.c:2348:1: internal compiler error: inarc_ifcvt, atconfig/arc/arc.c:9637drivers/target/target_core_device.c:1013:1: internal compiler error: inarc_ifcvt, atconfig/arc/arc.c:9637drivers/thunderbolt/tmu.c:758:1: internal compiler error: inarc_ifcvt, atconfig/arc/arc.c:9637drivers/thunderbolt/tunnel.c:1264:1: internal compiler error: inarc_ifcvt, atconfig/arc/arc.c:9637drivers/tty/serial/atmel_serial.c:1442:1: internal compiler error: inarc_ifcvt, atconfig/arc/arc.c:9637drivers/usb/host/uhci-q.c:1367:1: internal compiler error: inarc_ifcvt, atconfig/arc/arc.c:9637drivers/usb/serial/digi_acceleport.c:1167:1: internal compiler error: inarc_ifcvt, atconfig/arc/arc.c:9637drivers/video/backlight/qcom-wled.c:871:1: internal compiler error: inarc_ifcvt, atconfig/arc/arc.c:9637fs/ext4/mballoc.c:3618:1: internal compiler error: inarc_ifcvt, atconfig/arc/arc.c:9637fs/kernel_read_file.c:61kernel_read_file()warn: impossible condition '(i_size> (((~0) >> 1))) => (s64min-s64max > s64max)'fs/ubifs/recovery.c:1062:1: internal compiler error: inarc_ifcvt, atconfig/arc/arc.c:9637include/linux/bits.h:9:41: warning: shift by negative count ('-1') [-Wanalyzer-shift-count-negative]mm/filemap.c:1354:1: internal compiler error: inarc_ifcvt, atconfig/arc/arc.c:9637mm/khugepaged.c:2410madvise_collapse()warn: possible memory leak of 'cc'mm/madvise.c:1174:66: warning: Parameter 'task' can be declared with const [constParameter]mm/page_alloc.c:1181:1: internal compiler error: inarc_ifcvt, atconfig/arc/arc.c:9637mm/page_alloc.c:7744:1: internal compiler error: inarc_ifcvt, atconfig/arc/arc.c:9637mm/slub.c:5434:1: internal compiler error: inarc_ifcvt, atconfig/arc/arc.c:9637net/bluetooth/hci_event.c:5926:1: internal compiler error: inarc_ifcvt, atconfig/arc/arc.c:9637net/qrtr/mhi.c:102:1: internal compiler error: inarc_ifcvt, atconfig/arc/arc.c:9637net/wireless/reg.c:205:1: internal compiler error: inarc_ifcvt, atconfig/arc/arc.c:9637sound/pci/lola/lola.c:178:1: internal compiler error: inarc_ifcvt, atconfig/arc/arc.c:9637sound/pci/pcxhr/pcxhr_core.c:134:1: internal compiler error: inarc_ifcvt, atconfig/arc/arc.c:9637sound/pci/rme9652/hdsp.c:666:1: internal compiler error: inarc_ifcvt, atconfig/arc/arc.c:9637sound/soc/fsl/fsl_spdif.c:1508:1: internal compiler error: inarc_ifcvt, atconfig/arc/arc.c:9637sound/soc/sh/rcar/core.c:1602:1: internal compiler error: inarc_ifcvt, atconfig/arc/arc.c:9637sound/soc/sof/intel/mtl.c:553:1: internal compiler error: inarc_ifcvt, atconfig/arc/arc.c:9637
{standard input}:2311: Error: expecting )Error/Warning ids grouped by kconfigs:
gcc_recent_errors|-- alpha-allyesconfig | |-- drivers-pci-endpoint-functions-pci-epf-vntb.c:warning:no-previous-prototype-for-pci_read | `-- drivers-pci-endpoint-functions-pci-epf-vntb.c:warning:no-previous-prototype-for-pci_write |-- alpha-randconfig-r004-20220712 | |-- drivers-pci-endpoint-functions-pci-epf-vntb.c:warning:no-previous-prototype-for-pci_read | `-- drivers-pci-endpoint-functions-pci-epf-vntb.c:warning:no-previous-prototype-for-pci_write |-- arc-allyesconfig | |-- block-partitions-efi.c:internal-compiler-error:in-arc_ifcvt-at-config-arc-arc.c | |-- block-sed-opal.c:internal-compiler-error:in-arc_ifcvt-at-config-arc-arc.c | |-- crypto-asymmetric_keys-pkcs7_verify.c:internal-compiler-error:in-arc_ifcvt-at-config-arc-arc.c | |-- drivers-ata-libata-core.c:internal-compiler-error:in-arc_ifcvt-at-config-arc-arc.c | |-- drivers-ata-libata-eh.c:internal-compiler-error:in-arc_ifcvt-at-config-arc-arc.c | |-- drivers-ata-sata_dwc_460ex.c:internal-compiler-error:in-arc_ifcvt-at-config-arc-arc.c | |-- drivers-base-power-runtime.c:internal-compiler-error:in-arc_ifcvt-at-config-arc-arc.c | |-- drivers-block-rbd.c:internal-compiler-error:in-arc_ifcvt-at-config-arc-arc.c | |-- drivers-bluetooth-hci_ll.c:internal-compiler-error:in-arc_ifcvt-at-config-arc-arc.c | |-- drivers-bluetooth-hci_qca.c:internal-compiler-error:in-arc_ifcvt-at-config-arc-arc.c | |-- drivers-cdrom-cdrom.c:internal-compiler-error:in-arc_ifcvt-at-config-arc-arc.c | |-- drivers-char-ipmi-ipmi_ssif.c:internal-compiler-error:in-arc_ifcvt-at-config-arc-arc.c | |-- drivers-char-pcmcia-cm4000_cs.c:internal-compiler-error:in-arc_ifcvt-at-config-arc-arc.c | |-- drivers-char-random.c:internal-compiler-error:in-arc_ifcvt-at-config-arc-arc.c | |-- drivers-char-tpm-tpm_tis_core.c:internal-compiler-error:in-arc_ifcvt-at-config-arc-arc.c | |-- drivers-clk-bcm-clk-iproc-armpll.c:internal-compiler-error:in-arc_ifcvt-at-config-arc-arc.c | |-- drivers-clk-clk-bd718x7.c:internal-compiler-error:in-arc_ifcvt-at-config-arc-arc.c | |-- drivers-clk-clk-lochnagar.c:internal-compiler-error:in-arc_ifcvt-at-config-arc-arc.c | |-- drivers-crypto-ccree-cc_request_mgr.c:internal-compiler-error:in-arc_ifcvt-at-config-arc-arc.c | |-- drivers-crypto-qce-sha.c:internal-compiler-error:in-arc_ifcvt-at-config-arc-arc.c | |-- drivers-crypto-qce-skcipher.c:internal-compiler-error:in-arc_ifcvt-at-config-arc-arc.c | |-- drivers-cxl-core-hdm.c:internal-compiler-error:in-arc_ifcvt-at-config-arc-arc.c | |-- drivers-cxl-core-pci.c:internal-compiler-error:in-arc_ifcvt-at-config-arc-arc.c | |-- drivers-dma-buf-dma-buf.c:internal-compiler-error:in-arc_ifcvt-at-config-arc-arc.c | |-- drivers-firmware-arm_scmi-bus.c:internal-compiler-error:in-arc_ifcvt-at-config-arc-arc.c | |-- drivers-firmware-arm_scmi-clock.c:internal-compiler-error:in-arc_ifcvt-at-config-arc-arc.c | |-- drivers-firmware-arm_scmi-powercap.c:internal-compiler-error:in-arc_ifcvt-at-config-arc-arc.c | |-- drivers-firmware-arm_scmi-sensors.c:internal-compiler-error:in-arc_ifcvt-at-config-arc-arc.c | |-- drivers-firmware-arm_scmi-voltage.c:internal-compiler-error:in-arc_ifcvt-at-config-arc-arc.c | |-- drivers-fpga-dfl-fme-mgr.c:internal-compiler-error:in-arc_ifcvt-at-config-arc-arc.c | |-- drivers-gnss-usb.c:internal-compiler-error:in-arc_ifcvt-at-config-arc-arc.c | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc_debug.c:internal-compiler-error:in-arc_ifcvt-at-config-arc-arc.c | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc_link_dp.c:internal-compiler-error:in-arc_ifcvt-at-config-arc-arc.c | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-dce110-dce110_resource.c:internal-compiler-error:in-arc_ifcvt-at-config-arc-arc.c | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-dce112-dce112_resource.c:internal-compiler-error:in-arc_ifcvt-at-config-arc-arc.c | |-- drivers-gpu-drm-amd-amdgpu-..-pm-powerplay-hwmgr-smu7_hwmgr.c:internal-compiler-error:in-arc_ifcvt-at-config-arc-arc.c | |-- drivers-gpu-drm-amd-amdgpu-..-pm-powerplay-hwmgr-smu8_hwmgr.c:internal-compiler-error:in-arc_ifcvt-at-config-arc-arc.c | |-- drivers-gpu-drm-amd-amdgpu-..-pm-powerplay-hwmgr-vega10_powertune.c:internal-compiler-error:in-arc_ifcvt-at-config-arc-arc.c | |-- drivers-gpu-drm-amd-amdgpu-..-pm-powerplay-smumgr-smu7_smumgr.c:internal-compiler-error:in-arc_ifcvt-at-config-arc-arc.c | |-- drivers-gpu-drm-amd-amdgpu-..-pm-swsmu-smu13-smu_v13_0.c:internal-compiler-error:in-arc_ifcvt-at-config-arc-arc.c | |-- drivers-gpu-drm-amd-amdgpu-amdgpu_ttm.c:internal-compiler-error:in-arc_ifcvt-at-config-arc-arc.c | |-- drivers-gpu-drm-bridge-cadence-cdns-mhdp8546-hdcp.c:internal-compiler-error:in-arc_ifcvt-at-config-arc-arc.c | |-- drivers-gpu-drm-bridge-ite-it66121.c:internal-compiler-error:in-arc_ifcvt-at-config-arc-arc.c clang_recent_errors |-- arm-randconfig-r024-20220712 | `-- drivers-gpu-drm-tests-drm_mm_test.c:warning:stack-frame-size-()-exceeds-limit-()-in-__igt_reserve |-- s390-randconfig-r044-20220713 | `-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc.c:warning:no-previous-prototype-for-function-dc_reset_state |-- x86_64-randconfig-a001 | `-- drivers-vfio-vfio_iommu_type1.c:warning:cast-to-smaller-integer-type-enum-iommu_cap-from-void |-- x86_64-randconfig-a005 | `-- drivers-vfio-vfio_iommu_type1.c:warning:cast-to-smaller-integer-type-enum-iommu_cap-from-void |-- x86_64-randconfig-a012 | `-- drivers-vfio-vfio_iommu_type1.c:warning:cast-to-smaller-integer-type-enum-iommu_cap-from-void`-- x86_64-randconfig-k001
`-- drivers-vfio-vfio_iommu_type1.c:warning:cast-to-smaller-integer-type-enum-iommu_cap-from-voidelapsed time: 723m
configs tested: 95
configs skipped: 2gcc tested configs:
arm defconfig
arm allyesconfig
arm64 allyesconfig
i386 randconfig-c001
nios2 3c120_defconfig
arm64 alldefconfig
powerpcmakalu_defconfig
shr7785rp_defconfig
armfootbridge_defconfig
armlart_defconfig
armhisi_defconfig
shurquell_defconfig
microblazemmu_defconfig
sparc defconfig
shr7780mp_defconfig
m68kvirt_defconfig
arc alldefconfig
shse7721_defconfig
mipsgpr_defconfig
arcnsimosci_hs_smp_defconfig
sparcsparc32_defconfig
csky defconfigx86_64kexec
sparc allyesconfig
xtensa allyesconfig
riscv allnoconfig
riscvnommu_k210_defconfig
i386 debian-10.3-kselftests
riscvrv32_defconfig
riscvnommu_virt_defconfig
i386 debian-10.3
arm randconfig-c002-20220712x86_64randconfig-c001ia64 allmodconfig alpha allyesconfig m68k allmodconfig arc allyesconfig m68k allyesconfig powerpc allnoconfig mips allyesconfig powerpc allmodconfig sh allmodconfig i386 defconfig i386 allyesconfig x86_64 randconfig-a006 i386 randconfig-a001 i386 randconfig-a003 i386 randconfig-a005 x86_64 randconfig-a013 x86_64 randconfig-a011 x86_64 randconfig-a015 i386 randconfig-a012 i386 randconfig-a016 i386 randconfig-a014 arc randconfig-r043-20220712 riscv randconfig-r042-20220712 s390 randconfig-r044-20220712 arc randconfig-r043-20220713
x86_64randconfig-a002x86_64randconfig-a004
umi386_defconfig
umx86_64_defconfigx86_64defconfigx86_64rhel-8.3x86_64allyesconfigx86_64rhel-8.3-funcx86_64rhel-8.3-kunitx86_64rhel-8.3-kselftestsx86_64rhel-8.3-syzclang tested configs:
powerpcakebono_defconfig
mipsip27_defconfig
riscv alldefconfig
armimx_v4_v5_defconfig
armmvebu_v5_defconfig
mipsath79_defconfig
armmagician_defconfigx86_64 randconfig-k001 x86_64 randconfig-a005 i386 randconfig-a002 i386 randconfig-a006 i386 randconfig-a004 x86_64 randconfig-a012 x86_64 randconfig-a014 x86_64 randconfig-a016 i386 randconfig-a013 i386 randconfig-a011 i386 randconfig-a015 hexagon randconfig-r041-20220712 hexagon randconfig-r045-20220712 hexagon randconfig-r045-20220713 riscv randconfig-r042-20220713 hexagon randconfig-r041-20220713 s390 randconfig-r044-20220713
x86_64randconfig-a001x86_64randconfig-a003Signature · 7 lines
0-DAY CI Kernel Test Service https://01.org/lkp _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel at lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernelSignature · 2 lines
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last!
Andrew Morton
maintainerQuoted 16 lines · On Thu, 14 Jul 2022 09:56:19 +0800 kernel test robot <[email protected]> wrote:
lib/maple_tree.c:1522:52: warning: Parameter 'gaps' can be declared with const [constParameter]lib/maple_tree.c:1871:21: warning: Array index 'split' is used before limits check. [arrayIndexThenCheck]lib/maple_tree.c:2033:55: warning: Parameter 'mas' can be declared with const [constParameter]lib/maple_tree.c:2426:8: warning: Redundant initialization for 'r_tmp'. The initialized value is overwritten before it is read. [redundantInitialization]lib/maple_tree.c:2427:8: warning: Redundant initialization for 'l_tmp'. The initialized value is overwritten before it is read. [redundantInitialization]lib/maple_tree.c:3160:22: warning: Found suspicious operator ',' [constStatement]lib/maple_tree.c:3208:11: warning: Size of pointer 'pivs' used instead of size of its data. [pointerSize]lib/maple_tree.c:326:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg]lib/maple_tree.c:4266:15: warning: The if condition is the same as the previous if condition [duplicateCondition]lib/maple_tree.c:4302:23: warning: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition]lib/maple_tree.c:694:59: warning: Parameter 'pivots' can be declared with const [constParameter]lib/test_printf.c:415:11: warning: Local variable 'addr' shadows outer function [shadowFunction]mm/highmem.c:737:13: warning: Uninitialized variable:pam->page[uninitvar]mm/migrate.c:355:53: warning: Parameter 'mapping' can be declared with const [constParameter]mm/migrate.c:875:7: warning: Redundant initialization for 'rc'. The initialized value is overwritten before it is read. [redundantInitialization]mm/mlock.c:230:20: warning: Using pointer that is a temporary. [danglingTemporaryLifetime]
Quoted 8 lines
mm/slab.c:1635:24: warning: Uninitialized variables: slab.__page_flags, slab.__unused_1, slab.freelist, slab.units, slab.__unused_2, slab.__page_refcount [uninitvar]mm/slab.c:3289:7: warning: Redundant assignment of 'objp' to itself. [selfAssignment]mm/slab.c:3509:8: warning: Redundant assignment of 'p[i]' to itself. [selfAssignment]mm/slab.c:405:9: warning: Local variable 'slab_size' shadows outer function [shadowFunction]mm/vmstat.c:1409:53: warning: Parameter 'pos' can be declared with const [constParameter]mm/vmstat.c:1650:68: warning: Parameter 'zone' can be declared with const [constParameter]mm/zsmalloc.c:2019:15: warning: Uninitialized variables: zspage.huge, zspage.fullness, zspage.class, zspage.isolated, zspage.magic, zspage.inuse, zspage.freeobj, zspage.first_page, zspage.lock [uninitvar]mm/zsmalloc.c:2060:16: warning: Local variable 'obj_allocated' shadows outer function [shadowFunction]
urgh, thanks, lots of stuff to go through here.
Liam, I suggest we worry about the mapletree things at a later time ;)
Quoted 27 lines · Andrew Morton
Quoted 16 lines · On Thu, 14 Jul 2022 09:56:19 +0800 kernel test robot <[email protected]> wrote:
lib/maple_tree.c:1522:52: warning: Parameter 'gaps' can be declared with const [constParameter]lib/maple_tree.c:1871:21: warning: Array index 'split' is used before limits check. [arrayIndexThenCheck]lib/maple_tree.c:2033:55: warning: Parameter 'mas' can be declared with const [constParameter]lib/maple_tree.c:2426:8: warning: Redundant initialization for 'r_tmp'. The initialized value is overwritten before it is read. [redundantInitialization]lib/maple_tree.c:2427:8: warning: Redundant initialization for 'l_tmp'. The initialized value is overwritten before it is read. [redundantInitialization]lib/maple_tree.c:3160:22: warning: Found suspicious operator ',' [constStatement]lib/maple_tree.c:3208:11: warning: Size of pointer 'pivs' used instead of size of its data. [pointerSize]lib/maple_tree.c:326:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg]lib/maple_tree.c:4266:15: warning: The if condition is the same as the previous if condition [duplicateCondition]lib/maple_tree.c:4302:23: warning: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition]lib/maple_tree.c:694:59: warning: Parameter 'pivots' can be declared with const [constParameter]lib/test_printf.c:415:11: warning: Local variable 'addr' shadows outer function [shadowFunction]mm/highmem.c:737:13: warning: Uninitialized variable:pam->page[uninitvar]mm/migrate.c:355:53: warning: Parameter 'mapping' can be declared with const [constParameter]mm/migrate.c:875:7: warning: Redundant initialization for 'rc'. The initialized value is overwritten before it is read. [redundantInitialization]mm/mlock.c:230:20: warning: Using pointer that is a temporary. [danglingTemporaryLifetime]Quoted 8 lines
mm/slab.c:1635:24: warning: Uninitialized variables: slab.__page_flags, slab.__unused_1, slab.freelist, slab.units, slab.__unused_2, slab.__page_refcount [uninitvar]mm/slab.c:3289:7: warning: Redundant assignment of 'objp' to itself. [selfAssignment]mm/slab.c:3509:8: warning: Redundant assignment of 'p[i]' to itself. [selfAssignment]mm/slab.c:405:9: warning: Local variable 'slab_size' shadows outer function [shadowFunction]mm/vmstat.c:1409:53: warning: Parameter 'pos' can be declared with const [constParameter]mm/vmstat.c:1650:68: warning: Parameter 'zone' can be declared with const [constParameter]mm/zsmalloc.c:2019:15: warning: Uninitialized variables: zspage.huge, zspage.fullness, zspage.class, zspage.isolated, zspage.magic, zspage.inuse, zspage.freeobj, zspage.first_page, zspage.lock [uninitvar]mm/zsmalloc.c:2060:16: warning: Local variable 'obj_allocated' shadows outer function [shadowFunction]
Quoted 3 lines
urgh, thanks, lots of stuff to go through here.
Liam, I suggest we worry about the mapletree things at a later time ;)
Thanks. I'll dig into them on top of v11, which I just sent out.
Quoted 27 lines · Andrew Morton
Quoted 16 lines · On Thu, 14 Jul 2022 09:56:19 +0800 kernel test robot <[email protected]> wrote:
lib/maple_tree.c:1522:52: warning: Parameter 'gaps' can be declared with const [constParameter]lib/maple_tree.c:1871:21: warning: Array index 'split' is used before limits check. [arrayIndexThenCheck]lib/maple_tree.c:2033:55: warning: Parameter 'mas' can be declared with const [constParameter]lib/maple_tree.c:2426:8: warning: Redundant initialization for 'r_tmp'. The initialized value is overwritten before it is read. [redundantInitialization]lib/maple_tree.c:2427:8: warning: Redundant initialization for 'l_tmp'. The initialized value is overwritten before it is read. [redundantInitialization]lib/maple_tree.c:3160:22: warning: Found suspicious operator ',' [constStatement]lib/maple_tree.c:3208:11: warning: Size of pointer 'pivs' used instead of size of its data. [pointerSize]lib/maple_tree.c:326:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg]lib/maple_tree.c:4266:15: warning: The if condition is the same as the previous if condition [duplicateCondition]lib/maple_tree.c:4302:23: warning: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition]lib/maple_tree.c:694:59: warning: Parameter 'pivots' can be declared with const [constParameter]lib/test_printf.c:415:11: warning: Local variable 'addr' shadows outer function [shadowFunction]mm/highmem.c:737:13: warning: Uninitialized variable:pam->page[uninitvar]mm/migrate.c:355:53: warning: Parameter 'mapping' can be declared with const [constParameter]mm/migrate.c:875:7: warning: Redundant initialization for 'rc'. The initialized value is overwritten before it is read. [redundantInitialization]mm/mlock.c:230:20: warning: Using pointer that is a temporary. [danglingTemporaryLifetime]Quoted 8 lines
mm/slab.c:1635:24: warning: Uninitialized variables: slab.__page_flags, slab.__unused_1, slab.freelist, slab.units, slab.__unused_2, slab.__page_refcount [uninitvar]mm/slab.c:3289:7: warning: Redundant assignment of 'objp' to itself. [selfAssignment]mm/slab.c:3509:8: warning: Redundant assignment of 'p[i]' to itself. [selfAssignment]mm/slab.c:405:9: warning: Local variable 'slab_size' shadows outer function [shadowFunction]mm/vmstat.c:1409:53: warning: Parameter 'pos' can be declared with const [constParameter]mm/vmstat.c:1650:68: warning: Parameter 'zone' can be declared with const [constParameter]mm/zsmalloc.c:2019:15: warning: Uninitialized variables: zspage.huge, zspage.fullness, zspage.class, zspage.isolated, zspage.magic, zspage.inuse, zspage.freeobj, zspage.first_page, zspage.lock [uninitvar]mm/zsmalloc.c:2060:16: warning: Local variable 'obj_allocated' shadows outer function [shadowFunction]
Quoted 3 lines
urgh, thanks, lots of stuff to go through here.
Liam, I suggest we worry about the mapletree things at a later time ;)
I'm not sure where we stand with all that goings on here with an rc8 and the concerns raised by Hugh, but I can produce a fix for these issues if you'd like?
Hi Dario,
did you see this build regression too?
Quoted 4 lines · kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master branch HEAD:
4662b7adea50bb62e993a67f611f3be625d3df0dAdd linux-next specific files for 20220713Error/Warning reports:
(..)
Quoted 3 lines
drivers/net/can/slcan/slcan-core.c:601:14: sparse: void *drivers/net/can/slcan/slcan-core.c:601:14: sparse: void [noderef]__rcu*drivers/net/can/slcan/slcan-core.c:601:14: sparse: sparse: incompatible types in comparison expression (different address spaces):
Do you take care on this one?
Best regards,
Oliver
Hi Oliver,
Quoted 5 lines · Oliver Hartkopp
Hi Dario,
did you see this build regression too?
Quoted 12 lines
Quoted 4 lines · kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master branch HEAD:
4662b7adea50bb62e993a67f611f3be625d3df0dAdd linux-next specific files for 20220713Error/Warning reports:
(..)
Quoted 3 lines
drivers/net/can/slcan/slcan-core.c:601:14: sparse: void *drivers/net/can/slcan/slcan-core.c:601:14: sparse: void [noderef]__rcu*drivers/net/can/slcan/slcan-core.c:601:14: sparse: sparse: incompatible types in comparison expression (different address spaces):
IMHO I think that adding '__rcu' annotation would remove the warning:
include/linux/tty.h +1 -1
@@ -239,7 +239,7 @@ struct tty_struct {wait_queue_head_t write_wait;wait_queue_head_t read_wait;struct work_struct hangup_work; -void *disc_data; +void __rcu *disc_data;void *driver_data;spinlock_t files_lock;struct list_head tty_files;
But in the paragraph "SPARSE CHECKING OF RCU-PROTECTED POINTERS" of Documentation/RCU/rcu_dereference.rst
we read:
...
Unfortunately, these sorts of bugs can be extremely hard to spot during review. This is where the sparse tool comes into play, along with the "__rcu" marker. If you mark a pointer declaration, whether in a structure or as a formal parameter, with "__rcu", which tells sparse to complain if this pointer is accessed directly. It will also cause sparse to complain if a pointer not marked with "__rcu" is accessed using rcu_dereference() and friends.
...
Use of "__rcu" is opt-in. If you choose not to use it, then you should ignore the sparse warnings.
...
So, I think that by adding the '__rcu' annotation we would have new warnings in all those points
where disc_data is accessed directly (which are many more than those where rcu_dereference() is used).
If I'm not mistaken, the warning also refers to code that my series hasn't touched. Also, in the 'BUILD REGRESSION'
report, the slcan warning is found under the 'Unverified Error / Warning (likely false positive, please contact us if interested)' section.
So, can it be okay to think about leaving everything as it is, and then not apply any patches to remove this warning?
Thanks and regards,
Dario
Quoted 6 lines
Do you take care on this one?
Best regards,
Oliver
Signature · 17 lines
Dario Binacchi Embedded Linux Developer [email protected] __________________________________ Amarula Solutions SRL Via Le Canevare 30, 31100 Treviso, Veneto, IT T. +39 042 243 5310 [email protected] www.amarulasolutions.com
Hi Dario,
Quoted 53 lines · Dario Binacchi
Hi Oliver,
Quoted 5 lines · Oliver Hartkopp
Hi Dario,
did you see this build regression too?
Quoted 12 lines
Quoted 4 lines · kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master branch HEAD:
4662b7adea50bb62e993a67f611f3be625d3df0dAdd linux-next specific files for 20220713Error/Warning reports:
(..)
Quoted 3 lines
drivers/net/can/slcan/slcan-core.c:601:14: sparse: void *drivers/net/can/slcan/slcan-core.c:601:14: sparse: void [noderef]__rcu*drivers/net/can/slcan/slcan-core.c:601:14: sparse: sparse: incompatible types in comparison expression (different address spaces):IMHO I think that adding '
__rcu' annotation would remove the warning:include/linux/tty.h +1
-1@@ -239,7 +239,7 @@ struct tty_struct {wait_queue_head_t write_wait;wait_queue_head_t read_wait;struct work_struct hangup_work; -void *disc_data; +void __rcu *disc_data;void *driver_data;spinlock_t files_lock;struct list_head tty_files;But in the paragraph "SPARSE CHECKING OF RCU-PROTECTED POINTERS" of
Documentation/RCU/rcu_dereference.rst
we read:
...
Unfortunately, these sorts of bugs can be extremely hard to spot during review. This is where the sparse tool comes into play, along with the "__rcu" marker. If you mark a pointer declaration, whether in a structure or as a formal parameter, with "__rcu", which tells sparse to complain if this pointer is accessed directly. It will also cause sparse to complain if a pointer not marked with "__rcu" is accessed usingrcu_dereference()and friends.
...
Use of "__rcu" is opt-in. If you choose not to use it, then you should ignore the sparse warnings.
...
Quoted 7 lines
So, I think that by adding the '
__rcu' annotation we would have new warnings in all those points
wheredisc_datais accessed directly (which are many more than those wherercu_dereference()is used).If I'm not mistaken, the warning also refers to code that my series hasn't touched. Also, in the 'BUILD REGRESSION'
Oh, I didn't check that myself.
So some old code just came into focus :-/
Quoted 6 lines
report, the slcan warning is found under the 'Unverified Error / Warning (likely false positive, please contact us if interested)' section.
So, can it be okay to think about leaving everything as it is, and then not apply any patches to remove this warning?
Yes. With this this background leaving the code as-is seems to be appropriate too. Thanks for the explanation!
Maybe Marc has another opinion. So let's wait for his feedback ...
Best regards,
Oliver
Quoted 13 lines
Thanks and regards,
DarioQuoted 6 lines
Do you take care on this one?
Best regards,
Oliver
Marc Kleine-Budde
maintainerQuoted 72 lines · Oliver Hartkopp
Hi Dario,
Quoted 53 lines · Dario Binacchi
Hi Oliver,
Quoted 5 lines · Oliver Hartkopp
Hi Dario,
did you see this build regression too?
Quoted 12 lines
Quoted 4 lines · kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master branch HEAD:
4662b7adea50bb62e993a67f611f3be625d3df0dAdd linux-next specific files for 20220713Error/Warning reports:
(..)
Quoted 3 lines
drivers/net/can/slcan/slcan-core.c:601:14: sparse: void *drivers/net/can/slcan/slcan-core.c:601:14: sparse: void [noderef]__rcu*drivers/net/can/slcan/slcan-core.c:601:14: sparse: sparse: incompatible types in comparison expression (different address spaces):IMHO I think that adding '
__rcu' annotation would remove the warning:include/linux/tty.h +1
-1@@ -239,7 +239,7 @@ struct tty_struct {wait_queue_head_t write_wait;wait_queue_head_t read_wait;struct work_struct hangup_work; -void *disc_data; +void __rcu *disc_data;void *driver_data;spinlock_t files_lock;struct list_head tty_files;But in the paragraph "SPARSE CHECKING OF RCU-PROTECTED POINTERS" of
Documentation/RCU/rcu_dereference.rst
we read:
...
Unfortunately, these sorts of bugs can be extremely hard to spot during review. This is where the sparse tool comes into play, along with the "__rcu" marker. If you mark a pointer declaration, whether in a structure or as a formal parameter, with "__rcu", which tells sparse to complain if this pointer is accessed directly. It will also cause sparse to complain if a pointer not marked with "__rcu" is accessed usingrcu_dereference()and friends.
...
Use of "__rcu" is opt-in. If you choose not to use it, then you should ignore the sparse warnings.
...Quoted 7 lines
So, I think that by adding the '
__rcu' annotation we would have new warnings in all those points
wheredisc_datais accessed directly (which are many more than those wherercu_dereference()is used).If I'm not mistaken, the warning also refers to code that my series hasn't touched. Also, in the 'BUILD REGRESSION'
Oh, I didn't check that myself.
So some old code just came into focus :-/
Quoted 4 lines
report, the slcan warning is found under the 'Unverified Error / Warning (likely false positive, please contact us if interested)' section.
Quoted 7 lines
Quoted 2 lines
So, can it be okay to think about leaving everything as it is, and then not apply any patches to remove this warning?
Yes. With this this background leaving the code as-is seems to be appropriate too. Thanks for the explanation!
Maybe Marc has another opinion. So let's wait for his feedback ...
This is not a regression, so leave as is for now.
regards,
Marc
Signature · 4 lines
Pengutronix e.K. | Marc Kleine-Budde | Embedded Linux | https://www.pengutronix.de | Vertretung West/Dortmund | Phone: +49-231-2826-924 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |