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 C4494C0032E for ; Fri, 20 Oct 2023 13:42:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1377327AbjJTNmj (ORCPT ); Fri, 20 Oct 2023 09:42:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44268 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1377427AbjJTNmh (ORCPT ); Fri, 20 Oct 2023 09:42:37 -0400 Received: from smtp-out2.suse.de (smtp-out2.suse.de [IPv6:2001:67c:2178:6::1d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7B9901A8 for ; Fri, 20 Oct 2023 06:42:35 -0700 (PDT) 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 A77461F8A3; Fri, 20 Oct 2023 13:42:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1697809351; 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=IvQp+Lj1RtWKJxIhCpbwDxWiQL84jFnfP/NyDPB5MfE=; b=vsmhi6iZ6I4cjQ8cU8PYVhxiK6kXjqY0kiz0O4xh8g9Cc852ZI2uGaaYUgSjmQ69w/UEvg paCQF5k7Si+G8rfL8K1N6O13qlAZ491dqcbBYEBuMxkVdHHvRkpzB3j83TVSnGS7vx4dLa bssl8/e7exHiLzCImEwPnxkqyjIcxdM= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1697809351; 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=IvQp+Lj1RtWKJxIhCpbwDxWiQL84jFnfP/NyDPB5MfE=; b=y0DfmcOLPYaXhUH2RmsCYDg6s0pphzMaPcwOWREYutmSXl3NysbVblSLiPGgAXAD9lv2Mp luJSCG4xw42mpVDA== 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 29A1113584; Fri, 20 Oct 2023 13:42:31 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id HjAaB8eDMmUqLQAAMHmgww (envelope-from ); Fri, 20 Oct 2023 13:42:31 +0000 Message-ID: Date: Fri, 20 Oct 2023 15:42:30 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 1/2] nvme: common: make keyring and auth separate modules To: Arnd Bergmann , Keith Busch , Jens Axboe , Christoph Hellwig , Sagi Grimberg , Chaitanya Kulkarni Cc: Arnd Bergmann , linux-kernel@vger.kernel.org, linux-nvme@lists.infradead.org References: <20231020130644.485649-1-arnd@kernel.org> Content-Language: en-US From: Hannes Reinecke In-Reply-To: <20231020130644.485649-1-arnd@kernel.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Authentication-Results: smtp-out2.suse.de; none X-Spamd-Result: default: False [-10.87 / 50.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; XM_UA_NO_VERSION(0.01)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; BAYES_HAM(-2.78)[99.06%]; MIME_GOOD(-0.10)[text/plain]; REPLY(-4.00)[]; NEURAL_HAM_LONG(-3.00)[-1.000]; DKIM_SIGNED(0.00)[suse.de:s=susede2_rsa,suse.de:s=susede2_ed25519]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RCPT_COUNT_SEVEN(0.00)[9]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/20/23 15:05, Arnd Bergmann wrote: > From: Arnd Bergmann > > When only the keyring module is included but auth is not, modpost > complains about the lack of a module license tag: > > ERROR: modpost: missing MODULE_LICENSE() in drivers/nvme/common/nvme-common.o > > Address this by making both modules buildable standalone, > removing the now unnecessary CONFIG_NVME_COMMON symbol > in the process. > > Fixes: 9d77eb5277849 ("nvme-keyring: register '.nvme' keyring") > Signed-off-by: Arnd Bergmann > --- > drivers/nvme/Makefile | 2 +- > drivers/nvme/common/Kconfig | 4 ++-- > drivers/nvme/common/Makefile | 7 ++++--- > drivers/nvme/common/keyring.c | 2 ++ > drivers/nvme/host/Kconfig | 2 -- > drivers/nvme/target/Kconfig | 2 -- > include/linux/nvme-keyring.h | 2 +- > 7 files changed, 10 insertions(+), 11 deletions(-) > Reviewed-by: Hannes Reinecke Cheers, Hannes