* [REGRESSION] next/pending-fixes: (build) ./include/linux/iov_iter.h:171:7: error: variable 'remain' is used...
@ 2025-08-13 4:59 KernelCI bot
2025-08-13 6:12 ` Stephen Rothwell
0 siblings, 1 reply; 3+ messages in thread
From: KernelCI bot @ 2025-08-13 4:59 UTC (permalink / raw)
To: kernelci-results; +Cc: regressions, gus, linux-next
Hello,
New build issue found on next/pending-fixes:
---
./include/linux/iov_iter.h:171:7: error: variable 'remain' is used uninitialized whenever 'if' condition is true [-Werror,-Wsometimes-uninitialized] in net/core/skbuff.o (net/core/skbuff.c) [logspec:kbuild,kbuild.compiler.error]
---
- dashboard: https://d.kernelci.org/i/maestro:e3e604796d8d054968bf2b979c7940708d16e0ee
- giturl: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
- commit HEAD: 1b07edbd37d5ab410613ebe09b0641d0f4fe717b
Log excerpt:
=====================================================
In file included from net/core/skbuff.c:66:
./include/linux/iov_iter.h:171:7: error: variable 'remain' is used uninitialized whenever 'if' condition is true [-Werror,-Wsometimes-uninitialized]
171 | if (skip >= fsize)
| ^~~~~~~~~~~~~
./include/linux/iov_iter.h:190:7: note: uninitialized use occurs here
190 | if (remain)
| ^~~~~~
./include/linux/iov_iter.h:171:3: note: remove the 'if' if its condition is always false
171 | if (skip >= fsize)
| ^~~~~~~~~~~~~~~~~~
172 | goto next;
| ~~~~~~~~~
./include/linux/iov_iter.h:163:22: note: initialize the variable 'remain' to silence this warning
163 | size_t part, remain, consumed;
| ^
| = 0
CC drivers/pci/search.o
CC sound/core/seq/seq_dummy.o
CC lib/ctype.o
CC lib/dec_and_lock.o
AR sound/i2c/other/built-in.a
AR sound/i2c/built-in.a
CC kernel/fork.o
1 error generated.
=====================================================
# Builds where the incident occurred:
## x86_64_defconfig on (x86_64):
- compiler: clang-17
- dashboard: https://d.kernelci.org/build/maestro:689c1610233e484a3f9165be
## x86_64_defconfig+kselftest+x86-board on (x86_64):
- compiler: clang-17
- dashboard: https://d.kernelci.org/build/maestro:689c1617233e484a3f9165c4
#kernelci issue maestro:e3e604796d8d054968bf2b979c7940708d16e0ee
Reported-by: kernelci.org bot <bot@kernelci•org>
--
This is an experimental report format. Please send feedback in!
Talk to us at kernelci@lists•linux.dev
Made with love by the KernelCI team - https://kernelci.org
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [REGRESSION] next/pending-fixes: (build) ./include/linux/iov_iter.h:171:7: error: variable 'remain' is used...
2025-08-13 4:59 [REGRESSION] next/pending-fixes: (build) ./include/linux/iov_iter.h:171:7: error: variable 'remain' is used KernelCI bot
@ 2025-08-13 6:12 ` Stephen Rothwell
0 siblings, 0 replies; 3+ messages in thread
From: Stephen Rothwell @ 2025-08-13 6:12 UTC (permalink / raw)
To: Andrew Morton
Cc: KernelCI bot, kernelci, kernelci-results, regressions, gus,
linux-next, Dominique Martinet
[-- Attachment #1: Type: text/plain, Size: 2987 bytes --]
Hi all,
On Wed, 13 Aug 2025 04:59:04 -0000 KernelCI bot <bot@kernelci•org> wrote:
>
> New build issue found on next/pending-fixes:
>
> ---
> ./include/linux/iov_iter.h:171:7: error: variable 'remain' is used uninitialized whenever 'if' condition is true [-Werror,-Wsometimes-uninitialized] in net/core/skbuff.o (net/core/skbuff.c) [logspec:kbuild,kbuild.compiler.error]
> ---
>
> - dashboard: https://d.kernelci.org/i/maestro:e3e604796d8d054968bf2b979c7940708d16e0ee
> - giturl: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
> - commit HEAD: 1b07edbd37d5ab410613ebe09b0641d0f4fe717b
>
>
>
> Log excerpt:
> =====================================================
> In file included from net/core/skbuff.c:66:
> ./include/linux/iov_iter.h:171:7: error: variable 'remain' is used uninitialized whenever 'if' condition is true [-Werror,-Wsometimes-uninitialized]
> 171 | if (skip >= fsize)
> | ^~~~~~~~~~~~~
> ./include/linux/iov_iter.h:190:7: note: uninitialized use occurs here
> 190 | if (remain)
> | ^~~~~~
> ./include/linux/iov_iter.h:171:3: note: remove the 'if' if its condition is always false
> 171 | if (skip >= fsize)
> | ^~~~~~~~~~~~~~~~~~
> 172 | goto next;
> | ~~~~~~~~~
> ./include/linux/iov_iter.h:163:22: note: initialize the variable 'remain' to silence this warning
> 163 | size_t part, remain, consumed;
> | ^
> | = 0
> CC drivers/pci/search.o
> CC sound/core/seq/seq_dummy.o
> CC lib/ctype.o
> CC lib/dec_and_lock.o
> AR sound/i2c/other/built-in.a
> AR sound/i2c/built-in.a
> CC kernel/fork.o
> 1 error generated.
>
> =====================================================
>
>
> # Builds where the incident occurred:
>
> ## x86_64_defconfig on (x86_64):
> - compiler: clang-17
> - dashboard: https://d.kernelci.org/build/maestro:689c1610233e484a3f9165be
>
> ## x86_64_defconfig+kselftest+x86-board on (x86_64):
> - compiler: clang-17
> - dashboard: https://d.kernelci.org/build/maestro:689c1617233e484a3f9165c4
>
>
> #kernelci issue maestro:e3e604796d8d054968bf2b979c7940708d16e0ee
>
> Reported-by: kernelci.org bot <bot@kernelci•org>
>
> --
> This is an experimental report format. Please send feedback in!
> Talk to us at kernelci@lists•linux.dev
>
> Made with love by the KernelCI team - https://kernelci.org
>
This is caused by commit
eacecdbf2789 ("iov_iter: iterate_folioq: fix handling of offset >= folio size")
in the mm-hotfixes-unstable branch of the mm-hotfixes tree.
This is now commit
b8da3ae0ae53 ("iov_iter: iterate_folioq: fix handling of offset >= folio size")
--
Cheers,
Stephen Rothwell
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* [REGRESSION] next/pending-fixes: (build) ./include/linux/iov_iter.h:171:7: error: variable 'remain' is used...
@ 2025-08-14 1:59 KernelCI bot
0 siblings, 0 replies; 3+ messages in thread
From: KernelCI bot @ 2025-08-14 1:59 UTC (permalink / raw)
To: kernelci-results; +Cc: regressions, gus, linux-next
Hello,
New build issue found on next/pending-fixes:
---
./include/linux/iov_iter.h:171:7: error: variable 'remain' is used uninitialized whenever 'if' condition is true [-Werror,-Wsometimes-uninitialized] in net/core/datagram.o (net/core/datagram.c) [logspec:kbuild,kbuild.compiler.error]
---
- dashboard: https://d.kernelci.org/i/maestro:82c48b655cc0d40e7033745ca11b932d4cb70784
- giturl: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
- commit HEAD: e0eed1e413d2ef7c2122647cfa76de2809e42c11
Log excerpt:
=====================================================
In file included from net/core/datagram.c:53:
./include/linux/iov_iter.h:171:7: error: variable 'remain' is used uninitialized whenever 'if' condition is true [-Werror,-Wsometimes-uninitialized]
171 | if (skip >= fsize)
| ^~~~~~~~~~~~~
./include/linux/iov_iter.h:190:7: note: uninitialized use occurs here
190 | if (remain)
| ^~~~~~
./include/linux/iov_iter.h:171:3: note: remove the 'if' if its condition is always false
171 | if (skip >= fsize)
| ^~~~~~~~~~~~~~~~~~
172 | goto next;
| ~~~~~~~~~
./include/linux/iov_iter.h:163:22: note: initialize the variable 'remain' to silence this warning
163 | size_t part, remain, consumed;
| ^
| = 0
AR lib/fonts/built-in.a
CC sound/core/pcm_lib.o
AR arch/x86/platform/atom/built-in.a
CC lib/bug.o
AR arch/x86/platform/geode/built-in.a
CC arch/x86/platform/efi/memmap.o
1 error generated.
AR arch/x86/platform/ce4100/built-in.a
=====================================================
# Builds where the incident occurred:
## x86_64_defconfig on (x86_64):
- compiler: clang-17
- dashboard: https://d.kernelci.org/build/maestro:689d2d72233e484a3f944060
#kernelci issue maestro:82c48b655cc0d40e7033745ca11b932d4cb70784
Reported-by: kernelci.org bot <bot@kernelci•org>
--
This is an experimental report format. Please send feedback in!
Talk to us at kernelci@lists•linux.dev
Made with love by the KernelCI team - https://kernelci.org
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-08-14 1:59 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-13 4:59 [REGRESSION] next/pending-fixes: (build) ./include/linux/iov_iter.h:171:7: error: variable 'remain' is used KernelCI bot
2025-08-13 6:12 ` Stephen Rothwell
-- strict thread matches above, loose matches on Subject: below --
2025-08-14 1:59 KernelCI bot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox