Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp20132rwl; Tue, 28 Mar 2023 20:00:53 -0700 (PDT) X-Google-Smtp-Source: AKy350aSn29+40i7Q930zQkGSCoV+59OephdVOohyPdo+fja/KRlLDNs9c5MzEotU8I0pILtgSCv X-Received: by 2002:a05:6402:45:b0:4ea:a9b0:a511 with SMTP id f5-20020a056402004500b004eaa9b0a511mr17498707edu.37.1680058853268; Tue, 28 Mar 2023 20:00:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680058853; cv=none; d=google.com; s=arc-20160816; b=MYah9FTzOjqiOQHT59HP27J5CGICYfZqUngFPI1ukRju1gEjrTfbQ/GOK/wHMpKkp6 bO2UMw8/d+Xup5dEAsbuIblU+yEiDo0uTI6/e39NZrY/bqMrahpmriAOmHflvqdl4ARl STWLWbRN0apnlrPXNafO5u1waHKpaKo3YGecON/k1EwKX3I5MWanpSYKIHk/c7YQtN3P uOzGJGY+Sydn5Bxy3ejL6z9toQXLn04A4uYpo4YdQu5uhs/zo1YijowHhb7Er7P7aO81 ZVEzEHZUI6VZcd0dPZOqIAN1DxmCxWCX3BX06C6AUwqPXu+pmxazwQrFHrx+Oy5EfbNS CQCA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=PhL1kNeyCbsXGb4SeDXDXhtAbmiDiUTVtDQLjcpbgL8=; b=RBnCs6VlUjNEZfDzc02BmZLNyaa3N39XIWaxdoRxSBWn0GieexYxUTLYgbK91oHASZ hB360jBGGju/TQ5GvkZO5id/9TqrRHbq8LXvS1wbYAFgPSdfnBkVTomG25Y3eCVUlsAc TKLhxZgEYvBzFri0z5cbzyfjRJ7XI2IkPkmsyQ8dHGL6JgfiHjQEU9rMm7Ch2I5Gk73e jrAoR18jdXhKc3EIGcf3YpGwUFB1bm6aL1l6UHebAfgE76ndMmF1S/8ebMrFJHcCehaa 7puWQsuF9wjrSMaF6xe3m5MrI9qvWK0mPXdL9Xbherw/Pp/NWRGHP7nHvYTrMwEYFr5u BGTA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=ByPI8v16; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m7-20020aa7c2c7000000b004fd2b0fa78esi35749164edp.393.2023.03.28.20.00.18; Tue, 28 Mar 2023 20:00:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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=@infradead.org header.s=bombadil.20210309 header.b=ByPI8v16; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230002AbjC2Cuw (ORCPT + 99 others); Tue, 28 Mar 2023 22:50:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37876 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229519AbjC2Cuv (ORCPT ); Tue, 28 Mar 2023 22:50:51 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7F040185; Tue, 28 Mar 2023 19:50:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=PhL1kNeyCbsXGb4SeDXDXhtAbmiDiUTVtDQLjcpbgL8=; b=ByPI8v16Mxms00CZNkxaxTLwIO f3WKuIpyJBAPiSfJQFGAjhpqxPHsQ12g1R8wnCwJOekk1EGd2y3kb+9gORn5UVS6YCFmiFKUQmXMr dp3/UmaROYiJWJvSYfKqhNvCFTa0ademCOy2+e1e03BaTkv4AO40044el+GHWYNXHB0TUTq8Dgm0m wNEWR3TLq76HO4bryuNbo9D9nTvwU/8fOw40T7nRi/6V6nTBfhQ4RLZMb6EH2BmC8o+O+E+pz3rDc e1YJ4YdU6zXgx+laFc5/4wVt4R/tiLdn2Ili/TwKa6idwFsMG2xSZgoyHffi5UyWJotJvVodjE4On c+rDosew==; Received: from mcgrof by bombadil.infradead.org with local (Exim 4.96 #2 (Red Hat Linux)) id 1phLtc-00GP4j-1Q; Wed, 29 Mar 2023 02:50:44 +0000 Date: Tue, 28 Mar 2023 19:50:44 -0700 From: Luis Chamberlain To: Nick Alcock Cc: Greg Kroah-Hartman , Geert Uytterhoeven , Thomas Gleixner , Christoph Hellwig , linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , Jiri Slaby Subject: Re: [PATCH 10/17] tty: remove MODULE_LICENSE in non-modules Message-ID: References: <87h6uamdzw.fsf@esperi.org.uk> <87tty6lbed.fsf@esperi.org.uk> <87355qnt27.fsf@esperi.org.uk> <87wn32m4sm.fsf@esperi.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87wn32m4sm.fsf@esperi.org.uk> Sender: Luis Chamberlain X-Spam-Status: No, score=-2.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE autolearn=unavailable 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 Nick, you *need* something we *want* but the form requires work. Removing the module license tag and all that other module boiler plate from modules which cannot possibly be modules is obviously welcomed. But there's a few issues, one of them is when we don't have SPDX license pegged on files. We *all* want SPDX files properly annotated on files. We *want* to automate the module license from the SPDX tag. It sounds hard but let's go for the long shot of striving to automate the module license from the SPDX tags. Let's break this down into a few steps that also benefit your goals: 1) Fix all all code which use the module license tag but cannot possibly be modules to ensure they all have proper SPDX tags. This is a welcomed effort. 2) Create an an association of existing module licenses from mod-objs object lists. 3) Verify these make sense with us. 4) With that list we can then infer a module license from things which *can* be modules. The trick is today we use the module license *for* that inference, however, look at the tristate, and see if you can add a POSSIBLE_MODULE as I noted and hinted before. That get's you a module license replacement. The final nail to all this is use that to replace all module licenses and have this done automatically. Luis