From mboxrd@z Thu Jan 1 00:00:00 1970 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 B70AEC4332F for ; Fri, 14 Oct 2022 07:36:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229932AbiJNHg1 (ORCPT ); Fri, 14 Oct 2022 03:36:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53354 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229963AbiJNHgU (ORCPT ); Fri, 14 Oct 2022 03:36:20 -0400 Received: from sin.source.kernel.org (sin.source.kernel.org [145.40.73.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4548F3B470; Fri, 14 Oct 2022 00:36:19 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sin.source.kernel.org (Postfix) with ESMTPS id 3C7EBCE24DF; Fri, 14 Oct 2022 07:36:17 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 07C7BC433B5; Fri, 14 Oct 2022 07:36:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1665732975; bh=RGmNY+AV7OpkSWdyidcLOuMN9jGj4/KAd9M6dyX22ac=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Xp/rvLqUc3qFfbrf1PYk1U34jZ4VzWNsf/8TuqdFFKZUdpapUeMLfiHE6+W/3EkoB BUWAkHa4mylMD+k8GNG/Nqx6pCvsJgdzGdhdyV3b9UTaMO9YNxg7bSir/0xYplfPYe NJyxbxCvDBIDt6NozQTy6LG14mKChX24VS6vJvuo= Date: Fri, 14 Oct 2022 09:36:58 +0200 From: Greg Kroah-Hartman To: Elliot Berman Cc: Bjorn Andersson , Murali Nalajala , Trilok Soni , Srivatsa Vaddagiri , Carl van Schaik , Prakruthi Deepak Heragu , Andy Gross , Dmitry Baryshkov , Jassi Brar , linux-arm-kernel@lists.infradead.org, Mark Rutland , Lorenzo Pieralisi , Sudeep Holla , Marc Zyngier , Rob Herring , Krzysztof Kozlowski , Jonathan Corbet , Will Deacon , Catalin Marinas , Arnd Bergmann , devicetree@vger.kernel.org, linux-doc@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v5 06/13] virt: gunyah: Identify hypervisor version Message-ID: References: <20221011000840.289033-1-quic_eberman@quicinc.com> <20221011000840.289033-7-quic_eberman@quicinc.com> <2f313bf8-b366-e094-b5b6-c601458f5cfa@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2f313bf8-b366-e094-b5b6-c601458f5cfa@quicinc.com> Precedence: bulk List-ID: X-Mailing-List: linux-doc@vger.kernel.org On Thu, Oct 13, 2022 at 04:00:10PM -0700, Elliot Berman wrote: > On 10/10/2022 11:13 PM, Greg Kroah-Hartman wrote: > > On Mon, Oct 10, 2022 at 05:08:33PM -0700, Elliot Berman wrote: > > > > EXPORT_SYMBOL_GPL()? I have to ask. > > typo only :) > > > > > But why is it exported at all? No one is using it in this patch. > > > It's used later in the series by the message queue driver. The idea here now > is that gunyah.ko is capable of identifying Gunyah and other drivers can > check if they are individually compatible with the reported version of > Gunyah. Then export it when you use it. If we had taken just half of the series, then this would be an export that no one used, which is not ok. thanks, greg k-h