[linux-next:master] BUILD REGRESSION d514392f17fd4d386cfadde7f849d97db4ca1fb0

Nhat Pham nphamcs at gmail.com
Mon Jan 23 18:02:54 PST 2023


On Fri, Jan 20, 2023 at 9:14 AM kernel test robot <lkp at intel.com> wrote:
>
> tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
> branch HEAD: d514392f17fd4d386cfadde7f849d97db4ca1fb0  Add linux-next specific files for 20230120
>
> Error/Warning reports:
>
> https://lore.kernel.org/oe-kbuild-all/202301191616.R33Dvxk4-lkp@intel.com
> https://lore.kernel.org/oe-kbuild-all/202301192229.wL7iPJxS-lkp@intel.com
> https://lore.kernel.org/oe-kbuild-all/202301201120.aIaz7dT4-lkp@intel.com
> https://lore.kernel.org/oe-kbuild-all/202301202042.herfGxx6-lkp@intel.com
>
> Error/Warning: (recently discovered and may have been fixed)
>
> Documentation/virt/kvm/api.rst:5070: WARNING: Unexpected indentation.
> drivers/gpu/drm/amd/amdgpu/../display/dc/link/link_dp_training.c:1585:38: warning: variable 'result' set but not used [-Wunused-but-set-variable]
> drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c:5253:24: sparse:    left side has type restricted __le16
> drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c:5253:24: sparse:    right side has type restricted __le32
> idma64.c:(.text+0x6a): undefined reference to `devm_platform_ioremap_resource'
>
> Unverified Error/Warning (likely false positive, please contact us if interested):
>
> drivers/net/dsa/microchip/ksz_ptp.c:217 ksz_ptp_clock_register() warn: passing zero to 'PTR_ERR'
> drivers/nvmem/imx-ocotp.c:599:21: sparse: sparse: symbol 'imx_ocotp_layout' was not declared. Should it be static?
> drivers/nvmem/layouts/sl28vpd.c:143:21: sparse: sparse: symbol 'sl28vpd_layout' was not declared. Should it be static?
> mm/hugetlb.c:3101 alloc_hugetlb_folio() error: uninitialized symbol 'h_cg'.
> mm/zsmalloc.c:900:20: warning: unused function 'obj_allocated' [-Wunused-function]

This bug was detected and fix by Arnd Bergmann:

https://lore.kernel.org/lkml/CAKEwX=OTpY9Wg6YPfADDqeu7FFzciY9o_nNE5dRR3cu_-2ntaw@mail.gmail.com/T/

It is triggered when neither CONFIG_ZPOOL nor CONFIG_COMPACTION is set.

> sound/soc/sof/sof-audio.c:329 sof_prepare_widgets_in_path() error: we previously assumed 'swidget' could be null (see line 306)
>
> Error/Warning ids grouped by kconfigs:
>
> gcc_recent_errors
> |-- alpha-allyesconfig
> |   `-- drivers-gpu-drm-amd-amdgpu-..-display-dc-link-link_dp_training.c:warning:variable-result-set-but-not-used
> |-- arc-allyesconfig
> |   `-- drivers-gpu-drm-amd-amdgpu-..-display-dc-link-link_dp_training.c:warning:variable-result-set-but-not-used
> |-- arm-allyesconfig
> |   `-- drivers-gpu-drm-amd-amdgpu-..-display-dc-link-link_dp_training.c:warning:variable-result-set-but-not-used
> |-- arm-randconfig-s032-20230119
> |   `-- drivers-nvmem-imx-ocotp.c:sparse:sparse:symbol-imx_ocotp_layout-was-not-declared.-Should-it-be-static
> |-- arm64-allyesconfig
> |   `-- drivers-gpu-drm-amd-amdgpu-..-display-dc-link-link_dp_training.c:warning:variable-result-set-but-not-used
> |-- csky-randconfig-m041-20230119
> |   |-- drivers-net-dsa-microchip-ksz_ptp.c-ksz_ptp_clock_register()-warn:passing-zero-to-PTR_ERR
> |   `-- sound-soc-sof-sof-audio.c-sof_prepare_widgets_in_path()-error:we-previously-assumed-swidget-could-be-null-(see-line-)
> |-- csky-randconfig-r025-20230119
> |   `-- drivers-gpu-drm-amd-amdgpu-..-display-dc-link-link_dp_training.c:warning:variable-result-set-but-not-used
> |-- csky-randconfig-s043-20230119
> |   |-- drivers-net-wireless-realtek-rtl8xxxu-rtl8xxxu_core.c:sparse:left-side-has-type-restricted-__le16
> |   |-- drivers-net-wireless-realtek-rtl8xxxu-rtl8xxxu_core.c:sparse:right-side-has-type-restricted-__le32
> |   `-- drivers-net-wireless-realtek-rtl8xxxu-rtl8xxxu_core.c:sparse:sparse:invalid-assignment:
> |-- i386-allyesconfig
> |   `-- drivers-gpu-drm-amd-amdgpu-..-display-dc-link-link_dp_training.c:warning:variable-result-set-but-not-used
> |-- ia64-allmodconfig
> |   `-- drivers-gpu-drm-amd-amdgpu-..-display-dc-link-link_dp_training.c:warning:variable-result-set-but-not-used
> |-- ia64-randconfig-c033-20230119
> |   `-- drivers-net-ethernet-microchip-vcap-vcap_api.c:WARNING-opportunity-for-kmemdup
> |-- ia64-randconfig-s052-20230119
> |   `-- drivers-nvmem-imx-ocotp.c:sparse:sparse:symbol-imx_ocotp_layout-was-not-declared.-Should-it-be-static
> |-- loongarch-randconfig-r024-20230119
> |   `-- drivers-gpu-drm-amd-amdgpu-..-display-dc-link-link_dp_training.c:warning:variable-result-set-but-not-used
> |-- loongarch-randconfig-s042-20230119
> |   `-- drivers-nvmem-layouts-sl28vpd.c:sparse:sparse:symbol-sl28vpd_layout-was-not-declared.-Should-it-be-static
> |-- m68k-randconfig-c004-20230119
> |   `-- drivers-gpu-drm-amd-amdgpu-..-display-dc-link-link_dp_training.c:warning:variable-result-set-but-not-used
> |-- mips-allyesconfig
> |   `-- drivers-gpu-drm-amd-amdgpu-..-display-dc-link-link_dp_training.c:warning:variable-result-set-but-not-used
> |-- openrisc-randconfig-s033-20230119
> |   `-- drivers-nvmem-imx-ocotp.c:sparse:sparse:symbol-imx_ocotp_layout-was-not-declared.-Should-it-be-static
> |-- powerpc-allmodconfig
> |   `-- drivers-gpu-drm-amd-amdgpu-..-display-dc-link-link_dp_training.c:warning:variable-result-set-but-not-used
> |-- riscv-randconfig-s041-20230119
> |   `-- drivers-nvmem-imx-ocotp.c:sparse:sparse:symbol-imx_ocotp_layout-was-not-declared.-Should-it-be-static
> |-- s390-allyesconfig
> |   `-- drivers-gpu-drm-amd-amdgpu-..-display-dc-link-link_dp_training.c:warning:variable-result-set-but-not-used
> |-- sparc-allyesconfig
> |   `-- drivers-gpu-drm-amd-amdgpu-..-display-dc-link-link_dp_training.c:warning:variable-result-set-but-not-used
> |-- x86_64-allnoconfig
> |   `-- Documentation-virt-kvm-api.rst:WARNING:Unexpected-indentation.
> |-- x86_64-allyesconfig
> |   `-- drivers-gpu-drm-amd-amdgpu-..-display-dc-link-link_dp_training.c:warning:variable-result-set-but-not-used
> `-- x86_64-randconfig-m001
> clang_recent_errors
> |-- s390-randconfig-r044-20230119
> |   `-- idma64.c:(.text):undefined-reference-to-devm_platform_ioremap_resource
> `-- x86_64-randconfig-a012
>     `-- mm-zsmalloc.c:warning:unused-function-obj_allocated
>
> elapsed time: 882m
>
> configs tested: 79
> configs skipped: 3
>
> gcc tested configs:
> x86_64                            allnoconfig
> um                             i386_defconfig
> i386                                defconfig
> um                           x86_64_defconfig
> x86_64                              defconfig
> x86_64                               rhel-8.3
> arc                                 defconfig
> alpha                               defconfig
> arm                                 defconfig
> i386                          randconfig-a001
> x86_64                          rhel-8.3-func
> m68k                             allyesconfig
> x86_64                           rhel-8.3-syz
> x86_64                    rhel-8.3-kselftests
> x86_64                           allyesconfig
> powerpc                           allnoconfig
> x86_64                         rhel-8.3-kunit
> ia64                             allmodconfig
> arm                  randconfig-r046-20230119
> x86_64                        randconfig-a002
> arm                              allyesconfig
> arc                  randconfig-r043-20230119
> m68k                             allmodconfig
> i386                          randconfig-a003
> arc                              allyesconfig
> arm64                            allyesconfig
> alpha                            allyesconfig
> x86_64                           rhel-8.3-kvm
> x86_64                        randconfig-a006
> i386                          randconfig-a005
> x86_64                           rhel-8.3-bpf
> x86_64                        randconfig-a004
> sparc64                          alldefconfig
> riscv                             allnoconfig
> sparc                       sparc32_defconfig
> m68k                          hp300_defconfig
> i386                             allyesconfig
> powerpc                 mpc85xx_cds_defconfig
> parisc                           alldefconfig
> riscv                    nommu_virt_defconfig
> mips                         bigsur_defconfig
> arm                        keystone_defconfig
> sh                   secureedge5410_defconfig
> i386                          randconfig-a014
> riscv                    nommu_k210_defconfig
> s390                                defconfig
> i386                          randconfig-a012
> x86_64                        randconfig-a013
> i386                          randconfig-a016
> riscv                          rv32_defconfig
> s390                             allmodconfig
> sh                               allmodconfig
> i386                   debian-10.3-kselftests
> x86_64                        randconfig-a011
> i386                              debian-10.3
> i386                          randconfig-c001
> mips                             allyesconfig
> x86_64                        randconfig-a015
> s390                             allyesconfig
> powerpc                          allmodconfig
>
> clang tested configs:
> x86_64                          rhel-8.3-rust
> x86_64                        randconfig-a005
> hexagon              randconfig-r045-20230119
> x86_64                        randconfig-a001
> i386                          randconfig-a002
> riscv                randconfig-r042-20230119
> x86_64                        randconfig-a003
> hexagon              randconfig-r041-20230119
> s390                 randconfig-r044-20230119
> i386                          randconfig-a006
> x86_64                        randconfig-k001
> i386                          randconfig-a004
> arm                           omap1_defconfig
> i386                          randconfig-a013
> i386                          randconfig-a011
> i386                          randconfig-a015
> x86_64                        randconfig-a016
> x86_64                        randconfig-a012
> x86_64                        randconfig-a014
>
> --
> 0-DAY CI Kernel Test Service
> https://01.org/lkp
>



More information about the linux-arm-kernel mailing list