From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from elvis.franken.de (elvis.franken.de [193.175.24.41]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E7F7B1CF5E8; Tue, 22 Oct 2024 22:49:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.175.24.41 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729637364; cv=none; b=IYC9vUq7GHpISXc80tJIy3XV51Gj/wzOvTyARnpOI27q4tW/3LSrUth26zCfelYAI8Det5hKcHCGyIw3RPE8Q7sS7U7lYYuyXBACBJnUlu9EnY7M6aA+M49NJjXZXmXhv7VNZA69d6bCtfd7F0l1e/cDzxNokUuyNJjGDiXfXWY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729637364; c=relaxed/simple; bh=H1Lbj8kCDs1jnCOjeopWcZI5CsC1Et7PMkG+2mbQFaA=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=QhP05cUO1oRIDo+Kg37UICr33IFjlcnnF95fPyp+5yUIM2s0nxx9FHUqVhHdwMSsJrbq242fXyDGt8VjtbTe47ARMZkC2CUG8YQGyrD30Igu2Cah8ZsjLEAvpu+3TrAMLmYCjrsLCYMW4ULMAywnHq4Y1LrY4seYb3cndlN0bzI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=alpha.franken.de; spf=pass smtp.mailfrom=alpha.franken.de; arc=none smtp.client-ip=193.175.24.41 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=alpha.franken.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=alpha.franken.de Received: from uucp by elvis.franken.de with local-rmail (Exim 3.36 #1) id 1t3MjJ-0001gl-00; Tue, 22 Oct 2024 23:47:53 +0200 Received: by alpha.franken.de (Postfix, from userid 1000) id 3CCFBC01E8; Tue, 22 Oct 2024 18:20:12 +0200 (CEST) Date: Tue, 22 Oct 2024 18:20:12 +0200 From: Thomas Bogendoerfer To: David Sterba Cc: linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] MIPS: export __cmpxchg_small() Message-ID: References: <20241022143914.27372-1-dsterba@suse.com> Precedence: bulk X-Mailing-List: linux-kernel@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: <20241022143914.27372-1-dsterba@suse.com> On Tue, Oct 22, 2024 at 04:39:13PM +0200, David Sterba wrote: > Export the symbol __cmpxchg_small() for btrfs.ko that will use it to > store blk_status_t, which is u8. Reported by LKP: > > >> ERROR: modpost: "__cmpxchg_small" [fs/btrfs/btrfs.ko] undefined! > > Patch using the cmpxchg() https://lore.kernel.org/linux-btrfs/1d4f72f7fee285b2ddf4bf62b0ac0fd89def5417.1728575379.git.naohiro.aota@wdc.com/ > > Link: https://lore.kernel.org/all/20241016134919.GO1609@suse.cz/ > Signed-off-by: David Sterba > --- > > I can merge it via the btrfs git tree along the fix or wait until it's > merged the usual way, please let me know. just merge via btrfs tree. Acked-by: Thomas Bogendoerfer -- Crap can work. Given enough thrust pigs will fly, but it's not necessarily a good idea. [ RFC1925, 2.3 ]