Skip to contentSkip to conversation

BUILD REGRESSION 4ca786ae6681b90b0ec3f4c55c89d12f835f8944

linux-next:master kernel test robot 3 participants 3 messages Oct 18, 2022

Subsystems (3)
lore
Share & tools
lore

kernel test robot

author build bot
#0 lore raw

tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master branch HEAD: 4ca786ae6681b90b0ec3f4c55c89d12f835f8944 Add linux-next specific files for 20221018

Error/Warning reports:

https://lore.kernel.org/linux-doc/[email protected]
https://lore.kernel.org/linux-mm/[email protected]
https://lore.kernel.org/linux-mm/[email protected]
https://lore.kernel.org/linux-mm/[email protected]
https://lore.kernel.org/llvm/[email protected]

Error/Warning: (recently discovered and may have been fixed)

ERROR: modpost: "devm_ioremap_resource" [drivers/dma/idma64.ko] undefined!
ERROR: modpost: "devm_ioremap_resource" [drivers/dma/qcom/hdma.ko] undefined!
Warning: MAINTAINERS references a file that doesn't exist: Documentation/devicetree/bindings/mtd/amlogic,meson-nand.txt arch/arm64/kernel/alternative.c:199:6: warning: no previous prototype for 'apply_alternatives_vdso' [-Wmissing-prototypes] arch/arm64/kernel/alternative.c:295:14: warning: no previous prototype for 'alt_cb_patch_nops' [-Wmissing-prototypes] fs/ext4/super.c:1744:19: warning: 'deprecated_msg' defined but not used [-Wunused-const-variable=]
grep: smatch_trinity_*: No such file or directory
mm/mmap.c:802 __vma_adjust() error: uninitialized symbol 'next_next'.

Error/Warning ids grouped by kconfigs:

gcc_recent_errors

|-- arm64-alldefconfig
|   |-- arch-arm64-kernel-alternative.c:warning:no-previous-prototype-for-alt_cb_patch_nops
|   `-- arch-arm64-kernel-alternative.c:warning:no-previous-prototype-for-apply_alternatives_vdso
|-- arm64-allyesconfig
|   |-- arch-arm64-kernel-alternative.c:warning:no-previous-prototype-for-alt_cb_patch_nops
|   `-- arch-arm64-kernel-alternative.c:warning:no-previous-prototype-for-apply_alternatives_vdso
|-- arm64-randconfig-c034-20221018
|   |-- arch-arm64-kernel-alternative.c:warning:no-previous-prototype-for-alt_cb_patch_nops
|   `-- arch-arm64-kernel-alternative.c:warning:no-previous-prototype-for-apply_alternatives_vdso
|-- i386-allyesconfig
|   `-- fs-ext4-super.c:warning:deprecated_msg-defined-but-not-used
|-- i386-defconfig
|   `-- fs-ext4-super.c:warning:deprecated_msg-defined-but-not-used
|-- i386-randconfig-a003-20221017
|   `-- fs-ext4-super.c:warning:deprecated_msg-defined-but-not-used
|-- loongarch-randconfig-s053-20221018
|   |-- fs-ext4-fast_commit.c:sparse:sparse:incorrect-type-in-argument-(different-base-types)-expected-int-priv1-got-restricted-__le16-addressable-usertype-fc_len
|   |-- fs-ext4-fast_commit.c:sparse:sparse:incorrect-type-in-argument-(different-base-types)-expected-int-tag-got-restricted-__le16-addressable-usertype-fc_tag
|   |-- fs-ext4-fast_commit.c:sparse:sparse:incorrect-type-in-argument-(different-base-types)-expected-unsigned-short-usertype-tag-got-restricted-__le16-addressable-usertype-fc_tag
|   |-- fs-ext4-fast_commit.c:sparse:sparse:incorrect-type-in-assignment-(different-base-types)-expected-restricted-__le16-usertype-fc_len-got-unsigned-short-usertype
|   |-- fs-ext4-fast_commit.c:sparse:sparse:incorrect-type-in-assignment-(different-base-types)-expected-restricted-__le16-usertype-fc_tag-got-unsigned-short-usertype
|   |-- fs-ext4-fast_commit.c:sparse:sparse:incorrect-type-in-initializer-(different-base-types)-expected-int-tag-got-restricted-__le16-usertype-fc_tag
|   |-- fs-ext4-fast_commit.c:sparse:sparse:restricted-__le16-degrades-to-integer
|   |-- fs-ntfs3-index.c:sparse:sparse:restricted-__le32-degrades-to-integer
|   |-- fs-ntfs3-namei.c:sparse:sparse:incorrect-type-in-argument-(different-base-types)-expected-restricted-__le16-const-usertype-s1-got-unsigned-short
|   `-- fs-ntfs3-namei.c:sparse:sparse:incorrect-type-in-argument-(different-base-types)-expected-restricted-__le16-const-usertype-s2-got-unsigned-short
|-- microblaze-randconfig-s031-20221018
|   |-- fs-ext4-fast_commit.c:sparse:sparse:incorrect-type-in-argument-(different-base-types)-expected-int-priv1-got-restricted-__le16-addressable-usertype-fc_len
|   |-- fs-ext4-fast_commit.c:sparse:sparse:incorrect-type-in-argument-(different-base-types)-expected-int-tag-got-restricted-__le16-addressable-usertype-fc_tag
|   |-- fs-ext4-fast_commit.c:sparse:sparse:incorrect-type-in-argument-(different-base-types)-expected-unsigned-short-usertype-tag-got-restricted-__le16-addressable-usertype-fc_tag
|   |-- fs-ext4-fast_commit.c:sparse:sparse:incorrect-type-in-assignment-(different-base-types)-expected-restricted-__le16-usertype-fc_len-got-unsigned-short-usertype
|   |-- fs-ext4-fast_commit.c:sparse:sparse:incorrect-type-in-assignment-(different-base-types)-expected-restricted-__le16-usertype-fc_tag-got-unsigned-short-usertype
|   |-- fs-ext4-fast_commit.c:sparse:sparse:incorrect-type-in-initializer-(different-base-types)-expected-int-tag-got-restricted-__le16-usertype-fc_tag
|   |-- fs-ext4-fast_commit.c:sparse:sparse:restricted-__le16-degrades-to-integer
|   |-- fs-ntfs3-index.c:sparse:sparse:restricted-__le32-degrades-to-integer
|   |-- fs-ntfs3-namei.c:sparse:sparse:incorrect-type-in-argument-(different-base-types)-expected-restricted-__le16-const-usertype-s1-got-unsigned-short
|   `-- fs-ntfs3-namei.c:sparse:sparse:incorrect-type-in-argument-(different-base-types)-expected-restricted-__le16-const-usertype-s2-got-unsigned-short
|-- nios2-randconfig-m041-20221018
|   |-- grep:smatch_trinity_:No-such-file-or-directory
|   `-- mm-mmap.c-__vma_adjust()-error:uninitialized-symbol-next_next-.
|-- nios2-randconfig-s051-20221018
|   |-- fs-ext4-fast_commit.c:sparse:sparse:incorrect-type-in-argument-(different-base-types)-expected-int-priv1-got-restricted-__le16-addressable-usertype-fc_len
|   |-- fs-ext4-fast_commit.c:sparse:sparse:incorrect-type-in-argument-(different-base-types)-expected-int-tag-got-restricted-__le16-addressable-usertype-fc_tag
|   |-- fs-ext4-fast_commit.c:sparse:sparse:incorrect-type-in-argument-(different-base-types)-expected-unsigned-short-usertype-tag-got-restricted-__le16-addressable-usertype-fc_tag
|   |-- fs-ext4-fast_commit.c:sparse:sparse:incorrect-type-in-assignment-(different-base-types)-expected-restricted-__le16-usertype-fc_len-got-unsigned-short-usertype
|   |-- fs-ext4-fast_commit.c:sparse:sparse:incorrect-type-in-assignment-(different-base-types)-expected-restricted-__le16-usertype-fc_tag-got-unsigned-short-usertype
|   |-- fs-ext4-fast_commit.c:sparse:sparse:incorrect-type-in-initializer-(different-base-types)-expected-int-tag-got-restricted-__le16-usertype-fc_tag
|   |-- fs-ext4-fast_commit.c:sparse:sparse:restricted-__le16-degrades-to-integer
|   |-- fs-ntfs3-index.c:sparse:sparse:restricted-__le32-degrades-to-integer
|   |-- fs-ntfs3-namei.c:sparse:sparse:incorrect-type-in-argument-(different-base-types)-expected-restricted-__le16-const-usertype-s1-got-unsigned-short
clang_recent_errors
|-- arm64-randconfig-r011-20221017
|   `-- fs-ext4-super.c:warning:unused-variable-deprecated_msg
|-- arm64-randconfig-r024-20221017
|   `-- fs-ntfs3-namei.c:warning:variable-uni1-is-used-uninitialized-whenever-if-condition-is-true
|-- hexagon-randconfig-r023-20221017
|   |-- fs-ext4-super.c:warning:unused-variable-deprecated_msg
|   `-- fs-ntfs3-namei.c:warning:variable-uni1-is-used-uninitialized-whenever-if-condition-is-true
|-- hexagon-randconfig-r041-20221017
|   |-- fs-ext4-super.c:warning:unused-variable-deprecated_msg
|   |-- fs-jfs-jfs_dmap.c:warning:result-of-comparison-of-constant-with-expression-of-type-int-is-always-false
|   `-- fs-ntfs3-namei.c:warning:variable-uni1-is-used-uninitialized-whenever-if-condition-is-true
|-- i386-randconfig-a013-20221017
|   `-- fs-ext4-super.c:warning:unused-variable-deprecated_msg
|-- i386-randconfig-a014-20221017
|   |-- fs-ext4-super.c:warning:unused-variable-deprecated_msg
|   |-- fs-jfs-jfs_dmap.c:warning:result-of-comparison-of-constant-with-expression-of-type-int-is-always-false
|   `-- fs-ntfs3-namei.c:warning:variable-uni1-is-used-uninitialized-whenever-if-condition-is-true
|-- i386-randconfig-a016-20221017
|   `-- fs-ext4-super.c:warning:unused-variable-deprecated_msg
|-- mips-randconfig-r005-20221017
|   |-- fs-ext4-super.c:warning:unused-variable-deprecated_msg
|   |-- fs-jfs-jfs_dmap.c:warning:result-of-comparison-of-constant-with-expression-of-type-int-is-always-false
|   `-- fs-ntfs3-namei.c:warning:variable-uni1-is-used-uninitialized-whenever-if-condition-is-true
|-- powerpc-akebono_defconfig
|   `-- fs-ext4-super.c:warning:unused-variable-deprecated_msg
|-- powerpc-powernv_defconfig
|   |-- fs-ext4-super.c:warning:unused-variable-deprecated_msg
|   `-- fs-jfs-jfs_dmap.c:warning:result-of-comparison-of-constant-with-expression-of-type-int-is-always-false
|-- powerpc-randconfig-r015-20221017
|   `-- fs-ext4-super.c:warning:unused-variable-deprecated_msg
|-- riscv-randconfig-r042-20221017
|   |-- fs-ext4-super.c:warning:unused-variable-deprecated_msg
|   `-- fs-jfs-jfs_dmap.c:warning:result-of-comparison-of-constant-with-expression-of-type-int-is-always-false
|-- riscv-rv32_defconfig
|   `-- fs-ext4-super.c:warning:unused-variable-deprecated_msg
|-- s390-randconfig-r044-20221017
|   |-- fs-ext4-super.c:warning:unused-variable-deprecated_msg
|   `-- fs-ntfs3-namei.c:warning:variable-uni1-is-used-uninitialized-whenever-if-condition-is-true
|-- x86_64-randconfig-a011-20221017
|   |-- fs-ext4-super.c:warning:unused-variable-deprecated_msg
|   `-- fs-jfs-jfs_dmap.c:warning:result-of-comparison-of-constant-with-expression-of-type-int-is-always-false
|-- x86_64-randconfig-a012-20221017
|   `-- fs-ext4-super.c:warning:unused-variable-deprecated_msg
|-- x86_64-randconfig-a016-20221017
|   |-- fs-ext4-super.c:warning:unused-variable-deprecated_msg
|   `-- fs-ntfs3-namei.c:warning:variable-uni1-is-used-uninitialized-whenever-if-condition-is-true

`-- x86_64-rhel-8.3-rust
`-- fs-ext4-super.c:warning:unused-variable-deprecated_msg

elapsed time: 727m

configs tested: 78
configs skipped: 3

gcc tested configs:
um i386_defconfig
i386 defconfig
um x86_64_defconfig
x86_64 defconfig
x86_64 rhel-8.3
arm defconfig
i386 allyesconfig
x86_64 randconfig-a002-20221017
x86_64 allyesconfig

x86_64               randconfig-a003-20221017
i386                 randconfig-a004-20221017
x86_64               randconfig-a004-20221017

x86_64 rhel-8.3-func
arm64 allyesconfig
x86_64 randconfig-a001-20221017
arm allyesconfig
x86_64 rhel-8.3-kselftests
i386 randconfig-a001-20221017
x86_64 randconfig-a006-20221017
arc defconfig
x86_64 randconfig-a005-20221017
powerpc allnoconfig
i386 randconfig-a006-20221017
s390 allmodconfig
i386 randconfig-a002-20221017
alpha defconfig
arc randconfig-r043-20221017
i386 randconfig-a003-20221017
x86_64 rhel-8.3-syz
s390 defconfig
i386 randconfig-a005-20221017
x86_64 rhel-8.3-kunit

alpha                            allyesconfig
sh                               allmodconfig
s390                             allyesconfig
x86_64                           rhel-8.3-kvm
mips                             allyesconfig
arc                              allyesconfig
powerpc                          allmodconfig
m68k                             allyesconfig
m68k                             allmodconfig
ia64                             allmodconfig

arm pleb_defconfig
microblaze defconfig
arm exynos_defconfig
arm clps711x_defconfig
arm sama5_defconfig
arc nsim_700_defconfig
arm64 alldefconfig
mips jazz_defconfig
mips maltasmvp_eva_defconfig
arc nsimosci_defconfig

arm                         lpc18xx_defconfig
sh                          rsk7264_defconfig
powerpc                     asp8347_defconfig

sh shx3_defconfig

clang tested configs:

hexagon              randconfig-r045-20221017
hexagon              randconfig-r041-20221017
x86_64               randconfig-a013-20221017
x86_64               randconfig-a014-20221017
i386                 randconfig-a011-20221017
x86_64               randconfig-a012-20221017
i386                 randconfig-a013-20221017
riscv                randconfig-r042-20221017
x86_64               randconfig-a015-20221017
i386                 randconfig-a012-20221017
x86_64               randconfig-a016-20221017
i386                 randconfig-a014-20221017
s390                 randconfig-r044-20221017
x86_64               randconfig-a011-20221017
i386                 randconfig-a016-20221017
i386                 randconfig-a015-20221017

x86_64 rhel-8.3-rust
hexagon alldefconfig
powerpc mpc885_ads_defconfig
powerpc akebono_defconfig
powerpc powernv_defconfig
riscv rv32_defconfig

Signature · 2 lines
0-DAY CI Kernel Test Service
https://01.org/lkp
maintainer
#1 lore raw
Quoted 7 lines · On Tue, 18 Oct 2022 23:45:39 +0800 kernel test robot <[email protected]> wrote:

tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master branch HEAD: 4ca786ae6681b90b0ec3f4c55c89d12f835f8944 Add linux-next specific files for 20221018

...

mm/mmap.c:802 __vma_adjust() error: uninitialized symbol 'next_next'.

The code's OK but I guess we should make this warning go away.

mm/mmap.c renamed from mm/mmap.c~a +2 -1
@@ -618,7 +618,8 @@ int __vma_adjust(struct vm_area_struct *
 	struct vm_area_struct *expand)
 {
 	struct mm_struct *mm = vma->vm_mm;
-	struct vm_area_struct *next_next, *next = find_vma(mm, vma->vm_end);
+	struct vm_area_struct *next_next = NULL;	/* uninit var warning */
+	struct vm_area_struct *next = find_vma(mm, vma->vm_end);
 	struct vm_area_struct *orig_vma = vma;
 	struct address_space *mapping = NULL;
 	struct rb_root_cached *root = NULL;

_

#2 lore raw
Quoted 11 lines · Andrew Morton
Quoted 7 lines · On Tue, 18 Oct 2022 23:45:39 +0800 kernel test robot <[email protected]> wrote:

tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master branch HEAD: 4ca786ae6681b90b0ec3f4c55c89d12f835f8944 Add linux-next specific files for 20221018

...

mm/mmap.c:802 __vma_adjust() error: uninitialized symbol 'next_next'.

The code's OK but I guess we should make this warning go away.

Agreed. It took a while to understand that this was a suggested way of fixing it and not the issue itself. I'll send out something shortly.

Quoted 16 lines
mm/mmap.c renamed from mm/mmap.c~a +2 -1
@@ -618,7 +618,8 @@ int __vma_adjust(struct vm_area_struct *
 	struct vm_area_struct *expand)
 {
 	struct mm_struct *mm = vma->vm_mm;
-	struct vm_area_struct *next_next, *next = find_vma(mm, vma->vm_end);
+	struct vm_area_struct *next_next = NULL;	/* uninit var warning */
+	struct vm_area_struct *next = find_vma(mm, vma->vm_end);
 	struct vm_area_struct *orig_vma = vma;
 	struct address_space *mapping = NULL;
 	struct rb_root_cached *root = NULL;

_