From patchwork Thu Mar 2 21:17:43 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Alcock X-Patchwork-Id: 13158050 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 BF6B5C6FA8E for ; Thu, 2 Mar 2023 23:27:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229912AbjCBX1K (ORCPT ); Thu, 2 Mar 2023 18:27:10 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43562 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229572AbjCBX1J (ORCPT ); Thu, 2 Mar 2023 18:27:09 -0500 Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0FF401EBF1; Thu, 2 Mar 2023 15:27:06 -0800 (PST) Received: from pps.filterd (m0246629.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 322K6bHL005201; Thu, 2 Mar 2023 21:18:20 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : content-transfer-encoding : content-type : mime-version; s=corp-2022-7-12; bh=1r9GU7EMXJyLn322042CwF5nNW6TvZvKaMbg27E+1es=; b=P26bEy5uAR5WXx3kXHSX0E3uBLeSMSfnc63ZzNqFeBdTzlRuPLqENshnW3v8aVCaHOtX oh23KNUDVf3AwW2P1zo3zxNC3RjyiV881NBNYewTH8XpnacjaQMOJ2y12UAMfwYKyBOc n/pBwk5VDH3w0O8FVsW9AvfLimHLedj9HDq8S5u5jrdu1h+cI1Eb447wudMf5t17BO5T RsLBzMzvAohr6+51vm6w9XjLPHG9t4rSLih290A5Y0SmXzyV378KHBqzCgWqbmYbfxHE YwKBikdDIOQ0gfxeDuT5sbkTEZw2nCA1qV2Kh8rkBrIPo6LCfxbBSsytn2ce7bDmDas3 aw== Received: from iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta03.appoci.oracle.com [130.35.103.27]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3nyba7mw73-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 02 Mar 2023 21:18:20 +0000 Received: from pps.filterd (iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com [127.0.0.1]) by iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (8.17.1.5/8.17.1.5) with ESMTP id 322KhBc4005168; Thu, 2 Mar 2023 21:18:18 GMT Received: from nam12-dm6-obe.outbound.protection.outlook.com (mail-dm6nam12lp2169.outbound.protection.outlook.com [104.47.59.169]) by iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3ny8saxwah-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 02 Mar 2023 21:18:18 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Tn0BimVL/IKk25oAUeckUdEgqk3IWu8IefOWf2A6WQHZ4Lf8b+LXErcLzCJ8ur4JMn1A3jNSr4oEKnIznpGn1SHq9ZmQ2wojo3D0W5DODpIWjAPrs+lR2rVJq7fpwG9RQC1bsh8pO76KKqUrcmXUcd68vJaVKtB6JoQfdAl0X2S8GB0tHZjMoj2+P7yoIXopdtxMiMq+2BAFTmvWw+ZT3lmkYdl8wkgyCOdTbet6r8AWFuHht1ZoG51pQY71Xz5gksKfSqPCNmuQ0X7YTQb+H7OkjkPFYyTAQe8eS76cjpgkKcjvJIEvJvnefEvirc3mEj1KH0GJ731tS2ttVxYL4g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=1r9GU7EMXJyLn322042CwF5nNW6TvZvKaMbg27E+1es=; b=oJJrwm8t6w7cmmJuEbIUmLnn8RbT06Ay1zWpMBkf38pxQjlVu7shQb4SAHEa4Ij1fyZ8XS8Js5AueNgvz/MqVpmR2q8YvUWBLjBpu58zUTBGzps0Vadq+gY0QuTeywL5//3sp2ljypFshJu0M0stL4y3e7iu5aNgMtIsZORjEDeNygCbshEbVC3vLxG2CDaEEkm4KpGdXLhJ5BKW4LYnoi8AV5FKJt0XcnljhJ3F5oztJvZ6aJPkKX0hyNMK9eSZW2QVOZwDm53t1dKS7HE4xH3LsQlpilBJgZQX0jMG9YBCO5GK+yNffys5Oem8FjxH4e+YDLa/UUsx6cHdaJz6FA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=1r9GU7EMXJyLn322042CwF5nNW6TvZvKaMbg27E+1es=; b=j9qd8lb9DNcxOy9CwagE52hy3Kcm/aQ3asxYIX+RLnjD7c0/zO/YsdCeh6yurIzXFCLs+VXAEQm0/sx5h8I1+w0WBBoIguVVn1v9QV4H9GL/Il0lrGDtFm4NS5FmhSJhmB5dk/h7dmCH0anmrf/FVs+cVrDZC89L4y/CH9i67/A= Received: from DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) by PH0PR10MB5819.namprd10.prod.outlook.com (2603:10b6:510:141::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6156.17; Thu, 2 Mar 2023 21:18:16 +0000 Received: from DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760]) by DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760%4]) with mapi id 15.20.6156.017; Thu, 2 Mar 2023 21:18:16 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , Nishanth Menon , Tero Kristo , Santosh Shilimkar , Thomas Gleixner , Marc Zyngier , linux-arm-kernel@lists.infradead.org Subject: [PATCH 01/17] irqchip: remove MODULE_LICENSE in non-modules Date: Thu, 2 Mar 2023 21:17:43 +0000 Message-Id: <20230302211759.30135-2-nick.alcock@oracle.com> X-Mailer: git-send-email 2.39.1.268.g9de2f9a303 In-Reply-To: <20230302211759.30135-1-nick.alcock@oracle.com> References: <20230302211759.30135-1-nick.alcock@oracle.com> X-ClientProxiedBy: LO2P265CA0194.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:9e::14) To DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR10MB6798:EE_|PH0PR10MB5819:EE_ X-MS-Office365-Filtering-Correlation-Id: d04a8924-962c-4ee6-50d2-08db1b63a375 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 0Kn0Vsq4Yu3QKrMTzS8Hstjm8Nmt872UGMV4lq2iS4x8S01mqA0kEkPO+qh70z9MZ+0eEiNilZJXe4CkmkOPDKSmckigtm1E8lzkWWKaairfbSkbxj9KoWnk+3Qf9xER2M3iYsKQ60A/pKvScrrnsn5QLVKWgtv0fZG0rNAcC8M0TIGGPP+to2MnQEf/9z6MdX1pVCkrAibIqfKrcb5KWlCOepw46VLf3jXInq8bWj52U4yfg23DY0nESsl7h03MF1sRVH/YJhRTUc2zv0zkVnr+aBbi2b6EVKNjXuA5aR1hEMJssz+lCFS0kdLtd/l9h6+vpT1GrEetKtgomDk5/I7GbfTZ7utdCDhS3mbOMbPu7XUqSzcYxZIFLglAaZplCFnfwKKtnJAAk6vD5Hr+4f4VzjsilQK9VXA1yN4Se49FRSgkwvLv5psEN0fbPIeOQY8XpYqdvV7ofH20TZ7DGAyK5dnKY525z5/z/6US64c/xTJnUWeXF8PdI/Ft/rxREb5vDvcbQQOSs0c0MeivjzkClzjzqtVom2Yu0F5zmakYi0XJVX9oSvkaNKRE/asGVsRfksXJAsJASRhmOmX64jS0auAjjNErhGWMRNPvs5mjPrWaqyinFoF/D3uABEpOm9uAdRqNxHOoVEDbR6akyA== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DS0PR10MB6798.namprd10.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230025)(39860400002)(366004)(376002)(396003)(346002)(136003)(451199018)(5660300002)(44832011)(83380400001)(41300700001)(6916009)(4326008)(8676002)(7416002)(8936002)(66476007)(66556008)(66946007)(54906003)(316002)(38100700002)(36756003)(2906002)(6486002)(478600001)(86362001)(66574015)(6506007)(186003)(6512007)(6666004)(1076003)(2616005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 3vekh22zazn5L85x7m5WHmrePboIcnLs5Qz4Vrb1vXERXNcb1nm+A8OZdTB/GyZvy+mJvITp2nPh+NqENjSxT6v8atscHchKPF259NRpId1GquFeCFZSCR77OuR6SQ+lYZNP5U9oVgTcsdBFaMEn3IjE7FX9OQRnJ74ntiUJHw9c73wfoH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QEmRI9yWDGtE89ieI/IZIkwGvr78BhagemMb/u+nmw+33oFcsHw4AJ1svaBh97DHK8FJPPoMbFN6CBrbytx+MqDbsfEfQHaA6RS/mMKGqsZ0OljEDfj0swuy4YONf47+BRZzhGAYIy5ZTa3+iiQryueX2Omni6Rm3FmQi82/8ilTL4YKqdW8Pea0PU6J0g8yhMY3OoiQZ3NYWzkpJjwPPTlR2oPlVwoBwdefaNiwMyIe17EA4fiiT9yJ/WRjHyetOnKicfgwudbo3EK3twWgJg/63a58E3FgXOcGOHtsEErmHTW47QuuHKgdUcdbgf X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: d04a8924-962c-4ee6-50d2-08db1b63a375 X-MS-Exchange-CrossTenant-AuthSource: DS0PR10MB6798.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Mar 2023 21:18:16.3175 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: sFC4sQMFn/77erPSzUzOdw+cAlxoRAYZ0qgg4qcnckqf8DWgNCZK97SHbSivmAU/WgYT5ozCSNMMRMjrBAxdxA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR10MB5819 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-03-02_15,2023-03-02_02,2023-02-09_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxscore=0 bulkscore=0 adultscore=0 mlxlogscore=999 suspectscore=0 phishscore=0 spamscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2303020183 X-Proofpoint-ORIG-GUID: iv8SaFV4JwBG3t7rFNiVsY5bMCzAoT8T X-Proofpoint-GUID: iv8SaFV4JwBG3t7rFNiVsY5bMCzAoT8T Precedence: bulk List-ID: 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: Nishanth Menon Cc: Tero Kristo Cc: Santosh Shilimkar Cc: Thomas Gleixner Cc: Marc Zyngier Cc: linux-arm-kernel@lists.infradead.org --- drivers/irqchip/irq-ti-sci-inta.c | 1 - drivers/irqchip/irq-ti-sci-intr.c | 1 - 2 files changed, 2 deletions(-) diff --git a/drivers/irqchip/irq-ti-sci-inta.c b/drivers/irqchip/irq-ti-sci-inta.c index a6ecc53d055cd..7133f9fa6fd9e 100644 --- a/drivers/irqchip/irq-ti-sci-inta.c +++ b/drivers/irqchip/irq-ti-sci-inta.c @@ -743,4 +743,3 @@ module_platform_driver(ti_sci_inta_irq_domain_driver); MODULE_AUTHOR("Lokesh Vutla "); MODULE_DESCRIPTION("K3 Interrupt Aggregator driver over TI SCI protocol"); -MODULE_LICENSE("GPL v2"); diff --git a/drivers/irqchip/irq-ti-sci-intr.c b/drivers/irqchip/irq-ti-sci-intr.c index fe8fad22bcf96..939201b2c871a 100644 --- a/drivers/irqchip/irq-ti-sci-intr.c +++ b/drivers/irqchip/irq-ti-sci-intr.c @@ -302,4 +302,3 @@ module_platform_driver(ti_sci_intr_irq_domain_driver); MODULE_AUTHOR("Lokesh Vutla "); MODULE_DESCRIPTION("K3 Interrupt Router driver over TI SCI protocol"); -MODULE_LICENSE("GPL v2"); From patchwork Thu Mar 2 21:17:44 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Alcock X-Patchwork-Id: 13157949 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 529F1C8300C for ; Thu, 2 Mar 2023 22:01:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229661AbjCBWBb (ORCPT ); Thu, 2 Mar 2023 17:01:31 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44544 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229589AbjCBWB2 (ORCPT ); Thu, 2 Mar 2023 17:01:28 -0500 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0B3F85551E; Thu, 2 Mar 2023 14:01:08 -0800 (PST) Received: from pps.filterd (m0246631.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 322K4KCX010969; Thu, 2 Mar 2023 21:18:23 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : content-transfer-encoding : content-type : mime-version; s=corp-2022-7-12; bh=1RghJjNDIyeWZ0W+4sfwbo3AqMVqMFqnbYD7CPbfAZ8=; b=BLtgdAT+8NzR5CYLPeRyk/iJD2PFPnBsP8rLPVxdvx+Um27U+zEKRsCIvjaFgIuoq4Fq vGlZUQ/ST8406jpcOdzcAGUydjIqwEJgdQvPCATDVWd8R+5F/1yY4iESq5x0LW04etWI Qe/6ae2P24dPTSNpnw/uhtXmqm23DakfrnS+EV5z/1qAPz/hxorgpwbrETkstwQUPLKI ojH2H9SnTkhspi4hQITaxmP2cPXL4vfgIysEyaUZ0F1IRxU+FAChZNnVgRW14e3G4Ae2 eMwgyzlMFsgEJ7eJao6JqVwUC6lv8Mj9b+YUCgnD1OXjnoeATz33RU7J9Fj5P8dY7WKe zg== Received: from iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta02.appoci.oracle.com [147.154.18.20]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3nybakw0e3-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 02 Mar 2023 21:18:23 +0000 Received: from pps.filterd (iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com [127.0.0.1]) by iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (8.17.1.5/8.17.1.5) with ESMTP id 322KcTvf031258; Thu, 2 Mar 2023 21:18:22 GMT Received: from nam12-dm6-obe.outbound.protection.outlook.com (mail-dm6nam12lp2175.outbound.protection.outlook.com [104.47.59.175]) by iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3ny8shf3p0-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 02 Mar 2023 21:18:22 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=WXFFWG+O15+d5giu3/A/s6S6AOjLQCDIFZY6C9jPzWs08Up675HSP/SCkxsPCag59JTgVEcURFqRR5Nmtdjy9HzVF3XcBOm6oMM6xrf8R30GYSRp8hWriy8SNf8ql+m1+I65stYgqSvRwzv0MDrQvxNaXhIPs726TOTRmKRGUmFmzs5HHbb7/UHeGKaPkSpDXgOb8PlsKs4O7+d2/gtnJvvTwA7nytKWoKZeLbFM2nVh0R8p4A5V9OD4jsleUCMHCnOqpkiubs0l4GSsp8tUDDndBuPloiGD7TU0TEUVR/EjhkneqGrDtHgoOM/TPT0Z2D9s/uOg9gPpvPOSob3dIQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=1RghJjNDIyeWZ0W+4sfwbo3AqMVqMFqnbYD7CPbfAZ8=; b=kySwWqxqC06XR7T3D5gidREVwivIe32nIfkCwO07Te8HgGCpctKTeBiyqa/MDoZeIE7Rk6AS7v4O9G8zJL3feWw6uj992/HnTnGnara1ei113d1b0tekL4ygCEfvYXPXTyxskgsYpFYkd13xVsA31wGDYcJfs3H2CcUK8KNIznnISbMG7xFmZ2/XZETj8MjVVDwMMzoOZIGoAbXbYU1u/OCmbfB2kybp2uWH96UYW9/5Ngta0gNva6MZ2P6XZRZEh5rTRebIpbqlRfMBLY/WobaSOAACTwu5Vsbx1Uv2VWI8UnGtPEc5w3dkEi7sgeyr9FhbMv380ZWTAenFKLFhwA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=1RghJjNDIyeWZ0W+4sfwbo3AqMVqMFqnbYD7CPbfAZ8=; b=iibMsQKwX+5wA5jgNUcGzzNA3tm3qPx3mZNY6vkUNo4fv7zl7yZ0I8Hxky0Q9/57tCQ5HhYIMwe2J009APGERYo221/yjq9wtGN0njiGgOlgOupWQWGBOj0j2Fe3zJsIDZ0PsWPEkEKgbmqBPvt+xAEfq7bjZf6TDx5Ie8JGvHk= Received: from DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) by PH0PR10MB5819.namprd10.prod.outlook.com (2603:10b6:510:141::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6156.17; Thu, 2 Mar 2023 21:18:20 +0000 Received: from DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760]) by DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760%4]) with mapi id 15.20.6156.017; Thu, 2 Mar 2023 21:18:20 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , Philipp Zabel Subject: [PATCH 02/17] bus: remove MODULE_LICENSE in non-modules Date: Thu, 2 Mar 2023 21:17:44 +0000 Message-Id: <20230302211759.30135-3-nick.alcock@oracle.com> X-Mailer: git-send-email 2.39.1.268.g9de2f9a303 In-Reply-To: <20230302211759.30135-1-nick.alcock@oracle.com> References: <20230302211759.30135-1-nick.alcock@oracle.com> X-ClientProxiedBy: LO4P123CA0654.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:296::12) To DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR10MB6798:EE_|PH0PR10MB5819:EE_ X-MS-Office365-Filtering-Correlation-Id: 09bb5565-260e-44d0-d11f-08db1b63a601 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 8PyRWZ36QV40DzdTpk0BzIU8rqkvtWOREVmxDTW+XYW0dPHp8WjqvrRSkyzkMYyvslSv/hDHhrJNiR3Kk9KlsZfwGBWQXqQ4/eJ7QWQwSVsIg8DvCYIT8S8SAOFIbXrPaTpx6Op6ZTZWYhCexS098mvENKXQ5JT1bo+GgdeJ+qNs0J03SpU/T223YDMcNNonwaZVkfKHXuWakFwbAB/x1qg0uTgppGjur0iE9nJdL6qv6ZpFVrQpHYF5ByeppZ9ydEO+MfVOZMSYRuAVkhjQ0XDfrbz00xeXq9ses5efaUccWSNf/sJ8+M6enykomjBS9IHB1wFsoEVA/E+evL52B3lUXkmnvuk3pD6rgKy6zwLJJHbapRECujyEJ+MeT7Pd+c5E8dQufgrZFdlHbNfwO2Fwfk77mfmQ540vyJXfvc8C9MflxGeAhPP5n2AcXJQtcqyXNs/W73DozM/4UhKD67X8P95GuWxe4yGhiKZJ9jB9mzbYPZLKTtWa+FB1R/GB1gEryLqOWLjMeaJu4NRZFMdZFvC8fXOlh8HrQqMFSTPzwYFmv9JmmxQHBWLK+t5mJ78xTdocDaTnn0oU3TesBLehuyqLXC4AIGbtN7nyBJ92nL55zv6bgwd50/bTRmC2gTdKGWr2GXUzkcBW7m+8KA== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DS0PR10MB6798.namprd10.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230025)(39860400002)(366004)(376002)(396003)(346002)(136003)(451199018)(5660300002)(44832011)(83380400001)(41300700001)(6916009)(4326008)(8676002)(8936002)(66476007)(66556008)(66946007)(54906003)(316002)(38100700002)(36756003)(2906002)(6486002)(478600001)(86362001)(6506007)(186003)(6512007)(6666004)(1076003)(2616005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 6XSip/b5QhH5SJ83GHkVsA5GDnPAXRuB4W15WuAWlH4zVyQ95OdRBHZPIFETA/WYxPDekrrut2W7rLd3C9r0Ou+knI/10Qwgku9ExmE2wK4ymZriPbATXIUSfjaYnfQhQhCpoUk0fMvY3J7+XkWI0RoJQym8KoSiSEJ/R3J+4I4IWFY+TdjKsJmw9QewxWk/F53FXkBj0d0Y/SQqcEwk/NjkHNp4pMKnoyW9SVNaVonk/dQZg07aVGIiqzo3e6xJ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DUdCNASx5nEon0g4rdovF1uv3sh9AntDJeUNKsjn7f0MYfKhJgQKU3WBsGYBEmbPwMzgH/3y/+QzVibAAbvbaSrVAxKtypDMSd/Ymw9SLNVdfI1y6azvyVqVmCVCzdVAVVzsiKXP/kfY= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 09bb5565-260e-44d0-d11f-08db1b63a601 X-MS-Exchange-CrossTenant-AuthSource: DS0PR10MB6798.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Mar 2023 21:18:20.5002 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: Z5h3TnPSL1vaNxuVrfMxW7DlDckn3lFSd8GDW2FZN4eRsyBPXX1kwATDNU8eDWOYg+lPj8evUgIn46pTdVEi5Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR10MB5819 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-03-02_15,2023-03-02_02,2023-02-09_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 mlxlogscore=999 mlxscore=0 adultscore=0 bulkscore=0 malwarescore=0 phishscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2303020183 X-Proofpoint-GUID: eEiHpchq8E2kAOyg2BzNE6ba_HEZB4NY X-Proofpoint-ORIG-GUID: eEiHpchq8E2kAOyg2BzNE6ba_HEZB4NY Precedence: bulk List-ID: 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: Philipp Zabel --- drivers/bus/bt1-apb.c | 1 - drivers/bus/bt1-axi.c | 1 - 2 files changed, 2 deletions(-) diff --git a/drivers/bus/bt1-apb.c b/drivers/bus/bt1-apb.c index 63b1b4a76671d..e97c1d1c7578b 100644 --- a/drivers/bus/bt1-apb.c +++ b/drivers/bus/bt1-apb.c @@ -416,4 +416,3 @@ module_platform_driver(bt1_apb_driver); MODULE_AUTHOR("Serge Semin "); MODULE_DESCRIPTION("Baikal-T1 APB-bus driver"); -MODULE_LICENSE("GPL v2"); diff --git a/drivers/bus/bt1-axi.c b/drivers/bus/bt1-axi.c index 70e49a6e53746..4007e7322cf21 100644 --- a/drivers/bus/bt1-axi.c +++ b/drivers/bus/bt1-axi.c @@ -309,4 +309,3 @@ module_platform_driver(bt1_axi_driver); MODULE_AUTHOR("Serge Semin "); MODULE_DESCRIPTION("Baikal-T1 AXI-bus driver"); -MODULE_LICENSE("GPL v2"); From patchwork Thu Mar 2 21:17:45 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Alcock X-Patchwork-Id: 13158013 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 4E207C678D4 for ; Thu, 2 Mar 2023 22:57:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229644AbjCBW5e (ORCPT ); Thu, 2 Mar 2023 17:57:34 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44090 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229665AbjCBW5c (ORCPT ); Thu, 2 Mar 2023 17:57:32 -0500 Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0F3BB5651A; Thu, 2 Mar 2023 14:57:31 -0800 (PST) Received: from pps.filterd (m0333521.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 322K6Yof007625; Thu, 2 Mar 2023 21:18:28 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : content-transfer-encoding : content-type : mime-version; s=corp-2022-7-12; bh=uiqaQzqCT7ZEsqz+GQtsTRnZZsH+FtEgLpPNKxF25Wg=; b=NkvXDsvszkeFMXowuPFGrSKTxiB3syS4EK+/UGmMXouC+SPtiyemG7SuC638HJvXlT4R AEZjQYCoUp8v36lfozM7XT8pUa9jTdq20MR9WZJrMb6m/7atxM6Qo42VBs/leda/pKjq aLD8tVmcYQZd4RohG5+i0Izbh5vd9Y8HiZPlo7CbdI6C5ZxXkifq1C+h/2malyNHhbGw jlEHuojBg3yRN/UQW+3w/0mNX25B0P++sJZAj82kTdJu1LlmC8VoCKm245VVNd9acDUX M+lbcizl8Y8HuSR2VxEM8w87zsvwkxufxCOJSZkjE/pb8FlXqg8A9OLRJGmgCaYExs9V 2g== Received: from phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta02.appoci.oracle.com [147.154.114.232]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3nyb7ww2s1-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 02 Mar 2023 21:18:27 +0000 Received: from pps.filterd (phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (8.17.1.5/8.17.1.5) with ESMTP id 322KlAK7032965; Thu, 2 Mar 2023 21:18:27 GMT Received: from nam12-bn8-obe.outbound.protection.outlook.com (mail-bn8nam12lp2173.outbound.protection.outlook.com [104.47.55.173]) by phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3ny8samh3c-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 02 Mar 2023 21:18:27 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LqLnZ5Kpfcc+xM+9EGFUA2ceCYAX1QqBdh1BXJSQra51NuKn3/XkSx2kdD9jv0UUc7Vzr5D6VWIRzvzE6aA9wxl+lA71w2fpX0NMZiC5SFRJe+cwIi3CTzw6SET/Mmaph5vmtSKUXU/z8WGuaqpxe2DnB8HY0z6thuWo43Vjw4GdlsttgZ9PfJJHEVxHP9nHN2pWRtycbmFcJNC+poB7J7A8FfkjM60V+qbZbI42kmF4v53VWFei6R0Zebe40tkfI2kxr6hFjfhN0Q8LqNwa+QiDJHXNLwwOVGGL5l/mKpB7f9psTsSUXMPeESlHF1NdxnIsw9zHZAGF2gqorAggwA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=uiqaQzqCT7ZEsqz+GQtsTRnZZsH+FtEgLpPNKxF25Wg=; b=IZ/EDvO/RBTA+RGCSxBHwiuFnUzz9UXdMQDVPqKF0YKMbcXGxyJZVt2ApGaPzzR5qaoZsSzjmbbFuNA/8nEMEdaVlMKj70CkX9I7WIv862KZeEXxnILBAA6wrPuoiI/f/3GLW4ZQiEgzW3HQuZJrnIiAinBWUVwxmECVl+DiQMIZW3SwWqbWIP6ssc06D7BDi/gXlXjqdVwYRms3NatYgYoSDGD7eMurj2WjMoS3KuVvjt+ayzTZ5jKYudadbuueHZ4Kf50nQORemzJ/b/FrvwPgRFhcmo9/0MoGt8Nd8AjT8kQ5JqOWflb/HHVWt20HsxaVDdQrhNOW3PbZuLyp0Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=uiqaQzqCT7ZEsqz+GQtsTRnZZsH+FtEgLpPNKxF25Wg=; b=Y7J+vMzlDqHpAn2JY6fb/gzJDQ0P7kNF4ID5k5lIjIg/lev3OuQR/mEpBTmAkUzByo1AsQiixEo2bzVdR4rR18YWEwVhiW1B+vp+KfNfgHlMEeTeE0E6gwoEDqJoLPNxwNMboYqIQ0jjHcugK/jG0mgfRJWDlYNjQRZU1D5neBI= Received: from DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) by PH0PR10MB5819.namprd10.prod.outlook.com (2603:10b6:510:141::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6156.17; Thu, 2 Mar 2023 21:18:25 +0000 Received: from DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760]) by DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760%4]) with mapi id 15.20.6156.017; Thu, 2 Mar 2023 21:18:25 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa Subject: [PATCH 03/17] braille_console: remove MODULE_LICENSE in non-modules Date: Thu, 2 Mar 2023 21:17:45 +0000 Message-Id: <20230302211759.30135-4-nick.alcock@oracle.com> X-Mailer: git-send-email 2.39.1.268.g9de2f9a303 In-Reply-To: <20230302211759.30135-1-nick.alcock@oracle.com> References: <20230302211759.30135-1-nick.alcock@oracle.com> X-ClientProxiedBy: LO4P123CA0690.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:37b::7) To DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR10MB6798:EE_|PH0PR10MB5819:EE_ X-MS-Office365-Filtering-Correlation-Id: 3c4e4be6-909e-4e6b-d269-08db1b63a8ae X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: QlMNMQsIQwVThSMCaU8wPspI01IT/NLTLbyRodu+0FabP5t8+lZvAguwf2xwweJUhgs7nftZUjsYYPO0WZvqi9N9L5S+FeS2E/0g1YlUUCaC/PSJ9sFamryGk2zo/T9z3xbZ47Pe4PsSNscTgSrf8/vCU6WF8ou6fJr18z2Eo1pR3JMtcCcPFeEtHwx/YWQC53LUxCQwZrrpO56xfj2fEWzuxBP599ui+kA8fFpq7hWUsR6RyQp8obBozzyc3YM2sUh77YDIB8HMgpu5CMbCq0qCAv01P8FRe9zApNngQymHQ+mrDyL84Mtw0wh1sHgqkOf70jIiRptnZrb3285+4Nao/lgFRafMtAvAwdBfioRZnd0lgeFT0ZRsTemMgJ1ScEN9HdzU6UhxiDf5MZiPZ5OT3f8VoQIIyIJyEdoFuHKnJ62965jgU7HIDvqymGtLUDI8ujtLFImVnJyl5Dt77tilP0d+zuVZMfWgB+662v7/AaB/Kgyp7sinCrh/Q0yzSRYI/WCtyr45jsO4nPUFZ+BtWZX3PlopjDMZWSbofXYNGBBpWVntyNQLYbeHuIciqF5NFklVgGwyBe9jTgnFi0rXuU6DSHaticUhgGYwDYfMPjDR8zGTlMjRo+W/02p0j0VimwO3wNtqjyCxe9rP8Q== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DS0PR10MB6798.namprd10.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230025)(39860400002)(366004)(376002)(396003)(346002)(136003)(451199018)(5660300002)(44832011)(83380400001)(41300700001)(6916009)(4326008)(8676002)(8936002)(66476007)(66556008)(66946007)(316002)(38100700002)(36756003)(2906002)(6486002)(478600001)(86362001)(6506007)(186003)(6512007)(6666004)(1076003)(2616005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: eQN3cbOz5fQnwaFjWBvdiW8clSNI09+hlP04MS++Udn1Sh/GL5RQfo02Sln60XYCO8a3OQEMhu3GNscmmfbFywVIc4zfzJ0+22vsNhjSpVk8CwfWjcSDLrv0xiPmtq5D751BdvnalRxnULmvGqEn7CsYRJB348X3s5P0IDF4chk1+2cvJF1CsvZP4Sw1fStlKmqBYY7GukOXDgW6b7lX0FUnoNR4XNf7Qy3b+LAvn5402szSE3EnywWbjep3JoAYNv3OqCcMIKWHCSH6iWURViYRcNgQNS5gsh5/eH7bRY1z/WZionR55cOl+A1nVJQahhiFJnx/lKlIafjCgy6umytNIIvCKsEKS9LXY38YxboipiEIwCj+xT4thukAh6UfpOx6Ux3SGArNv2WB58alYYc6PluqtHLfhaDuvXNg2ZX2WY2nX0NiCprrTSvh80GH2P1s63wlJ6bpfX2otXazsVhkXT45Me4wAVt6XjQgvgLFJnxdr1pTO/14XQg2tMT97vahDP/3rPEy8Ka76sSyvk4Wza1r8OWZAgg6N6Yb2zFgfG1/ZPNk/AfJNilw8GnZrTMfW72V8ar9a6W4WVe6bOlPsoccxC83Z0f94jPOUpeJ9y8DuSsz94XSqDYYl+J6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ym4FXP9xg8+XRybdMLy4NEIc9G1r4qqmHdsfKWZwYCRs3kcADgUG0SEbF6L3lb83TU7ZXzQ3xfETcGrkJr+OFzpxmnSp+LDiBKekh6XBbl9DapFRY7HFFcW/oN9MGl+rShgD7lDfUIdf/HsdHXHXo0SXlaYOXBiZNCD3Yz/2MEZFMSkT2hR6C6+YVwAnH2b+W7oGBOYNHNwUrSnoRWIX93FLsWuCVjCUPRGrq0O/G4VlxkKDvG43dyDhqhmAyDaCUu92WdEknr67RX2WNZplv5xOY/1gAE4RV76D4jsKBAcLIPoCjgK9gcN6rNjQJkTj65EOE123qLCmZAGNEUI6cP5sDiEKLE6EIIA6+FA5acLsP/8m71s8+2h+fIkV4j3qUSheanJYlSCxwvWn15UxzMuxA4M7EFUq/ex1tXjaPw0YZ6ZFo1SjHfgC3XbEnjSWykVdyoT+b9cZCP7N7YdVskjjTIP0DZIAj21SnFMLEuigBzoL0Yu5mP/GdpxQCKUmiGsSAMl0O6JSt2+kqcIvw9iFpdT2Hc1gg6boYWax/2s+k5GPA71ZNZswa+qWrw9YR5yuuTlk+S3Qj1GDBfUhmQIMrXTZeEGAMZK88dGC3qI8L6jn+Q6dh6uw9SnorFxrmIp3rKX6yZZtmhmc4IZfPq5qMx8SlSZDvMT550o3buVLEffgJ+MB6OfAcGOQWYEA9PoiEUBI5GSW8J/efooIPFIUSrnyvlyzxOW9TJMo7u8vLPSX1Q6WxWKQ/ArDrK5QpofLjOZoEcvVYZh620x7PSnF7LSSHlTB/Wz X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3c4e4be6-909e-4e6b-d269-08db1b63a8ae X-MS-Exchange-CrossTenant-AuthSource: DS0PR10MB6798.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Mar 2023 21:18:24.9736 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: bAMC+tcUjAUHozoHdheCRMMJgFSZ0xYd0MGLREwLCY9YnrAJ66I6OjYXz9DpLLL6LaHfZ3qmanBrhFRxZKCa8w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR10MB5819 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-03-02_15,2023-03-02_02,2023-02-09_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 bulkscore=0 malwarescore=0 spamscore=0 mlxscore=0 phishscore=0 suspectscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2303020183 X-Proofpoint-GUID: ZCo9DlOW2svGE8IONaPDHfX3EuJkTK79 X-Proofpoint-ORIG-GUID: ZCo9DlOW2svGE8IONaPDHfX3EuJkTK79 Precedence: bulk List-ID: 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 --- drivers/accessibility/braille/braille_console.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/accessibility/braille/braille_console.c b/drivers/accessibility/braille/braille_console.c index c4d54a5326b11..06b43b678d6ea 100644 --- a/drivers/accessibility/braille/braille_console.c +++ b/drivers/accessibility/braille/braille_console.c @@ -24,7 +24,6 @@ MODULE_AUTHOR("samuel.thibault@ens-lyon.org"); MODULE_DESCRIPTION("braille device"); -MODULE_LICENSE("GPL"); /* * Braille device support part. From patchwork Thu Mar 2 21:17:46 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Alcock X-Patchwork-Id: 13157957 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 5F364C678D4 for ; Thu, 2 Mar 2023 22:27:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229512AbjCBW1v (ORCPT ); Thu, 2 Mar 2023 17:27:51 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45192 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230064AbjCBW1u (ORCPT ); Thu, 2 Mar 2023 17:27:50 -0500 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E10E94AFE2; Thu, 2 Mar 2023 14:27:45 -0800 (PST) Received: from pps.filterd (m0246632.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 322K42QI013609; Thu, 2 Mar 2023 21:18:32 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : content-transfer-encoding : content-type : mime-version; s=corp-2022-7-12; bh=jgp/aR8kPTKaMIKaCkqjhjWfZr077ycjLwDmRrhKOuk=; b=lRy0dtLoiX+OOzmv9bTIXKnGaLsNZ/dbJdaCDgR2gFazTLRsnvIsTmVBgWFzaBCOvbSg IAgs5KYzO5AmI0BQ+uzn0aCDJ/gq+qQjXPSpaAZwgWNGbBqmr2RaETGevcrN5vxGR5H2 g6Qg1Q1vp4UFjjJVnr7xboKYyNrt8sefnN62B9Sqbnxbm5OuWKkQhWdj+lodywPuESgg hNOwnIXnqLv2SenCYg+HJQUE2JBlhb8rauqJtxOKe+AgZVs9+1Q0+/QKmhCIqyQs17J3 oPvDhlaQCWA3S1pgQjGqNtLlUNHUU6xiQLUhG0FEFXjKvsOnZSLyV4AwAVhi0nCUlUp1 qw== Received: from iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta03.appoci.oracle.com [130.35.103.27]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3nyb6emxry-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 02 Mar 2023 21:18:32 +0000 Received: from pps.filterd (iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com [127.0.0.1]) by iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (8.17.1.5/8.17.1.5) with ESMTP id 322KIJiH005287; Thu, 2 Mar 2023 21:18:32 GMT Received: from nam12-dm6-obe.outbound.protection.outlook.com (mail-dm6nam12lp2172.outbound.protection.outlook.com [104.47.59.172]) by iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3ny8saxwmu-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 02 Mar 2023 21:18:31 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=feaOVZ0d5Cylr2QUkdpY4NeoRmhyEtmKPRYPbRmCh/c3ojiZZd/0jqeMUm1KhAl6z1bysv3NSHvdMpD3Egp1s8HFi7uVYfitcpp74ynyvMvb6fwMaQpDc4+W1tXq2EwFzZAz40R6Rh/ks09c84DXwxvSjT+/id+WX79gFOiXfeCvZ5mf0mMcrYCXt7IvnAk1m2PEDYCf/lG6pUoA4WJIHRLPdeexB28mGFRVYfPeymllMviodelnpVyg36eKjPHJ8yNZ3XzuWhVARGzm1D2EdT2y7e34kDzpHpJ69KuHPy1JxNKRFN6YNq0svaxI/d5phTWeO2e9GNPzq5QXG4MZdA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=jgp/aR8kPTKaMIKaCkqjhjWfZr077ycjLwDmRrhKOuk=; b=iT1H4IRhDE88chPvVxkcPyrVo9GB16s6kscNIbSXUMEaiGa9dxnB3tXrwKlFF/2bWofXNA6382GbOdW+HMln9aZFRz3NSMdh//BIjocKGdSRKIqk+AYEN8HmfIeE9ZydAP5Qz7Lbvz3mDj5VBH38i7qGzQFdxwHgKeRakVh2lHrIx0mxohG0xbhElNvEmC8R79S++GwL+7xoeCyuVybKw5mLm55q9rVuUgoRENzI6hllzIUNeDvobKN63wiFEoOPcq4hoBu27pYbZR+0lZ9SJ39T3Nbv3z6Ew35bzUVUj1+DDjaYsEcNEn4VJXf9n/1D8M0oXP4T7rWj89guBCHjgg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=jgp/aR8kPTKaMIKaCkqjhjWfZr077ycjLwDmRrhKOuk=; b=tE5ZTvx6iJRhM9OlhILY0OMewLm8y0pXMHuHhHCwl9ECD2pyHYIjtJTJe2nG3yve20DYAi64IcE3Mpuu0sIwu1qJ39mG/PHHbLdraVt6fWaRqBRAq7TUdin8u+xgwzbYl+8MxIsFk/DQkCmxdweBW4chYeX1Bs4v+P8zq0rUdIg= Received: from DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) by PH0PR10MB5819.namprd10.prod.outlook.com (2603:10b6:510:141::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6156.17; Thu, 2 Mar 2023 21:18:30 +0000 Received: from DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760]) by DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760%4]) with mapi id 15.20.6156.017; Thu, 2 Mar 2023 21:18:30 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa Subject: [PATCH 04/17] arm-cci: remove MODULE_LICENSE in non-modules Date: Thu, 2 Mar 2023 21:17:46 +0000 Message-Id: <20230302211759.30135-5-nick.alcock@oracle.com> X-Mailer: git-send-email 2.39.1.268.g9de2f9a303 In-Reply-To: <20230302211759.30135-1-nick.alcock@oracle.com> References: <20230302211759.30135-1-nick.alcock@oracle.com> X-ClientProxiedBy: LO2P265CA0248.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:8a::20) To DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR10MB6798:EE_|PH0PR10MB5819:EE_ X-MS-Office365-Filtering-Correlation-Id: 9712d540-b6a3-4689-2611-08db1b63abac X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: r2VyUc5C5gzwzUFYb30D30AI0grSPPPLaH4CshMdvoTFI1iZK/R/ikqReV2b5hLtlN6xLMuzI64+iP49BmnWarCVhJs9jaGrby2+0yEFxm9MV45e42HZ1KvMqHv7rlSlMcaYX6iWv86M7NZvn0+kd5MgErlJEjn50cO3vIETuVuLQyhrYMEsIqhvfJbvwwhcp2izZu0npzTwVRKntm0DcbfDrA8ypPqw9jV0tA+PkugvVwPD7hkzRnwBiz1dIiqTb/wz1gT1gLwfiZP2ReAWPY8iHNzYWQbJ7SSuHW4OVZ+CLWZt79jHD74f6hvLQVCi1S5cAJwiClo0GJ8xQFa1GLP64LUxNyzToBvIMsejOaQ+0vTDf45R1D9tyKmUDp8HuABvPueemmTm6hx0R8qpWW8tRSG4zYZEK1Ygmj0pyY5DYk/jHgDXXLHBnSPDekI/zhlLqWtJnVilWrvKDbAw8pRjwfmHvEvV1PQ/ELmb9X9wLom2PJwlHkFBP70oH8PRc/RW516eX1u/pYCBEjpGPZv4umLG80JzuIgnH1Nk8zZ92KvocEOfsMdh+sCxqcPTuOJ0ItIz6+TZIOqSMWBz1/5ERMEYbnNt+ES4jWmKSUStFK7i9KdfNINC5Oaw4Y72JqsvgIvADAqK2ctXCtKFSA== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DS0PR10MB6798.namprd10.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230025)(39860400002)(366004)(376002)(396003)(346002)(136003)(451199018)(5660300002)(44832011)(83380400001)(41300700001)(6916009)(4326008)(8676002)(8936002)(66476007)(66556008)(66946007)(316002)(38100700002)(36756003)(2906002)(6486002)(478600001)(86362001)(6506007)(186003)(6512007)(6666004)(1076003)(2616005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: q/q9KMvDKP8kh/7A4ppOVZWHL/ExGuMm0gD406VRsKl2vAboheuQv2KVrjmfgHY/smAAR08Q6uilmJwTfBtm7ygLu1h054BfjuttGvQtEAE9T+LJ8iBstmlPSiJRFxLjt7GWjqRZ1ZL+eRID3SbWDQ+zTmXeNyzLn/49YusWd2Rcfpfls4J5jCG9HZv3j9kb46/xU+ysRbmQ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KkgiZxLao/+AyZQNZ/V5jsxCSAy3RNwWrJgiMampMfVIQTiNPzW6g1zSotcTGX5iL1drtbZWety4Bp6Rf/B0T2km/K1WgUNO4aw8YgzAmnk3ptBU7beEboL8DbfRFS6DDmgMrV24FbBM8Q1XGIZ+jOcHmTcXlevt2vI+6Z0weWU85DoL X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9712d540-b6a3-4689-2611-08db1b63abac X-MS-Exchange-CrossTenant-AuthSource: DS0PR10MB6798.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Mar 2023 21:18:29.9892 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: e+We1jmT/nJN+YXEmqrNSzvoPt+yxYUMF2ey40y+zaNPSoZUHyCAgDnLHczvq/y/gdb9Hppftt3UuqYhHOxgWg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR10MB5819 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-03-02_15,2023-03-02_02,2023-02-09_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxscore=0 bulkscore=0 adultscore=0 mlxlogscore=999 suspectscore=0 phishscore=0 spamscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2303020183 X-Proofpoint-ORIG-GUID: 2EAb00-433k9LEalYq17KQSJ8boLOO-n X-Proofpoint-GUID: 2EAb00-433k9LEalYq17KQSJ8boLOO-n Precedence: bulk List-ID: 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 --- drivers/bus/arm-cci.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/bus/arm-cci.c b/drivers/bus/arm-cci.c index b8184a9035837..e231e9c05da16 100644 --- a/drivers/bus/arm-cci.c +++ b/drivers/bus/arm-cci.c @@ -583,5 +583,4 @@ EXPORT_SYMBOL_GPL(cci_probed); early_initcall(cci_init); core_initcall(cci_platform_init); -MODULE_LICENSE("GPL"); MODULE_DESCRIPTION("ARM CCI support"); From patchwork Thu Mar 2 21:17:47 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Alcock X-Patchwork-Id: 13157952 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 4219CC6FA8E for ; Thu, 2 Mar 2023 22:11:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229471AbjCBWLs (ORCPT ); Thu, 2 Mar 2023 17:11:48 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55128 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229530AbjCBWLr (ORCPT ); Thu, 2 Mar 2023 17:11:47 -0500 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C75EC15C8A; Thu, 2 Mar 2023 14:11:45 -0800 (PST) Received: from pps.filterd (m0333520.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 322K42Es008689; Thu, 2 Mar 2023 21:18:37 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : content-transfer-encoding : content-type : mime-version; s=corp-2022-7-12; bh=Sq4q+28VsTVr3doxQagH+JClA/d2qVf3vA/96kYD+yc=; b=JlVN8wwL4KCgrrdkkbOQPCfZSeDMcd5StlJYd/0Iegxa4zwnYc3/+R9/ii1yljfr9VqP 3Nw4OsXldboKyV6jBnxnGGMY06NmKIPq8SMaZH4PknJ5LznLn+qaUHx6SRd/hafRhouY UtwdN0RyTc08Za2S0k74QPxCua3LwvdfjDAhrnqSam4QXcFiDcL1nQd3y5ylZGRWLcX1 2Ys/lY6EJ/e9/5tACVj1UlfcFRI2S9H+1XiPTwbGxnoBZ/gjnCLq0hZExhaW0ws3tw1/ 8f7ddJ9ARYrCcb5eeJGkOgJ67AtEfWJnpHx7Y2wE9XQDP3sY3dGUykSxzTpf71ESw8mQ Ew== Received: from iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta03.appoci.oracle.com [130.35.103.27]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3nyba2d362-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 02 Mar 2023 21:18:37 +0000 Received: from pps.filterd (iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com [127.0.0.1]) by iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (8.17.1.5/8.17.1.5) with ESMTP id 322KUXCd005225; Thu, 2 Mar 2023 21:18:36 GMT Received: from nam12-bn8-obe.outbound.protection.outlook.com (mail-bn8nam12lp2175.outbound.protection.outlook.com [104.47.55.175]) by iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3ny8saxwrb-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 02 Mar 2023 21:18:36 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=a9gnlAWbt7dTjxwr0SbjWpNxOMJLI/2QuGHQKbVQtI9sElysNH40cBhCR3zUdDMsegnXz7RZwgKflBBkabuutkthtzAUMsCkj9Sn/Wrig3aCxYpxg1EgbxAFLq1l4c/ZzPr4NvHyEg+E74S0URmcfi5DZMyWvawqDhVNaUJ6jqOP/YjEM3LZbiWhVKBTfKIaC5xkMJlFKvdMhj6dKSmDxUNoZQvGBLKM3HP9bhiCwzHxkzXD/gS4yBytLia54LrTap7nmzMXiBM4g4Uw3rVaIU2Aw5ypUtxXZ1f10Y6ARH0asyMHNjgUvuv2sSvJpXDQEn/OuvkQCvQODVX6vauZzQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=Sq4q+28VsTVr3doxQagH+JClA/d2qVf3vA/96kYD+yc=; b=FhYDUlfsBfwISLvwd7rdEb2AkJk0+74zUY75QWn09jqtQUr+SPSWAK70dO4WgXgYxKR/OHwlG6yUVqrXtdJKF6kz5SWeRezgfFeP072XU2fFYMMsrSeGc2c+hmgHEzFyLivUqGexZ8L4ddO7VCeNjMDmYiw5pGylOMd6nsry6pC/B7mveoIR6ycBBebcllXP2PBK060b1+P+Kp+FnRg/k+1/RBl8GqVH24msjyevvjgkrJgc/TncAtqjh2ld9ABbh0K2alxqMy6A+gF9m6VVFbcT4qEd6t/pYMNrV6YmV71SzavW9k+GUUnBBhH8za6XehpsieVnGnEer6DYTmV5RA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Sq4q+28VsTVr3doxQagH+JClA/d2qVf3vA/96kYD+yc=; b=vUEiwIMwK3qkxwG5lklTJwDailYqg4FK9Gkxe7U0PIcwGTq9IcdPlA1x3X/drzxJJo3h8p1BWC+YSu6xkQ+RqxdNYDU+aQw9J6wfdt2n6wL8+Zu6CTOwTmseNCdIEpJtyiowylbNjwA/io92erA2RChXou5MMxeQNCrkOtdtKkI= Received: from DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) by PH0PR10MB5819.namprd10.prod.outlook.com (2603:10b6:510:141::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6156.17; Thu, 2 Mar 2023 21:18:34 +0000 Received: from DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760]) by DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760%4]) with mapi id 15.20.6156.017; Thu, 2 Mar 2023 21:18:34 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa Subject: [PATCH 05/17] drivers: bus: simple-pm-bus: remove MODULE_LICENSE in non-modules Date: Thu, 2 Mar 2023 21:17:47 +0000 Message-Id: <20230302211759.30135-6-nick.alcock@oracle.com> X-Mailer: git-send-email 2.39.1.268.g9de2f9a303 In-Reply-To: <20230302211759.30135-1-nick.alcock@oracle.com> References: <20230302211759.30135-1-nick.alcock@oracle.com> X-ClientProxiedBy: LO4P265CA0243.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:350::7) To DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR10MB6798:EE_|PH0PR10MB5819:EE_ X-MS-Office365-Filtering-Correlation-Id: 33a8ada4-bdb6-4a55-6ee2-08db1b63ae81 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: iNLzIqIpkBfBJRzgSH3sDCZvOZsanu9BstODs3mHF51K5E7/HgvIdpX9YcSUg4EPz2Pst9haTS9TBZX8LQoFhyUSIMrxJl21QVU7bLSYa5EbeZunx8u+9E4ukt6uUKj7EbuxdjNlwXAZ/JrS4x5eJzLPhvREF7d+R6savQwX5H4VIyw1ii7+msHINw02UejcJBmFFJ5oZggxcVjWZaBNww5e7BuQMa+inOHveuqABJvw2f2qk7Pt+HzlNoeEFdREbHAYTAt1F4lMZ1yCZDIMyXhJvFqQkBtyAy5Apf376kI/l2woc1rjYZ+zCV2tpksoOkTeKj1kiAqC+5Y2ergFpyVBaZdKDT/qOyU8X1h4xkBPS0M+BkpX7f8LhYJAtBTad2wXSsdkW5K2/4t4kMyM1ApK1f2yAYFhLRpD5jKfLM3YYv2HEXYXwGJm0BtlH19vWQlP0hUMvFlDzNZoGe+gG1ezNprM4nNTAr6sUWgkq1ArbhPdAzXv4+ZBRJXthK+ckqDDjZyQtS+BRv8eWlDZEdS4ZUAhYz4Ygpfe2Jg7wW5cVll9rYxSei3EGsSzzx/whSRwLe2yY5GjMLroON0X8qSQ75atKiDFtXuLX+JmHqOPaBfxZ37P1K386LkV/PvFataBFj9T3eXEUaI6y1r+Aw== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DS0PR10MB6798.namprd10.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230025)(39860400002)(366004)(376002)(396003)(346002)(136003)(451199018)(5660300002)(44832011)(83380400001)(41300700001)(6916009)(4326008)(8676002)(8936002)(66476007)(66556008)(66946007)(316002)(38100700002)(36756003)(2906002)(6486002)(478600001)(86362001)(6506007)(186003)(6512007)(6666004)(1076003)(2616005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: SLNCzJEDAdnTFbXwI9oizYvSDGW2CklrUToDrjOrRlSzHbUXb6NZHd4kYwmkqvgbJzWtktkojJz12PkSpJ4MxUl0cZhkPzg3bIUgEEBCaGNgPwvpcnbwZLCSZQr1fCaCURKJ5gBH8+CWrH/nHu5tEbPDgw+NaW1qdkIDiutwuo23K9FY2lpAxBufLN+vGRUwPxUKVQyfZ+hHWJA7+WnUYhiFERuIbly6zlK8w8sSIXSWEwjnxMorAPvZc8w0ZgDn3zC2fva6SYnloac+REfETKFgS6zB3dpoPC5hE79tx6ZW2awnPPb4CgaRaiNTGGLqEJH2WorbIyRh7oftwbZDxPTXJpe1xwItXyCqWQR3KHzn03TiK98DTAKFj1eKymRJRZxJW8DmWs1vpuX6nsE0vH83YGLbV4b0+g85dhIr+59oATBiyJ6Nitz13Cus/5v2NTmOAbntS5wBuo2rBxDTu/Yoctwge2QiKRFsaFJ5hoZAP8RP3KpM0Zs5asBJQYcNZaPDn877Pp0hK96uIsov9S9mFMvOLDXCoHgk3PVwFLjzE/UUyasiNGHAgKu2hdXWKblFC3Dbo8JV4GwISt8EtMKf6EGR2fAsFEyjaPJMPuVTJwyfMgoAqMmBCtBGPZkm92gmluRLVVRr3ORCwSiShlW2xRD/gWDctEcOw+SCluog093Rq4gBFI+1f+/Ka/uvsB/ycE5B+2J52IoLRh+C1OjLCgAlFMWtMDru/FFUgW/4DahdFE3K9zi8M8qVJ7NO59G1DtZ4RmZX7pThp5pXztjmjCUB5vSoBaasIxYGtCk6IBiUnRfWdP+yoRK7Y0weTkaDhR47EuaxwUu/MUfiWo0XuLSliC+vgU120Tvai5kw31DQWc+asJcEtz3shH5q6IX9mRb+nRDZyStCYAVZ129mieNSEo38FMei+Qq22jLovPlTk7a3F3Tr1Pb4Id0AGQLEFxrLBxgzmyXKYNK0OqYi/dqUct/tixuqik0HibuxOpypgTQdyXJL4dTFfLo7M8XLMsvqdafgDbhHY33eoYxZvV+Tgv1ntxdfXdxmdmSdhj3gnaierk8qM/eYT6HLYUMpcwj3Gdqbpe4mgYX8iTnC2vWxUO43F4e63pg793JyhuAs6+3H23TbiVgPtIx4KGudnachJCP/+7VMUWHYteIG+igOfZpGIY3dV3QZ5rX/XhnK6kWvMvzwk20B4+5Q4asr1XbPZn50+/CiCvrFTrFguoj8FYo7yoTPHcPxW7NkDqjesCiQfQI4N6JtiB1IsQieDxlfSRwv0FhZdAQxUmBMzun7owYKMxs32FPSC4S8cJqBiVeIZ4Jqsg9SXi981KQr9uXgzkee6spuA7mCU3Cwk21ftXP65GUq2+A6J+X/oHYDsUVV1dfCNMRgRah1920JInkKehiZbb28qftiC899rvSekWnnvUmoOQxomK75Im22HUrYsxtPTWaIZAXR/33WZWsy1fqin6PAtjAfSzH4mw5nZ2yU12bnYFMYF08/zuNOQqd04fNJ5LikF485FUCfinyvn4MxjSJwf8EJdw4oUgeXyFD5L+Mcp6fqzgt23xkR6RKNA2YymB56f3lkuvOOhwmQBf76HuIU0+6HfMH8kIoET0VKEwBJZRmwFW8= X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: u9qbgALb//ivvFEIC8VPgcwY7/E3giUJtiduSv/uioFDPuw68fEGyCK84g0HSDVJeguPcs64XjKus8WByZj5IgDAN8ZIZia/b2gsXPNtcDMyOtOvpjU5gfLMrn38dNSqkMEo8fcahpFjB96RZjdK7ARkDX4GfVuvN2u1EV/HU/kfKN0+00T69Q3b07PwyoirM7mSbO+uQxWb8DCRc7L/FUgz1IzGBTzBfIKAqWkyoPKs720eMPhzVcqCoT2AnEKWAC8hSIsfNCXIl5JWpcIGdpprZuCjvzUo8yIwQmEUnpFLeVMRTGX4hweIopqMlguOpAmD/UkLrMSQpJW3VRPcsPVh+G2UwCEJfdCanOSYKY9MTEGdoO7Hf/1f1vKXtpamwtCi67use1+fIKdyCMKbuidJrwXt3aSZN6sIV7S03Qxx3N5LUAfcq9/d2muuJjjkXUAFby4Ku4Xo4JkvNgEwxPDK1VDaXLnwjw/wBw6glbv/S+dpapcuzgE2KzGET5dmDDnUxColOVGfPObECBiX1vra5Jf7regDZpC3ld0W4gFf9e+GkqVXhmVaFDZn5CNRxSlF0XASJtGahUmDPyQDsExFZd7aJcMuWdKzvx7UWv260FY+P2c1xcge9A4a6oU1+62Ym2nhkaXn5hNCEbE3qlOpjlLGlj9BHq5v3LrXSVtJ8oCuM/NZcOIBmu61gPvL/uiVPtvidyYYn4OBj52WE5yleoAL4RukrxTe9rQrpyVkhWK/pJwqVaX7FPB7uynVuZW3hnudD0GOlo23JbVpGFul048rNW0Hw2peFlQe5XqmqW7Ed2/rEEI/rXE4m6YI X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 33a8ada4-bdb6-4a55-6ee2-08db1b63ae81 X-MS-Exchange-CrossTenant-AuthSource: DS0PR10MB6798.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Mar 2023 21:18:34.7425 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: vmR/9QkQBJffGSy/U1EQ8AH6so4TloEHRizhy2+U10tdz8AzsAw+hSGo0scS7bD46RlLxMB5e63pWplLrPsWww== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR10MB5819 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-03-02_15,2023-03-02_02,2023-02-09_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxscore=0 bulkscore=0 adultscore=0 mlxlogscore=999 suspectscore=0 phishscore=0 spamscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2303020183 X-Proofpoint-GUID: XLsTVExSKVQ5koHvrIrqj9yRECvnjBOG X-Proofpoint-ORIG-GUID: XLsTVExSKVQ5koHvrIrqj9yRECvnjBOG Precedence: bulk List-ID: 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 --- drivers/bus/simple-pm-bus.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/bus/simple-pm-bus.c b/drivers/bus/simple-pm-bus.c index 6b8d6257ed8a4..32e6e960f1676 100644 --- a/drivers/bus/simple-pm-bus.c +++ b/drivers/bus/simple-pm-bus.c @@ -92,4 +92,3 @@ module_platform_driver(simple_pm_bus_driver); MODULE_DESCRIPTION("Simple Power-Managed Bus Driver"); MODULE_AUTHOR("Geert Uytterhoeven "); -MODULE_LICENSE("GPL v2"); From patchwork Thu Mar 2 21:17:48 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Alcock X-Patchwork-Id: 13158019 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 25E04C6FA8E for ; Thu, 2 Mar 2023 23:11:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229642AbjCBXL1 (ORCPT ); Thu, 2 Mar 2023 18:11:27 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53768 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229634AbjCBXL0 (ORCPT ); Thu, 2 Mar 2023 18:11:26 -0500 Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C01C648E1A; Thu, 2 Mar 2023 15:11:22 -0800 (PST) Received: from pps.filterd (m0246627.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 322K6cKt009084; Thu, 2 Mar 2023 21:18:42 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : content-transfer-encoding : content-type : mime-version; s=corp-2022-7-12; bh=z/rOCmAvyi8i2VdWtpfwEs/0BfRAWc9YigOtYyw6vnc=; b=j3fvNvxgtryFqxkUWhyJ/F074yesaonRUO2GtV3YqupHEfPXZeW0C/XirFahm1YnTXTm hdp8kK+fM1GtU5rfqeoO3PP4lO+Q/MNzvzVG0QGlOP20LyPXJ5rRTNtOMecmnYAI0WQn JSZPZJfeT9NirZqT6CS5CJOMSBccQXS3WhbItuD/kurQsAY/9EvtSNMTbK4uV9BsbY/T 1KG9owpmrKta8dDGwQ+ZNAcXahuiV/+jv+qMmtXLM+tOxcZGVKLye1rAVv3SOUoh3YoN KUBHoezVib0N1HGra08MhsLHlJYO2M/rRANwCv84Uf505I4KNyG/ggPYaVzCaNAopXse mg== Received: from phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta01.appoci.oracle.com [138.1.114.2]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3nyb9an079-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 02 Mar 2023 21:18:42 +0000 Received: from pps.filterd (phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (8.17.1.5/8.17.1.5) with ESMTP id 322Kn5tD000665; Thu, 2 Mar 2023 21:18:41 GMT Received: from nam12-dm6-obe.outbound.protection.outlook.com (mail-dm6nam12lp2173.outbound.protection.outlook.com [104.47.59.173]) by phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3ny8samf3c-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 02 Mar 2023 21:18:41 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=cR4RMPYJy+gMCB+9H9zzVuc6FES0arx7VI3/28SpJhHOM+1EhH/yoXIOmOZvzhCJ3cfbWukJ7wDN/MBujx/eaZGpz6eY9v/RmllClsLPG8y+SO0lfamo5682kNF71Zew78AbWMguqZUWwZtXlDkd5iQCxEaFgLwzehtrRa0jjydAkKoQISTC0Z8s7BiKoXisglG9b0DlNQxsb+n76Ne8DIO7Nt2dJ92XGGcOUCqYWbiZikoeXyrfkjRYHnObPwL7jEPEW0Q6QTmLB54AEInizASH430fH9uiAn0LQ2AhX3Q3ikM+Ouc/6SpS7SlZ1xUL1Df/+R4jO50PTyTUb/pwzw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=z/rOCmAvyi8i2VdWtpfwEs/0BfRAWc9YigOtYyw6vnc=; b=TtTj/ELtQ8wukbPIlTnUENVPAiYe/Ba/iVE9LlKUBOFaezKHKmpyx2WGVB+TLoNV5PmzQurWhFdoLYnQZ0Mhd93eiOt8QuRrwMttH3VLvDmvzJSRR5K/MJgi8zo37Inr7FcaudE8r6aWy0MWnJZNH5kQChJPj/lnv3q3zVfCZx2AssYV9/3NgEWM6FtQ0sK/Fo7WFCewlqTlyZ1TT7EewdQduzjww1SnNFWYMSAy+FZ8xGAB3A4lvIGos/6wehRonSzoOaYuSPiBFNZI0JStbL9B/FUIn2mWGV0bLpfu4AT7C6ulEIlIlkyWtWsdX5AGzs8Y/KX+QQ7ky2NzB4ReyQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=z/rOCmAvyi8i2VdWtpfwEs/0BfRAWc9YigOtYyw6vnc=; b=nQTC0OXxRCy4pWmVC6dbVwHRUNrKxHMQ8Hl5ht0Z5+3F86K5x/pGO3L4LDGsIafG3KXXsRxG5gu/aMgYhI9RI+MkYqrx7QqFZOZdFY4CA0NDY3JmlCLz5rylCkXFF4IiH7xGQ+/yIiEGBXKHMY8/nI8Ix8/0hVt2/Lo9GeEgEDk= Received: from DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) by PH0PR10MB5819.namprd10.prod.outlook.com (2603:10b6:510:141::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6156.17; Thu, 2 Mar 2023 21:18:39 +0000 Received: from DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760]) by DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760%4]) with mapi id 15.20.6156.017; Thu, 2 Mar 2023 21:18:39 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa Subject: [PATCH 06/17] watch_queue: remove MODULE_LICENSE in non-modules Date: Thu, 2 Mar 2023 21:17:48 +0000 Message-Id: <20230302211759.30135-7-nick.alcock@oracle.com> X-Mailer: git-send-email 2.39.1.268.g9de2f9a303 In-Reply-To: <20230302211759.30135-1-nick.alcock@oracle.com> References: <20230302211759.30135-1-nick.alcock@oracle.com> X-ClientProxiedBy: LNXP265CA0056.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:5d::20) To DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR10MB6798:EE_|PH0PR10MB5819:EE_ X-MS-Office365-Filtering-Correlation-Id: f5ad66df-85d2-4a83-ed72-08db1b63b133 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: vrtJ8BR3M2ExbAbEnivrAG2j5kH4xqenOXjhx3aYYIrxNdfjhy8elth17SWLpa/904hmWpc1Ekx69PXryi3c4idM+7KnbmlZNoJCAUzdDSgkgLo1czgIUcF/MIhV0jf7tB0rdDuwrL+1QXqdVMqgjiKUnV4l+ik1mQP2W/oksQvRBB1oTo0AzEA4C034SUJL58Kfx/D79wqiSyhcKr2e0RyYDD2P/Ttq1xUEHRooshOtFdEBg1Zd9KIknujnauUjVR6CnG+RW+QMfUbI/5JUz31cWXql6zFA9CblCJj+XLBEq5NLBLKjti+RgpppuQn3CjrtTSt1Y+9U07ETjfuQVkPeXy/77m0er6NWZQykwoJ5GzQt55h9qGFtrEiN49ewgcsqIbf3fqPJC6uJ0AePpdKRMsub9RLqBl1mXVVcU5I5auQylkHLvWnmW38mBbSbh7MKtIwcUGr2ik7+Y/6szsI4kgtuHsGVGrlgGYid5qztZoGYsPgN7jsy32GGX5T9nmE7NNfIW8HUs+q1zgZGLP84UvbeOZpXwflawVI29ppecUXZDzkW63QF+5OLQ7RlknvV8w6C9PBq62HJyfeDXcEmbH1kNU36qL6R+6MjlLQJniNu3fMb05XPGe7+qxmY1vpaLyWxeil4TALIs0Fbvw== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DS0PR10MB6798.namprd10.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230025)(39860400002)(366004)(376002)(396003)(346002)(136003)(451199018)(5660300002)(44832011)(83380400001)(41300700001)(6916009)(4326008)(8676002)(8936002)(66476007)(66556008)(66946007)(316002)(38100700002)(36756003)(2906002)(6486002)(478600001)(86362001)(6506007)(186003)(6512007)(6666004)(1076003)(2616005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: bHmwGJ9LgAQmqIMknXnoAhCuhlV/T/SVjygRDyD1hhLZbKk5hQks0aVbpTNQ81fj40gZBS2xweXAxVAwZUpps93UokhoVwPvcNOLV5cy78MzE4SoZOwhSqduwaCTojWg1xJR5Du+B0XeiIYkkVxWaF8dIPGk1XzNKcGZqFs4gAcpyvcISOfFwL5NlMuS01l2tHurJZbv8Z0sdLMorhDSI0epWeba1L/ilNeB7e6jhVPvU9Wn2MXJqsA0uD+uneMd7eCqaZjzFFm/8fkcwKbfDX/pUr3EooHenNDgO0B6p0QMt//IGGP0ZN73X4dDz7jTgHJoYuOKZPue6UTcRDby05ikuBDq2aoryiOxhfCuw6pd5SIlCV0dRrqlaaX6qOj5R5CwO4uxTz1N2t5qdBLs3XFWRb1VOxgqBGcTFLa/W8FlLWCPVj37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0oJ+A7cm0CITHUxbpP8/cCF0sgsRwPVmf77SAI3Fzocvq4XwLjk/FI7Tv/cpEpUmF4mAIzQqS+2WjV07MVlPKZUnW4GU2ejSD/w/rxFEc71j6IgqoYyEKfdu9coaj/sacME= X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: g5/sKwH9Dm0+pdPxo7mYd2rOKNxHGwMuNo6uT5v+23JT5ANTR+SlGCpESiqdglqcA9Ahl8FPsDAFgmoKsvLryzTnHGVvShh+P3jFmcpdY+uR9+Nl21wIvTwGsB6OG/rVITAzh767TP24oQ6sqgIzHQRzAYlzUUqRvLdqGpMriczFWc+bbG7ZAdEY304HarIn1kLjqRD9VFFF/hWwHCcCcZ63cvdvIgxDq5mDh79atG3IzDKQ6c/cSaPAB9LqmWPB+pvxEmay2b+lm0tD0dDcIawnP6TJyap9lOpHsSkDYv9jJaBuFMl1/Lf0csQxPFz4kIHsfgHajXC6zPAz38QBVPEHWspBcRn1SoKEl44nR07A1Z8rXBJS+g8hKNvM0DCBAwK/Cpymt3436b9lfZUghs9TK2DKuAujpWKtJzoXksKtMgK+8Nq9tCrdsYtpCxJVNJTmixOlvcsE9gcyYN+zS8BlCofIn7+/AeXIKWwHef01mSF18n7i3eQupOzPPESAle2r/60tmQY2U5AnIkjG8PhNaZtmKiyyxLyqbxgp+oVTFC5Z9O71d2TfW765dAhgU/XMTemdii/NY9yp4siFPWmHIQVYEdt2chcOHKE4c9QuUjEVG5e4AWWo1fF2TuFdYnJFTMaMgoYYrUHVV1avh0gA+LHdMKgVOG5hVLh3gBFYxi/ZCHn/RjfpZrIIHv75csvrJNw8/rmhD35599r/plvuUPiOvvQ+xdvfnu+0PckDdQHZPPOIwEk3nMsH9jIehz4qJREXn7+U4YsOBkBXqsMshT9TLnDGJ5vPZ43g5xZ/zFmiM62vs82gSHBjrNnm X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: f5ad66df-85d2-4a83-ed72-08db1b63b133 X-MS-Exchange-CrossTenant-AuthSource: DS0PR10MB6798.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Mar 2023 21:18:39.2677 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: h7jl8I7L63uCD0unHkShEZtnjen93E6hCrR7pnVogTLXGbygiv+aESnmNSPkrfm8MVm6gndKg/iZYeXkkokVKw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR10MB5819 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-03-02_15,2023-03-02_02,2023-02-09_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 malwarescore=0 mlxlogscore=999 phishscore=0 bulkscore=0 spamscore=0 suspectscore=0 adultscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2303020183 X-Proofpoint-GUID: ngot_YV99ZEMd_twv5fGD6VcxspGrVnC X-Proofpoint-ORIG-GUID: ngot_YV99ZEMd_twv5fGD6VcxspGrVnC Precedence: bulk List-ID: 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 --- kernel/watch_queue.c | 1 - 1 file changed, 1 deletion(-) diff --git a/kernel/watch_queue.c b/kernel/watch_queue.c index a6f9bdd956c39..5deed017bef42 100644 --- a/kernel/watch_queue.c +++ b/kernel/watch_queue.c @@ -29,7 +29,6 @@ MODULE_DESCRIPTION("Watch queue"); MODULE_AUTHOR("Red Hat, Inc."); -MODULE_LICENSE("GPL"); #define WATCH_QUEUE_NOTE_SIZE 128 #define WATCH_QUEUE_NOTES_PER_PAGE (PAGE_SIZE / WATCH_QUEUE_NOTE_SIZE) From patchwork Thu Mar 2 21:17:49 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Alcock X-Patchwork-Id: 13158020 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 AEC19C678D4 for ; Thu, 2 Mar 2023 23:12:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229702AbjCBXMT (ORCPT ); Thu, 2 Mar 2023 18:12:19 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54556 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229694AbjCBXMS (ORCPT ); Thu, 2 Mar 2023 18:12:18 -0500 Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8B4C948E1A; Thu, 2 Mar 2023 15:12:17 -0800 (PST) Received: from pps.filterd (m0246617.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 322K6gWA024770; Thu, 2 Mar 2023 21:18:47 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : content-transfer-encoding : content-type : mime-version; s=corp-2022-7-12; bh=KVGAuLX9TKuu0tg2KJbjB/RVarHij0TeyKN+5BsI5eI=; b=ya7KGzNILMyAo0qM8NBy7Kzhcar4RuejSzXQemufanLtsWqIVgAHaJHrmP8KUoY65BCj 0zSR9x84cB6x98KIidVzQKxF81xwZ1C3vFGriOUvMi/rKBDnZ5cypnw8rrCD9NtLRQEo FsaoNRxk8HMbN0hhFsHRTOd1ShcIzkYllozJoXc2jnx3L28lXWDUVLQ1ccUFeluaXT4D rlWppopMUnzJOL1OSFJrxOBfLkyVX44nCFkCwCPJxc7q2sWwakmgW4RRcdTUx1Lc+P65 VF/UQa7x4bOSev1gO565MtaSZXrRfP1vsBPw+p1U+XVmegoBeHDUagv5YO52PVTaA98k dw== Received: from phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta01.appoci.oracle.com [138.1.114.2]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3nybb2n23n-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 02 Mar 2023 21:18:47 +0000 Received: from pps.filterd (phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (8.17.1.5/8.17.1.5) with ESMTP id 322Kh3IM000608; Thu, 2 Mar 2023 21:18:46 GMT Received: from nam12-dm6-obe.outbound.protection.outlook.com (mail-dm6nam12lp2172.outbound.protection.outlook.com [104.47.59.172]) by phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3ny8samf6n-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 02 Mar 2023 21:18:46 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=e+0/3lFOtYzy2l9ETwqYCHhRtA8G2oYjVSJpe0sWlfnlftVRk4eJvBCPl6ZILVJ+zI1NfGjTW8lqq6n7uAoHdqDciaSklzpEhWl6Oqk4D/FbCdzSNw2OHOVcTaYyQkfY+Dyrm9+RooKiTUmEKZQviT6uI1BvXWzE5yeE8Zf3xkGXM0XtCskOxEqJAru/RioW/HbXR3zNCogMP0KGpMRWQ6ADsYYHpMBml1Keipb9+H22visnk1vF0maskJVmxg6cYgSEyEv1oNJHE1V+45zEqsr/PslhlHfUPMLDOtxw2SCWszt8mdcpbH4H0P2hCuQU0lHRXmhPrTjCmZqZmxYIbw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=KVGAuLX9TKuu0tg2KJbjB/RVarHij0TeyKN+5BsI5eI=; b=Mb2qOgHDc5F31WOH9fwf6roNI/rIxSsbnTkVuKwYuAIEb/nO9YLy3k1n7JUUsq4/sx52Rcvnk18iJnVhsjKJJG4EHDygKb3K8QVS9QjF1gZ6DOk7vOJil/MheSqWCJAcCzviLpfeIfRSyIY+MEWlWdVLOa0hBSUhDwCE+kYA9dSrDvedrhvwe98RCFviQ7U6A75Ximc96PIzVxURFpM6T8XxK8iy6ijw+f/djnTg2K8zPn999+SEa9DmfI19x6U5/myjhxFlv3XlBUK+7yU4dme9OSlOlyERlDwKsAMgMWwT0bmlVVUCZysnsnn6J3jfcEL4aDqtV6JVo6lX2sy/Ig== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=KVGAuLX9TKuu0tg2KJbjB/RVarHij0TeyKN+5BsI5eI=; b=qasQVyC4iGBQOMnM+4wD15LBhi2l1Y2m2d7zCRFMvB07rhldB+8/QbpJZGxX7XMYJF2IaENC5+I8IClCaMCaCDPn/K1/lkGdpAH5GjQGYoY1LhiP53BaOZbYktn4bvy9tFkc4G7Kc8ST2Jgj7DOYGHJK3nuIxulpBDpUhr426ZY= Received: from DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) by PH0PR10MB5819.namprd10.prod.outlook.com (2603:10b6:510:141::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6156.17; Thu, 2 Mar 2023 21:18:44 +0000 Received: from DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760]) by DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760%4]) with mapi id 15.20.6156.017; Thu, 2 Mar 2023 21:18:44 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa Subject: [PATCH 07/17] btree: remove MODULE_LICENSE in non-modules Date: Thu, 2 Mar 2023 21:17:49 +0000 Message-Id: <20230302211759.30135-8-nick.alcock@oracle.com> X-Mailer: git-send-email 2.39.1.268.g9de2f9a303 In-Reply-To: <20230302211759.30135-1-nick.alcock@oracle.com> References: <20230302211759.30135-1-nick.alcock@oracle.com> X-ClientProxiedBy: LO2P265CA0198.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:9e::18) To DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR10MB6798:EE_|PH0PR10MB5819:EE_ X-MS-Office365-Filtering-Correlation-Id: eefe2de2-374d-4e6b-53cf-08db1b63b447 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 1kF5D3VdGFEBtxOPlHvah39EKtHzGDMY0jJ4HOiIheHXJ/7QY7TrLrMRoe7Q8lAOWsdyRceYYmRQbuPK+0bcvkI2Ws9XHb2KJb6vpDdLrGK9uFJKBgLLoljJt5kfl3CC1wMvUynX1UQ72/JT56LuaZ5bRYFFTt79BsdbfIHFWl7yTkzKsLb8ZJf8QcDEZYdYNNDTxr2BLHhncvrj47Nmfa+DfPb2Ou7zv+u2YrNq9opK0pKtZJi2J0RRv1dS5UTbCv6YNM2K7Ez8T4EDE3oE6UpdRAtsI0lPdXXxFrfbCuEKmdnudm3kJgkC8c45vA8NPBz0fp4o0PnK8LXVqxybyI0Q9hjuAkLQRRDHH/Mru1Bk9MbUjL70sxxH0LuPW396QnZXtTNF28xWXxb1foD/hdFw8f1UzeMKdKgjSNjACRtKgK4DiCqh3TFHDPhsIv3Phuzd373lKRZjTGWZ2X1vdZdvX6OswWdhVJR9McQ0K3KgLbhhjAdVLHOUqRls5cdp3gTNVwgqYb2MG8cUVnbflCqsV17XF/zyBJssI9WdgtuEhwOb49SdrqKc5LWYwVgnD2DYh04Y0kLTHi4Q8SREObC5GVjWvw8NtARV0+Oev0gK+kaVQe4bqmO0BMUFasQMBxNZ/IBk73uBdwE9pfglhw== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DS0PR10MB6798.namprd10.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230025)(39860400002)(366004)(376002)(396003)(346002)(136003)(451199018)(5660300002)(44832011)(83380400001)(41300700001)(6916009)(4326008)(8676002)(8936002)(66476007)(66556008)(66946007)(316002)(38100700002)(36756003)(2906002)(6486002)(478600001)(86362001)(6506007)(186003)(6512007)(1076003)(2616005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1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Vicp83BVAKvi+wB/x6q67VqGAjjl2xNEWtoSbvrr81foxlYXP/AA7eoaz9MA3HETJ4X2Un8KRr0t7PURbPz0XIMkVz9biWlsW6m04qn4agr6AgB4ZGl5iexPgChe6vey8S1hMROw/FxMIED9amRAeO4PQt2qLK7F6U64JgZHUg+Ov+baSGMeyX3urj+PEt39UfXt2IrICLa0io3zcOqeNNMeb385NRAOFcw5ZVFkv1KYpwLMQo0/YVC55z6dWBjUbzuODOuSfTT6/f5th897Um0zH7y5FbLPSnWdKWPN0T/mv+/rf025g71UeN77C7Q54KUvHBDNHJQjT/bJR+NCnPiDt56H630p9ieDOOtgu9TEy7CO8T4Bce35N4D6mhri2R5CxAG908CkgIP9Rbda7EZJLT/pmwvqAUjoasYp X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: eefe2de2-374d-4e6b-53cf-08db1b63b447 X-MS-Exchange-CrossTenant-AuthSource: DS0PR10MB6798.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Mar 2023 21:18:44.4280 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: x8vb0kxKoEZjgMUhTsKWME+lqq+u2iSUYpgKRIU/wsUX1RW47y4mtLD49acRDD51vvv62G7yLaowwaXfpvdgRA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR10MB5819 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-03-02_15,2023-03-02_02,2023-02-09_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 malwarescore=0 mlxlogscore=999 phishscore=0 bulkscore=0 spamscore=0 suspectscore=0 adultscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2303020183 X-Proofpoint-GUID: 6P_vmyy23tnDEFKcEJLtoe5R0A8eaWYZ X-Proofpoint-ORIG-GUID: 6P_vmyy23tnDEFKcEJLtoe5R0A8eaWYZ Precedence: bulk List-ID: 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 --- lib/btree.c | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/btree.c b/lib/btree.c index a82100c73b559..49420cae3a833 100644 --- a/lib/btree.c +++ b/lib/btree.c @@ -794,4 +794,3 @@ module_exit(btree_module_exit); MODULE_AUTHOR("Joern Engel "); MODULE_AUTHOR("Johannes Berg "); -MODULE_LICENSE("GPL"); From patchwork Thu Mar 2 21:17:50 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Alcock X-Patchwork-Id: 13157955 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 14219C6FA8E for ; Thu, 2 Mar 2023 22:20:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229445AbjCBWUl (ORCPT ); Thu, 2 Mar 2023 17:20:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36000 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229790AbjCBWUk (ORCPT ); Thu, 2 Mar 2023 17:20:40 -0500 Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D36EA93C0; Thu, 2 Mar 2023 14:20:19 -0800 (PST) Received: from pps.filterd (m0246627.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 322K6cKv009084; Thu, 2 Mar 2023 21:18:55 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : content-transfer-encoding : content-type : mime-version; s=corp-2022-7-12; bh=tpkHZP0OWgrwJMQtbQZUQA/RSo8cn+GbFGXNNeMJhfw=; b=aZdInIA4kx9DCuaFnh0DKl7qiziK6uMUdP/4wtE7Cd3sr8UWrhh9Dvm5c3JhGBPDq0IZ OSufpD+FxeCVSNCbLCuY/t7SJDjDpw8S4kE/ryGIKNFufiWMSZ0XwS19M9FW4AbvRr7x 9ZEYxVUzpLyQ5j2HnOVBGJEniAXPs9lPKWDNSrWxLUDkDs1+f9t/QFK9fcj0qQl2XG1i Vfk1fhY2zfljU0C/Md9VeZMsiFEs0Dp5X24K+AlEAUkoDyT2QvME0t8+giZCA1TR/W+N ex6DjjaLkc1npK05ugDzwMpvG6SK5fNUakB8gSMbUhmoFZY7toM3R0Y4m2+h6egtl2Cb 2w== Received: from iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta02.appoci.oracle.com [147.154.18.20]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3nyb9an07p-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 02 Mar 2023 21:18:55 +0000 Received: from pps.filterd (iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com [127.0.0.1]) by iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (8.17.1.5/8.17.1.5) with ESMTP id 322KkBGY031228; Thu, 2 Mar 2023 21:18:53 GMT Received: from nam12-dm6-obe.outbound.protection.outlook.com (mail-dm6nam12lp2174.outbound.protection.outlook.com [104.47.59.174]) by iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3ny8shf48a-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 02 Mar 2023 21:18:53 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Y3O/DX6oILI2kCfxmCClnxntDFT+GQUMrvEGkvogd/7IYeJ8aG5q4elzf/3PfsfqQ+fBAcbW+EUoHbsGhiraUbWdgxbmrVonhiQoK7uVi9IYL9ltLdI1vls+ncqGCH0Uwg0MMwWp9q6sRqwrLByUO1S/XrTFdPQQEeqPsYo8cd9tQsAPS1FPrlF7vMly+MeXamjRrHdHr5wa7Z0MyI6V/kXgv4O+GIFtd9/8QetyJU9gikOjsjJq7SDoj8OvExWpgua5+nHv+SgtJUqbmfFkgYG7Iu71x+hKQ5TB9PdO7n9H1n/+T+IIdTSErH+RAbhZ+U2SclEi50+sNQbAVjVqiA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=tpkHZP0OWgrwJMQtbQZUQA/RSo8cn+GbFGXNNeMJhfw=; b=nEFKMXFahhEUwOqg4Ka6lkAmI1JgPXacznrxjku40QKdYp3nEWD1hxfey9SpEb59t+3zw6BofJnAuxyStAqiax2kW1+HqhqF5XF4gTm/IcH8V9//38mFCoM7dj+hIkoGlERWaxRx0Bdt8J+NmtckT9pGK5N0EKCawIbPQJWw1voNUk7y3ya82y081UtphZnzWysFdnayMjuHCwXuiKcr4DgUpokkPGspwqd2epOqYEAOuS4FAPQBExdLLUmRDCT9lgDIyTWBJ6cIv99W9BT5oVF1MbLPz5VCE3E6iHI/CYkmZ9j6KgDe6gotq5EH1+zx97EtnGjFrYMoqAFyWkV7Rw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=tpkHZP0OWgrwJMQtbQZUQA/RSo8cn+GbFGXNNeMJhfw=; b=vwVvXHvA3dfnJw0XKh6KqqP7FxX5JBpZ5Kri0JX6u65bkS/wE1axsthLncPjgMz9/cAvQiRP3xdewtwU39yMkQCm3ImksPvbQEeX2G3mUnc/nBxibiHQsF5KniOPEHCx5fFJyyltk2YJfzfFL4em+VQkeCLTJdjG13qxg3QZVcM= Received: from DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) by PH0PR10MB5819.namprd10.prod.outlook.com (2603:10b6:510:141::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6156.17; Thu, 2 Mar 2023 21:18:49 +0000 Received: from DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760]) by DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760%4]) with mapi id 15.20.6156.017; Thu, 2 Mar 2023 21:18:49 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa Subject: [PATCH 08/17] lib: remove MODULE_LICENSE in non-modules Date: Thu, 2 Mar 2023 21:17:50 +0000 Message-Id: <20230302211759.30135-9-nick.alcock@oracle.com> X-Mailer: git-send-email 2.39.1.268.g9de2f9a303 In-Reply-To: <20230302211759.30135-1-nick.alcock@oracle.com> References: <20230302211759.30135-1-nick.alcock@oracle.com> X-ClientProxiedBy: LO2P265CA0200.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:9e::20) To DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR10MB6798:EE_|PH0PR10MB5819:EE_ X-MS-Office365-Filtering-Correlation-Id: b7be74d5-9e7a-464c-08a6-08db1b63b766 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Gj530rdMAIQgGQn6PZY0rbOL4gFzPtkHLtNisht+QVQKPh5oAvQB3DsyxbSaXrciFN/0SpQ321Rs/nGUF4R8+SQ6CQwGB41386Hjw2NWehbCP186a5qsVNZjzb2cZuGx3dzeOg6HS8TnuTdHw2cWTKiA8kid84p1/2YXzQjGkp+avmMwI7H961k+SCHImrNbNzjNGOXz2ptrCBxA5Cz0tzGI+Fl+CmR3l11OlTtxutBnAJPXqpNQg8ftZNT7d8T4i4WiKH9THtxjD/RcxGjmRT0Tg39/AXv7449XhEI+VVMHakXbsSkMNryMJwE1UBcNaube8MGILf++ALqLNP9OeHmVRWHBzZDwKSga3VqXhtspdg4Oljox/qMVEvoub+fGgZbzN43y9CYyO/t1zZb/F0mrtINcPoceWRs/28KBTvpI4oaeo1dvpI7Vf0shefSeybm/ja1TWaNIvZZHB4M7m6y685vQha7vrYxMQWTz2gsO5xOEgtz/mc/VgFeVvDUl4jerPrLkE/DKqbQ3uKT6la8V37E5AJmzZxFotnD5wE5kLK5t3YJoY6j9WUtPexGh9K+y47o+x1cjqPP5AMb96Bx5GXRXDfTT2ZTHXQpuW5bOQJnVe0tx5YaZpuchvtJQdop0u7nBpvDB+2G1QsHKcg== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DS0PR10MB6798.namprd10.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230025)(39860400002)(366004)(376002)(396003)(346002)(136003)(451199018)(5660300002)(44832011)(83380400001)(41300700001)(6916009)(4326008)(8676002)(8936002)(66476007)(66556008)(66946007)(316002)(38100700002)(36756003)(2906002)(6486002)(478600001)(86362001)(6506007)(186003)(6512007)(6666004)(1076003)(2616005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: EAmgbXY/Wqp+xK0ZKg2ajnIXnJGb16GcZrctZPSfQ5FOwaQpsFsmI+vHw+dWJz1PUOSUp2NgvBb8PL6jXBodl1Ge/ODEiNZVp+qjJfRuXeiSjXrN2jkfDjiR8HZgGB7oeU4lO6t6fUgVzty7X2lDBTt86c1yJwSVKZEId1UozW5nAbI6/fVMbYOOhn5EJ/eqlXX8N7YNEtop5x7Ig0NDJV54kRihRBXB7THGxWVeyw/B3MO0PlBKvHWt0dBOa7OUwx9oPKoN7PoQsRimjWb2NSifS7gmNxooXarUenBNdlOM23gcOQ4JKp+Bjc8k0I7nkQTy55sYg34MbuM4iktZ/rO+I3gOKnmNitKoANFP3PGgGHeIu9faAtcEHp2rsjkfEoN/2QoX41kVNGlFURd7IYNq3HvQNeWu1aWw0fOP/FF+N1bzI2omfH6/d0eEvlrIL43EEBAU3c2gvxHt3jybJ3mwu7c6TWBi3TANWEFxDZ7In6ed+sw6zT9uPdsnzDQRHH3vUSTIqFZaasHeUT+t0f5CJAs7sMejrW4ZsScrEX5qAekNpzFJe/A0B8w7psHdPtmBk3P0P5enfrnORDHZUOfHPFn/+2N2FVx+Z3j+Mq6PnyAweR3KqpV/C04qDuJfoPvqZZeo5heESGvJNUN9rIRaK5ShQJDeWEQXbAssPK17V7v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sXd39v9Y9SHc7HipuVSl8GGcw+Q8nx43nUHL7YQBp1X+R4V/6PjKFaAS9xi2+1GvYKrwOHdHn4BHlYmQL+prz9cvcfUBROjkO/zy3qchhf8AH2MfEln1pvPsjrkuE96kwkKQYMwF1TXZdcklRUmMzPPiOKWES11+Dq7WbV3pEkTyLgLvdpbst7WLDk9Dp5ewxCZf7gXgMCTP3l8Pz6dNeQ0Y5Qj5rMUt45NOImWUBIKVffrNGX8Jcm/oQp8JaPxd+y7MAQzO+eBOkWlGci9V1sU3O3txXHD+ba3qSoKCvfSaPtXSXFmO0ayYNUIw7RHjpT8Mk3u1+C5LVTft6nAb0L0u6bm9qaQbr3eo+GCT1nRI9TlIPMEREkQVaTskyXx0ZW4BLdbEBg+4TIffBTxMnmL7rAkgELrC88VWFbOBo/61Nd5MDEzRct8BFNs4KJn4QQm5JIZzG6LefC7qHH6iMMPDY5lD5nCjMCWgbMx8zwBXAg3+vdniAopj6+HE5hXrLp/AWqv38fVLiL83BV4Tn99rOyxPcwvCsCtl7gNOJmgRT6lqIyLfj9PpbiXnXb582v0aSYztfQCDnj9oSKYDj1pl5kZ4u2WPkG16bOIgaxNhqxRf2itKZXWXlqws+zuoXqvgBB0r8e7O4ef6M7llvc+xOE9jfujGskzJE4HgNJ3m8ZW96MLIXWDTY//MK/pTD5mJ9wE7sm5Qr2V+EPgyUenc7xX6LLZ/vsw3bA0JQThMQGicMw1P3dVRcF7DSnVH6ULTRof6lfOSLpoGsFD X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: b7be74d5-9e7a-464c-08a6-08db1b63b766 X-MS-Exchange-CrossTenant-AuthSource: DS0PR10MB6798.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Mar 2023 21:18:49.6624 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: zoFZVmpSM10jbkNGrwPo6vSxlhAaL9VTSh5e1ZvbqHP9NBnjyp59ENw6i+ra/QneoQtUCZRjrNf991VqbFcAXQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR10MB5819 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-03-02_15,2023-03-02_02,2023-02-09_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 mlxlogscore=999 mlxscore=0 adultscore=0 bulkscore=0 malwarescore=0 phishscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2303020183 X-Proofpoint-GUID: vL2TC75Q86fmoJlbQ6MKVw9wy2inh6NT X-Proofpoint-ORIG-GUID: vL2TC75Q86fmoJlbQ6MKVw9wy2inh6NT Precedence: bulk List-ID: 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 --- lib/glob.c | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/glob.c b/lib/glob.c index 15b73f490720c..5c30606a1b92e 100644 --- a/lib/glob.c +++ b/lib/glob.c @@ -7,7 +7,6 @@ * both usually compiled in and the module overhead goes away. */ MODULE_DESCRIPTION("glob(7) matching"); -MODULE_LICENSE("Dual MIT/GPL"); /** * glob_match - Shell-style pattern matching, like !fnmatch(pat, str, 0) From patchwork Thu Mar 2 21:17:51 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Alcock X-Patchwork-Id: 13157982 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 8DD80C678D4 for ; Thu, 2 Mar 2023 22:33:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229794AbjCBWdc (ORCPT ); Thu, 2 Mar 2023 17:33:32 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51064 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230074AbjCBWda (ORCPT ); Thu, 2 Mar 2023 17:33:30 -0500 Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D9E3518B3D; Thu, 2 Mar 2023 14:33:27 -0800 (PST) Received: from pps.filterd (m0333521.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 322K6TE3007328; Thu, 2 Mar 2023 21:18:57 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : content-transfer-encoding : content-type : mime-version; s=corp-2022-7-12; bh=x9RRmpMyPV9ZTfFwakDi5pdqhnuRIkgPYDSpAF1Xuk8=; b=B5DzLpI8hjNmtCP93mdHQ3y+9J/QyxZHMoAGSDrDYtp0UgLRlsg+7JB4xKoWXd9BIjCx D3s8l7TzhSc9HSE9ipaek+fSwbqm7lF8dkZWcG6p6lgChDwYuYNCkc03W4Lwty+9IulY 0dP9gQ4GUItwqCuEudPY4aushzra+c2msWcwLCljnBViRMNzxO98FzxoMppe6OTBSvRM 5LI1ozp2ahhSPJrkISv6LaEKPgJfJqGu5JUxwqtYv4U6MIUGLMsWN+Wd+wiyENRn4xyz AYzOxhZt5UHAYMXoLhcQH8Qjofxp5zfY0jQWXpSHRzc1f7DEWWTDc8ApnsDnXG9hEAZG SQ== Received: from iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta03.appoci.oracle.com [130.35.103.27]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3nyb7ww2ss-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 02 Mar 2023 21:18:57 +0000 Received: from pps.filterd (iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com [127.0.0.1]) by iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (8.17.1.5/8.17.1.5) with ESMTP id 322KW7cN005047; Thu, 2 Mar 2023 21:18:56 GMT Received: from nam12-bn8-obe.outbound.protection.outlook.com (mail-bn8nam12lp2168.outbound.protection.outlook.com [104.47.55.168]) by iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3ny8saxx3t-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 02 Mar 2023 21:18:56 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=URFpTTx0uo31gl4/OiKJp9QJ8NQ9ZGgDm9SB6k4m3cmWYHX+7XMdrNp5LQ9DfAXPWaJx3YgmrsJbhd3uLqcp2WJh2ifyJBYjHFIufX8IWJHq3bpLooxMNQv7VAaJX+lmN9dpDtEDcktcgtcf98kvgd8Ic5NmNFB4i/KfpruHZ3VaRGP8qSyIjMUCPIw18zi6fV4GNlxu2P4WkisygX9s36N8wnj7oQEw0CZFm7YLNsUTN2EvDkhN2lr9tbuPlEBrGlTN1Ge+FrPW54ywZhe67nZZ8SapAqHAX7RrxxnKJWFyWVuVL2Esna/jB0H+JMWjrO5uhneUiRBq97GIZ9RBfg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=x9RRmpMyPV9ZTfFwakDi5pdqhnuRIkgPYDSpAF1Xuk8=; b=E0I0pz+rFtOZa1HvUWJMHSE2K6m4YMPK3zkT270gHuIS9HSuNy4lk5nCs+dHKrxQU7d9zM7TI0xma9WQtMl7Mz4K9K07R2EKfhXCfyXZ4/fI83UsYrBBcvbR2cA3oD/jLvnMjb1J2JVL7iaR+2Yj/2KYNO6b6X547kbL45HPzcIoGxpe3pvDPPUsFgDGNcQMEDuJv0X3/6n23GhRLQ7LoPZBDvxhmlc4xynTOY5M7A8OPX2cDSQEMHtmp/rlODInj7Q/AZgx7t7+1wUvupx7q+6/tJfo4YUqamSkYx1G852+Y6Z2QlKBIEQnEauvu9TK86LVp8hLzhAkcXL9+bEBNA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=x9RRmpMyPV9ZTfFwakDi5pdqhnuRIkgPYDSpAF1Xuk8=; b=b3skxJ7cSYDMpFbgXSprLEvw2DbQKKmyAJdfMqz2/kTF5KnEYXEfgF04yxSYJuXwtxZNMOr6UtS3ngKkShcYuwsHCSdhm7w+CLMpW6EoM+DOJl+FvZwx57oA9Y/0xdxMJcNtoCwTFgqVj3A/deFG9IgYDF1geXD0ul9vI1xqMLY= Received: from DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) by PH0PR10MB5819.namprd10.prod.outlook.com (2603:10b6:510:141::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6156.17; Thu, 2 Mar 2023 21:18:54 +0000 Received: from DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760]) by DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760%4]) with mapi id 15.20.6156.017; Thu, 2 Mar 2023 21:18:53 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa Subject: [PATCH 09/17] fprobe: remove MODULE_LICENSE in non-modules Date: Thu, 2 Mar 2023 21:17:51 +0000 Message-Id: <20230302211759.30135-10-nick.alcock@oracle.com> X-Mailer: git-send-email 2.39.1.268.g9de2f9a303 In-Reply-To: <20230302211759.30135-1-nick.alcock@oracle.com> References: <20230302211759.30135-1-nick.alcock@oracle.com> X-ClientProxiedBy: LO4P123CA0679.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:351::12) To DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR10MB6798:EE_|PH0PR10MB5819:EE_ X-MS-Office365-Filtering-Correlation-Id: a0a1b5ac-df90-4add-d383-08db1b63b9e2 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ep+8uFg6FQ7SbagkEQN6mxliR6zItavbQwPCSO7V/2CpZMHQXeFNsutfn5fyaI1N6B2X7voaTEtyLPMgXEKAViDLFvr8xrkm8n+oPYMfTCRS64namqsluzJdqjum5U/r7ah2WrMJId6ZBfVIkl6UXCH/h/yVnqHp99oLQeLzbDvWVdzOwfo1zGgYVruHCLWPmFKEnNwcMn6BQ403BItja1yassk18ZstZXAItomFR5nifwzNbG+8ypAVKbY+q3bog+rlmh1wEVEnV9K+2FO585DP4HkWiFGeMU0JH2LwovJC3hPNzoDpJARYvCw7AVisbrcZjuqlK2IDMRvPC39H5Dgx9wy2x0sXhdU/qdVl85GcM/Rs0FsISoUJgkr3/yko6r0/ytHb1+JgchVvYxPFAxyuB0gYYtKxNLrhAmsn0vk6McnHOrLi6IvgkRVxhXoqnw/PmQygdik8WikBtRjBaw2NQtikwJumfxfAnKmyH7L4gQ/ZRgnCRTO99BpOt5DzSRD6mWndhwlrFiC/uTcccdJ5b92CeFAwyMzCsU9AUNtUcx1jJJye/1DaDpkIFjXpPehhTHK+kWW/c43m23ug01nYgALanpj6BxaMWBsv6zYT4ANt1wZRV/s0aBbI/YmtlidR7+zVx52u/D1PXC1tGg== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DS0PR10MB6798.namprd10.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230025)(39860400002)(366004)(376002)(396003)(346002)(136003)(451199018)(5660300002)(44832011)(83380400001)(41300700001)(6916009)(4326008)(8676002)(8936002)(66476007)(66556008)(66946007)(316002)(38100700002)(36756003)(2906002)(6486002)(478600001)(86362001)(6506007)(186003)(6512007)(1076003)(2616005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: TgdzvoObMLMqOJTQMcZZlsWAtP1rHgCUI3haU8ypFv5BBit+ylA7ReAzXtY91rXqf9m7vvWAtGg6HH+CJyx7USkyrIsY49jEioySKHEtzdMbte1hr+5cVSUDDmxL9zGW9cK0b4NvMcEyuPbTG3AWnKQ5R5U+tQ0qUzN8OK0MCPfwKPlYNn+caYUN3uU+gPkTBc6fAE8AsRfnknfi7Fz1CttB5sQRP0oh2pXZpSEBpB5oP1te6Uh9oU6U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GkbyaLWB9A39gOfYbnsTQOIdxUMJWpE8VfRGjcNpoXssYUulad12K2il3JQJjSG2u/Mkpz+Xf51iXO9yiVB7dPRFYYW8mm9ozRUm/UnlnA6n4EZJvYyiZ9ACqYipwJ3bfoZjlsbeqaxO X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: a0a1b5ac-df90-4add-d383-08db1b63b9e2 X-MS-Exchange-CrossTenant-AuthSource: DS0PR10MB6798.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Mar 2023 21:18:53.8513 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: AOl4vZ/48/Cz0vHl/7LOgq9cMI/yriJSNV1WEjgqGhQZ65zmJcXELW594nVjbdA7tILCHVDKTO/Xvqk2CTpQ7Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR10MB5819 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-03-02_15,2023-03-02_02,2023-02-09_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxscore=0 bulkscore=0 adultscore=0 mlxlogscore=999 suspectscore=0 phishscore=0 spamscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2303020183 X-Proofpoint-GUID: -J3mMqGIVpeEEb_zL8P2pU8IddsK4HLv X-Proofpoint-ORIG-GUID: -J3mMqGIVpeEEb_zL8P2pU8IddsK4HLv Precedence: bulk List-ID: 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 --- lib/test_fprobe.c | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/test_fprobe.c b/lib/test_fprobe.c index 1fb56cf5e5ce6..fd6153800e56a 100644 --- a/lib/test_fprobe.c +++ b/lib/test_fprobe.c @@ -168,4 +168,3 @@ static struct kunit_suite fprobe_test_suite = { kunit_test_suites(&fprobe_test_suite); -MODULE_LICENSE("GPL"); From patchwork Thu Mar 2 21:17:52 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Alcock X-Patchwork-Id: 13158051 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 AE9C4C6FA8E for ; Thu, 2 Mar 2023 23:27:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229572AbjCBX1R (ORCPT ); Thu, 2 Mar 2023 18:27:17 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43726 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229935AbjCBX1P (ORCPT ); Thu, 2 Mar 2023 18:27:15 -0500 Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8D4EA58B57; Thu, 2 Mar 2023 15:27:12 -0800 (PST) Received: from pps.filterd (m0246629.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 322K6cKq005226; Thu, 2 Mar 2023 21:19:01 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : content-transfer-encoding : content-type : mime-version; s=corp-2022-7-12; bh=7jpMoXnBh5eLGnV4A4XN9U55Y8SkHFS7NVga94qZ9FU=; b=OVvzde8XGMtx2B3VbSZGQehKl00391ECmUAQDryifcQvWllU+JwCzUcPzJDbW06UO6sE YGrU5PqtpvQvN49pLyaa5LHRCthjIEiRkXzWsD2gynr7Pgx8CfTdutLco1gA2oWYpbhN 9v0iZRmlMKsNbcavznKbj0ecNny1sajJlhpXZmzPpw9R4GTlLRHy7CJE5YEEo6At5c1G Foj53WVu26KnQ/kdVR870ZMvb01C0S29xkV2WUQN+uTesh3FNDmJfrMTRC6OKjwFkEUO UQ8NThI2hZvCngCJtEo5cvyvWs0a0A/7Q8eZqG5YSwJNoOV+qWFSurXCyoXSli5M75xd 4Q== Received: from phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta03.appoci.oracle.com [138.1.37.129]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3nyba7mw83-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 02 Mar 2023 21:19:01 +0000 Received: from pps.filterd (phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (8.17.1.5/8.17.1.5) with ESMTP id 322KkpPs002200; Thu, 2 Mar 2023 21:19:00 GMT Received: from nam12-dm6-obe.outbound.protection.outlook.com (mail-dm6nam12lp2175.outbound.protection.outlook.com [104.47.59.175]) by phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3ny8sacfdg-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 02 Mar 2023 21:19:00 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=B5aBHWZHAc19rcCsmLnlG9hxiiqiwDkmvtrHjRMsuAjnFurYKsJhuq/GJCIbwOeYkqtK/47GE5ywtqJS0mu/7iXwDMondZou/9jXLHBvbOv7J8huIyjYHHGHB15Q7afCk4cDsGhY4AI8VWdtXbrJVe4lFCHLYQFW2vT5YZAftWcCOE+Obd4HPWZP5hj33CZQYmMcoMMP2BXHy9usXz5FM4906iTEPhUoGZ7E97WWL37e7TycGjkEG8pU+tkZ1LHT6QzGc6NlwrMa65VHzuyd93TVt/hgj+906cWxt9ByLI4ChQkGg0sy+vIjhqCZdRF4GqmCO/YxwrkYstJpGVz7aw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=7jpMoXnBh5eLGnV4A4XN9U55Y8SkHFS7NVga94qZ9FU=; b=YmSKR/hXlgOFF6be0gH1q3I/rfdLJqXUdsj/pxXKw/tuPodVZQQSae7ECeygVGAleeigPXM0lEVlspJ6RriE7c0aB5O18u8/hQFIRB+/FmYtjtB5yp2vQMOO8d0ZLGt6UUVWvfoV2Wvdwt8LRXoqQgLxn16OOppIVKp1D83Vk9gAuasof0I4rGsLgeF/44zzqRjzO3knCbPQ6wZguBlsFRigz023o/lrjpru9BtK+/usc2SScvvmD06Ee/2auA8pnfVYJ+M1GLMA+KWF2UdJlZH0kocwNA8i3hqPO+qaBLlnYajkMgO4gtJF0U4vJvUU/otMIPVFr1JAoQqd6VwBcw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=7jpMoXnBh5eLGnV4A4XN9U55Y8SkHFS7NVga94qZ9FU=; b=J8+9IXMHPZinrjaVq8Tiwkz6Lp0u6Ip1rafYC+vQor2FuP+V0JKEkKcpJPAXv/pt9s10EIUdCDf6PJA/Ntxm1hqbkJXNLbGPBal74EC8+NtanqlUsPP3PdfNdF8Durb1e2JI8iVuz/wWFmfroepSjU6MX89DC+8CJPy2aqsSfLk= Received: from DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) by PH0PR10MB5819.namprd10.prod.outlook.com (2603:10b6:510:141::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6156.17; Thu, 2 Mar 2023 21:18:58 +0000 Received: from DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760]) by DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760%4]) with mapi id 15.20.6156.017; Thu, 2 Mar 2023 21:18:58 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , Greg Kroah-Hartman , Jiri Slaby Subject: [PATCH 10/17] tty: remove MODULE_LICENSE in non-modules Date: Thu, 2 Mar 2023 21:17:52 +0000 Message-Id: <20230302211759.30135-11-nick.alcock@oracle.com> X-Mailer: git-send-email 2.39.1.268.g9de2f9a303 In-Reply-To: <20230302211759.30135-1-nick.alcock@oracle.com> References: <20230302211759.30135-1-nick.alcock@oracle.com> X-ClientProxiedBy: LO4P123CA0290.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:196::7) To DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR10MB6798:EE_|PH0PR10MB5819:EE_ X-MS-Office365-Filtering-Correlation-Id: 0ef90a28-0c0c-4d60-f052-08db1b63bc74 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Jwk9AjtwAs2KUSC7mCUVarMec3UcQcCxQsClPHPyh49m9sZRIhz2lfw6cHRfhPgvoqDwacby0aHcvmW41+jen3k3bUki1QTGCoin6U8gRwixvos9wUTXVONwPA+7779MLfB5Tjh1IkvT1Iyzl2Sbp9H0XmjJ7i4jXA5FgSUsKhTK4KfkgCrPp/78I5AryhHScOFvTSXs7hPxnQczD1EXJNo9udAMKiHbi4dYsuV3wqnnGdBkEJJnYmGMIQJsYML2KpBDPbSaoiCcUTN5wLDlPpNWTiJ3l3vfdZSJSmd98HvxY1wWAHUeNdMrrJKX04q3D4OZTFpmXuiI2K6HGcQMfYD1JJpy9vjK90rlRJ50dAdyB/282DHqMJg7KQ8xLq2aH/RL+oimeV+ptOKMU3zNERG7ZoJV6KBVl2eDMKMcpnKX37593U3U43Jr4DbYzZgNJ9vWyEmF7pMK+6xhUVrJEyMOMNCVgAEeN6WBJUvHN7TWmHSqYX91sSUTjff8RKmI1uWzOAekS50btDKjh2LmTO0bZhb/6AE4+OlzppAkJdw14MsVlhPZBAs0NQIJGN9TrnqiXNs3AlP2nbb286LSe88Rmeciqtp1DFCawuYa8p0U1oDoc9xPHDjp38+1TB7zVm+rymzOb81kUo/hMoudSw== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DS0PR10MB6798.namprd10.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230025)(39860400002)(366004)(376002)(396003)(346002)(136003)(451199018)(5660300002)(44832011)(83380400001)(41300700001)(6916009)(4326008)(8676002)(8936002)(66476007)(66556008)(66946007)(54906003)(316002)(38100700002)(36756003)(2906002)(6486002)(478600001)(86362001)(6506007)(186003)(6512007)(6666004)(1076003)(2616005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: ewU/kKWlPCIQQRA3XzTfGglomemxpFAt4XEjOnhwDGdjycSvSQ0oDvUZZkuvOKk2ZZDmt7WvIVXajGit591JkKT3wrrWz+SB1EQp+6jqxI5ENAgVckbwHl+qe/z8jKRdgmy126pvtZkQPIktxicQCe/KLKegSvkCUzk+I56A147Ogyt91eoAR5F7GWlXjWfEea1W7f4Ij4HZZkkRB6bQnxXs4dsE81l87tKJ4czmm4VQEvhpWjEYsXLwSzdTtKTh9RIz8KyT4tn/g5IKVwm9pmbD+A8V+UlXDFpwaiOahKZVw0NDvwDO9+XpnmMaQDAnZzVWgQIq1tAun1lYaTL0eG+KPmH0ixSGc78SqdQdIrjnLlGZIYHeCvZj4szRipCVEO9IduLJWusgehZPqoUlBymVg3PsE9ukhPr9uSeEC1CkIWTF6FCXI/sQ13Oq/B7CnCXkpWFH9yvqj3i9huns9/3Lsdg7w4Ng8gSeQUE3TFlFbv8rHG+dH0H1s4BUrCxya61ORDcjo8Fh7pOhzEtJI9txfRl/gZmR83oIHPQedup07AoqeXt9dTfPHCXMRyIhghkxRKKb/KNPpE0PnQq9LPfx2jeHh/Sv5GfT1TKHkjF7hICvcjzaWx03sK7Uv8mntfvSe4cNOAvASXTp7w3vWFSc+kk/u3iLw9QM1s7Qt/MfzMzbyvVof4aaOv1w46a21DcQ2wyIJWYFkOp4haxX+eFSmYsSa7S6/BS/EqThEpfnAH/KD35XxuYf4wXYoUW8HXeSuOcKlzk7d+1TfMOrRU/V40kM6ZEwGuqBgXx9jfnxFG+Nmo21BghPygm8kaCfRW6nGPgNW3JduXcIp+QzRZ3R/4R6rBEsasetxuVVmbbEyrSClX7caKefC7cUCf8oQGGQw5auDVkHINIGrlRaS4XpinFNJ9/OZADHXn/Qcu/r7snjxMoF+Rg6k2GBaindfBDTVlffCTGGp7If6Dk0QGqVdM1CLYYpA5sO2J8Q2Alb56AJOIA72aXmQFRDWxo4RQql0Vsx9CKuY16Twd6AGwBEyifXMeFub7UBj3J2NUxHNUDnfyOqq5laRYhpSe4celcNG9rn7aGmRbHFpBgcOCLAQPyKsw87WMkh0ohvRvppKz1EAULDHbe21P1kU9TOcpdxwnR7eRFGIQWoM83YtJmeuDO8vIPcaf1oHkOtegtYgNx90AeWvLoXDGaUdTk6Uuyxaeu4zzd/d10cY/C0P26ksCKzHORO+xZ5do9BbEnI9wyN+hc+FD2fQKfYxhcGwr7omXRwRfSwHrN0p1QUHLJazm/EOYFelVN13q0hDz/AkMfQvBixc0H7yKUT9OIQqP1vlyRWPRaVOcb3NlqPykckMtjIrV2VF0xdfNL826GGasj5boOZeOiENis4SYxCkS0VNo4s0yk8emauPlM+ely5L/SIXaOlXJqW1b20OfjTWG7a2Un7caWyux1CB4S15HuXCPWme554T3rYTcKO+k7BEQuOZIA1n7NTbnumsS6s1zRGdT4DdEUUgis8iJmFxMfe/1affdK2TZalNsSJ96a85FhqvAhHUmu/KEur2m0+TacAcWXUt2BJ/TEdXL7OkoWutPKWpJxxHLDh2zFpxmbhRoLJGNzHv7okgvTzYWo= X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: ScWTLufpqZVEeuhB7eZEiCq69aTXNmPNd+UPnxlUNQu9sXHdUdiNRO51UwRNTxRH1XjsBS1JoO2bO9Cc4xY+s/eeQ0aks6VSoVjxdoVphCzjyRNfg3LCoQXYvPGmRUK9Z6F8V1zCGhqn18r56uDipjeI8LAD8FA9RgXCgJ70j5SRDh5iv7L0lcVqABNhX64kELkg857l/skxvBTOk0GntaSe5Ov2wuPZpC/tBa8sRc0QCstqR1zL8uJPIkXw9NV+OgIE5DU4+Jb5b6zgd53RJEwYa7G2C5IU1bnavgmJWI8B6sn+qpkXlOaxb58tQmJ7/4SoJa5E/gv5zIxiAYgcvKj8bHu/VqSiUWxcK3J+47ivZW+xjtMf/cCwlhY9hylvPQui5I1uf0XEOGFLZq2Z/4lgh8IJtnOvfMzAUGuiqGBH/btpAPMgch5SgU7WIXO5xJUr+VsqI9TfytB4O24oISaJk65G0QWW2ReZ2gt/8YkovHrUBSQek987BPCsosdrlIPsWS4Y7xyHctWnhI50jMRa1VRToD8HFd+SNkkKjRvAhgTUkUYpAgaGGGIDiK7j8B0jheaIsm12IJQJ+wVOFYSzGtRbvTrkdu0tWf9L1h4E7ncbsVNLT61W+FObH5jrttWiFCuFZ1aplvyvChL2NfSYdpXCreGcop3HP/Rvp2LNw5VJLhjFLvbKlDcIWrwN78e2E7bZ+fisFcpVSaIBn1F519hXjzk7oTlU16wW3zsGtqVZFK7IorSpuz5OaNOiA2vhs+sEnrGyBtlDDdar67HbkwPx3dgcTwXUGmqL5iY6+qVQRplfpXinWeba2iozjf5Omy6jcE7tJMHTsKBxtHT/u7wdXBcna+9MUeGuXF12Mll/CzRm1Yc5OzU3oAaK X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0ef90a28-0c0c-4d60-f052-08db1b63bc74 X-MS-Exchange-CrossTenant-AuthSource: DS0PR10MB6798.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Mar 2023 21:18:58.1487 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: j2UVbsyVLDTJSLqnhLLCFiF93aHJcN7IdcPlFBLW6wHjOxkujkDfTUe+wp3j3P7OT3txptep2AcRx75Oi4MTjw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR10MB5819 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-03-02_15,2023-03-02_02,2023-02-09_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 bulkscore=0 malwarescore=0 mlxlogscore=999 phishscore=0 spamscore=0 adultscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2303020183 X-Proofpoint-ORIG-GUID: OBS94HZ598bRzthn_jKBLi-TIhOesPxc X-Proofpoint-GUID: OBS94HZ598bRzthn_jKBLi-TIhOesPxc Precedence: bulk List-ID: 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: Greg Kroah-Hartman Cc: Jiri Slaby --- drivers/tty/n_null.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/tty/n_null.c b/drivers/tty/n_null.c index f913b665af725..c24f75942c49d 100644 --- a/drivers/tty/n_null.c +++ b/drivers/tty/n_null.c @@ -63,7 +63,6 @@ static void __exit n_null_exit(void) module_init(n_null_init); module_exit(n_null_exit); -MODULE_LICENSE("GPL"); MODULE_AUTHOR("Alan Cox"); MODULE_ALIAS_LDISC(N_NULL); MODULE_DESCRIPTION("Null ldisc driver"); From patchwork Thu Mar 2 21:17:53 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Alcock X-Patchwork-Id: 13157954 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 34493C7EE30 for ; Thu, 2 Mar 2023 22:19:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229688AbjCBWTk (ORCPT ); Thu, 2 Mar 2023 17:19:40 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34382 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229803AbjCBWTi (ORCPT ); Thu, 2 Mar 2023 17:19:38 -0500 Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 708161422D; Thu, 2 Mar 2023 14:19:31 -0800 (PST) Received: from pps.filterd (m0246617.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 322K6b7H024682; Thu, 2 Mar 2023 21:19:05 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : content-transfer-encoding : content-type : mime-version; s=corp-2022-7-12; bh=T2e+wEvh6CEU5mBu5CS/OdnLrPBrTo5Wr2LGpUBCF14=; b=2SBL7OeXyTD51QQSMRhZew0GKGpMc8+IAKs83DvwHsPiKyd20MUH20ANDk2DvK3H9Gm6 82noSaFre/hL0Xc+JICWo4l6l+xjhR1nTD24wC561Rdb5Of5vSWUNAN/C/9m0jozckGK V4XYP+HjGbDMv6p/Fdsn3pD9FXaIY7TIEqqp5h1R2cG28bzQi8RIgXPscw/Hug+OB8nL EtfnLmptP3/DU3ytwH8A8N7zJ9/WzObd2hbaUMdJiZ1fG+4Rt+wF6O4ab9KRRT6StPSJ 5NrcHwCLSQyv2JfE51l4TUK18FWWcNp+GgkjYDbYy37dcAbTRLkdnX8aZtgmFlY9r1TL /g== Received: from iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta03.appoci.oracle.com [130.35.103.27]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3nybb2n244-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 02 Mar 2023 21:19:05 +0000 Received: from pps.filterd (iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com [127.0.0.1]) by iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (8.17.1.5/8.17.1.5) with ESMTP id 322KUXCp005225; Thu, 2 Mar 2023 21:19:03 GMT Received: from nam12-bn8-obe.outbound.protection.outlook.com (mail-bn8nam12lp2172.outbound.protection.outlook.com [104.47.55.172]) by iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3ny8saxx8w-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 02 Mar 2023 21:19:03 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FPF7ly1uf3BmrWUDqCzylkNKFCuA7ULmINt6QOJdTfJoQlsRux+/HVkYAV7krye4++G50a/6sQoURKTWAEFPaBX4lJA3xP9WpBCL1FQJJt8NxD2mHlN+f1lV46s0Hou7JWS5WpaMatg0vBu5uqyAkN2ruGzl9Gyjh9LxOWjrp28i7TPVzkTIB0o5SEHS0prBQr1ui9mTV8L+fUrSdfLTomLLW8QgLymAz0sPcj0DsvnadauhOklq/0hpMNXJeN3+TCEft9gaby0JE7/Ha8swJowoZc2lv1Zfv2WdtWn8guFJ5ElsZya8nQN1T/zmgTqdD8dEj3Pgi4hp21Y4BY41QA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=T2e+wEvh6CEU5mBu5CS/OdnLrPBrTo5Wr2LGpUBCF14=; b=hVwbarUSTLpgleqGOLE4ggFkR+jBL9AHr/qyVD13lFzesTiGFmlh04OXkItS6k/D2/T/BYI7Ych+2/1OPh3x7DmZh9j2eD8EWFkxx9mUeR8vCMOk2bjlojfB1MUXF9fKfCssEhVUox4SMbchSfp8bEat/I/aj4G2zhir2EWEvoqKxp9AnY2qaT+jNCmi33lj263YGXKFEthUpgJBQnFKd80BIlugg0mlWMnV1efse37EgGt/FFZ4hOamOrAeOFtpYduiV9hYkgeKOclTRrNi6mwTkX506ZAHmjZ0ZyvDklH93Iifn6Gv6Y8g67S8Zkvlucr6yIWchGeLsu42aoLKyA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=T2e+wEvh6CEU5mBu5CS/OdnLrPBrTo5Wr2LGpUBCF14=; b=WwjteQXICEEahqwaD/BUlAine7J6QtxsLxtY4JAXDHnATIJmPbYgNLRa+/NY/w/6LiJAWi2IPH6BSxgktXZXqvOw0SaV/Zlmnh5UGBty1C1BraKnQmU86J2Qy+ZEmKMzss2N+s75PhPBJDPGAkm8Qp8c666bId/+JkCbBhQ3cno= Received: from DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) by PH0PR10MB5819.namprd10.prod.outlook.com (2603:10b6:510:141::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6156.17; Thu, 2 Mar 2023 21:19:02 +0000 Received: from DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760]) by DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760%4]) with mapi id 15.20.6156.017; Thu, 2 Mar 2023 21:19:02 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , Gabriel Krisman Bertazi , linux-fsdevel@vger.kernel.org Subject: [PATCH 11/17] unicode: remove MODULE_LICENSE in non-modules Date: Thu, 2 Mar 2023 21:17:53 +0000 Message-Id: <20230302211759.30135-12-nick.alcock@oracle.com> X-Mailer: git-send-email 2.39.1.268.g9de2f9a303 In-Reply-To: <20230302211759.30135-1-nick.alcock@oracle.com> References: <20230302211759.30135-1-nick.alcock@oracle.com> X-ClientProxiedBy: LO4P265CA0064.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:2af::20) To DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR10MB6798:EE_|PH0PR10MB5819:EE_ X-MS-Office365-Filtering-Correlation-Id: 7dd4406d-2aa0-43a6-c15f-08db1b63becd X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Hd3Z6LrWqiz2zk0bvxR95ujLINAriyn3szxQ68f2eQusqQ4VIwcZvOP6GwkkN71eaJv6dpG4hSiCuYRvbMjdyBnZRTJGxJD8YoA3l0Mbxp/KdrGYyHA+uTqzZXb506S/In/g4Dtj91lHUGez56SI6XMBsIjzkwInvnuVhAvx2O9IE/g/6vrh/HsQ6TTBOJau3fEWU2cYW3V/DvtSFVxDFnxiDvErPio6CpUdgInm9MicXPVzsGYZzslxgQrSIUm1yF5Qtj3YIkk8syOznneCNqzl6oqZJmq7bfep8ySJsrakjnbk3OEeVZkkB+dQDcS8+3FPpsh5H8m82Aw0EH3cASHsniH24yb3ZDEawogvieSHmJdabILiP30ZvoLGECflXKZn2BMfcyl+RX8BuC/rMZyttYA2S1jlsi230y8mxDLSM5joAAl8M4932aFQ6upIiaKYVRpsvlO2sjAwPlbZ7VIOqDzLOqped6D8H9qlaFLRWqCUD4Gsbap9nWI7XzSDqj9k0I0Wk/0W+G7DJPqlP5LyCzJRg1V1J5g87ysrWx28s3MKsZ0/rjr55KYPf9ZOCg43gJp49cwTA0koz9k5ss6iMbJi35mA5B3wdQpVwdt+8XGQPVOnYtBLqVUi+l3JhFSuDEpgjoNyc+suX3pDSg== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DS0PR10MB6798.namprd10.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230025)(39860400002)(366004)(376002)(396003)(346002)(136003)(451199018)(5660300002)(44832011)(83380400001)(41300700001)(6916009)(4326008)(8676002)(8936002)(66476007)(66556008)(66946007)(54906003)(316002)(38100700002)(36756003)(2906002)(6486002)(478600001)(86362001)(6506007)(186003)(6512007)(6666004)(1076003)(2616005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: yZ5vD16EzkA+mhnQWRX6pyhNSkhpBj2EplRJsUJ1Ga9s3Ouh2lM+AyeT7hGesV5LX0q6gjaoEbq/IzCLh9Uk4nvjo9dphVoHgefCxBdZG8NJqZqVVhH5ekr8itpFw9VttAwoYq60q58fqiYzOUVxPlcr7kvKmmtFOkpa7q13UVQXXRYwSNXSM/8n+6ZNOnmc6Hy7XNgcQbp9XeIB0OINBfdabMv9K8Jn7m+bniOxSIDFQojqFb3T+jH4P8teYL7+VfE0N0/fJSBHFd64ChSP4dabmh84eb8DQFczg/ClqNexVJlgGNa/mqSuphx/T9p0WiEqVA9XvJT8uQjiBwM//54DlAkl3Af5twirARZycA0C/SYGLnEch5K9fcKI+I8d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f6tIu/ZPcuSqolPeCXO5AwBdNNRSkDSF1bDG/02X1FlH0XkZAcjynmx/TjTjVhKjJjqABMnlyxuOXZKrG9p7EYY6fXVRAFB6HpgQF1yehHxt5osEShmFrCfLWwbjgPICcI/ZZZX93ftwF67FlyrE+AWF9wKbmZ2f5Gvllttvo5Tg2SJ5aw4= X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: m0GoywVzg6HPCFd9OHYNPXqj09LqMyK6yT5OATSLFpGP7L/xDmZaAlKiCFxqU3l5N+44WweKARsYaoATcRLETB4A2VYOtLyNKPH6JzBhM5Yv99XIAcvz3Xy6lbXf5PgHIxkoT67oUEUmdNe7K9HcBbbbnAWvb8Lo45JMno99GI5Isw40T6+tiAKUO1Ufq/DOwu1sZZZH7fA/LslnmLPVGL89IeMVcHCaJgIBev+qdBncZSzk9HqJQzVtYSi450SRStWZUg+WtxZZITdWuLwv/jaqwwySRsjapfNyxyElesF0p3dxoVfSke8re5qMX7rT1QpYW0xi134583nsKvgWor0AKNJPNTTHruDx9kNrZ0IuI/lGI0Ts7LuQPfrneypGhaE/0Ra3zJ+fm3fBaoX6BOoz86Vij3dpH0cYFUURkvX2Elt8LZUa6hwm2rW4oLdQ54JSrRmpEbbCwsTtzxzFq0bTPPKppjf1o5UnlLpqtn6Dujna3fXFWWPj5KQ8PJtqQgl5JZ1w5OYD5ohq12y6PKAhtW/21HquuGYW35qabysdjHiqQYkenv8joheC6JA9u2egeZ2dDx231j0oztcaP5CXLFSIAksYMZG02+VtROD4fkiUM219uHWJA3pDzuma20A7A+QghzHTAQSIsjokaRSPAJ0leyGADk1lyoT/bfLFjZeWVPa8L8YQAUhvwD9eG5QbwjmjvDRGdc0BCZj/dacnMotTIZhKHyGYZ50eyAE8GEQ4FUBaroHsnpjNa7T9NDq2MW1MPadCfjyUIIZxWZ+0gwVFkiKkCUrXR00rPx2XNd90+YPD2SoUV1sH1g92mTtv9rmhWHGF/Gksn3pLvAx4KyDM/Uk68dVwrpcQQHk= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7dd4406d-2aa0-43a6-c15f-08db1b63becd X-MS-Exchange-CrossTenant-AuthSource: DS0PR10MB6798.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Mar 2023 21:19:02.0862 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: mYMpVZ+q85mLrm5bCAK9dIeD0BvTIgE4Fw+PzmoF5vcbIGTLUchauNNknj9/fuNAxUMLWr5dMWQsZLMLnnk0ww== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR10MB5819 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-03-02_15,2023-03-02_02,2023-02-09_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxscore=0 bulkscore=0 adultscore=0 mlxlogscore=999 suspectscore=0 phishscore=0 spamscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2303020183 X-Proofpoint-GUID: Oy6WYVidJeqO72TVSVYvI9DCov5rPC6z X-Proofpoint-ORIG-GUID: Oy6WYVidJeqO72TVSVYvI9DCov5rPC6z Precedence: bulk List-ID: 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 --- fs/unicode/utf8-core.c | 1 - 1 file changed, 1 deletion(-) diff --git a/fs/unicode/utf8-core.c b/fs/unicode/utf8-core.c index 67aaadc3ab072..8395066341a43 100644 --- a/fs/unicode/utf8-core.c +++ b/fs/unicode/utf8-core.c @@ -214,4 +214,3 @@ void utf8_unload(struct unicode_map *um) } EXPORT_SYMBOL(utf8_unload); -MODULE_LICENSE("GPL v2"); From patchwork Thu Mar 2 21:17:54 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Nick Alcock X-Patchwork-Id: 13158006 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 A8707C6FA8E for ; Thu, 2 Mar 2023 22:53:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229586AbjCBWxW (ORCPT ); Thu, 2 Mar 2023 17:53:22 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38728 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229486AbjCBWxU (ORCPT ); Thu, 2 Mar 2023 17:53:20 -0500 Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 25E59199FC; Thu, 2 Mar 2023 14:53:20 -0800 (PST) Received: from pps.filterd (m0246627.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 322K6cNV009070; Thu, 2 Mar 2023 21:19:10 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : content-type : content-transfer-encoding : mime-version; s=corp-2022-7-12; bh=/BTkrRdCuCdjxszkZB+v5HsVy0A3oOxry18OfmsaHlE=; b=rm8YEJUABLwwK24Z1+n4i9EK7Eba/zjThCVMUQsWyueGl+4QA6Hi9teNX8ztHudyNBLq kTQRKcLHeo4eh7u/RsdopPBB0e4Tjr+yMHmlmsIZ6J/bbFjhFkDv8xTDSk9J1jXyUGP6 wj9PL4GGZJVl1eqjyPqmovhuzzUc7CqcwkIBrUooFhrkaBeop+AVG22DUnH4aCMw3yGr RQPwC+QFDeCeMlC2i1ymdV2TN01r6+FIAbWMF8BeWsIE6H3ULUVy5VOowJCpaH5AP63M ht7iEfy3dl/AbJRU3icMY8zWBV9viljDyhnofFLSJIZoUnhwPHjWM41kPQnLXiDO/1SY yg== Received: from phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta03.appoci.oracle.com [138.1.37.129]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3nyb9an083-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 02 Mar 2023 21:19:10 +0000 Received: from pps.filterd (phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (8.17.1.5/8.17.1.5) with ESMTP id 322KUUpE002280; Thu, 2 Mar 2023 21:19:09 GMT Received: from nam12-dm6-obe.outbound.protection.outlook.com (mail-dm6nam12lp2177.outbound.protection.outlook.com [104.47.59.177]) by phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3ny8sacfkd-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 02 Mar 2023 21:19:09 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Wq2rJIdq3c7KPaJqUbPFabdLoG0vHarlNkd+qPESniZLM2BZjePt3jmJeljXpu/hfCn5JO5qL6RorYm6gmq2bj6HPSz3XjTdsHoiilPYvEfDysAp2t6oDMGVVJS0kEXTp+s1FYbdLamTdSrJE2sZZh80YJ+FmdhxIdnXx3kusiGuNgGxxs/aanNF27GgnW9b9OxFVJFsyxuOoVWJkxzRr0dKMy+n1H9KakbSUIFqGLNGtMquApf4xEqX9elErArVk/dSqPvkLvLCgN1EqlIwn66thM1nPaKs8UTejVGgAqyVNO2aHfLhMCyl3SrR8NSOeeII6/XWlKQbHjJvKIgM+Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=/BTkrRdCuCdjxszkZB+v5HsVy0A3oOxry18OfmsaHlE=; b=Slvad9/yVA1Zy7W7pUmeakQHFFc3fWnGRXxpxQO+IALz76sfqHXSGZJQSSNe1IudLSXx/MFVq88iM3o56uL0PiB62Pk6zBx9ojw1u6Lpx/VGhpmtdoYGtf7EKhgSWymdH0E4mqVjCMsDJzB8lrt8+k3kS0JP9zBmubA/FIKxm4fYhuNurcnfDgtkbQjvhgkoHh5CtHp3iLh2c+odJnnzwhkMFNzbZmhmG7WhfCfvAGNqzZXx1cXCGflVLr7uTaNO9L+84TcSZitKJrAMDaAa5cnIoAgUFNCMnJ9yGiu6f1RNj8l2LZ6NFDdBlinZO6lyAM/VVdFuCZ1ozmoMxqOfIg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=/BTkrRdCuCdjxszkZB+v5HsVy0A3oOxry18OfmsaHlE=; b=HqL3jc0P+cy9e88XrE5zLc+DNl2L51i/BGbWgb5WVQD04bngHFzhJdNxlT18r2sGgcteRG3mPkh5rPFO92sQAXqNVhA/KdxqlwLqbYVpeKsieg/iOxfz/9NQBRE8ZNXXDGxx+ybM9Y0J9QpKzQo5y0gpELzDGzk2Z7l08B2z3ds= Received: from DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) by PH0PR10MB5819.namprd10.prod.outlook.com (2603:10b6:510:141::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6156.17; Thu, 2 Mar 2023 21:19:07 +0000 Received: from DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760]) by DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760%4]) with mapi id 15.20.6156.017; Thu, 2 Mar 2023 21:19:07 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , Gerd Hoffmann , Sumit Semwal , =?utf-8?q?Christian_K=C3=B6nig?= , dri-devel@lists.freedesktop.org, linux-media@vger.kernel.org, linaro-mm-sig@lists.linaro.org Subject: [PATCH 12/17] udmabuf: remove MODULE_LICENSE in non-modules Date: Thu, 2 Mar 2023 21:17:54 +0000 Message-Id: <20230302211759.30135-13-nick.alcock@oracle.com> X-Mailer: git-send-email 2.39.1.268.g9de2f9a303 In-Reply-To: <20230302211759.30135-1-nick.alcock@oracle.com> References: <20230302211759.30135-1-nick.alcock@oracle.com> X-ClientProxiedBy: LO4P123CA0429.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:18b::20) To DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR10MB6798:EE_|PH0PR10MB5819:EE_ X-MS-Office365-Filtering-Correlation-Id: 205a3de0-2e85-4a59-333b-08db1b63c1fb X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: NwglD2HxYTvFWJBya+T5zVZJ/uMm0vIPs3zzxQ76GyVmlyK+csyc33iOztOOGnt5McfUna0VT2B6jig1o/n58GZU2y3bMJ5YxaTlN8JozPyVqE2b32WwozJWIG+gYwbWcrPB2qAvlfVW1WkFYZE/UbJz7mCxi/d6DzG1EzLBszNgycjxDzypPxRbGYH0Ix/eqzwqBRLa5JnkWPAVxsm0at4jh2HOmCzoKQzY01JkcOMO0m7a/La79rRr0dhddDASV7KDJsxS1iejc/xEQ1IFS0tWaciIShj1WzZNpEedtMvgn+9031m7GgG0wEUxs8FF3myuGMV/01Whkkue36EfI26EOnOKOXdiq7/PHjXTnCvRjjwlJBzAqOPiy29IxYooj7BnNQ259s3xHBJVWyODVyF9Q16iilhUmbLotkNCXEsGRTiuNjdRw6YDv/4/pCtCASVotQssWWwIoyvoFOirgHXGKiLSFSyyyvzYwS3vV9yvvAhl/bB7U4ug9+yO53dwUlL51q9/XJzFNtDdwpYJLY88UH4ZfT9EJagUAFk5jP1C0B26+0oB3k3FJY4CdJDTI+/CBhX3nxxJ1I4sVL08qknzl1difN+f6Sqvckg8TbefBC1XTe5vPeB3IwcAv9FQ3WIYoO/UP3p6p+38MyOVNg== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DS0PR10MB6798.namprd10.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230025)(39860400002)(366004)(376002)(396003)(346002)(136003)(451199018)(5660300002)(44832011)(83380400001)(41300700001)(6916009)(4326008)(8676002)(7416002)(8936002)(66476007)(66556008)(66946007)(54906003)(316002)(38100700002)(36756003)(2906002)(6486002)(478600001)(86362001)(66574015)(6506007)(186003)(6512007)(6666004)(1076003)(2616005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?ybcsFisn7fH2DnztLZx1R3L4Ds3r?= =?utf-8?q?nKw6M3T/PGOqScaKVp5ZD+J4qV1u6l+pKC3oKZQ/o2IDG34de2HKMbdhu0+Tc9vtA?= =?utf-8?q?A7IvjN22iVXtbX+w8dBD4YESo7AB26nMrvu8vXznatbV7n0V873Z5bpL3ajr8D5wa?= =?utf-8?q?eiMM0HdKDqJcvdtsL4hUXZygJnIMsRSekx7x/p00cAO9TIr1TTxZJ2Y2cAQFLBZ4l?= =?utf-8?q?GBk3MKmBoyAKiBMWDOGt/p2NgTigYjZ5v1HMzFwobozg9h/g5M8VccSr3Gom2OaXO?= =?utf-8?q?8O9+Xz8VFmL1Dtjon27qNdK3fIPc2YYJUW2WvECQkzpe06Y3IjZCDDaQQaHZT7K25?= =?utf-8?q?vO31MrKNBAKjVyFvzfH27OtgD1ztaS9LHVdU57IVgKF0mKQMJ9YM1nODA/xae3Xxi?= =?utf-8?q?2n1e6v3tIIk5TJTgVfWqe10QKZeFpbOH55Uf2RRNyOMXeAjxMTyAlqS44tZOuLpk7?= =?utf-8?q?BblI5Ted9pMgZvOolZ9q+Qj8MKZ1YPHLk7lI5TZn0vbxIBcpfDzJIPqZtstC9e66Z?= =?utf-8?q?O20IUqfwpTijIeWloadlai1zJHMRO8xa25EzTsssERDz5TKdC1B5Z9C/mG/8HDKJL?= =?utf-8?q?qS0VMuIa7rWJvVaKZm5+FyKwaVQS6Kov/LMO57t+SOZtDrll1qB1Vi0R6ibMtV4wt?= =?utf-8?q?bqTt9z08rrGm7geMZcdGcBH9V1I6CWlW7P8ahfMAmHibcSk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e7faS6b88M=3D?= X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: =?utf-8?q?SZJ+54cHBtNZUFNJ?= =?utf-8?q?A0HvycV4aM8ORV47JTUzy8u545Y+wOB2SXl0X5ob7dJpioLh1E97cocReXE6kzNyp?= =?utf-8?q?TkDCbVusx0rqjc5K4jINR0AI+uueXbI8NBdXM+qRoRPazL8HJEfcfbbbySLhzL5Ad?= =?utf-8?q?1UEOFma4ez+T/e7BPF6OcdxMsiQOrz5nqIz8EhiSYbRnmJpEB9+jzAdzvEJ74bxdu?= =?utf-8?q?ukEAv7Y5erKiFYak5ApQXr1f2Z2GhJIOc/vDe6NCNs3dy0yU0TIDv4Pg5nhKczE35?= =?utf-8?q?GDiHIdXtk5zW2nVIJhM+fgGS1o8KsA1tlp7F0Myuwj7l6gmnuL4zZ73yn6tQvQjEZ?= =?utf-8?q?Ba9WbB3C+I6DxhYrraG/VS17R3+KZiPBt5/hfUTdS/yvm5mva5d8W2rdGjAnEIckm?= =?utf-8?q?hln5iJSawzcSOKifgdhpBoU3X6kXKDrxgYGx/7O7j2O++HTyvJO2I1r0IiOLYEGzP?= =?utf-8?q?6uhjVRFYEn6V5mLLJSXKFwWSjFE6aFAdhFafR/FJF52ttporoXzv/bGYSxXThkRoZ?= =?utf-8?q?63Ct4ZurZ8JVt8lx4qj3eOPY8qkm5kW0wUJfj72XTLK54RaZS9jbhzhRl5A6AjavO?= =?utf-8?q?cHAYrQRsB7X3KcRhchF8EPPKNLL5DmObiRTtksZlfClQlKI/LU8tayBBANN1jsWv1?= =?utf-8?q?62QVkxqQqN8YQNjWy5KnUTVNY/+gWXH4aGS4B0K1cElLeRpHJtjTzaS4iglU80t8k?= =?utf-8?q?KB/wDSfYf5ihvgpr8Nama+Cm/LGp1IEuuNQ/3KjfOtInOQ/cW2LE0J3KCBzzaZcE1?= =?utf-8?q?cEv7g+ZDWBHcTK7/jnqZvrHOyh3kKIHM+LfQPrrUDfLM3hGwyVy8XjPemcHolrNI5?= =?utf-8?q?W5Si4fBMVVGA/f0W8R3wC0FxraNMjmoiSaB1XnqdDLKhhDt5FYvBpETVvNkiFVGxS?= =?utf-8?q?SusPz6j7yG2ws78Xcvut9mF8Bj2GrO+G4Cawd4gdXYAEgqfZNG921M0JPPRxNfC8W?= =?utf-8?q?AFZPcD69ekx5MB2g44vnt0kXvgqtNhvOk?= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 205a3de0-2e85-4a59-333b-08db1b63c1fb X-MS-Exchange-CrossTenant-AuthSource: DS0PR10MB6798.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Mar 2023 21:19:07.4172 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: GNbVKoQ6FGbZdZIynnlRxLQoOmNKvXPl0kfMiNukNrQ50T9FcDpSTBByKWwOlh/MS612EXN5OscWH0bf3k7EQA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR10MB5819 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-03-02_15,2023-03-02_02,2023-02-09_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 bulkscore=0 malwarescore=0 mlxlogscore=999 phishscore=0 spamscore=0 adultscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2303020183 X-Proofpoint-GUID: EHmampEGPhka2z2ae0OkXAX36BRPTIkS X-Proofpoint-ORIG-GUID: EHmampEGPhka2z2ae0OkXAX36BRPTIkS Precedence: bulk List-ID: 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: Gerd Hoffmann Cc: Sumit Semwal Cc: "Christian König" Cc: dri-devel@lists.freedesktop.org Cc: linux-media@vger.kernel.org Cc: linaro-mm-sig@lists.linaro.org --- drivers/dma-buf/udmabuf.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/dma-buf/udmabuf.c b/drivers/dma-buf/udmabuf.c index 283816fbd72fc..d5c09a86df6c1 100644 --- a/drivers/dma-buf/udmabuf.c +++ b/drivers/dma-buf/udmabuf.c @@ -402,4 +402,3 @@ module_init(udmabuf_dev_init) module_exit(udmabuf_dev_exit) MODULE_AUTHOR("Gerd Hoffmann "); -MODULE_LICENSE("GPL v2"); From patchwork Thu Mar 2 21:17:55 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Alcock X-Patchwork-Id: 13157918 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 CAC5BC7EE30 for ; Thu, 2 Mar 2023 21:19:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229568AbjCBVTk (ORCPT ); Thu, 2 Mar 2023 16:19:40 -0500 Received: from mx0a-00069f02.pphosted.com ([205.220.165.32]:12438 "EHLO mx0a-00069f02.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229590AbjCBVT3 (ORCPT ); Thu, 2 Mar 2023 16:19:29 -0500 Received: from pps.filterd (m0246627.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 322K6cEX009081; Thu, 2 Mar 2023 21:19:17 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : content-transfer-encoding : content-type : mime-version; s=corp-2022-7-12; bh=sI7DYIdC+I/K4ZAJPT55pIqfCnLSNIYT03eqCeN6yHE=; b=w8xu1y2cPKGWcWwQN2Y95hhtVAhBPVXcGn0MPCIx7q0g94uWv6UaJbXm8r48XY7TS9+m c7hPxeFUCa6Oj1MskWrd+3f3HdH24LponAXmamihtRmfHkfe3fExvXbfHcXQLNYNFE35 zSNh1JMfiatg165E37TjXHRfqQ/K+G/v9iKT2K28vezNcSkHrsA2FkzrehjW66eHO3BM M6APUplE5gsS7EKz/P6mR0S38RRlj90gjl5DdFS1J3PV+jaC+v7WnVgiRFnim8zJWRy7 1TF/CYbgfqhd8hLgbYGnNySMPgVSnrwuVSzxdMik+/RBcJDlAVDpuXlZB25zCrZf4BOa Pg== Received: from iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta01.appoci.oracle.com [130.35.100.223]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3nyb9an087-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 02 Mar 2023 21:19:16 +0000 Received: from pps.filterd (iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com [127.0.0.1]) by iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com (8.17.1.5/8.17.1.5) with ESMTP id 322KgJ7l034891; Thu, 2 Mar 2023 21:19:15 GMT Received: from nam12-bn8-obe.outbound.protection.outlook.com (mail-bn8nam12lp2174.outbound.protection.outlook.com [104.47.55.174]) by iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3ny8sgqpa6-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 02 Mar 2023 21:19:15 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=i6wpel1oBFvlKEV5VxXK8spu/tORGlslZM6p1pKWWfAsP5M5jWeZWMjXW3tvn9AJiv869d9CwvxwRGGKJ+nOUiO7MTrAZ/NQH/pj1YsxHy1MM0rDjWKdNVcY2bz7N8cL/i6KGaPYUbWnIzmBF8PR87dWlwfqQa3hHuYEQsbn2OE5iojDp2pZbrjQbZGeGywQ7kCiyLkALnGFBG9dZMdT7/PwDrs8vPbPKCOMKkNokG+rKYNOluTR8rIIerKwLl2TBBIMa8Q/9jV6V4MhWBy0LdFipmfxNoeSW8nP194Ng2hcQw0LW76KMa6uYVaer7aVdbnbdbhS7wbD99n37Hystg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=sI7DYIdC+I/K4ZAJPT55pIqfCnLSNIYT03eqCeN6yHE=; b=NuGC3dYjDoqVWDQDVP32PReVCpSLOe4l06tL0sBQ+CATduSsdErO6AITKfYx1/Q3PCT5NNi5UtI7Kjwvl0E35KDR5kUUr60Rheypx7AitXCLfxOaCJP2BtoHwvwBVo5KXKp+YHOReo9GW4jFHG01k6MBCpE+ZEGR1kp/ZMylx2+3fdwYvRSJ/PHqY9F6BHoXEsPb6xJMRlZhVt+E/ghKWQvmbqlS0Lr0FhI3Msn9ndhlls7yZarELanmnhuQMyQdL8OvvCS2K/AcegqJVayP6F0MLZ+3ewwBFx5huYRTKLoAg6B59cCHLqFcFZ2BdYkd3eq86UFpJY4BTnSw29wt/w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=sI7DYIdC+I/K4ZAJPT55pIqfCnLSNIYT03eqCeN6yHE=; b=a7A+8G4C6sysqOpgGm4qZFvUbaOY4EobMRnLQVf6c/HVpdw8F8pHo+Ef14W9MDERw6VrSRx93plK+oGZPiJS9/+ewbNk0l3RKIHyT61uIl97mXGSVg2Zh/+96879Itrx9Kybc/7SeM9y85A/lIogCkGn7knZ8gM2Ko21e2MiQpQ= Received: from DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) by PH0PR10MB5819.namprd10.prod.outlook.com (2603:10b6:510:141::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6156.17; Thu, 2 Mar 2023 21:19:12 +0000 Received: from DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760]) by DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760%4]) with mapi id 15.20.6156.017; Thu, 2 Mar 2023 21:19:12 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , Liam Girdwood , Mark Brown , Maxime Coquelin , Alexandre Torgue , linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org Subject: [PATCH 13/17] regulator: stm32-pwr: remove MODULE_LICENSE in non-modules Date: Thu, 2 Mar 2023 21:17:55 +0000 Message-Id: <20230302211759.30135-14-nick.alcock@oracle.com> X-Mailer: git-send-email 2.39.1.268.g9de2f9a303 In-Reply-To: <20230302211759.30135-1-nick.alcock@oracle.com> References: <20230302211759.30135-1-nick.alcock@oracle.com> X-ClientProxiedBy: LNXP265CA0037.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:5c::25) To DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR10MB6798:EE_|PH0PR10MB5819:EE_ X-MS-Office365-Filtering-Correlation-Id: d4f92367-daab-4ea3-155f-08db1b63c4fb X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: dpyE3k11D3g9+zJhactB0DX86/Qqf4eWlE3gmDX2Ny6S2yjgPzvBrvgnV78M+c0QUQxUDyRTnJn/xlQ1vHSqf8tosM6HqcVnApOGStJZrGh1yv1+vJ1fORaVExT3v7LX0b0z99u5WDRo//GH+3b7F5uRnq8d4SFZDOI5oCuRyIwbg5yiZdn9HkU/w9Pa1eOUdZaZyQ2S+XRswbVS8Fgmra3h52AsGxyD6+FGiEr06o18rXZlhgEelb4nP/nycRA1Ya283jGjpDnWol7q6UJPDcj6KYOJOM+URYyqJwmCzHcu84XcPamiw3KxdM4JudtXEvDOmY7T0tx5uqS1vJrMZmBVhrnxANwXj0HLT6r87LVgDlAJKyfbtq28Nl237V1hUG3E5+RvwGBuC/3UI2ojOWpXph4SSUYsQR3rW0QZXAV7pfj6JPFz+QDQBnbqHVKPDGd9jMUKW5sIpxH1/dQ5OL0uLhrz4y5Ekhp8w7RdNy+VednKZConcyAnmv6FlaANHwdKkZr22vGtj5S/FJRKBinkY1oszyZfXTroxezJHdqIsyL283kasXvqqm56Q2YR3IdwIre2M46tGYaI3UsfMrcCePcCxamnzWeo8Vb/bJCmXfgK+hSM0uph7KKd1Oi3ZemUW6ZlW5u14VsPmB0K8w== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DS0PR10MB6798.namprd10.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230025)(39860400002)(366004)(376002)(396003)(346002)(136003)(451199018)(5660300002)(44832011)(83380400001)(41300700001)(6916009)(4326008)(8676002)(7416002)(8936002)(66476007)(66556008)(66946007)(54906003)(316002)(38100700002)(36756003)(2906002)(6486002)(478600001)(86362001)(6506007)(186003)(6512007)(6666004)(1076003)(2616005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: yvEATz8MA6LrsF7KgNQIZPRoEOAfRVuGY7BexEXnghn3zEOFdHs8VdgOQRtev7+QFLyTdvzKwS3GDclE3dRN+x44abvXE80WxaltWgg7d01s2sd5rXywMNeEeVq70EeD1orpe4+81XDZngfnYX8sKwbmq+SsflQbc2Exj4Mgms/6faQ4Z7gJQjskDlZUllLIky0tW/oF/7DHYxnlsxKBMNKnGkrHDaILJiVBLvZDeWRtZIvMmgkrP6KwX+E+Eu6ucSl8sRbpC8A2Nw4KIaD6iYZPI4SiD03nhpqVUbE5nIxA7jQl2OlwmV+SLH5FulCGORsmTn/U9Jvk6jq6T0hFQ1XzvvXN5tjMvmITSIB1KIgeVszRG5f5m3DAgWnGH5VC61/i8v4l0w/WZXuLanA84jn58ubVdTQ9Ll47m7M3v/khymfwZO2+wDJJXBJ4u9s2m5/D/5pzNp3nWK/woGxN/sKXfJERnwuqKNxHBeEKRyCdaAAUOi4603gaE5LCn+EdHa+7eNS7q+ftS/iah5hI/8WJKZ0Yuqe0sUlY260a4ft8vUgPUwgeUqVVcYx4sCCUGOX3Dk+sBIFnTU58DuE9iBNYOFG0NuSjPxrviIeuRBRtW1X/i3bmZEheEeOjhZvJfFEuxQ0hZ0LCp8H8YnAMH/gXYF+P0FqJZC0rVOSa66DwibszywpwbF/chfwe2dh3o6HryyrcbvU39Gg5NI1ix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ujYp7jaxHRsnY6jB8UZUE7pWJQ4OpUGpAJrKEnAZkMkv9wIF57lY9gjgM/XLc+vTT606muwnDjkm7/idqhbM2LJsChaXYJ6L2N7bL9GXHtI98FQN1oLfmympzKj3WnJqiiipCWWPDiuh/DkIoWDRkinnFfzqlncokoHxEhjdFgyXNW4zRJwTYKfHsDNOmufaTQGNZlMto2mBRhsktAbak2pEHUsp31Eg9eL6HIYHv7iEy298wBBkzy+tAudXRS0xQPeNfoAriFJ6iqeBt+l+wqp6eO+7OuLghDq3kWILDxAcqHDsyNIBErgVsMShrNM2TyDOaxtiQM8W0WQOUHZmdo15ttZNXifVsqwSx44WTyOOqy23AXwhgt/w8k7oPA1gHjZmxbK3q5LjePcEmTUI/GeRKO9e3WS7uFhNav/E1KYyAIMZwVQDNpYFUyFAR3xKrUrNFPyiTJFCypB4qJmkqjO2OgXLQL/xc8ODPONzzwpoYG4d2/4cgk8ayAKqTJjt0oOoD9oyK5iLZYD/rWu/DEZgvpdCgwyFWZmKZYWk86RvolLXcbOmPDBvcbZbv09sCNh3w2cjj08vaOuNGxrTMguC1cYv5v8FLKUc7G8yHTt4LswKOqLk+gAh8Hsu92TqoxJFVY7wF0Uq24lsX0BL2prdBrw1EF52TAsIYCgjKURO38W/cRy5V/eGQV62lu9sry8W27LDugmnc0l/MYzSO5JPoKEOvhkHua9p5SNng7RtOHoUegEu56zxA42660THhKatLqgGtAYWIDOPbc8COPHJljcPvQ5JDivwq6WZAW+fm67gLS658cleYPKE3PXyCvgzX3RtJpLK+V/YQ4vJ5jq+nSQmzcTYfZg+J9Wa6m0cm6++3DBCMs+ElBul9C0HdOuAbt+xuJkZLusPyD4ZFNBrLndyI+pn0fUf4huQD X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: d4f92367-daab-4ea3-155f-08db1b63c4fb X-MS-Exchange-CrossTenant-AuthSource: DS0PR10MB6798.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Mar 2023 21:19:12.4652 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: EOrSBGlAdaGTeVyhQew62lGRUAo09EcY01fJaiu6Y38w3ipHZUoQOd1u88R5Q2ck9TjUTR3W7JR5tETuMjmOSw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR10MB5819 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-03-02_15,2023-03-02_02,2023-02-09_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxlogscore=999 mlxscore=0 suspectscore=0 spamscore=0 adultscore=0 phishscore=0 malwarescore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2303020183 X-Proofpoint-GUID: ayyJVAfDYZuAsWO4ij7iCSWAenmD7Ddq X-Proofpoint-ORIG-GUID: ayyJVAfDYZuAsWO4ij7iCSWAenmD7Ddq Precedence: bulk List-ID: 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: Liam Girdwood Cc: Mark Brown Cc: Maxime Coquelin Cc: Alexandre Torgue Cc: linux-stm32@st-md-mailman.stormreply.com Cc: linux-arm-kernel@lists.infradead.org --- drivers/regulator/stm32-pwr.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/regulator/stm32-pwr.c b/drivers/regulator/stm32-pwr.c index 2a42acb7c24e9..8711afd60ade6 100644 --- a/drivers/regulator/stm32-pwr.c +++ b/drivers/regulator/stm32-pwr.c @@ -183,4 +183,3 @@ module_platform_driver(stm32_pwr_driver); MODULE_DESCRIPTION("STM32MP1 PWR voltage regulator driver"); MODULE_AUTHOR("Pascal Paillet "); -MODULE_LICENSE("GPL v2"); From patchwork Thu Mar 2 21:17:56 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Alcock X-Patchwork-Id: 13158004 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 40F23C6FA8E for ; Thu, 2 Mar 2023 22:45:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229744AbjCBWo7 (ORCPT ); Thu, 2 Mar 2023 17:44:59 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60726 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229580AbjCBWo6 (ORCPT ); Thu, 2 Mar 2023 17:44:58 -0500 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AA0E31817B; Thu, 2 Mar 2023 14:44:57 -0800 (PST) Received: from pps.filterd (m0333520.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 322K49xr008976; Thu, 2 Mar 2023 21:19:20 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : content-transfer-encoding : content-type : mime-version; s=corp-2022-7-12; bh=RV7zcKhYnC3ioScswFae4sZ5q2elYHJfEAklVpyE8tE=; b=CeDsG33gngFrhIMzIaX/WyiZYiBtcU6av7PlemtFxX04QpC2wtDgsI2piwJDzMl70NpK 6IL1h5pQiGvGHiY5RTY7oaIevvSlyyMOjp6KdttUhFX3XDnWcC5JlcI42jOyeBC1DVfg SrUD7e/SkyzjKyl242M0IuZIPNZlC0dtKvEWPVe+3nmIyiN861XlXiexVyyOPlBQCj1o xAv4zMfEJXfeoCPd158gP/TXgjThzJ6Q6vf5Vl96Cv5OkXCH2CPtS5NsU9fORziEdU2R blSzYrUCZy2GB4vB5nbz63eBOP4c/J5JIcgn7OusN9h4U0xytP4+B8CbxnQwx34K2vJk vw== Received: from iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta01.appoci.oracle.com [130.35.100.223]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3nyba2d37a-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 02 Mar 2023 21:19:20 +0000 Received: from pps.filterd (iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com [127.0.0.1]) by iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com (8.17.1.5/8.17.1.5) with ESMTP id 322KgJ7m034891; Thu, 2 Mar 2023 21:19:19 GMT Received: from nam04-bn8-obe.outbound.protection.outlook.com (mail-bn8nam04lp2047.outbound.protection.outlook.com [104.47.74.47]) by iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3ny8sgqpc6-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 02 Mar 2023 21:19:19 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=M1viD7Evqt81YIKJSwm6jmjrW+swaBjQCmYUV7jnCw5AksrenMyuWrEwXkoLfRPkE7rQK1kEU20EPg7JeVmhLonLoRzHvR8fRSGKWnt5x9HoctTqhSTQLHo49K5x5wM+9T6l2EuAJ3PxCfyyNGEAOG61tZPKDj/ZsxUuqAABroxR8rdmb8KBNHkJ5GedT/d8hnMmnUWXihGnXFUrPTmU64xz4y3FZix0EGYxtbqZ3fp5spcnNsaRAJaxWr8wgjjEJ5pcjhjNo1PZOEaNoay0BAEe15Q4Kkfmge4jhGWBur0Q5wRbvDOmlpAM/RC2ndlZGXQSOUbARrTJHyo08gUg6w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=RV7zcKhYnC3ioScswFae4sZ5q2elYHJfEAklVpyE8tE=; b=kHX0+b2n3c8Qdx2rHOP2bK1hpNSh7XsgP6nqBDYuP3eu8c7eW5BWozGzvhkwAxRpEHA30A0yZs7ep4VMlgGwdgCHiyaI9Fu4qN1v6Q7ZXI3XFBwZLNt1ajZ+lZae2puoXVY3oKWCwX0xmlQexTzdGkgZd2gHXRkvYEGRFnY5bmvt8ZQxoiUqN+MlfdCV8PIk9yyglvZep2/mpa9nV3rLwIQp3BBzNmWY/t+kCzU6BVvlyt0vkIDt+1W2gpCdXwk2i3Yf9m/kE73WXCspYZXjRum1tbfAaqrYZT8FezH5fUAWNwseoD26cbuwPUt/Rg/zl2R2aCB060E66ghDGSazXA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=RV7zcKhYnC3ioScswFae4sZ5q2elYHJfEAklVpyE8tE=; b=T93pWNeBl3TPgP3TFxPQmkXsdNspYvn7VrnWxwPOkymb7fSWiPoklwUBOWhO5LcEoj6g+1qNp3YjSXPPe11VA0KPZJAZX/UXPkal2bwmBFzq0ad7jCQCCvZBtU+DhjgdKuLfDCUv6hZqqIbd4exC2gpzTcdyXvOwOSME68BlCQg= Received: from DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) by SA1PR10MB6414.namprd10.prod.outlook.com (2603:10b6:806:259::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6156.16; Thu, 2 Mar 2023 21:19:17 +0000 Received: from DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760]) by DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760%4]) with mapi id 15.20.6156.017; Thu, 2 Mar 2023 21:19:16 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , Dave Hansen , Andy Lutomirski , Peter Zijlstra , Thomas Gleixner , Ingo Molnar , Borislav Petkov , x86@kernel.org Subject: [PATCH 14/17] mm: remove MODULE_LICENSE in non-modules Date: Thu, 2 Mar 2023 21:17:56 +0000 Message-Id: <20230302211759.30135-15-nick.alcock@oracle.com> X-Mailer: git-send-email 2.39.1.268.g9de2f9a303 In-Reply-To: <20230302211759.30135-1-nick.alcock@oracle.com> References: <20230302211759.30135-1-nick.alcock@oracle.com> X-ClientProxiedBy: LO4P123CA0511.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:272::12) To DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR10MB6798:EE_|SA1PR10MB6414:EE_ X-MS-Office365-Filtering-Correlation-Id: 91886af9-5834-4a2b-fbd3-08db1b63c78a X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 7Ri5FqhPKc85bDQs+eVTFgGjvSxIUdDGup+RJATPpLRFGsW1rHAAyueYNoLdBL3r7tjgJKSgt36JKqAX9WIWURGzYqh+ruApfJAjI/jNtWX6i38DJ4e3DTJ9xACDtDSqZYCJBggI8r5J7bncTppw7MRnE8I7bQA8TGJ7OBCmTb4tKHBGrMCE1ZSjLDlp8KcaHQPpSQ24ONWjqJZL0/eKrnp2gJds1xgtwiOomHHA5v7sGxa8QHuwwkHEUqQ8qUH5so6W5X4iHcH1TCjw2hbuYTysiHh5tzaF4w+lWpwrVtU7S4A5u9bnruszzToYmS/8cxdbgoz184hP/J+JCn8L1I385/Gxw9ZSowUiwxqlccEAR1Hg1xFqJjWMf3nx/hBi8Q0rQiwyNc9xjbga6HCm/L2cB7xyOyIukm9P6FX1IIXUsaz6A4uKAWMfozE/q5WoASt26O7qDoc1NzL9FQaIZNcrmIYvFDBSh5TspDz2Uedsb9qX1+pVlZBNqpgWN8suhap2xUQWZ+Njy4AqIBZqQfoN5kCfsTj8wipXlNTZRFnGOJKeTj+5VgfmhWoBBZepeNXS38VWY4dQ5134ZSZLSP8cYEbDMjWEyvVDKv9bFc8Ux/pqrWR0l6Fo/DNMu5Rsp58TCT3E9bR4beyPJ7qyxA== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DS0PR10MB6798.namprd10.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230025)(376002)(346002)(396003)(366004)(136003)(39860400002)(451199018)(44832011)(7416002)(5660300002)(41300700001)(38100700002)(8676002)(83380400001)(4326008)(6916009)(8936002)(66476007)(66556008)(66946007)(36756003)(2616005)(2906002)(86362001)(6486002)(478600001)(316002)(186003)(1076003)(54906003)(6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DflY8ofQr4gHHiGbjPuJ3LQgcJ4Zsdwpw6tPZozbHQ/mk7IDys9B91sAI2DvVS1cTuScevLUC5SIes2P5skQXRGWOCFT8iXtR4nj4VbwvLuuUWU+oK+kpO/17uJ+16WCNCwIz1o+nexZoiwuhE7tycnm4xfXleqGq43qOBbdPO1GCNqMK1IMrJkDmrZgMNmUBUgssSIWAkwNH/qoJIwr9PIs6vjX0TlDzawbRyGrVCIuv9+w5XyfZnSzz0N9MfHGtRMjpNAfoI/su+deV3u4o3aBFa4RQlnIhN8wZrXx+Jj24xKA60CWtR5ZoMNLwivBQ9c4e5bdP4flXoJbRXbYrfwE2uOcZNaHmVqRt/o+s4J24o2hC1QbOF3NvpEUHSXhLj2zNG6Z/36LTAtKribfWqtOmfaA/hBv0UADazomYU/+dR2kz6prOT2nw2Yj7cF666K5fOES4QQPJyen3f4e1rJC+4eN21qqNSpkXKQiHxDfSZggVM2bLULrRZxdhF+xPxal3zgQMVMgrGdsVk7WRBdUMVhhDt5XZXb5bvSmTa6GgfRMuzFHky46zaB/xNwbfVQJAfG/ib3u+3dIrf/ndnz0Ar76bZLSVSISOxG3hNMbvL/HLjy2C3PVnAvvVGG+3d1hzP30Bza/3GFFeJMFAo0CwCZkyEirkWBwvfF4IU1ei1 X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 91886af9-5834-4a2b-fbd3-08db1b63c78a X-MS-Exchange-CrossTenant-AuthSource: DS0PR10MB6798.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Mar 2023 21:19:16.7481 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 2AMmxKK6oWlpX8ZkFGhzT6OyJP+I7UkPRAPYfRJLNrZrg8nj8IhpFSSqDnR0CXGlmz3eqK/V1yQCbebQHy3Zfg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA1PR10MB6414 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-03-02_15,2023-03-02_02,2023-02-09_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxlogscore=999 mlxscore=0 suspectscore=0 spamscore=0 adultscore=0 phishscore=0 malwarescore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2303020183 X-Proofpoint-GUID: Ahq31CGgC8umOSDa9iCW9lxvrmZRTXZr X-Proofpoint-ORIG-GUID: Ahq31CGgC8umOSDa9iCW9lxvrmZRTXZr Precedence: bulk List-ID: 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: Dave Hansen Cc: Andy Lutomirski Cc: Peter Zijlstra Cc: Thomas Gleixner Cc: Ingo Molnar Cc: Borislav Petkov Cc: x86@kernel.org --- arch/x86/mm/debug_pagetables.c | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/x86/mm/debug_pagetables.c b/arch/x86/mm/debug_pagetables.c index 092ea436c7e62..b43301cb2a80c 100644 --- a/arch/x86/mm/debug_pagetables.c +++ b/arch/x86/mm/debug_pagetables.c @@ -71,6 +71,5 @@ static void __exit pt_dump_debug_exit(void) module_init(pt_dump_debug_init); module_exit(pt_dump_debug_exit); -MODULE_LICENSE("GPL"); MODULE_AUTHOR("Arjan van de Ven "); MODULE_DESCRIPTION("Kernel debugging helper that dumps pagetables"); From patchwork Thu Mar 2 21:17:57 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Alcock X-Patchwork-Id: 13157941 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 40716C678D4 for ; Thu, 2 Mar 2023 21:56:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229567AbjCBVTn (ORCPT ); Thu, 2 Mar 2023 16:19:43 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40196 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229636AbjCBVTl (ORCPT ); Thu, 2 Mar 2023 16:19:41 -0500 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 091D057D39; Thu, 2 Mar 2023 13:19:35 -0800 (PST) Received: from pps.filterd (m0246630.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 322K4DvK000641; Thu, 2 Mar 2023 21:19:25 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : content-transfer-encoding : content-type : mime-version; s=corp-2022-7-12; bh=40wA+FlFLr6ElM+W+qIHS/HRTtxmamDt21e9O30ct2Q=; b=pnroXtFubucJvDAY1Ns7zCXGz+og5Cj6UuttJR04kJKTniXPb0PGCnuTo6oLSZxr7SsQ y7VHh7QWaDPie5jQUryvtktL/VxGdBqB/MXFgJUayY7i2d+w7ib0RJhpWL7zOiGflt6Y U5+dpG7w5pX0N464S4N9DXRVEuYqSof/FDHndVVw4gXXpWQp+A434u6fPorPdZDhaYPV jeqypwZZdqhya1Tr2G56quwXAkmDJ3yCcmFIjhSFXk13GIsccnarWuhEKV4RGjthcJl0 PriZ2LZ+6yR89Lk+YOOgkYwI+kiZqYOMCK1e459poCWSxetjwGyxREy4xfqU8hUTBnES 9Q== Received: from phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta03.appoci.oracle.com [138.1.37.129]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3nyb72msw4-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 02 Mar 2023 21:19:25 +0000 Received: from pps.filterd (phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (8.17.1.5/8.17.1.5) with ESMTP id 322KeQhP002332; Thu, 2 Mar 2023 21:19:23 GMT Received: from nam04-bn8-obe.outbound.protection.outlook.com (mail-bn8nam04lp2048.outbound.protection.outlook.com [104.47.74.48]) by phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3ny8sacft6-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 02 Mar 2023 21:19:23 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fdEQ7FCuVJtUL6MJ9OFIMT9OpvDjMg5nBiYcy435z8ZzQQ1/cc1UIYbxMbuwliwCq7nAfQobjk2v/phqlTdsPbCefFiYiTLCuY0zAuHDsGuzaNh7mGfirbvDo/p3D9JRO4f1mr53CyTOapEIDBCpX+dMSCY/J+ruqHLtbbO+7w/bDkhGyuloUni3kbABFkG5JRWnjC0XWHWqc5TWD22VVeOvi3SHxku9G5yVtDwZf84Z6/qXSblbDvu+b/b3xNaM6RqcFgqYwOoNOy2OZoA4Zzn8eX8BiUejKR+2oU9juVQ0etJVAnqPjvnkSq+gXiCI40fhvwB30PEpFjXQu3a4pg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=40wA+FlFLr6ElM+W+qIHS/HRTtxmamDt21e9O30ct2Q=; b=SZowJv7sOC1sDKZKGqOeUWd1DflyIgrjzXgi0e7N7J2STcBAGLTVf3r/RQh13vpGR+N3anoIuwyUEzVzf1+c72ZXJSlPg15hN3AU03Gyo01QWrEvkZKQxg3crujoiQTv/EqttnRbHelCq3kUD5N26BuXPoMMAFgMW80haUFeNIQi9PZXAm33EZCdjjHZZKL3xYDEBV1Y2iONJHwAtqWywRjGTQV1RdcHUtDszjRSUXbKCCq9pWss+lwPi7ZfaA+cXprVVuGyWUCyfWO65ddR8zhsHctOy/ezLo2j13+ryaTKJGXwF7NXnHgi1g/qp7kOkiC6fJKQg35PXSMIIo3nZQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=40wA+FlFLr6ElM+W+qIHS/HRTtxmamDt21e9O30ct2Q=; b=pY+rA4UNXy2iTGmT9pvRF2AvueM7qGhOGgqgDOv0udOvybs2LaAOsiWCa1TpQw4c2HwK+8kHYZyUJ/yIvGOLOpt4OG/XQAPFJFKNs5i6MgR4jCvEvAh24T42CMN5TyoXAQ5MAvb2yj6ctPuBkEpl/MI41f8cxFusUNPRayJvdF4= Received: from DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) by SA1PR10MB6414.namprd10.prod.outlook.com (2603:10b6:806:259::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6156.16; Thu, 2 Mar 2023 21:19:21 +0000 Received: from DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760]) by DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760%4]) with mapi id 15.20.6156.017; Thu, 2 Mar 2023 21:19:21 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , Juergen Gross , Stefano Stabellini , xen-devel@lists.xenproject.org Subject: [PATCH 15/17] xen: remove MODULE_LICENSE in non-modules Date: Thu, 2 Mar 2023 21:17:57 +0000 Message-Id: <20230302211759.30135-16-nick.alcock@oracle.com> X-Mailer: git-send-email 2.39.1.268.g9de2f9a303 In-Reply-To: <20230302211759.30135-1-nick.alcock@oracle.com> References: <20230302211759.30135-1-nick.alcock@oracle.com> X-ClientProxiedBy: LNXP123CA0010.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:d2::22) To DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR10MB6798:EE_|SA1PR10MB6414:EE_ X-MS-Office365-Filtering-Correlation-Id: 80bb5ca1-bf64-48c8-b377-08db1b63ca5d X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: b+dRwAQQle0x+ERfMj3cQYI00zj7ks5lrOKCl/dOQ+xxvt9e7nPhAYO1p2S84IDvdUyir8WwlpACa2NWRupkAbZAygTX+tfiyJ+8jjGlKIERvvd5VZxjmxAtIuBlG19TLSg/pqNMc+/NR1qbg9iuN1S+c11a3OGyGtv1qKlTtzgaAC3zBmu9Yopab2rvXDMisuHdEuWoleQpyaYtXKus8ot4PWeQDtpsGrwekUQF82u4Uj0amHwO87SmPapIbi/QW5Ze9vxv6/pe9p0juGQObBHh9OKIyy4kmSlwBQniOoSidiSWXjYPebf1RWEupBuVYM0n/ILU4t+vU5BJ0MDeVZifRkmX03DxR/M+iS+DM97FL/r5ZoH+C8WKCgp+mdBd2olAFtbGt8dik4toEbICE05kabvJo88b+xZEt4HF1J6ScEGlieELXzaG217JTx0v+xD5KnxXbwNNP1z+6yxJAarwQ7EvOiOw2hOc6PBA84IfYlSUQgcyBO5QhSU5wc+nXqACHSHEm7JmGBg5yTFEJPp1XSinM62zU5lS2Fwdx7bKj2CYfsijXgShqUOXXXQwqFFJKK0K6mHONpQWhkMjdUwIWG0jIQU0rfOUEgvnke6eoOK12FDVXVsr7Nr5LodkBNgQNV1ID1gvDOl8LNQMjg== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DS0PR10MB6798.namprd10.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230025)(376002)(346002)(396003)(366004)(136003)(39860400002)(451199018)(44832011)(5660300002)(41300700001)(38100700002)(8676002)(83380400001)(4326008)(6916009)(8936002)(66476007)(66556008)(66946007)(36756003)(2616005)(2906002)(86362001)(6486002)(478600001)(316002)(186003)(1076003)(54906003)(6666004)(6512007)(6506007);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: QFZqh3t/ONDF/i7x1Cf9BdABkscdSQJSwldhT1KR8mmwypmqn9fSldsFIvcCyjZ9H4jfa3a85abA5HJyIt5v43VQNAaVhAawcqbQRGmU+L2nytedH2cYPKENLhdtpjqq0shpxLWYJl2QPrEf1gciJjLQVQUBKgU/ZBZD66A83lHEB6EomhOBKUOk+1w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M7JoIj72cRq5qSw15YZ+HZRtUcGf98OS1veVcLZf8q6pIEQGdQ1G7c6INznePQe3mFUcnhL8dBFPToxt0UIicHzKGGDignERUUKRk5Tq6CDF7CwCxKVPv2PnIB5fFTVqGhUYIA+r8HDLsPfN4t5E/h6mMnZmLNQEUKSG2PjjN0y45M+JSS4bnZKbIfTx88/e8VdIGdp2zh3xd/jNZIaiUWDemRttRF8Y4iIT6zI14Hf/UrDIZO/aXDXkZIU0HDDvyMRtjUueOs6a7yPFzyxxsKfxazihSjQ== X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 80bb5ca1-bf64-48c8-b377-08db1b63ca5d X-MS-Exchange-CrossTenant-AuthSource: DS0PR10MB6798.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Mar 2023 21:19:21.5001 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: nkvEJrHseohJp6lgmyieoxv9SubfGd8t9gNfM8wRF9njxCgtXpYd9tEBKmrRq9dASGAM9tGN7KTEQqXUIlp+xw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA1PR10MB6414 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-03-02_15,2023-03-02_02,2023-02-09_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 bulkscore=0 malwarescore=0 mlxlogscore=999 phishscore=0 spamscore=0 adultscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2303020183 X-Proofpoint-ORIG-GUID: Tx2KuvEIbvjYb5saulm6qo8_uIlvmB7M X-Proofpoint-GUID: Tx2KuvEIbvjYb5saulm6qo8_uIlvmB7M Precedence: bulk List-ID: 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: Juergen Gross Cc: Stefano Stabellini Cc: xen-devel@lists.xenproject.org Reviewed-by: Juergen Gross --- drivers/xen/grant-dma-ops.c | 1 - drivers/xen/xenbus/xenbus_probe.c | 1 - 2 files changed, 2 deletions(-) diff --git a/drivers/xen/grant-dma-ops.c b/drivers/xen/grant-dma-ops.c index 9784a77fa3c99..ca0249fc4d18f 100644 --- a/drivers/xen/grant-dma-ops.c +++ b/drivers/xen/grant-dma-ops.c @@ -413,4 +413,3 @@ bool xen_virtio_restricted_mem_acc(struct virtio_device *dev) MODULE_DESCRIPTION("Xen grant DMA-mapping layer"); MODULE_AUTHOR("Juergen Gross "); -MODULE_LICENSE("GPL"); diff --git a/drivers/xen/xenbus/xenbus_probe.c b/drivers/xen/xenbus/xenbus_probe.c index 58b732dcbfb83..86c04f239e873 100644 --- a/drivers/xen/xenbus/xenbus_probe.c +++ b/drivers/xen/xenbus/xenbus_probe.c @@ -1066,4 +1066,3 @@ static int __init xenbus_init(void) postcore_initcall(xenbus_init); -MODULE_LICENSE("GPL"); From patchwork Thu Mar 2 21:17:58 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Alcock X-Patchwork-Id: 13157940 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 56F23C7EE37 for ; Thu, 2 Mar 2023 21:56:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229617AbjCBVUw (ORCPT ); Thu, 2 Mar 2023 16:20:52 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40440 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229518AbjCBVUv (ORCPT ); Thu, 2 Mar 2023 16:20:51 -0500 Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BE5F9580E2; Thu, 2 Mar 2023 13:19:40 -0800 (PST) Received: from pps.filterd (m0333521.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 322K6gW6007832; Thu, 2 Mar 2023 21:19:29 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : content-transfer-encoding : content-type : mime-version; s=corp-2022-7-12; bh=8C+9i6JX3+uhce88dj6JATXvdBvqBvbHDKC+Yf0i4nU=; b=YQR2JNJ7WeoAo87ssA4qH/MZtQOahRAZ98PmcArD3coh1BCW1V4FHp9TqF5XlnGjOi0z lYwWpfFuIQbjT58Qu//Vgu2066HehaPapd2TUyXp43mj1sZ9df75rsuDAl8GEkbNkVhR cPYLav6HjiHoVyLtvlJX9QXU5z2yGsmD9n1B3uCbPcfrbnz2WfI8IhL/rBsmbogWT1rG g2phThHNjnaSMmDvbyPOhODVnfOQ/nO2TypKf/TPa2yDwDMIgwr1eunhatXtBDvY7mQI bgj0LYxdC6x4XXYZo+QWnFKcc0c2Hy4AuslZzBHsRBi85uF/LScQ8Zd8Lnlxiq1ctOsO Dg== Received: from phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta01.appoci.oracle.com [138.1.114.2]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3nyb7ww2th-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 02 Mar 2023 21:19:29 +0000 Received: from pps.filterd (phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (8.17.1.5/8.17.1.5) with ESMTP id 322KhnaH000709; Thu, 2 Mar 2023 21:19:28 GMT Received: from nam04-bn8-obe.outbound.protection.outlook.com (mail-bn8nam04lp2048.outbound.protection.outlook.com [104.47.74.48]) by phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3ny8samfxv-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 02 Mar 2023 21:19:28 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=cN4nENX8JRJd3pBvhkWTH0F2MujruTCrruvFSFAkOm57eTHzDcQvVeooh/g8SzO7vpMB63bRfQD2hOL37LaNGFG7gMlMSVIiSq0Odih+eL9DVvWGTP1cbxKH/uwQ1/XphhljDf0Lh3u4iTF4txsJdb9BiS1CAgsc1w5s6q9+09tmirastAEvT1p0qaXtT7hE0ZxN28zcVlPq5RJrqXUYoEmeaKwGVNCutHfQJndLmZCI+0s+PrwWO620VBxOpigh+b6HnA5sf2DX6h8MYZysUFgL8ImkB/s8biO5jt7aH6HaYuaR9d7pez66bOCOGdpnJeCfMDAlN1pbKMFowpXrLg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=8C+9i6JX3+uhce88dj6JATXvdBvqBvbHDKC+Yf0i4nU=; b=UyLB/+hkfpkDByzovLwDZ5YUBCUIJBKwbDgV/TxP9bmFkDEddSuymWWp9NCJdAr0meBYRy1y6gy2H90APpgCZOSw2DoehlS+8e5QJBnBkyWxLbAS6F1HVzFAZdyZGAeNx1opNFczUJRvFDVWqvf3N8yD26Ys/lhuZfh97d/vH86SXbb/jude3tTYBMepS533+IpU4Z7xCi1YRs9cKUU+aM6a/Nk0A1M0M2HObqJLyH8RLmxDGqIOQ5THPVksqmZVGmz69Gg7Q5ae4Z4nE/eLE+OMnIsWHiNhyVBxcHN00ovwzKGsZDIJ+kREjg/Kqr4JLhvNo5BPAtKlNVT/bnxbTA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=8C+9i6JX3+uhce88dj6JATXvdBvqBvbHDKC+Yf0i4nU=; b=yceMzw3jIenxytaJltT4wbj8cHcT5ECtU7z1p1hmIMG8LlsNkBtyOcRLpKvk1F52NVQrzGQT9InrENTzAar2jmz+SnTfOtoex0bnbbrnurLis5X2U1SQsthVff9gLVoVTEqx0e/6SmWSYsnLoaPouY3cNBxM5ZSLwWXEhS1SuVg= Received: from DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) by SA1PR10MB6414.namprd10.prod.outlook.com (2603:10b6:806:259::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6156.16; Thu, 2 Mar 2023 21:19:26 +0000 Received: from DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760]) by DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760%4]) with mapi id 15.20.6156.017; Thu, 2 Mar 2023 21:19:26 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , Dan Streetman , Andrew Morton , linux-mm@kvack.org Subject: [PATCH 16/17] zpool: remove MODULE_LICENSE in non-modules Date: Thu, 2 Mar 2023 21:17:58 +0000 Message-Id: <20230302211759.30135-17-nick.alcock@oracle.com> X-Mailer: git-send-email 2.39.1.268.g9de2f9a303 In-Reply-To: <20230302211759.30135-1-nick.alcock@oracle.com> References: <20230302211759.30135-1-nick.alcock@oracle.com> X-ClientProxiedBy: LNXP123CA0007.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:d2::19) To DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR10MB6798:EE_|SA1PR10MB6414:EE_ X-MS-Office365-Filtering-Correlation-Id: 7a1e16c3-75e4-44f9-22e2-08db1b63cd16 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: P19fzngf+AvrbZgYSbUIfPGAHHFCpMOYUPl374iloxeTlXR299XTgVDFBCDSw9w/kuCs8pRWY8G8weTL1eEEuOewrAeZgqEcL+0XGFzvQ4LrP9r7WDUNFoxaLIg5RxEtVLac/gvJ3FxIU4E/LBFTEcOy7bj1+GE2KvXQjw/ezyJ/weMOmAOZYoEceNX2BDoq03nPOFzWRi0DQJaTPs3kaHXpo/0QlL98tO7LKcGhewBrr7tgiUi+xDUotTmJF4Yd9+H5ZlZ/Mn0MhdjBz0t6R3ReDxMBCofGgF9x59F+ngn3fqYMHcMjrAdYzNsbYjf3RoqOjGfsp03MIhNcAMJjJDCeVKHZ8CbbpcAUmdFLhs5kJa0YiyadUHTmF8yYrMLwsDurGbHn2IldlhJok9MsRoTBtQJbwW162sHUjC7htGnU0ekrHxRi9fg5Zur5cvtGLAV1/sDi7dlAJ9dKZXOcdDFm9O/fscC2JIBnGm2xQ72wgACltBIK+whO909YpvKsXa94ww/RyG/kImGNlJ/eTI56HlilrGDkEGueSBjsYkEG41uObg+tEzbyzL7OcUvuy3avJr+lklkXUXEHlJjW0O5n1OMms1+IzsVUUk+imVKPuJ8DRpi87sNqx/JnODbjp2FARv6QtdiH/Btsv387rQ== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DS0PR10MB6798.namprd10.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230025)(376002)(346002)(396003)(366004)(136003)(39860400002)(451199018)(44832011)(5660300002)(41300700001)(38100700002)(8676002)(83380400001)(4326008)(6916009)(8936002)(66476007)(66556008)(66946007)(36756003)(2616005)(2906002)(86362001)(6486002)(478600001)(316002)(186003)(1076003)(54906003)(6666004)(6512007)(6506007);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: WEcxiCNnenKbnXk32MkRPliI0vkalkPfRWWzAmuBdwJeRu9iCYiOUXteg23pMqMNC9aYyXn1AuWcvx3lkieT9RVhfcY1+kZK8xsvCaEg3IuOmZIiGqYZQUtgPLY8NDJBh8j37d+l1+s3dPIkMLZSilI7dIZ3L//u3N1Y8cWc9LP1ftrFIk6TablysANz4yoVfYnytte2nW9cOMwh6iqnfHqfI2tAcAaPpgTXIHO0+1t615DWljCt6hwWaSJt/uvrLeOHLscA/Vwy5wmIfsqLl70eonijsnPbQZJAA3nim0QLD3uNbbudL8ZwNKq6u1EcYmZRd4jzUQjmD8Rnbt1ZLFSaNmxitbkCfRpQq7bVord8ahofpkmqehwdo7xNPpnFcXxZKpyG49EFhqOUegHEhDw84na7sTFjnhUwaScK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6ltNz5gyW5WZU7g9H/JQO5k+FSOrETj55Quzc8uHeatT/EzInK+/Qvelng5Q2sNO6OOvSWU+9qbvJYPE= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7a1e16c3-75e4-44f9-22e2-08db1b63cd16 X-MS-Exchange-CrossTenant-AuthSource: DS0PR10MB6798.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Mar 2023 21:19:26.0643 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: e2bQ9jskztEUTZlfjmZF/GwKMEk4cK07Ui2X6lHjOQ6JA5wVNRTvEivUI6T72VxYVsSbnHoDusa1jKsXrKCo+A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA1PR10MB6414 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-03-02_15,2023-03-02_02,2023-02-09_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 malwarescore=0 mlxlogscore=999 phishscore=0 bulkscore=0 spamscore=0 suspectscore=0 adultscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2303020183 X-Proofpoint-GUID: M7iNwr6l8zqH0N7E3WWW6CrpvsjtcXq6 X-Proofpoint-ORIG-GUID: M7iNwr6l8zqH0N7E3WWW6CrpvsjtcXq6 Precedence: bulk List-ID: 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: Dan Streetman Cc: Andrew Morton Cc: linux-mm@kvack.org --- mm/zpool.c | 1 - 1 file changed, 1 deletion(-) diff --git a/mm/zpool.c b/mm/zpool.c index 571f5c5031dda..6a19c4a58f77b 100644 --- a/mm/zpool.c +++ b/mm/zpool.c @@ -395,6 +395,5 @@ bool zpool_can_sleep_mapped(struct zpool *zpool) return zpool->driver->sleep_mapped; } -MODULE_LICENSE("GPL"); MODULE_AUTHOR("Dan Streetman "); MODULE_DESCRIPTION("Common API for compressed memory storage"); From patchwork Thu Mar 2 21:17:59 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Alcock X-Patchwork-Id: 13157997 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 6CB54C678D4 for ; Thu, 2 Mar 2023 22:40:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230167AbjCBWk3 (ORCPT ); Thu, 2 Mar 2023 17:40:29 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57590 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229709AbjCBWk2 (ORCPT ); Thu, 2 Mar 2023 17:40:28 -0500 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 069143B236; Thu, 2 Mar 2023 14:40:26 -0800 (PST) Received: from pps.filterd (m0246632.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 322K423J013550; Thu, 2 Mar 2023 21:19:34 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : content-transfer-encoding : content-type : mime-version; s=corp-2022-7-12; bh=AmxGD3qlYjunPtLoFbiMLm2514iWGjQSquTr2rm4r70=; b=x2A+Uw7zKuoyQLPyg9Ed7a+tqqyK/TDOHgsuAvNrD5FHgST1aY03X85qBWJI4qS6dcmG /iu0SQSvof67dN+V8FfVKRP/6AJxraog4/YDQSqDdwQRXlkksGwv/r9QYteBiq86SQ6/ NwOvZT54r7kUr6RfvLyuyy50j2GAQ9PPrJg+QSksUH0+RLfPpJ8lGkyu5cNefYYqHu5g Dz9UNLEfDBeY1rVNWUfsejFwebGN7EOvGAlcTEJOC5ix/tsSB7q5DBBkDmfuvliRxGdR 95D9u04A6n00KroGRQ7rRjN0y+gPd02Y/H8H+je2Ryazyauppcu2qF0kirhCcbhWkJca Pw== Received: from phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta02.appoci.oracle.com [147.154.114.232]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3nyb6emxu4-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 02 Mar 2023 21:19:34 +0000 Received: from pps.filterd (phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (8.17.1.5/8.17.1.5) with ESMTP id 322Khan6033044; Thu, 2 Mar 2023 21:19:33 GMT Received: from nam12-mw2-obe.outbound.protection.outlook.com (mail-mw2nam12lp2049.outbound.protection.outlook.com [104.47.66.49]) by phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3ny8samj8p-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 02 Mar 2023 21:19:33 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=eG99iwaIiAi+JtXlkmP2XrtSoI6aKSbTfXlpJ54rW72l0nMUkrenulEM6hwFcpK1JcZUhTAa1+L1Q8VB/CInY3Y47tQEmnnzh+wfcUIQ/ZOO2AegYhH2WgZPOTw3pyfyBuj0FQiImEJ1Ng3aiflbn5OLni9XdnO/4TwpgfIcQOEpUHAeB8pZtZ3rVe/FdinPceNlRpUw5v7Yyg068CVPxCLEvVhc8BqWSJqVeAZGVuYfdRMQBJ32vlCsZY2yd3V+IxYwlZzOJCQaKD/ByUG97AwzN221OsfS8ePH3B1oBgY1VDoWIpV7osyg6/htc4bAnKs7v8MR7WdxkcFbQgtMGg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=AmxGD3qlYjunPtLoFbiMLm2514iWGjQSquTr2rm4r70=; b=XVEdLBGiZ07gud6cXHRvgANVc+i/O3PuJZ0EhdO84OpEw0wv8UDe6f2ytZ0a5XZgkC8VLdyAoVDGnHxxvfU5WUc+6IGNk+ClmlcnmvvAgxl++Y3iOrQIfbDBWviQYIrNkiXfTdj9mVo3jDYWMPdAEnRv52ajdc1i+f7iaoYQMs5Cr7SZmbr7/S0O7uvT4heSB3kZdx+wfQHIIN1ue3yfb4mKv2Btlm13hiJF224SMMv3Pr1BUP+29aqxqYrYKBbdr+SYoEWOuZY46Eg2K4SYg/sccP3lAFPBVfJCdubfX+kRKIpeelKUlqMvmPZqD2ja+dg++lStAEf3PL4dBgGWTA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=AmxGD3qlYjunPtLoFbiMLm2514iWGjQSquTr2rm4r70=; b=ePjF2siXORAaP5ERUi/WrEcZgfOKfP7VdXLzsavSIuYxpu3148zyKmZaLaCQIhFqlKd5VH9RYjJrIpgTd6TDQkQEXAaw4Np0SXyw4DrAIJsXx6PaMov487R5l0SjsMUqb675dTaRd4fpD18itUFIow+47d68LaXC7p+gaKGF57o= Received: from DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) by MN2PR10MB4351.namprd10.prod.outlook.com (2603:10b6:208:1d7::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6156.19; Thu, 2 Mar 2023 21:19:31 +0000 Received: from DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760]) by DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760%4]) with mapi id 15.20.6156.017; Thu, 2 Mar 2023 21:19:30 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , Seth Jennings , Dan Streetman , Vitaly Wool , Andrew Morton , linux-mm@kvack.org Subject: [PATCH 17/17] zswap: remove MODULE_LICENSE in non-modules Date: Thu, 2 Mar 2023 21:17:59 +0000 Message-Id: <20230302211759.30135-18-nick.alcock@oracle.com> X-Mailer: git-send-email 2.39.1.268.g9de2f9a303 In-Reply-To: <20230302211759.30135-1-nick.alcock@oracle.com> References: <20230302211759.30135-1-nick.alcock@oracle.com> X-ClientProxiedBy: LO2P265CA0231.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:b::27) To DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR10MB6798:EE_|MN2PR10MB4351:EE_ X-MS-Office365-Filtering-Correlation-Id: 9f299c86-0a80-4556-d288-08db1b63cff9 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: fdz7DmMUJOuHFRa9jpGOGXP/+DM1OyL50jshwJTJP7cG+oLbvcct4LraC35BGEUzLwHNVOsYcMog0st2u5wMuoFBFgr66wFjovN7joX+RbnH8GKi3bD5JtfcCMSxIs+CUyPa62ajlpYnr+1N/XpYxlPT8FSmx0XISC4ShbsHlC1hwhbiEsU4DFp71v+uBwVdbNF5g+gdj+vBqZrz3jFLGy7yU2meA+2fLpmrTAN1ZIpve9GCBFZaNvDkINqFKH31j+rn6p/Al1WFcJJHbp9D+mEdi/YLDSbuUkd5NMkwnuWT9ZJxHJhv/zu69bOTh99eTa7Ka9VlFHXrBUkpWfscRCNj9+sz/q7KLMuGgerb1fgbH4EFMzAPzY/3q83DlmWgt8S693w1wV8zG62eIqjV04pKoJG4Iqm8GqBvSC9P8ahw+yJJLTdLAI3iogjJQqzWIsosa8hNdZZTK0PvF0iRJ2czvu+SvctiUmCk2ji/X25ah3wKixw47aTaDd/MMYGkWYchXp0TaZWszJ+NvT01rDXFm06INvDHD5pllNYghv9KFmn2aluYAJR1778f1TmWtms2TMWPIBEXQcJkub8UcmmZ3/QwGFzjFFEm9IL22qp02VEk3AOKDNrlHBOHtUrzQzxcPfeqxYX2eMxcCsxs+A== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DS0PR10MB6798.namprd10.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230025)(136003)(39860400002)(346002)(396003)(366004)(376002)(451199018)(86362001)(186003)(1076003)(6666004)(478600001)(6512007)(6506007)(6486002)(2616005)(316002)(54906003)(36756003)(38100700002)(2906002)(83380400001)(41300700001)(5660300002)(44832011)(8936002)(66946007)(6916009)(4326008)(66556008)(8676002)(66476007);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: zJgvj9zXA97TiSVTtAIbuw6xIrxWeAkGDadKmWIOgSaWx1Pdg22IecCFNciPcBfVBlTDf4HUVuKqIuuZE+0CCvzk7yXAHD5F/tZA8838FQPqhDPsOcPOJ4cUBwI9iaI9UEYcbDcDcz29OwsdyWT+9qOMR50Et8gaopGavdud8+vCPOPwIFclsJ5d4WLaXptR8eBALvCCEW5oOGUxC7X/vz2MxiH6GOTJLVpInK4zd6sBTa0X6/4BhePuWNyDdL4kUxFFiTqZ1vIdKsEqfrshZ974cHe9g8NXsKLAjXfQ6mR8sWRKklg0r/KItCz1A08aAov1kfWcBqWesZkB/IQhNrApmrCLcIOl3VuFS/23cFq+tzYYSYfVgfi2iTcRmqn+nPXw1nBXSAchSc2erGBWQx71ROpCbIyvdtEnqn32P9Q/cUgxmiwv3s5sIUxyKWVUybcezFzh3qaN5ujQb1tRCZMz7fIWgMSFwFIZv0V2AZKGXVkcVJVBRDY9GdZXXdT1/7i8fF9b5zOycqt8+yeTCsjy3ThWQNd01E4IuydODt1lwhWeuZRhNtTGt+9Yf+E/LStpHmSx8VKrDtCKPtHkmdxy9OwTQThuF9laEn2TAEM2B53Tc3+SWAXrYAnnGe+5UBzc9o5QK2X45MePdHWGNdksqSZfIFrQTRtXl6/OSNjmd/dr0V9WPs6NbYueJRQ4s8MoB7WxS7qr0IKnmnuxKnp5S4O91C/coCMGhNWVc9ImIcJt3GcXmO0x4sIXCTbhyqALKP+pF0G8Q1fu1m+K79nLCk6rZvSDTY+J5eMI6A5IYTpgBJIv8jPcqERjmic2B1NYuUldDrekYIXVhHkiyWAbtAn6SK84cOq+z35yac8RKgu4T6/hPiW62kwC6Yzqm2Xg0V3G7Bw7H9WHc22Hz7rOSmaJiPcgXGzZ4z7mmtK+icidFxOWzlrnUYcL8mvSC201WoL0kORWxhqoGIiT7+g1aayDx0z20mltmoG8XejPFZBDd7mjZXzJXk5Ib/GP4/tRnrCAMO3TU5K3pIKzv950iSLUzoit6SpXzMC0lkT2k7Lp0HZmwiIqwGjZ56XHy5ic+RuvxXcfXlmsu5CFTRut5kiZn+h5ji3/rFYVyus505z1ENalxoapUWYgpAPvIndKYZpYRLGiq/p2FPZ9Ll6eoCmc/BquxCMcDsEe88QiLuqWA854XFhcrJRB3fEh1R4++420aBM/HFoyEMB+oj9KgxVE1rqLMlcg/F9MllU++u2ujBdSbGnyiaNsGup8A7V1pYkSLe9lvTqLZ2gNldV/0WUp9wdVWWDKB6bDH8NNiF9Ksq1g4fcRmfVoxuRWORjMqTQhHOTyECWlfC7bTumsDSZD8m28o/u8qF4+gJfZeGA5DC5y/cvjvzkP8sDYGPOctuV6BVnxwuLEAmhgejfiIbx95QMEsvaxAxTpNARguG8KS22PBy89V8xeLgShicysScbLyfzWn4hBmm7/mNZqsMSkQT7QP4fyuT9xjT1AtxjewUN1YQvekWsdPBvwUKiiU953zOdgnNLnIAkOTyczKwJv8ruVJt/TB69v6osMprtJ5YnMDbfZLoI4nkW07M88Q0hIZSI0JLj0/toW+87Yt236+hJX5e/n9089gEE= X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: KyYrvURBEgBKccUo5ZPN99x+hOUoM87Dg2HetmJi6gNahyJ6YeBzpLDee+vxWf1+rdGLPSklkfhZKLUWDUuB6aRjzqcIm8pqt02I1K9U+G/7Xz5LxmJ5VMw1IRkXbIrn8RsZi6vh4is5wEcWL4gzxfi1fyDUe4bLRA/efwGghkXiMcZq9sMds0CX7hP9+pyGhev46h1BT3dd5KqETJRQsRK5VCX3Ru7n9CrhvfUBvLUxph8k0kq5FMBKxi7z9uDewov6rFKMggrRzl6BdD4/QzDiAt74JyAuSaMUXxxXPTZZi6pZoQwoOANlbIZDufmXU/inJEAAel3kGq2fk1wA0/I3ZJseyhDF5teT/OIfcjNUqN9G/1tS8qtPd1h2YsOa1Qux6HilgoSYdu4P0jcqhJBgsHmlHEfAv51DI7eFDPSy9qFvH4reM5+R3llKXIP+bWTgGYthbooK8aFncxdd2j91jnaEQ3A/D9Ysay77Lu4erUS2RT6xibCu2ZQmfKZtH7Nqj9N7G+MowgkiMCDAImVT27vnvFBjs9PT+s11S2amb/qyraeWjmss4q+l2QXj7TLBmVnBerQg/vI851H0+/2O1qL+Bz12GsaRSHSOJ1NN7/Lk+wGufeWVTNKxOahDtL3y9kdwdS1I8GjE4TaBfH0A3yIN1jWvPc5K4QLWuTS7iD79z/1O7lBQ45QCuYy5jZhReB3dyEuRU4+Pjj7+cPV4Pn1NbGw9WFXv7vfANKSaqI3zACRJbFLSbsMnlUJ3sZzl09NQqaL5BgRRMgXx89zFkMgUZ6z44pwBP922ILDP6V3LVMhRmvsOi5SyEu0ooZa3ua/1L7g6n92dPSH6MPOuT6NiPC0vnyBcA0oyV7ZoA9chYsbhH9nCdYWaVzpMab/NBuNj9dPk90JmsbZ18K0gIueZdCBqeYWkAXMUDkN4ARokyR2zTP1EclDuczIBAGqyV6ZKP/mFk7kEbPndVxwCjJJcW7ePYWqy8wND4Hk= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9f299c86-0a80-4556-d288-08db1b63cff9 X-MS-Exchange-CrossTenant-AuthSource: DS0PR10MB6798.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Mar 2023 21:19:30.9119 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: lqDARJ9ZawAEGn/Sd365dRuYwMvO8pFDEcCD3wg8HriIaGsijfCw27NKldcqPBfOsrmXLAE6Q723mSyAg9hFcg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR10MB4351 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-03-02_15,2023-03-02_02,2023-02-09_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 bulkscore=0 malwarescore=0 spamscore=0 mlxscore=0 phishscore=0 suspectscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2303020183 X-Proofpoint-ORIG-GUID: rKzmmjjMZNo6GtpwHb3LiYpNEaVPyxE7 X-Proofpoint-GUID: rKzmmjjMZNo6GtpwHb3LiYpNEaVPyxE7 Precedence: bulk List-ID: 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: Seth Jennings Cc: Dan Streetman Cc: Vitaly Wool Cc: Andrew Morton Cc: linux-mm@kvack.org --- mm/zswap.c | 1 - 1 file changed, 1 deletion(-) diff --git a/mm/zswap.c b/mm/zswap.c index f6c89049cf700..f2fc0373b9677 100644 --- a/mm/zswap.c +++ b/mm/zswap.c @@ -1540,6 +1540,5 @@ static int __init init_zswap(void) /* must be late so crypto has time to come up */ late_initcall(init_zswap); -MODULE_LICENSE("GPL"); MODULE_AUTHOR("Seth Jennings "); MODULE_DESCRIPTION("Compressed cache for swap pages");