From: Andrew Morton <akpm@linux-foundation.org>
To: Nathan Chancellor <nathan@kernel.org>
Cc: Mark Tinguely <mark.tinguely@oracle.com>,
llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
kernel test robot <lkp@intel.com>,
Linux Memory Management List <linux-mm@kvack.org>,
"Matthew Wilcox (Oracle)" <willy@infradead.org>,
Joseph Qi <joseph.qi@linux.alibaba.com>
Subject: Re: [akpm-mm:mm-nonmm-unstable 66/67] fs/ocfs2/aops.c:1133:17: warning: variable 'i' is uninitialized when used here
Date: Tue, 22 Apr 2025 17:55:08 -0700 [thread overview]
Message-ID: <20250422175508.cbb4875faacbda05e6c68cfd@linux-foundation.org> (raw)
In-Reply-To: <20250422201241.GA3761951@ax162>
On Tue, 22 Apr 2025 13:12:41 -0700 Nathan Chancellor <nathan@kernel.org> wrote:
> Hi Andrew,
>
> On Sat, Apr 19, 2025 at 09:21:13AM +0800, kernel test robot wrote:
> > tree: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-nonmm-unstable
> > head: d1a9b961293d30be9a865d8685590635db282957
> > commit: 89e3e963129e945e0333e474709bde627b6a9cee [66/67] ocfs2: fix panic in failed foilio allocation
> > config: s390-randconfig-001-20250419 (https://download.01.org/0day-ci/archive/20250419/202504190950.rq1NDlDz-lkp@intel.com/config)
> > compiler: clang version 21.0.0git (https://github.com/llvm/llvm-project f819f46284f2a79790038e1f6649172789734ae8)
> > reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250419/202504190950.rq1NDlDz-lkp@intel.com/reproduce)
> >
> > If you fix the issue in a separate patch/commit (i.e. not just a new version of
> > the same patch/commit), kindly add following tags
> > | Reported-by: kernel test robot <lkp@intel.com>
> > | Closes: https://lore.kernel.org/oe-kbuild-all/202504190950.rq1NDlDz-lkp@intel.com/
> >
> > All warnings (new ones prefixed by >>):
> >
> > >> fs/ocfs2/aops.c:1133:17: warning: variable 'i' is uninitialized when used here [-Wuninitialized]
> > 1133 | wc->w_folios[i] = NULL;
> > | ^
> > fs/ocfs2/aops.c:1101:12: note: initialize the variable 'i' to silence this warning
> > 1101 | int ret, i;
> > | ^
> > | = 0
>
> There appears to be something funky going on with "ocfs2: fix panic in
> failed foilio allocation" in your tree, perhaps as a result of applying
> v2 to mm-nonmm-unstable and v1 to mm-hotfixes-unstable? If you compare
> https://git.kernel.org/akpm/mm/c/392a664f6d2740eeae23df0d29b56f444f558a7c
> to https://lore.kernel.org/c879a52b-835c-4fa0-902b-8b2e9196dcbd@oracle.com/,
> the second hunks do not match, which is what this is warning about. I
> see this same warning in next-20250422.
Thanks. Confirms that the universe is a plot to confuse akpm.
I dropped everything and remerged the v2 patch.
next prev parent reply other threads:[~2025-04-23 0:55 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-04-19 1:21 kernel test robot
2025-04-22 20:12 ` Nathan Chancellor
2025-04-23 0:55 ` Andrew Morton [this message]
2025-04-23 14:13 ` [External] : " Mark Tinguely
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=20250422175508.cbb4875faacbda05e6c68cfd@linux-foundation.org \
--to=akpm@linux-foundation.org \
--cc=joseph.qi@linux.alibaba.com \
--cc=linux-mm@kvack.org \
--cc=lkp@intel.com \
--cc=llvm@lists.linux.dev \
--cc=mark.tinguely@oracle.com \
--cc=nathan@kernel.org \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=willy@infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
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