2023-02-25 17:11:45

by kernel test robot

[permalink] [raw]
Subject: [linux-next:master] BUILD REGRESSION 8232539f864ca60474e38eb42d451f5c26415856

tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
branch HEAD: 8232539f864ca60474e38eb42d451f5c26415856 Add linux-next specific files for 20230225

Error/Warning reports:

https://lore.kernel.org/oe-kbuild-all/[email protected]
https://lore.kernel.org/oe-kbuild-all/[email protected]
https://lore.kernel.org/oe-kbuild-all/[email protected]
https://lore.kernel.org/oe-kbuild-all/[email protected]

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

FAILED: load BTF from vmlinux: No data available
drivers/gpu/drm/amd/amdgpu/../display/dc/dcn30/dcn30_optc.c:294:6: warning: no previous prototype for 'optc3_wait_drr_doublebuffer_pending_clear' [-Wmissing-prototypes]
drivers/pcmcia/pxa2xx_sharpsl.c:206:5: warning: no previous prototype for function 'pcmcia_collie_init' [-Wmissing-prototypes]
include/asm-generic/div64.h:238:36: error: passing argument 1 of '__div64_32' from incompatible pointer type [-Werror=incompatible-pointer-types]

Unverified Error/Warning (likely false positive, please contact us if interested):

drivers/usb/gadget/composite.c:2082:33: sparse: sparse: restricted __le16 degrades to integer
io_uring/rsrc.c:1262 io_sqe_buffer_register() error: uninitialized symbol 'folio'.
mm/page_alloc.c:257:1: sparse: sparse: symbol 'check_pages_enabled' was not declared. Should it be static?
net/bluetooth/hci_sync.c:2403 hci_pause_addr_resolution() warn: missing error code? 'err'

Error/Warning ids grouped by kconfigs:

gcc_recent_errors
|-- alpha-randconfig-s041-20230222
| `-- mm-page_alloc.c:sparse:sparse:symbol-check_pages_enabled-was-not-declared.-Should-it-be-static
|-- arc-allyesconfig
| `-- include-asm-generic-div64.h:error:passing-argument-of-__div64_32-from-incompatible-pointer-type
|-- arm-allmodconfig
| `-- include-asm-generic-div64.h:error:passing-argument-of-__div64_32-from-incompatible-pointer-type
|-- arm-allyesconfig
| `-- include-asm-generic-div64.h:error:passing-argument-of-__div64_32-from-incompatible-pointer-type
|-- arm-randconfig-s051-20230222
| `-- drivers-usb-gadget-composite.c:sparse:sparse:restricted-__le16-degrades-to-integer
|-- arm64-allyesconfig
| `-- drivers-gpu-drm-amd-amdgpu-..-display-dc-dcn30-dcn30_optc.c:warning:no-previous-prototype-for-optc3_wait_drr_doublebuffer_pending_clear
|-- i386-allyesconfig
| `-- drivers-gpu-drm-amd-amdgpu-..-display-dc-dcn30-dcn30_optc.c:warning:no-previous-prototype-for-optc3_wait_drr_doublebuffer_pending_clear
|-- i386-randconfig-s001
| |-- drivers-gpu-drm-i915-gem-i915_gem_ttm.c:sparse:sparse:incorrect-type-in-assignment-(different-base-types)-expected-restricted-vm_fault_t-assigned-usertype-ret-got-int
| `-- drivers-usb-gadget-composite.c:sparse:sparse:restricted-__le16-degrades-to-integer
|-- i386-randconfig-s002
| `-- drivers-gpu-drm-i915-gem-i915_gem_ttm.c:sparse:sparse:incorrect-type-in-assignment-(different-base-types)-expected-restricted-vm_fault_t-assigned-usertype-ret-got-int
|-- i386-randconfig-s003
| `-- drivers-usb-gadget-composite.c:sparse:sparse:restricted-__le16-degrades-to-integer
|-- loongarch-randconfig-m041-20230225
| `-- io_uring-rsrc.c-io_sqe_buffer_register()-error:uninitialized-symbol-folio-.
|-- openrisc-randconfig-r014-20230225
| `-- FAILED:load-BTF-from-vmlinux:No-data-available
|-- openrisc-randconfig-s052-20230222
| `-- drivers-usb-gadget-composite.c:sparse:sparse:restricted-__le16-degrades-to-integer
|-- parisc-randconfig-m031-20230223
| `-- net-bluetooth-hci_sync.c-hci_pause_addr_resolution()-warn:missing-error-code-err
|-- powerpc-allmodconfig
| `-- include-asm-generic-div64.h:error:passing-argument-of-__div64_32-from-incompatible-pointer-type
|-- x86_64-allnoconfig
| `-- Warning:Documentation-devicetree-bindings-usb-rockchip-dwc3.yaml-references-a-file-that-doesn-t-exist:Documentation-devicetree-bindings-phy-phy-rockchip-inno-usb2.yaml
|-- x86_64-allyesconfig
| `-- drivers-gpu-drm-amd-amdgpu-..-display-dc-dcn30-dcn30_optc.c:warning:no-previous-prototype-for-optc3_wait_drr_doublebuffer_pending_clear
|-- x86_64-randconfig-m001
| `-- io_uring-rsrc.c-io_sqe_buffer_register()-error:uninitialized-symbol-folio-.
`-- x86_64-randconfig-s021
`-- drivers-usb-gadget-composite.c:sparse:sparse:restricted-__le16-degrades-to-integer
clang_recent_errors
`-- arm-collie_defconfig
`-- drivers-pcmcia-pxa2xx_sharpsl.c:warning:no-previous-prototype-for-function-pcmcia_collie_init

elapsed time: 730m

configs tested: 46
configs skipped: 5

tested configs:
alpha defconfig gcc
arc axs103_defconfig gcc
arc defconfig gcc
arm collie_defconfig clang
arm defconfig gcc
arm jornada720_defconfig gcc
arm64 defconfig gcc
csky defconfig gcc
i386 defconfig gcc
ia64 defconfig gcc
loongarch defconfig gcc
m68k amcore_defconfig gcc
m68k defconfig gcc
microblaze defconfig gcc
mips bcm47xx_defconfig gcc
mips lemote2f_defconfig clang
mips loongson1c_defconfig clang
mips loongson2k_defconfig clang
mips mtx1_defconfig clang
mips pic32mzda_defconfig clang
mips qi_lb60_defconfig clang
mips rm200_defconfig clang
nios2 defconfig gcc
parisc defconfig gcc
parisc64 defconfig gcc
powerpc klondike_defconfig gcc
powerpc mpc885_ads_defconfig clang
powerpc pasemi_defconfig gcc
powerpc skiroot_defconfig clang
riscv defconfig gcc
riscv rv32_defconfig gcc
s390 defconfig gcc
sh apsh4a3a_defconfig gcc
sh dreamcast_defconfig gcc
sh landisk_defconfig gcc
sh polaris_defconfig gcc
sh se7343_defconfig gcc
sparc alldefconfig gcc
sparc defconfig gcc
um defconfig gcc
um i386_defconfig gcc
um x86_64_defconfig gcc
x86_64 defconfig gcc
xtensa cadence_csp_defconfig gcc
xtensa common_defconfig gcc
xtensa generic_kc705_defconfig gcc

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests


2023-02-25 21:02:49

by Andrew Morton

[permalink] [raw]
Subject: Re: [linux-next:master] BUILD REGRESSION 8232539f864ca60474e38eb42d451f5c26415856

On Sun, 26 Feb 2023 01:10:55 +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: 8232539f864ca60474e38eb42d451f5c26415856 Add linux-next specific files for 20230225
>
> Error/Warning reports:
>
> mm/page_alloc.c:257:1: sparse: sparse: symbol 'check_pages_enabled' was not declared. Should it be static?

It should!

--- a/mm/page_alloc.c~mm-page_alloc-reduce-page-alloc-free-sanity-checks-fix
+++ b/mm/page_alloc.c
@@ -254,7 +254,7 @@ DEFINE_STATIC_KEY_MAYBE(CONFIG_INIT_ON_FREE_DEFAULT_ON, init_on_free);
EXPORT_SYMBOL(init_on_free);

/* perform sanity checks on struct pages being allocated or freed */
-DEFINE_STATIC_KEY_MAYBE(CONFIG_DEBUG_VM, check_pages_enabled);
+static DEFINE_STATIC_KEY_MAYBE(CONFIG_DEBUG_VM, check_pages_enabled);

static bool _init_on_alloc_enabled_early __read_mostly
= IS_ENABLED(CONFIG_INIT_ON_ALLOC_DEFAULT_ON);
_