Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5F7B8C64EC4 for ; Wed, 8 Mar 2023 10:59:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231324AbjCHK7B (ORCPT ); Wed, 8 Mar 2023 05:59:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33580 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231290AbjCHK64 (ORCPT ); Wed, 8 Mar 2023 05:58:56 -0500 Received: from smtp-out2.suse.de (smtp-out2.suse.de [IPv6:2001:67c:2178:6::1d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 912C49AFDB for ; Wed, 8 Mar 2023 02:58:50 -0800 (PST) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id DEBFC1FE3D; Wed, 8 Mar 2023 10:58:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1678273128; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=LCAfw6gZ22BA3KCRgOa8h5RexNoS/fKKCQLrt+0R00c=; b=d8LpWLDxMvAE42tUD5tt3BxLqadEeewL3CK1u5qY1fz7pCs+DdaHLMcbT4SKWNWi5IMqpw uMKSJ+O63xUj23/VHsGHSj+NGRIgaUeq2TWJfHZnlD3ondKQwRXAMfx3z6rRw9H+wxBIMc NJo/UL3PrgXUdp4RRKjg7sBAftecnYE= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1678273128; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=LCAfw6gZ22BA3KCRgOa8h5RexNoS/fKKCQLrt+0R00c=; b=nZkEe64msf7Ncek7aYtUlKTfM3Nk5KTip3ddKJBrHqmlodyDIwpU5d7F8KKU2oevYwEj12 3+bk564SEhgdzbDQ== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id B4B191348D; Wed, 8 Mar 2023 10:58:48 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id NDPuKmhqCGQQbwAAMHmgww (envelope-from ); Wed, 08 Mar 2023 10:58:48 +0000 Message-ID: <9abef101-3a9b-0bdd-7139-ced7d5e28ebe@suse.cz> Date: Wed, 8 Mar 2023 11:59:08 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 Subject: Re: [PATCH] maple_tree: export symbol mas_preallocate() Content-Language: en-US To: "Liam R. Howlett" , Danilo Krummrich , linux-mm@kvack.org, linux-kernel@vger.kernel.org, maple-tree@lists.infradead.org References: <20230302011035.4928-1-dakr@redhat.com> <20230302015242.xi3y53okc4skmonn@revolver> Cc: Christoph Hellwig From: Vlastimil Babka In-Reply-To: <20230302015242.xi3y53okc4skmonn@revolver> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 3/2/23 02:52, Liam R. Howlett wrote: > Thanks for the patch. This should indeed be exported. > > Reviewed-by: Liam R. Howlett What uses it? Don't we export only things used by in-kernel modules? > * Danilo Krummrich [230301 20:10]: >> Fix missing EXPORT_SYMBOL_GPL() statement for mas_preallocate(). >> >> Signed-off-by: Danilo Krummrich >> --- >> lib/maple_tree.c | 1 + >> 1 file changed, 1 insertion(+) >> >> diff --git a/lib/maple_tree.c b/lib/maple_tree.c >> index 26e2045d3cda..3bfb8a6f3f6d 100644 >> --- a/lib/maple_tree.c >> +++ b/lib/maple_tree.c >> @@ -5733,6 +5733,7 @@ int mas_preallocate(struct ma_state *mas, void *entry, gfp_t gfp) >> mas_reset(mas); >> return ret; >> } >> +EXPORT_SYMBOL_GPL(mas_preallocate); >> >> /* >> * mas_destroy() - destroy a maple state. >> -- >> 2.39.2 >> >