[<prev] [next>] [day] [month] [year] [list]
Message-ID: <59b40ebe-c824-457d-8b24-0bbca69d472b@gmail.com>
Date: Sat, 22 Jun 2024 22:49:42 +0200
From: Mirsad Todorovac <mtodorovac69@...il.com>
To: Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Cc: Chris Mason <clm@...com>, Josef Bacik <josef@...icpanda.com>,
David Sterba <dsterba@...e.com>, linux-btrfs@...r.kernel.org
Subject: [PROBLEM][WARNING] fs/btrfs/ref-verify.c:500:16: error: ‘ret’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
Hi all,
Testing various configs with vanilla torvalds kernel I came to this error:
linux_torvalds$ cat > ~/linux/rand/failed-configs/k-KCONFIG_SEED=0xEE80059C/err-msg
linux_torvalds$ time nice make -j 36 bindeb-pkg |& tee ../err-6.10-rc4-randconf-01.log; date
GEN debian
dpkg-buildpackage --build=binary --no-pre-clean --unsigned-changes -R'make -f debian/rules' -j1 -a$(cat debian/arch)
dpkg-buildpackage: info: source package linux-upstream
dpkg-buildpackage: info: source version 6.10.0-rc4-00283-g563a50672d8a-13
dpkg-buildpackage: info: source distribution jammy
dpkg-buildpackage: info: source changed by marvin <marvin@...iant>
dpkg-architecture: warning: specified GNU system type i686-linux-gnu does not match CC system type x86_64-linux-gnu, try setting a correct CC environment variable
dpkg-source --before-build .
dpkg-buildpackage: info: host architecture i386
make -f debian/rules binary
#
# No change to .config
#
CALL scripts/checksyscalls.sh
UPD init/utsversion-tmp.h
CC init/version.o
AR init/built-in.a
CHK kernel/kheaders_data.tar.xz
CC [M] fs/btrfs/ref-verify.o
fs/btrfs/ref-verify.c: In function ‘process_extent_item.isra’:
fs/btrfs/ref-verify.c:500:16: error: ‘ret’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
500 | return ret;
| ^~~
cc1: all warnings being treated as errors
make[7]: *** [scripts/Makefile.build:244: fs/btrfs/ref-verify.o] Error 1
make[6]: *** [scripts/Makefile.build:485: fs/btrfs] Error 2
make[5]: *** [scripts/Makefile.build:485: fs] Error 2
make[4]: *** [Makefile:1934: .] Error 2
make[3]: *** [debian/rules:74: build-arch] Error 2
dpkg-buildpackage: error: make -f debian/rules binary subprocess returned exit status 2
make[2]: *** [scripts/Makefile.package:121: bindeb-pkg] Error 2
make[1]: *** [/home/marvin/linux/kernel/linux_torvalds/Makefile:1555: bindeb-pkg] Error 2
make: *** [Makefile:240: __sub-make] Error 2
real 0m15.723s
user 0m22.371s
sys 0m6.100s
Sat Jun 22 22:34:28 CEST 2024
linux_torvalds$
Best regards,
Mirsad Todorovac
Powered by blists - more mailing lists