From: Stephen Rothwell <sfr@canb•auug.org.au>
To: Andrew Morton <akpm@linux-foundation•org>
Cc: KernelCI bot <bot@kernelci•org>,
kernelci@lists•linux.dev, kernelci-results@groups•io,
regressions@lists•linux.dev, gus@collabora•com,
linux-next@vger•kernel.org,
Dominique Martinet <asmadeus@codewreck•org>
Subject: Re: [REGRESSION] next/pending-fixes: (build) ./include/linux/iov_iter.h:171:7: error: variable 'remain' is used...
Date: Wed, 13 Aug 2025 16:12:58 +1000 [thread overview]
Message-ID: <20250813161258.68661171@canb.auug.org.au> (raw)
In-Reply-To: <175506114403.296.12737351814093118427@99cfaf6094a7>
[-- 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 --]
next prev parent reply other threads:[~2025-08-13 6:13 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-08-14 1:59 KernelCI bot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250813161258.68661171@canb.auug.org.au \
--to=sfr@canb$(echo .)auug.org.au \
--cc=akpm@linux-foundation$(echo .)org \
--cc=asmadeus@codewreck$(echo .)org \
--cc=bot@kernelci$(echo .)org \
--cc=gus@collabora$(echo .)com \
--cc=kernelci-results@groups$(echo .)io \
--cc=kernelci@lists$(echo .)linux.dev \
--cc=linux-next@vger$(echo .)kernel.org \
--cc=regressions@lists$(echo .)linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox