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 E6943C61DA4 for ; Mon, 6 Mar 2023 15:33:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230013AbjCFPd5 (ORCPT ); Mon, 6 Mar 2023 10:33:57 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59804 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230316AbjCFPdm (ORCPT ); Mon, 6 Mar 2023 10:33:42 -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 76BEB1FCC; Mon, 6 Mar 2023 07:33:09 -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 9348B1FDEA; Mon, 6 Mar 2023 15:32:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1678116776; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=dNqd9N9G5bFzsdc1tokz9KckA5IVFCkvFeG9MyfmC44=; b=tEoBs0C1ckQoMkF15c8P1vjI4mchhJKWseAIuDN8inn4b4GMLA2nbHQIrY5cQ2IxQ1UeM8 0ea7wJ7HA73u+Ufbry8CUk9bOcahfC89rMInC57QsfEqv6W0fA9xgo6Y+1/G3At7DSpyhV 3hjL66cjT8JFLQR+7kvWF4eRcSlleCM= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1678116776; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=dNqd9N9G5bFzsdc1tokz9KckA5IVFCkvFeG9MyfmC44=; b=raxLY5VO3G2i6vLRRdef+XURriG1s4yuBien1bep2ZojzrXF6YnxsXr/oL3vs+T9n4hKQa CHopOPBrVU6hENAQ== 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 13A7D13513; Mon, 6 Mar 2023 15:32:55 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id dmNLM6cHBmT+LgAAMHmgww (envelope-from ); Mon, 06 Mar 2023 15:32:55 +0000 From: Gabriel Krisman Bertazi To: Nick Alcock Cc: mcgrof@kernel.org, linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , Gabriel Krisman Bertazi , linux-fsdevel@vger.kernel.org Subject: Re: [PATCH 11/17] unicode: remove MODULE_LICENSE in non-modules References: <20230302211759.30135-1-nick.alcock@oracle.com> <20230302211759.30135-12-nick.alcock@oracle.com> Date: Mon, 06 Mar 2023 10:32:53 -0500 In-Reply-To: <20230302211759.30135-12-nick.alcock@oracle.com> (Nick Alcock's message of "Thu, 2 Mar 2023 21:17:53 +0000") Message-ID: <874jqxrj2y.fsf@suse.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Nick Alcock writes: > Since commit 8b41fc4454e ("kbuild: create modules.builtin without > Makefile.modbuiltin or tristate.conf"), MODULE_LICENSE declarations > are used to identify modules. As a consequence, uses of the macro > in non-modules will cause modprobe to misidentify their containing > object file as a module when it is not (false positives), and modprobe > might succeed rather than failing with a suitable error message. > > So remove it in the files in this commit, none of which can be built as > modules. > > Signed-off-by: Nick Alcock > Suggested-by: Luis Chamberlain > Cc: Luis Chamberlain > Cc: linux-modules@vger.kernel.org > Cc: linux-kernel@vger.kernel.org > Cc: Hitomi Hasegawa > Cc: Gabriel Krisman Bertazi > Cc: linux-fsdevel@vger.kernel.org > --- Acked-by: Gabriel Krisman Bertazi Thanks, -- Gabriel Krisman Bertazi