* [linux-next:master] BUILD REGRESSION f76698bd9a8ca01d3581236082d786e9a6b72bb7
@ 2024-06-22 23:11 kernel test robot
2024-06-24 19:31 ` Andrew Morton
0 siblings, 1 reply; 3+ messages in thread
From: kernel test robot @ 2024-06-22 23:11 UTC (permalink / raw)
To: Andrew Morton
Cc: Linux Memory Management List, amd-gfx, imx, intel-xe,
linux-arm-kernel, linux-arm-msm, linux-input, linux-mediatek,
linux-mtd, linux-trace-kernel, netdev, Mark Brown
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
branch HEAD: f76698bd9a8ca01d3581236082d786e9a6b72bb7 Add linux-next specific files for 20240621
Error/Warning reports:
https://lore.kernel.org/oe-kbuild-all/202406220536.JnAncjqz-lkp@intel.com
https://lore.kernel.org/oe-kbuild-all/202406220754.evK8Hrjw-lkp@intel.com
Error/Warning: (recently discovered and may have been fixed)
drivers/soc/qcom/smsm.c:(.text.qcom_smsm_remove+0x70): undefined reference to `mbox_free_channel'
Unverified Error/Warning (likely false positive, please contact us if interested):
include/linux/container_of.h:20:54: error: invalid use of undefined type 'struct thpsize'
include/linux/list.h:645:25: error: invalid use of undefined type 'struct thpsize'
include/linux/stddef.h:16:33: error: invalid use of undefined type 'struct thpsize'
mm/huge_memory.c:455:21: error: implicit declaration of function 'to_thpsize'; did you mean 'thp_size'? [-Werror=implicit-function-declaration]
mm/huge_memory.c:455:37: error: invalid type argument of '->' (have 'int')
mm/huge_memory.c:558:35: error: 'MTHP_STAT_FILE_ALLOC' undeclared (first use in this function); did you mean 'THP_FILE_ALLOC'?
mm/huge_memory.c:559:38: error: 'MTHP_STAT_FILE_FALLBACK' undeclared (first use in this function); did you mean 'THP_FILE_FALLBACK'?
mm/huge_memory.c:560:45: error: 'MTHP_STAT_FILE_FALLBACK_CHARGE' undeclared (first use in this function); did you mean 'THP_FILE_FALLBACK_CHARGE'?
mm/huge_memory.c:579:17: warning: assignment to 'struct thpsize *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
mm/huge_memory.c:579:33: error: invalid application of 'sizeof' to incomplete type 'struct thpsize'
mm/huge_memory.c:583:44: error: invalid use of undefined type 'struct thpsize'
mm/huge_memory.c:608:15: warning: passing argument 1 of 'kfree' makes pointer from integer without a cast [-Wint-conversion]
Error/Warning ids grouped by kconfigs:
gcc_recent_errors
|-- arm64-defconfig
| `-- arch-arm64-boot-dts-ti-k3-am62p-j722s-common-main.dtsi.-.:Warning-(graph_child_address):bus-f0000-usb-f900000-usb:graph-node-has-single-child-node-port-address-cells-size-cells-are-not-necessary
|-- arm64-randconfig-051-20240622
| |-- arch-arm64-boot-dts-mediatek-mt8188-evb.dtb:power-controller:power-domain:power-domain:power-domain:power-domain:Unevaluated-properties-are-not-allowed-(-power-domain-power-domain-were-unexpected)
| |-- arch-arm64-boot-dts-mediatek-mt8390-genio-evk.dtb:mailbox:clock-names-is-a-required-property
| |-- arch-arm64-boot-dts-mediatek-mt8390-genio-evk.dtb:power-controller:power-domain:power-domain:power-domain:power-domain:Unevaluated-properties-are-not-allowed-(-power-domain-power-domain-were-unexpecte
| |-- arch-arm64-boot-dts-qcom-ipq5018-tplink-archer-ax55-v1.dtb:usb-8af8800:interrupt-names:hs_phy_irq-is-too-short
| |-- arch-arm64-boot-dts-qcom-ipq5018-tplink-archer-ax55-v1.dtb:usb-8af8800:interrupt-names:pwr_event-was-expected
| `-- arch-arm64-boot-dts-qcom-ipq5018-tplink-archer-ax55-v1.dtb:usb-8af8800:interrupts:is-too-short
|-- arm64-randconfig-r131-20240622
| `-- arch-arm64-boot-dts-ti-k3-am62p-j722s-common-main.dtsi.-.:Warning-(graph_child_address):bus-f0000-usb-f900000-usb:graph-node-has-single-child-node-port-address-cells-size-cells-are-not-necessary
|-- csky-randconfig-r111-20240622
| `-- drivers-clk-imx-clk-composite-7ulp.c:sparse:sparse:Using-plain-integer-as-NULL-pointer
|-- loongarch-randconfig-r121-20240622
| |-- drivers-gpu-drm-xe-xe_oa.c:sparse:sparse:incorrect-type-in-initializer-(different-address-spaces)-expected-unsigned-long-long-const-noderef-__user-got-unsigned-long-long-usertype-ptr
| `-- drivers-gpu-drm-xe-xe_oa.c:sparse:sparse:incorrect-type-in-initializer-(different-address-spaces)-expected-unsigned-long-long-usertype-ptr-got-void-noderef-__user
|-- mips-randconfig-r023-20221012
| `-- drivers-soc-qcom-smsm.c:(.text.qcom_smsm_remove):undefined-reference-to-mbox_free_channel
|-- sparc-randconfig-r111-20240622
| |-- drivers-mtd-nand-raw-mxc_nand.c:sparse:sparse:incorrect-type-in-argument-(different-address-spaces)-expected-void-buf-got-void-noderef-__iomem
| `-- drivers-mtd-nand-raw-mxc_nand.c:sparse:sparse:incorrect-type-in-initializer-(different-address-spaces)-expected-unsigned-short-noderef-usertype-__iomem-t-got-void-buf
|-- x86_64-randconfig-014-20240202
| |-- include-linux-container_of.h:error:invalid-use-of-undefined-type-struct-thpsize
| |-- include-linux-list.h:error:invalid-use-of-undefined-type-struct-thpsize
| |-- include-linux-stddef.h:error:invalid-use-of-undefined-type-struct-thpsize
| |-- mm-huge_memory.c:error:MTHP_STAT_FILE_ALLOC-undeclared-(first-use-in-this-function)
| |-- mm-huge_memory.c:error:MTHP_STAT_FILE_FALLBACK-undeclared-(first-use-in-this-function)
| |-- mm-huge_memory.c:error:MTHP_STAT_FILE_FALLBACK_CHARGE-undeclared-(first-use-in-this-function)
| |-- mm-huge_memory.c:error:implicit-declaration-of-function-to_thpsize
| |-- mm-huge_memory.c:error:invalid-application-of-sizeof-to-incomplete-type-struct-thpsize
| |-- mm-huge_memory.c:error:invalid-type-argument-of-(have-int-)
| |-- mm-huge_memory.c:error:invalid-use-of-undefined-type-struct-thpsize
| |-- mm-huge_memory.c:warning:assignment-to-struct-thpsize-from-int-makes-pointer-from-integer-without-a-cast
| `-- mm-huge_memory.c:warning:passing-argument-of-kfree-makes-pointer-from-integer-without-a-cast
`-- x86_64-randconfig-072-20240622
|-- drivers-input-touchscreen-wacom_w8001.c:warning:Finger-directive-output-may-be-truncated-writing-bytes-into-a-region-of-size-between-and
`-- drivers-input-touchscreen-wacom_w8001.c:warning:Pen-directive-output-may-be-truncated-writing-bytes-into-a-region-of-size-between-and
clang_recent_errors
|-- i386-randconfig-062-20240622
| |-- drivers-gpu-drm-xe-xe_oa.c:sparse:sparse:incorrect-type-in-argument-(different-address-spaces)-expected-void-const-volatile-noderef-__user-ptr-got-unsigned-long-long-usertype-ptr
| |-- drivers-gpu-drm-xe-xe_oa.c:sparse:sparse:incorrect-type-in-initializer-(different-address-spaces)-expected-unsigned-long-long-usertype-ptr-got-void-noderef-__user
| |-- net-l2tp-l2tp_core.c:sparse:sparse:cast-removes-address-space-__rcu-of-expression
| |-- net-l2tp-l2tp_core.c:sparse:sparse:dereference-of-noderef-expression
| |-- net-l2tp-l2tp_core.c:sparse:sparse:incorrect-type-in-argument-(different-address-spaces)-expected-struct-list_head-const-list-got-struct-list_head-noderef-__rcu-pos
| |-- net-l2tp-l2tp_core.c:sparse:sparse:incorrect-type-in-assignment-(different-address-spaces)-expected-struct-list_head-noderef-__rcu-pos-got-struct-list_head-assigned-tmp
| `-- net-l2tp-l2tp_core.c:sparse:sparse:incorrect-type-in-assignment-(different-address-spaces)-expected-struct-list_head-noderef-__rcu-pos-got-struct-list_head-next
|-- x86_64-randconfig-121-20240622
| `-- drivers-gpu-drm-amd-amdgpu-..-display-dc-resource-dcn32-dcn32_resource_helpers.c:sparse:sparse:Using-plain-integer-as-NULL-pointer
`-- x86_64-randconfig-123-20240622
|-- kernel-trace-ftrace.c:sparse:sparse:incorrect-type-in-argument-(different-address-spaces)-expected-struct-ftrace_hash-B-got-struct-ftrace_hash-noderef-__rcu-filter_hash
|-- kernel-trace-ftrace.c:sparse:sparse:incorrect-type-in-argument-(different-address-spaces)-expected-struct-ftrace_hash-B-got-struct-ftrace_hash-noderef-__rcu-notrace_hash
|-- kernel-trace-ftrace.c:sparse:sparse:incorrect-type-in-argument-(different-address-spaces)-expected-struct-ftrace_hash-new_hash-got-struct-ftrace_hash-noderef-__rcu-filter_hash
|-- kernel-trace-ftrace.c:sparse:sparse:incorrect-type-in-argument-(different-address-spaces)-expected-struct-ftrace_hash-new_hash1-got-struct-ftrace_hash-noderef-__rcu-filter_hash
|-- kernel-trace-ftrace.c:sparse:sparse:incorrect-type-in-argument-(different-address-spaces)-expected-struct-ftrace_hash-new_hash2-got-struct-ftrace_hash-noderef-__rcu-filter_hash
|-- kernel-trace-ftrace.c:sparse:sparse:incorrect-type-in-argument-(different-address-spaces)-expected-struct-ftrace_hash-new_hash2-got-struct-ftrace_hash-noderef-__rcu-notrace_hash
|-- kernel-trace-ftrace.c:sparse:sparse:incorrect-type-in-argument-(different-address-spaces)-expected-struct-ftrace_hash-orig_hash-got-struct-ftrace_hash-noderef-__rcu
|-- kernel-trace-ftrace.c:sparse:sparse:incorrect-type-in-argument-(different-address-spaces)-expected-struct-ftrace_hash-src-got-struct-ftrace_hash-noderef-__rcu-filter_hash
|-- kernel-trace-ftrace.c:sparse:sparse:incorrect-type-in-argument-(different-address-spaces)-expected-struct-ftrace_hash-src-got-struct-ftrace_hash-noderef-__rcu-notrace_hash
|-- kernel-trace-ftrace.c:sparse:sparse:incorrect-type-in-assignment-(different-address-spaces)-expected-struct-ftrace_hash-noderef-__rcu-filter_hash-got-struct-ftrace_hash
|-- kernel-trace-ftrace.c:sparse:sparse:incorrect-type-in-assignment-(different-address-spaces)-expected-struct-ftrace_hash-noderef-__rcu-filter_hash-got-struct-ftrace_hash-assigned-filter_hash
|-- kernel-trace-ftrace.c:sparse:sparse:incorrect-type-in-assignment-(different-address-spaces)-expected-struct-ftrace_hash-noderef-__rcu-filter_hash-got-struct-ftrace_hash-save_filter_hash
|-- kernel-trace-ftrace.c:sparse:sparse:incorrect-type-in-assignment-(different-address-spaces)-expected-struct-ftrace_hash-noderef-__rcu-notrace_hash-got-struct-ftrace_hash
|-- kernel-trace-ftrace.c:sparse:sparse:incorrect-type-in-assignment-(different-address-spaces)-expected-struct-ftrace_hash-noderef-__rcu-notrace_hash-got-struct-ftrace_hash-assigned-notrace_hash
|-- kernel-trace-ftrace.c:sparse:sparse:incorrect-type-in-assignment-(different-address-spaces)-expected-struct-ftrace_hash-noderef-__rcu-notrace_hash-got-struct-ftrace_hash-save_notrace_hash
|-- kernel-trace-ftrace.c:sparse:sparse:incorrect-type-in-assignment-(different-address-spaces)-expected-struct-ftrace_hash-notrace_hash-got-struct-ftrace_hash-noderef-__rcu-notrace_hash
|-- kernel-trace-ftrace.c:sparse:sparse:incorrect-type-in-assignment-(different-address-spaces)-expected-struct-ftrace_hash-save_filter_hash-got-struct-ftrace_hash-noderef-__rcu-filter_hash
`-- kernel-trace-ftrace.c:sparse:sparse:incorrect-type-in-assignment-(different-address-spaces)-expected-struct-ftrace_hash-save_notrace_hash-got-struct-ftrace_hash-noderef-__rcu-notrace_hash
elapsed time: 1700m
configs tested: 134
configs skipped: 2
tested configs:
alpha allnoconfig gcc-13.2.0
alpha defconfig gcc-13.2.0
arc allnoconfig gcc-13.2.0
arc defconfig gcc-13.2.0
arc randconfig-001-20240622 gcc-13.2.0
arc randconfig-002-20240622 gcc-13.2.0
arm allnoconfig clang-19
arm defconfig clang-14
arm pxa168_defconfig clang-19
arm randconfig-001-20240622 gcc-13.2.0
arm randconfig-002-20240622 clang-19
arm randconfig-003-20240622 clang-14
arm randconfig-004-20240622 gcc-13.2.0
arm wpcm450_defconfig gcc-13.2.0
arm64 allnoconfig gcc-13.2.0
arm64 defconfig gcc-13.2.0
arm64 randconfig-001-20240622 clang-19
arm64 randconfig-002-20240622 clang-14
arm64 randconfig-003-20240622 gcc-13.2.0
arm64 randconfig-004-20240622 clang-19
csky alldefconfig gcc-13.2.0
csky allnoconfig gcc-13.2.0
csky defconfig gcc-13.2.0
csky randconfig-001-20240622 gcc-13.2.0
csky randconfig-002-20240622 gcc-13.2.0
hexagon allnoconfig clang-19
hexagon defconfig clang-19
hexagon randconfig-001-20240622 clang-19
hexagon randconfig-002-20240622 clang-19
i386 buildonly-randconfig-001-20240622 gcc-13
i386 buildonly-randconfig-002-20240622 clang-18
i386 buildonly-randconfig-003-20240622 clang-18
i386 buildonly-randconfig-004-20240622 gcc-13
i386 buildonly-randconfig-005-20240622 gcc-13
i386 buildonly-randconfig-006-20240622 clang-18
i386 randconfig-001-20240622 gcc-10
i386 randconfig-002-20240622 clang-18
i386 randconfig-003-20240622 gcc-13
i386 randconfig-004-20240622 gcc-13
i386 randconfig-005-20240622 clang-18
i386 randconfig-006-20240622 gcc-13
i386 randconfig-011-20240622 gcc-9
i386 randconfig-012-20240622 gcc-7
i386 randconfig-013-20240622 clang-18
i386 randconfig-014-20240622 clang-18
i386 randconfig-015-20240622 clang-18
i386 randconfig-016-20240622 clang-18
loongarch allnoconfig gcc-13.2.0
loongarch defconfig gcc-13.2.0
loongarch loongson3_defconfig gcc-13.2.0
loongarch randconfig-001-20240622 gcc-13.2.0
loongarch randconfig-002-20240622 gcc-13.2.0
m68k allnoconfig gcc-13.2.0
m68k defconfig gcc-13.2.0
microblaze allnoconfig gcc-13.2.0
microblaze defconfig gcc-13.2.0
mips allnoconfig gcc-13.2.0
nios2 allnoconfig gcc-13.2.0
nios2 defconfig gcc-13.2.0
nios2 randconfig-001-20240622 gcc-13.2.0
nios2 randconfig-002-20240622 gcc-13.2.0
openrisc allnoconfig gcc-13.2.0
openrisc defconfig gcc-13.2.0
parisc allnoconfig gcc-13.2.0
parisc defconfig gcc-13.2.0
parisc randconfig-001-20240622 gcc-13.2.0
parisc randconfig-002-20240622 gcc-13.2.0
parisc64 defconfig gcc-13.2.0
powerpc allnoconfig gcc-13.2.0
powerpc chrp32_defconfig clang-19
powerpc cm5200_defconfig clang-19
powerpc currituck_defconfig clang-19
powerpc mgcoge_defconfig clang-19
powerpc mpc5200_defconfig clang-14
powerpc pasemi_defconfig clang-19
powerpc randconfig-001-20240622 gcc-13.2.0
powerpc randconfig-002-20240622 gcc-13.2.0
powerpc randconfig-003-20240622 clang-19
powerpc walnut_defconfig gcc-13.2.0
powerpc64 randconfig-001-20240622 gcc-13.2.0
powerpc64 randconfig-002-20240622 gcc-13.2.0
powerpc64 randconfig-003-20240622 gcc-13.2.0
riscv allnoconfig gcc-13.2.0
riscv defconfig clang-19
riscv randconfig-001-20240622 gcc-13.2.0
riscv randconfig-002-20240622 gcc-13.2.0
s390 allnoconfig clang-19
s390 defconfig clang-19
s390 randconfig-001-20240622 clang-19
s390 randconfig-002-20240622 clang-15
sh allnoconfig gcc-13.2.0
sh defconfig gcc-13.2.0
sh kfr2r09-romimage_defconfig gcc-13.2.0
sh randconfig-001-20240622 gcc-13.2.0
sh randconfig-002-20240622 gcc-13.2.0
sh sh2007_defconfig gcc-13.2.0
sparc allnoconfig gcc-13.2.0
sparc defconfig gcc-13.2.0
sparc64 defconfig gcc-13.2.0
sparc64 randconfig-001-20240622 gcc-13.2.0
sparc64 randconfig-002-20240622 gcc-13.2.0
um allnoconfig clang-17
um defconfig clang-19
um i386_defconfig gcc-13
um randconfig-001-20240622 gcc-10
um randconfig-002-20240622 clang-19
um x86_64_defconfig clang-15
x86_64 buildonly-randconfig-001-20240622 gcc-8
x86_64 buildonly-randconfig-002-20240622 clang-18
x86_64 buildonly-randconfig-003-20240622 gcc-12
x86_64 buildonly-randconfig-004-20240622 gcc-13
x86_64 buildonly-randconfig-005-20240622 clang-18
x86_64 buildonly-randconfig-006-20240622 gcc-13
x86_64 randconfig-001-20240622 clang-18
x86_64 randconfig-002-20240622 clang-18
x86_64 randconfig-003-20240622 clang-18
x86_64 randconfig-004-20240622 clang-18
x86_64 randconfig-005-20240622 clang-18
x86_64 randconfig-006-20240622 clang-18
x86_64 randconfig-011-20240622 gcc-12
x86_64 randconfig-012-20240622 gcc-8
x86_64 randconfig-013-20240622 clang-18
x86_64 randconfig-014-20240622 gcc-8
x86_64 randconfig-015-20240622 clang-18
x86_64 randconfig-016-20240622 gcc-12
x86_64 randconfig-071-20240622 clang-18
x86_64 randconfig-072-20240622 gcc-8
x86_64 randconfig-073-20240622 clang-18
x86_64 randconfig-074-20240622 gcc-12
x86_64 randconfig-075-20240622 gcc-13
x86_64 randconfig-076-20240622 gcc-10
xtensa allnoconfig gcc-13.2.0
xtensa randconfig-001-20240622 gcc-13.2.0
xtensa randconfig-002-20240622 gcc-13.2.0
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [linux-next:master] BUILD REGRESSION f76698bd9a8ca01d3581236082d786e9a6b72bb7
2024-06-22 23:11 [linux-next:master] BUILD REGRESSION f76698bd9a8ca01d3581236082d786e9a6b72bb7 kernel test robot
@ 2024-06-24 19:31 ` Andrew Morton
2024-06-25 12:55 ` Philip Li
0 siblings, 1 reply; 3+ messages in thread
From: Andrew Morton @ 2024-06-24 19:31 UTC (permalink / raw)
To: kernel test robot
Cc: Linux Memory Management List, amd-gfx, imx, intel-xe,
linux-arm-kernel, linux-arm-msm, linux-input, linux-mediatek,
linux-mtd, linux-trace-kernel, netdev, Mark Brown, Baolin Wang
On Sun, 23 Jun 2024 07:11:24 +0800 kernel test robot <lkp@intel.com> wrote:
> tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
> branch HEAD: f76698bd9a8ca01d3581236082d786e9a6b72bb7 Add linux-next specific files for 20240621
>
> Error/Warning reports:
>
> https://lore.kernel.org/oe-kbuild-all/202406220536.JnAncjqz-lkp@intel.com
> https://lore.kernel.org/oe-kbuild-all/202406220754.evK8Hrjw-lkp@intel.com
>
> Error/Warning: (recently discovered and may have been fixed)
>
> drivers/soc/qcom/smsm.c:(.text.qcom_smsm_remove+0x70): undefined reference to `mbox_free_channel'
>
> Unverified Error/Warning (likely false positive, please contact us if interested):
>
> include/linux/container_of.h:20:54: error: invalid use of undefined type 'struct thpsize'
> include/linux/list.h:645:25: error: invalid use of undefined type 'struct thpsize'
> include/linux/stddef.h:16:33: error: invalid use of undefined type 'struct thpsize'
> mm/huge_memory.c:455:21: error: implicit declaration of function 'to_thpsize'; did you mean 'thp_size'? [-Werror=implicit-function-declaration]
> mm/huge_memory.c:455:37: error: invalid type argument of '->' (have 'int')
> mm/huge_memory.c:558:35: error: 'MTHP_STAT_FILE_ALLOC' undeclared (first use in this function); did you mean 'THP_FILE_ALLOC'?
> mm/huge_memory.c:559:38: error: 'MTHP_STAT_FILE_FALLBACK' undeclared (first use in this function); did you mean 'THP_FILE_FALLBACK'?
> mm/huge_memory.c:560:45: error: 'MTHP_STAT_FILE_FALLBACK_CHARGE' undeclared (first use in this function); did you mean 'THP_FILE_FALLBACK_CHARGE'?
> mm/huge_memory.c:579:17: warning: assignment to 'struct thpsize *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
> mm/huge_memory.c:579:33: error: invalid application of 'sizeof' to incomplete type 'struct thpsize'
> mm/huge_memory.c:583:44: error: invalid use of undefined type 'struct thpsize'
> mm/huge_memory.c:608:15: warning: passing argument 1 of 'kfree' makes pointer from integer without a cast [-Wint-conversion]
>
>
> ...
>
>
> |-- x86_64-randconfig-014-20240202
> | |-- include-linux-container_of.h:error:invalid-use-of-undefined-type-struct-thpsize
> | |-- include-linux-list.h:error:invalid-use-of-undefined-type-struct-thpsize
> | |-- include-linux-stddef.h:error:invalid-use-of-undefined-type-struct-thpsize
> | |-- mm-huge_memory.c:error:MTHP_STAT_FILE_ALLOC-undeclared-(first-use-in-this-function)
> | |-- mm-huge_memory.c:error:MTHP_STAT_FILE_FALLBACK-undeclared-(first-use-in-this-function)
> | |-- mm-huge_memory.c:error:MTHP_STAT_FILE_FALLBACK_CHARGE-undeclared-(first-use-in-this-function)
> | |-- mm-huge_memory.c:error:implicit-declaration-of-function-to_thpsize
> | |-- mm-huge_memory.c:error:invalid-application-of-sizeof-to-incomplete-type-struct-thpsize
> | |-- mm-huge_memory.c:error:invalid-type-argument-of-(have-int-)
> | |-- mm-huge_memory.c:error:invalid-use-of-undefined-type-struct-thpsize
> | |-- mm-huge_memory.c:warning:assignment-to-struct-thpsize-from-int-makes-pointer-from-integer-without-a-cast
> | `-- mm-huge_memory.c:warning:passing-argument-of-kfree-makes-pointer-from-integer-without-a-cast
Is there a way for us to obtain that config file?
"mm: shmem: add multi-size THP sysfs interface for anonymous shmem"
moved things into mm_tytpes.h but didn't include it so perhaps this
will fix:
--- a/mm/huge_memory.c~mm-shmem-add-multi-size-thp-sysfs-interface-for-anonymous-shmem-fix-4
+++ a/mm/huge_memory.c
@@ -20,6 +20,7 @@
#include <linux/swapops.h>
#include <linux/backing-dev.h>
#include <linux/dax.h>
+#include <linux/mm_types.h>
#include <linux/khugepaged.h>
#include <linux/freezer.h>
#include <linux/pfn_t.h>
_
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [linux-next:master] BUILD REGRESSION f76698bd9a8ca01d3581236082d786e9a6b72bb7
2024-06-24 19:31 ` Andrew Morton
@ 2024-06-25 12:55 ` Philip Li
0 siblings, 0 replies; 3+ messages in thread
From: Philip Li @ 2024-06-25 12:55 UTC (permalink / raw)
To: Andrew Morton
Cc: kernel test robot, Linux Memory Management List, amd-gfx, imx,
intel-xe, linux-arm-kernel, linux-arm-msm, linux-input,
linux-mediatek, linux-mtd, linux-trace-kernel, netdev, Mark Brown,
Baolin Wang
On Mon, Jun 24, 2024 at 12:31:54PM -0700, Andrew Morton wrote:
> On Sun, 23 Jun 2024 07:11:24 +0800 kernel test robot <lkp@intel.com> wrote:
>
> > tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
> > branch HEAD: f76698bd9a8ca01d3581236082d786e9a6b72bb7 Add linux-next specific files for 20240621
> >
> > Error/Warning reports:
> >
> > https://lore.kernel.org/oe-kbuild-all/202406220536.JnAncjqz-lkp@intel.com
> > https://lore.kernel.org/oe-kbuild-all/202406220754.evK8Hrjw-lkp@intel.com
> >
> > Error/Warning: (recently discovered and may have been fixed)
> >
> > drivers/soc/qcom/smsm.c:(.text.qcom_smsm_remove+0x70): undefined reference to `mbox_free_channel'
> >
> > Unverified Error/Warning (likely false positive, please contact us if interested):
> >
> > include/linux/container_of.h:20:54: error: invalid use of undefined type 'struct thpsize'
> > include/linux/list.h:645:25: error: invalid use of undefined type 'struct thpsize'
> > include/linux/stddef.h:16:33: error: invalid use of undefined type 'struct thpsize'
> > mm/huge_memory.c:455:21: error: implicit declaration of function 'to_thpsize'; did you mean 'thp_size'? [-Werror=implicit-function-declaration]
> > mm/huge_memory.c:455:37: error: invalid type argument of '->' (have 'int')
> > mm/huge_memory.c:558:35: error: 'MTHP_STAT_FILE_ALLOC' undeclared (first use in this function); did you mean 'THP_FILE_ALLOC'?
> > mm/huge_memory.c:559:38: error: 'MTHP_STAT_FILE_FALLBACK' undeclared (first use in this function); did you mean 'THP_FILE_FALLBACK'?
> > mm/huge_memory.c:560:45: error: 'MTHP_STAT_FILE_FALLBACK_CHARGE' undeclared (first use in this function); did you mean 'THP_FILE_FALLBACK_CHARGE'?
> > mm/huge_memory.c:579:17: warning: assignment to 'struct thpsize *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
> > mm/huge_memory.c:579:33: error: invalid application of 'sizeof' to incomplete type 'struct thpsize'
> > mm/huge_memory.c:583:44: error: invalid use of undefined type 'struct thpsize'
> > mm/huge_memory.c:608:15: warning: passing argument 1 of 'kfree' makes pointer from integer without a cast [-Wint-conversion]
> >
> >
> > ...
> >
> >
> > |-- x86_64-randconfig-014-20240202
> > | |-- include-linux-container_of.h:error:invalid-use-of-undefined-type-struct-thpsize
> > | |-- include-linux-list.h:error:invalid-use-of-undefined-type-struct-thpsize
> > | |-- include-linux-stddef.h:error:invalid-use-of-undefined-type-struct-thpsize
> > | |-- mm-huge_memory.c:error:MTHP_STAT_FILE_ALLOC-undeclared-(first-use-in-this-function)
> > | |-- mm-huge_memory.c:error:MTHP_STAT_FILE_FALLBACK-undeclared-(first-use-in-this-function)
> > | |-- mm-huge_memory.c:error:MTHP_STAT_FILE_FALLBACK_CHARGE-undeclared-(first-use-in-this-function)
> > | |-- mm-huge_memory.c:error:implicit-declaration-of-function-to_thpsize
> > | |-- mm-huge_memory.c:error:invalid-application-of-sizeof-to-incomplete-type-struct-thpsize
> > | |-- mm-huge_memory.c:error:invalid-type-argument-of-(have-int-)
> > | |-- mm-huge_memory.c:error:invalid-use-of-undefined-type-struct-thpsize
> > | |-- mm-huge_memory.c:warning:assignment-to-struct-thpsize-from-int-makes-pointer-from-integer-without-a-cast
> > | `-- mm-huge_memory.c:warning:passing-argument-of-kfree-makes-pointer-from-integer-without-a-cast
>
> Is there a way for us to obtain that config file?
Sorry, kindly ignore the issues associated with x86_64-randconfig-014-20240202 kconfig.
The bisected reports for it are mostly wrong such as [1], [2] due to bot issue, thus these
wrong info was included in this summary report as well.
[1] https://lore.kernel.org/oe-kbuild-all/202406220112.qjyQbasK-lkp@intel.com/
[2] https://lore.kernel.org/oe-kbuild-all/202406211750.Ks4k82Gi-lkp@intel.com/
>
> "mm: shmem: add multi-size THP sysfs interface for anonymous shmem"
> moved things into mm_tytpes.h but didn't include it so perhaps this
> will fix:
>
> --- a/mm/huge_memory.c~mm-shmem-add-multi-size-thp-sysfs-interface-for-anonymous-shmem-fix-4
> +++ a/mm/huge_memory.c
> @@ -20,6 +20,7 @@
> #include <linux/swapops.h>
> #include <linux/backing-dev.h>
> #include <linux/dax.h>
> +#include <linux/mm_types.h>
> #include <linux/khugepaged.h>
> #include <linux/freezer.h>
> #include <linux/pfn_t.h>
> _
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-06-25 12:55 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-22 23:11 [linux-next:master] BUILD REGRESSION f76698bd9a8ca01d3581236082d786e9a6b72bb7 kernel test robot
2024-06-24 19:31 ` Andrew Morton
2024-06-25 12:55 ` Philip Li
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).