Received: by 2002:ac0:e350:0:0:0:0:0 with SMTP id g16csp147071imn; Fri, 29 Jul 2022 02:39:38 -0700 (PDT) X-Google-Smtp-Source: AGRyM1ueDlsFEym/ncFWaRphjZh3eNnptkxQwg+Isvlw0HvArBkuD/YVaDuVNXy9AukoK9LpJ682 X-Received: by 2002:a17:906:9c82:b0:6df:baa2:9f75 with SMTP id fj2-20020a1709069c8200b006dfbaa29f75mr2282924ejc.762.1659087578253; Fri, 29 Jul 2022 02:39:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659087578; cv=none; d=google.com; s=arc-20160816; b=Pv+g2gyjOA3oQGV0JoWwt82zVbDCfT43vXn5AiuPh5q1dPXc4laC2eXbqS+LdkXpgo PJsCKzdzhjNy9zarLyrHyZZbb8+m/caaQbPLH4s6NWlWV9sEVQvWg8cZTsFywe8ISj95 D+mKxKe0n8Y+tuTGjx8Ulb2GdMuyBXptwRwgQyCXfKVVyTbhptafIQ8lTFuooghd+J30 bzksT6WkobwKeg5dWzqEzSrv+WlOyGqdO0RjIAy3ihRvSiZe2CfOWs3rpwYvMttccUmw 4n8SG4PnNu2sy3f4bQcyrPPOokd313D9hoVqn8NCEfvtYGFS5FH5zOG+ivNfbiTtpaf4 t9FA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=/ihBcPf8ekOmNH8kJREtxReVH3CGAUHro+nyW2sYDV8=; b=nOYGOYJ3FXGTOslu7L6hs5AkHxlwlLTX7N5+BPjmJwhgBB0uh5RvriWBald0VdML2O YWbR/NfD/Npe3cHVk4icYZdbWLnBjMIR83/psLR5l3md815ZDVXpnkH/DkKyj3W/A0hw JzNaV53wUt6SXQfXaQ3cQLW+v1HytT8oY6uyf76BIA09vpZEHriHPfh6xggTg1gVZjZu KXs7ydCJbvm/nmfvcSZSOmQPtBLcixrfmimZYUXpCNNhuHymHbIuuQkbR7JoPQZvDd91 Vh9uWYPbyCNVgRMzBOOErroGioTjEbOhPiZqcM/zO1Y9sG09TEWETVKd0C5nqm62wTMI mszQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=g8y96oA7; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i26-20020a0564020f1a00b0043cd5308078si2882777eda.377.2022.07.29.02.39.21; Fri, 29 Jul 2022 02:39:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=g8y96oA7; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235283AbiG2Jir (ORCPT + 65 others); Fri, 29 Jul 2022 05:38:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37056 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235263AbiG2Jiq (ORCPT ); Fri, 29 Jul 2022 05:38:46 -0400 Received: from mail-ej1-x62c.google.com (mail-ej1-x62c.google.com [IPv6:2a00:1450:4864:20::62c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2A71D4F674 for ; Fri, 29 Jul 2022 02:38:45 -0700 (PDT) Received: by mail-ej1-x62c.google.com with SMTP id l23so7550441ejr.5 for ; Fri, 29 Jul 2022 02:38:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=/ihBcPf8ekOmNH8kJREtxReVH3CGAUHro+nyW2sYDV8=; b=g8y96oA7GC1kdSBt3Z3VVnwZH5fnYLX2Inwo47Ne0T0DOqsGu5smHRxCnJw/C6/4hj mgatE0hmV+zWeJea/8Y4BxrGFMzAuSW1x0l7rDIHZ04EeUjcWPSYUWfPICWkeASW6rZv Hhut+57qbb6FJUwkrT59I3avN93oZBmCF2QRK8TmNQV7y0D05AwCHVxjEwzUwPMQBHIa ZwxcGtPbzlw50TqYBWXzmv2umyzpeP1f+I3U4VXed28NZrmN12783PpIgdpfpTLNGSy4 b4uzTOKK5CD8RS6eO6yzOHQst62DF3Q4aNtc3tODgWCnsN52rolkrbPZFvIF1gwyfoba T8KA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=/ihBcPf8ekOmNH8kJREtxReVH3CGAUHro+nyW2sYDV8=; b=tDPtf9oGpBlDr9nWfq2w0wg3BKcTv6jL07Que8tZqXAiRn1v40vp82Xt3b86lvrK4R nu2ggC58DUR7FQ6KKtlSAUhyEoeVFjgJzcgQT7yg/JEj6eqR8cvkMyJegPj5Go3ZWHYx uJrkFXkIn6IfpekslWGgdIDZniZrY7gq/xp3yDk1tmyM7LVcdvIfr7crhPG2iGeu/QVZ zV0gft0JJKx9NNdbm8CVeUsMg+/MjM68nCT2r/vj8ulQGB/Nf0dbR/gUAou7ytSBIZSt DgM0Ek7gphAYfkIpQjdnDAeY6bQlo3umy9o1RWCqHYiS8ilmOy9AnCpRTpPilT5Wm4Hc rkiQ== X-Gm-Message-State: AJIora8drxjQYGVi8vMqi/O6uYJWMDMJnU8dshLF9DKWlxKybCJAtZvm sZJ7CyzGrGR8XSikukFpaxI0VFqlH4Y= X-Received: by 2002:a17:907:2807:b0:72b:4530:29d5 with SMTP id eb7-20020a170907280700b0072b453029d5mr2323543ejc.69.1659087523574; Fri, 29 Jul 2022 02:38:43 -0700 (PDT) Received: from [192.168.178.136] (f215227.upc-f.chello.nl. [80.56.215.227]) by smtp.gmail.com with ESMTPSA id g17-20020a170906539100b00722dcb4629bsm1481412ejo.14.2022.07.29.02.38.42 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 29 Jul 2022 02:38:42 -0700 (PDT) Message-ID: Date: Fri, 29 Jul 2022 11:38:42 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: [PATCH 7/7] brcmfmac: introduce BRCMFMAC exported symbols namespace Content-Language: en-US To: Kalle Valo Cc: arend.vanspriel@broadcom.com, linux-wireless@vger.kernel.org References: <20220613091915.18884-1-arend.vanspriel@broadcom.com> <87fsilo9so.fsf@kernel.org> From: Arend Van Spriel In-Reply-To: <87fsilo9so.fsf@kernel.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On 7/28/2022 11:39 AM, Kalle Valo wrote: > aspriel@gmail.com writes: > >> Instead of using EXPORT_SYMBOL() use namespace variant and only if >> build vendor-specific code as separate module. > > The commit log should always answer to the question "why?". Let me try: Exported symbols are usable from any kernel module. Using the namespace variant requires the caller to explicitly import the symbols. This makes it more clear that these are only intended to be used by brcmfmac driver. When vendor-support is built-in there is no reason to export the symbols at all. If the above is acceptable I will use that when resending the patch series. Regards, Arend