Received: by 2002:a05:7412:f690:b0:e2:908c:2ebd with SMTP id ej16csp1029809rdb; Fri, 20 Oct 2023 06:42:41 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFwfGMHFtbsQv7s87VqeG08q99EKLHTZXRViNZPHjMTfqvoQiVgRxxZiHfNDDUukKiQX0mZ X-Received: by 2002:a05:6a21:6da2:b0:16c:b95c:6d35 with SMTP id wl34-20020a056a216da200b0016cb95c6d35mr1858073pzb.50.1697809361545; Fri, 20 Oct 2023 06:42:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697809361; cv=none; d=google.com; s=arc-20160816; b=UYBcYPAZTW/e7EXlV9AzeXSDbaqAf8PQItVVoNg9WBrsPjip2fqjYdHNYR20HIkiFr d3eGD9it+XtEj8/Ba2dyLZLCGCqnWbG44soTcB4AM2KIDjVtq3McV9BtvBrFr0NA6vMW iq2ZGBe2Ry0pkHIDqrcLI09+ecIzaAWxoX2xhnWo9MFbcGGI3xrBA4/jsXheUZzIVI3e jNds+lw03KC9wlwrHp0HXS3yFxOM26zm3HNeE3b3N0YZ595SHFWW5w0WE/n7SoA5DiJG AcDZrWXxX10+x1zHBeV3u34buaXxPBYXemE245nHZOhSu24VnvfdyMgX8iVbZm+7zjEm iQPQ== 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 :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:dkim-signature:dkim-signature; bh=IvQp+Lj1RtWKJxIhCpbwDxWiQL84jFnfP/NyDPB5MfE=; fh=ufW0bYgKkF7HMCwnKUCUhiuSWOZaQWgcYQR1zsyn1w0=; b=IyaiJKIjekjUDI8oasaI8wFiK9iJWKQCPHZo3sdKcSW3R84+9rRb8pFjPwE3EQC1PJ K6I+Xz+0aIRBitjER/LW9mR3mZZ40P2EHcnRhBVthq1FSh670S3AFeffVdwCced6Bnmc dFU1RAtvRTbN5Hb/8nLPsfXbINuTUd7alkzTykuwV+mcjNgpo+6xvNyY6dn8A/aBjTzT SQjH/PTg84URGykEgNldl5qzvvA/aNTTXfqyqacWiuamnkUxVe7L4nGF3RI0qpj3w0F0 wn30ZXPGzZ+iIOiRvOpgo0YS8qirgJ3RtOPMsjUaaofkbVq1C+/FHQvaRemseIBw6Ezz Kkfw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=vsmhi6iZ; dkim=neutral (no key) header.i=@suse.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id 100-20020a17090a09ed00b002681fea6d14si4355072pjo.79.2023.10.20.06.42.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Oct 2023 06:42:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=vsmhi6iZ; dkim=neutral (no key) header.i=@suse.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 2E82E82F27EF; Fri, 20 Oct 2023 06:42:40 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1377434AbjJTNmi (ORCPT + 99 others); Fri, 20 Oct 2023 09:42:38 -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-Spam-Level: X-Spam-Score: -10.87 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)[] X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, 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-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Fri, 20 Oct 2023 06:42:40 -0700 (PDT) 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