* [linux-next:master] BUILD REGRESSION 89bf6e28373beef9577fa71f996a5f73a569617c
@ 2022-10-25 17:17 kernel test robot
2022-10-25 22:41 ` Jakub Kicinski
0 siblings, 1 reply; 4+ messages in thread
From: kernel test robot @ 2022-10-25 17:17 UTC (permalink / raw)
To: Andrew Morton
Cc: linux-scsi, netdev, Linux Memory Management List, linux-mediatek,
ntfs3, linuxppc-dev, linux-arm-kernel
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
branch HEAD: 89bf6e28373beef9577fa71f996a5f73a569617c Add linux-next specific files for 20221025
Error/Warning reports:
https://lore.kernel.org/linux-mm/202210110857.9s0tXVNn-lkp@intel.com
https://lore.kernel.org/linux-mm/202210240729.zs46Cfzo-lkp@intel.com
https://lore.kernel.org/linux-mm/202210251946.eT92YAhG-lkp@intel.com
https://lore.kernel.org/llvm/202210260009.9qq1JXZi-lkp@intel.com
Error/Warning: (recently discovered and may have been fixed)
drivers/net/ethernet/broadcom/genet/bcmgenet.c:1497:5-13: ERROR: invalid reference to the index variable of the iterator on line 1475
drivers/scsi/pm8001/pm8001_sas.c:996 pm8001_abort_task() warn: variable dereferenced before check 'task' (see line 986)
Unverified Error/Warning (likely false positive, please contact us if interested):
ERROR: modpost: "devm_ioremap" [drivers/net/ethernet/altera/altera_tse.ko] undefined!
ERROR: modpost: "ioremap" [drivers/net/ethernet/fujitsu/fmvj18x_cs.ko] undefined!
ERROR: modpost: "ioremap" [drivers/tty/ipwireless/ipwireless.ko] undefined!
ERROR: modpost: "iounmap" [drivers/net/ethernet/fujitsu/fmvj18x_cs.ko] undefined!
ERROR: modpost: "iounmap" [drivers/tty/ipwireless/ipwireless.ko] undefined!
mm/khugepaged.c:1729:7: warning: variable 'index' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized]
mm/khugepaged.c:1729:7: warning: variable 'nr' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized]
Error/Warning ids grouped by kconfigs:
gcc_recent_errors
|-- ia64-randconfig-c033-20221025
| `-- drivers-net-ethernet-broadcom-genet-bcmgenet.c:ERROR:invalid-reference-to-the-index-variable-of-the-iterator-on-line
`-- x86_64-randconfig-m001-20221024
`-- drivers-scsi-pm8001-pm8001_sas.c-pm8001_abort_task()-warn:variable-dereferenced-before-check-task-(see-line-)
clang_recent_errors
|-- arm-randconfig-r013-20221024
| |-- drivers-phy-mediatek-phy-mtk-hdmi-mt2701.c:warning:result-of-comparison-of-constant-with-expression-of-type-typeof-(_Generic((mask_)-char:(unsigned-char)-unsigned-char:(unsigned-char)-signed-char:(uns
| |-- drivers-phy-mediatek-phy-mtk-hdmi-mt8173.c:warning:result-of-comparison-of-constant-with-expression-of-type-typeof-(_Generic((mask_)-char:(unsigned-char)-unsigned-char:(unsigned-char)-signed-char:(uns
| |-- drivers-phy-mediatek-phy-mtk-mipi-dsi-mt8173.c:warning:result-of-comparison-of-constant-with-expression-of-type-typeof-(_Generic((mask_)-char:(unsigned-char)-unsigned-char:(unsigned-char)-signed-char:
| |-- drivers-phy-mediatek-phy-mtk-mipi-dsi-mt8183.c:warning:result-of-comparison-of-constant-with-expression-of-type-typeof-(_Generic((mask_)-char:(unsigned-char)-unsigned-char:(unsigned-char)-signed-char:
| `-- fs-ntfs3-namei.c:warning:variable-uni1-is-used-uninitialized-whenever-if-condition-is-true
|-- arm-randconfig-r014-20221024
| |-- drivers-phy-mediatek-phy-mtk-hdmi-mt2701.c:warning:result-of-comparison-of-constant-with-expression-of-type-typeof-(_Generic((mask_)-char:(unsigned-char)-unsigned-char:(unsigned-char)-signed-char:(uns
| |-- drivers-phy-mediatek-phy-mtk-hdmi-mt8173.c:warning:result-of-comparison-of-constant-with-expression-of-type-typeof-(_Generic((mask_)-char:(unsigned-char)-unsigned-char:(unsigned-char)-signed-char:(uns
| |-- drivers-phy-mediatek-phy-mtk-mipi-dsi-mt8173.c:warning:result-of-comparison-of-constant-with-expression-of-type-typeof-(_Generic((mask_)-char:(unsigned-char)-unsigned-char:(unsigned-char)-signed-char:
| |-- drivers-phy-mediatek-phy-mtk-mipi-dsi-mt8183.c:warning:result-of-comparison-of-constant-with-expression-of-type-typeof-(_Generic((mask_)-char:(unsigned-char)-unsigned-char:(unsigned-char)-signed-char:
| |-- drivers-phy-mediatek-phy-mtk-tphy.c:warning:result-of-comparison-of-constant-with-expression-of-type-typeof-(_Generic((mask_)-char:(unsigned-char)-unsigned-char:(unsigned-char)-signed-char:(unsigned-c
| `-- fs-ntfs3-namei.c:warning:variable-uni1-is-used-uninitialized-whenever-if-condition-is-true
|-- hexagon-randconfig-r045-20221023
| |-- drivers-phy-mediatek-phy-mtk-hdmi-mt2701.c:warning:result-of-comparison-of-constant-with-expression-of-type-typeof-(_Generic((mask_)-char:(unsigned-char)-unsigned-char:(unsigned-char)-signed-char:(uns
| |-- drivers-phy-mediatek-phy-mtk-hdmi-mt8173.c:warning:result-of-comparison-of-constant-with-expression-of-type-typeof-(_Generic((mask_)-char:(unsigned-char)-unsigned-char:(unsigned-char)-signed-char:(uns
| |-- drivers-phy-mediatek-phy-mtk-mipi-dsi-mt8173.c:warning:result-of-comparison-of-constant-with-expression-of-type-typeof-(_Generic((mask_)-char:(unsigned-char)-unsigned-char:(unsigned-char)-signed-char:
| |-- drivers-phy-mediatek-phy-mtk-mipi-dsi-mt8183.c:warning:result-of-comparison-of-constant-with-expression-of-type-typeof-(_Generic((mask_)-char:(unsigned-char)-unsigned-char:(unsigned-char)-signed-char:
| |-- drivers-phy-mediatek-phy-mtk-tphy.c:warning:result-of-comparison-of-constant-with-expression-of-type-typeof-(_Generic((mask_)-char:(unsigned-char)-unsigned-char:(unsigned-char)-signed-char:(unsigned-c
| `-- fs-ntfs3-namei.c:warning:variable-uni1-is-used-uninitialized-whenever-if-condition-is-true
|-- i386-randconfig-a001-20221024
| |-- fs-ntfs3-namei.c:warning:variable-uni1-is-used-uninitialized-whenever-if-condition-is-true
| `-- mm-khugepaged.c:warning:variable-index-is-used-uninitialized-whenever-if-condition-is-true
|-- mips-randconfig-r012-20221024
| `-- fs-ntfs3-namei.c:warning:variable-uni1-is-used-uninitialized-whenever-if-condition-is-true
|-- powerpc-randconfig-r024-20221025
| `-- arch-powerpc-mm-nohash-e500.c:error:no-previous-prototype-for-function-relocate_init-Werror-Wmissing-prototypes
|-- riscv-randconfig-r042-20221023
| `-- ld.lld:error:undefined-symbol:dax_holder_notify_failure
|-- s390-randconfig-r004-20221024
| |-- fs-ntfs3-namei.c:warning:variable-uni1-is-used-uninitialized-whenever-if-condition-is-true
| |-- mm-khugepaged.c:warning:variable-index-is-used-uninitialized-whenever-if-condition-is-true
| `-- mm-khugepaged.c:warning:variable-nr-is-used-uninitialized-whenever-if-condition-is-true
|-- s390-randconfig-r012-20221023
| `-- fs-ntfs3-namei.c:warning:variable-uni1-is-used-uninitialized-whenever-if-condition-is-true
|-- s390-randconfig-r026-20221025
| `-- fs-ntfs3-namei.c:warning:variable-uni1-is-used-uninitialized-whenever-if-condition-is-true
|-- s390-randconfig-r044-20221023
| `-- fs-ntfs3-namei.c:warning:variable-uni1-is-used-uninitialized-whenever-if-condition-is-true
|-- s390-randconfig-r044-20221025
| |-- ERROR:devm_ioremap-drivers-net-ethernet-altera-altera_tse.ko-undefined
| |-- ERROR:ioremap-drivers-net-ethernet-fujitsu-fmvj18x_cs.ko-undefined
| |-- ERROR:ioremap-drivers-tty-ipwireless-ipwireless.ko-undefined
| |-- ERROR:iounmap-drivers-net-ethernet-fujitsu-fmvj18x_cs.ko-undefined
| `-- ERROR:iounmap-drivers-tty-ipwireless-ipwireless.ko-undefined
|-- x86_64-randconfig-a004-20221024
| `-- fs-ntfs3-namei.c:warning:variable-uni1-is-used-uninitialized-whenever-if-condition-is-true
|-- x86_64-randconfig-a005-20221024
| `-- fs-ntfs3-namei.c:warning:variable-uni1-is-used-uninitialized-whenever-if-condition-is-true
|-- x86_64-randconfig-a012
elapsed time: 726m
configs tested: 74
configs skipped: 2
gcc tested configs:
powerpc allnoconfig
um i386_defconfig
arc defconfig
um x86_64_defconfig
alpha defconfig
x86_64 defconfig
s390 defconfig
x86_64 rhel-8.3-syz
s390 allmodconfig
x86_64 rhel-8.3-kunit
x86_64 randconfig-a013
x86_64 rhel-8.3-kvm
x86_64 randconfig-a011
x86_64 rhel-8.3-func
x86_64 rhel-8.3-kselftests
x86_64 randconfig-a015
s390 allyesconfig
i386 defconfig
x86_64 rhel-8.3
arm defconfig
arc randconfig-r043-20221024
i386 randconfig-a014-20221024
i386 randconfig-a013-20221024
riscv randconfig-r042-20221024
i386 randconfig-a012-20221024
arc randconfig-r043-20221023
i386 allyesconfig
i386 randconfig-a016-20221024
x86_64 allyesconfig
arm allyesconfig
i386 randconfig-a011-20221024
powerpc eiger_defconfig
i386 randconfig-a015-20221024
sh allmodconfig
m68k allmodconfig
arm64 allyesconfig
s390 randconfig-r044-20221024
powerpc chrp32_defconfig
sh migor_defconfig
arc allyesconfig
mips allyesconfig
sh rts7751r2d1_defconfig
csky alldefconfig
powerpc allmodconfig
alpha allyesconfig
m68k allyesconfig
sh lboxre2_defconfig
powerpc tqm8555_defconfig
sh se7712_defconfig
clang tested configs:
x86_64 randconfig-a012
x86_64 randconfig-a014
hexagon randconfig-r041-20221024
x86_64 randconfig-a016
riscv randconfig-r042-20221023
x86_64 randconfig-a001-20221024
hexagon randconfig-r045-20221024
i386 randconfig-a001-20221024
x86_64 randconfig-a003-20221024
x86_64 randconfig-a004-20221024
s390 randconfig-r044-20221023
i386 randconfig-a002-20221024
x86_64 randconfig-a002-20221024
x86_64 randconfig-a005-20221024
i386 randconfig-a005-20221024
i386 randconfig-a003-20221024
hexagon randconfig-r041-20221023
x86_64 rhel-8.3-rust
powerpc xes_mpc85xx_defconfig
i386 randconfig-a004-20221024
hexagon randconfig-r045-20221023
x86_64 randconfig-a006-20221024
i386 randconfig-a006-20221024
powerpc mpc832x_mds_defconfig
powerpc powernv_defconfig
--
0-DAY CI Kernel Test Service
https://01.org/lkp
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: [linux-next:master] BUILD REGRESSION 89bf6e28373beef9577fa71f996a5f73a569617c
2022-10-25 17:17 [linux-next:master] BUILD REGRESSION 89bf6e28373beef9577fa71f996a5f73a569617c kernel test robot
@ 2022-10-25 22:41 ` Jakub Kicinski
2022-10-25 23:04 ` Doug Berger
0 siblings, 1 reply; 4+ messages in thread
From: Jakub Kicinski @ 2022-10-25 22:41 UTC (permalink / raw)
To: kernel test robot, Doug Berger
Cc: Florian Fainelli, linux-scsi, netdev, linux-mm, linux-mediatek,
Andrew Morton, ntfs3, linuxppc-dev, linux-arm-kernel
On Wed, 26 Oct 2022 01:17:48 +0800 kernel test robot wrote:
> drivers/net/ethernet/broadcom/genet/bcmgenet.c:1497:5-13: ERROR: invalid reference to the index variable of the iterator on line 1475
CC Doug
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [linux-next:master] BUILD REGRESSION 89bf6e28373beef9577fa71f996a5f73a569617c
2022-10-25 22:41 ` Jakub Kicinski
@ 2022-10-25 23:04 ` Doug Berger
2022-10-25 23:17 ` Jakub Kicinski
0 siblings, 1 reply; 4+ messages in thread
From: Doug Berger @ 2022-10-25 23:04 UTC (permalink / raw)
To: Jakub Kicinski, kernel test robot
Cc: Florian Fainelli, linux-scsi, netdev, linux-mm, linux-mediatek,
Andrew Morton, ntfs3, linuxppc-dev, linux-arm-kernel
On 10/25/2022 3:41 PM, Jakub Kicinski wrote:
> On Wed, 26 Oct 2022 01:17:48 +0800 kernel test robot wrote:
>> drivers/net/ethernet/broadcom/genet/bcmgenet.c:1497:5-13: ERROR: invalid reference to the index variable of the iterator on line 1475
>
> CC Doug
Thanks for highlighting this for me, but I happened to catch it from the
linux-mm list and was just looking into it.
It looks to me like a false positive since I am initializing the
loc_rule variable in all paths outside of the list_for_each_entry() loop
prior to its use on line 1497.
If desired I can submit a new patch to make coccinelle happy.
-Doug
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [linux-next:master] BUILD REGRESSION 89bf6e28373beef9577fa71f996a5f73a569617c
2022-10-25 23:04 ` Doug Berger
@ 2022-10-25 23:17 ` Jakub Kicinski
0 siblings, 0 replies; 4+ messages in thread
From: Jakub Kicinski @ 2022-10-25 23:17 UTC (permalink / raw)
To: Doug Berger
Cc: Florian Fainelli, kernel test robot, linux-scsi, netdev,
Julia Lawall, linux-mm, linux-mediatek, Andrew Morton, ntfs3,
linuxppc-dev, linux-arm-kernel
On Tue, 25 Oct 2022 16:04:15 -0700 Doug Berger wrote:
> > On Wed, 26 Oct 2022 01:17:48 +0800 kernel test robot wrote:
> >> drivers/net/ethernet/broadcom/genet/bcmgenet.c:1497:5-13: ERROR: invalid reference to the index variable of the iterator on line 1475
> >
> > CC Doug
> Thanks for highlighting this for me, but I happened to catch it from the
> linux-mm list and was just looking into it.
>
> It looks to me like a false positive since I am initializing the
> loc_rule variable in all paths outside of the list_for_each_entry() loop
> prior to its use on line 1497.
Ack, indeed the code looks right. Thanks for investigating.
> If desired I can submit a new patch to make coccinelle happy.
I wonder if Cocci can detect writes. Let me add Julia for visibility.
If not we can use a different variable for the "check if already
exists" iteration? It could make the code easier to follow, IMHO.
Or leave it be.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2022-10-26 0:41 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-25 17:17 [linux-next:master] BUILD REGRESSION 89bf6e28373beef9577fa71f996a5f73a569617c kernel test robot
2022-10-25 22:41 ` Jakub Kicinski
2022-10-25 23:04 ` Doug Berger
2022-10-25 23:17 ` Jakub Kicinski
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).