From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1DBCA18E05C; Wed, 9 Oct 2024 08:46:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728463567; cv=none; b=dcxPEVnYgEbHSvM7ihWdFoYGyiJDOerpcZuOjUwJ/JsLGFZ77lCpNRFaR5HqOv3jIwIR0SrkSWEsAfW6FnlPntuUFOqxhN2l4oN4R40HhJyocRzkVV2vc8JjcP17KABVAtKtqnfVN7Qejv8YKeqjqYEDn5Gcpu2x/X5QKohiWNE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728463567; c=relaxed/simple; bh=ZijqrjhFN0LXySL/+druOJOfsofJU7TTWVUT/y1qpaE=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=QQE6RHzNORAHG8WKzg1owjIhK2q3oLt41HLmVmW6fxow9hF7DN7YdBOZQQPD+CFQHv8iK1b1N6/Lxe/2y3geQNH7ICGL3JW0WSmJDk74Pz8P56ukY6DY2LOSL98KUWlcHG5bxUx24ysszqkdJRgKVufrBjZzIxlOkhCMp14qubI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=ed50BljF; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="ed50BljF" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7B43AC4CECE; Wed, 9 Oct 2024 08:46:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1728463566; bh=ZijqrjhFN0LXySL/+druOJOfsofJU7TTWVUT/y1qpaE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ed50BljFsmlPMx68ZWCA50+MRtbDFg4ESjeTWO09nbtIyO6CfPt7ZL4pxGIsOwHmb jJIasY9inuhqKzQJBL7Up/Hu6DnaxJR7AIddT/aaj2/RoL50OECv9Kpr/2xlBB7tpN z7MIicWQptlqWXdSIKaC+/zJwP1xNv9JhA9JIquItDQ4MzQJfakfvZvyYI4jR7i+j4 KgtrZcSxjOsLSt7NL63Pdm2cWM8HZYaQLL1ysqLG7RVnKZtbPmC4RfTr0CcTPjpBgp Ha5xZmfXhTXXA2J1ZX93rKmHb18ecP4kkDiP6c2zzrHNLY96hHqDto6MSbQ47PIjFX IMOxvIiXvvz9Q== Date: Wed, 9 Oct 2024 10:46:01 +0200 From: Ingo Molnar To: NeilBrown Cc: Stephen Rothwell , Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , Peter Zijlstra , Kent Overstreet , Linux Kernel Mailing List , Linux Next Mailing List Subject: Re: [PATCH] fs/bcachefs: Fix __wait_on_freeing_inode() definition of waitqueue entry Message-ID: References: <> <172846224138.444407.2293511819402322368@noble.neil.brown.name> Precedence: bulk X-Mailing-List: linux-next@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <172846224138.444407.2293511819402322368@noble.neil.brown.name> * NeilBrown wrote: > On Wed, 09 Oct 2024, Ingo Molnar wrote: > > * NeilBrown 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