From: Ingo Molnar <mingo@kernel•org>
To: NeilBrown <neilb@suse•de>
Cc: Stephen Rothwell <sfr@canb•auug.org.au>,
Thomas Gleixner <tglx@linutronix•de>,
Ingo Molnar <mingo@redhat•com>, "H. Peter Anvin" <hpa@zytor•com>,
Peter Zijlstra <peterz@infradead•org>,
Kent Overstreet <kent.overstreet@linux•dev>,
Linux Kernel Mailing List <linux-kernel@vger•kernel.org>,
Linux Next Mailing List <linux-next@vger•kernel.org>
Subject: Re: [PATCH] fs/bcachefs: Fix __wait_on_freeing_inode() definition of waitqueue entry
Date: Wed, 9 Oct 2024 10:46:01 +0200 [thread overview]
Message-ID: <ZwZCyTx_HbPWZ8zJ@gmail.com> (raw)
In-Reply-To: <172846224138.444407.2293511819402322368@noble.neil.brown.name>
* NeilBrown <neilb@suse•de> wrote:
> On Wed, 09 Oct 2024, Ingo Molnar wrote:
> > * NeilBrown <neilb@suse•de> wrote:
> >
> > > On Wed, 09 Oct 2024, Stephen Rothwell wrote:
> > > > Hi all,
> > > >
> > > > After merging the tip tree, today's linux-next build (x86_64 allmodconfig)
> > > > failed like this:
> > > >
> > > > In file included from include/linux/fs.h:6,
> > > > from include/linux/highmem.h:5,
> > > > from include/linux/bvec.h:10,
> > > > from include/linux/blk_types.h:10,
> > > > from include/linux/bio.h:10,
> > > > from fs/bcachefs/bcachefs.h:188,
> > > > from fs/bcachefs/fs.c:4:
> > > > fs/bcachefs/fs.c: In function '__wait_on_freeing_inode':
> > > > fs/bcachefs/fs.c:281:31: error: initialization of 'long unsigned int *' from incompatible pointer type 'u32 *' {aka 'unsigned int *'} [-Wincompatible-pointer-types]
> > > > 281 | DEFINE_WAIT_BIT(wait, &inode->v.i_state, __I_NEW);
> > >
> > > The fix we want is to replace that line with
> > > struct wait_bit_queue_entry wait;
> > > I should have checked more carefully - sorry.
> > >
> > > I guess we wait for rc3?
> > >
> > > Kent: could you please make that change? The inode_bit_waitqueue() does
> > > initialisation equivalent of DEFINE_WAIT_BIT() so you only need the declaration.
> >
> > Since the breakage was introduced via tip:sched/core, I've applied the fix
> > below.
> >
> > Does this look good to you?
>
> Perfect, thanks.
You are welcome!
Ingo
next prev parent reply other threads:[~2024-10-09 8:46 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-09 3:45 linux-next: build failure after merge of the tip tree Stephen Rothwell
2024-10-09 4:02 ` NeilBrown
2024-10-09 8:10 ` [PATCH] fs/bcachefs: Fix __wait_on_freeing_inode() definition of waitqueue entry Ingo Molnar
2024-10-09 8:24 ` NeilBrown
2024-10-09 8:46 ` Ingo Molnar [this message]
2024-10-09 20:22 ` linux-next: build failure after merge of the tip tree Kent Overstreet
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=ZwZCyTx_HbPWZ8zJ@gmail.com \
--to=mingo@kernel$(echo .)org \
--cc=hpa@zytor$(echo .)com \
--cc=kent.overstreet@linux$(echo .)dev \
--cc=linux-kernel@vger$(echo .)kernel.org \
--cc=linux-next@vger$(echo .)kernel.org \
--cc=mingo@redhat$(echo .)com \
--cc=neilb@suse$(echo .)de \
--cc=peterz@infradead$(echo .)org \
--cc=sfr@canb$(echo .)auug.org.au \
--cc=tglx@linutronix$(echo .)de \
/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