From patchwork Tue Feb 28 13:02:09 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Alcock X-Patchwork-Id: 13154943 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 2A9DAC6FA8E for ; Tue, 28 Feb 2023 14:05:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229792AbjB1OFQ (ORCPT ); Tue, 28 Feb 2023 09:05:16 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35780 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229481AbjB1OFP (ORCPT ); Tue, 28 Feb 2023 09:05:15 -0500 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 97F57302AE; Tue, 28 Feb 2023 06:05:14 -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 31S6AmYK015577; Tue, 28 Feb 2023 13:03: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=UFWKlYew+b3qB1pJ+/mpDLsrrSd3bvPfifDKdvQ5k/Q=; b=BAwjex2bXTd3t4nNokoHS1YqofYyKAcdiGipPu8LuvoTNYKvRBkfGbIBqJsSRXEyCe+l eZ5+FoMMF7Fl4aERTCc+mCmolgx9vuQ8QkCYByeo+/5FIdNSLDuMXA6HoN5N74rHkgPQ hNhy9dPk/nUI3CjHYCS32dslrwl+MDhuzYIiJF688dRyPv6Cwr46o1qkQ3nSrWtM4dp6 f//cVtpnQui3uUJDrtdNOPACaQeZtFNbvkBYxpiqKWnVJv71FeDXSv4dMXkXSGR7WwD0 QKiCq9KfHDA502gQCFn0DiHgLMM/dN/6X2nAcaGsjkIcWPBj3Om0AkdbhDoAukslR7z+ Wg== Received: from phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta02.appoci.oracle.com [147.154.114.232]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3nybakp6da-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 28 Feb 2023 13:03:32 +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 31SAkHVT013164; Tue, 28 Feb 2023 13:03:31 GMT Received: from nam10-dm6-obe.outbound.protection.outlook.com (mail-dm6nam10lp2107.outbound.protection.outlook.com [104.47.58.107]) by phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3ny8s6r9g4-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 28 Feb 2023 13:03:31 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VUPg6Dj3Q/pO5tUyisAaWOI86Szsb6OCfzWJBF+fP+OaSzsOcjnvrLnH4nVgE2ZaHeWeheGBQsoaaV8LedMel+x/piMe17psBKNIs/a+kRuMqABXjla6MhHgaE5iXWArILfg/S0Wnyi9j5ZzvL/K/lZzNrCp3mMNP5eQELyWH1T3hN4fWP+54/2S3Ga0VR2eeP29CCENh9JWxtKgyA8y8vhAruscZOv3Y0Q3bFqCJH+lqfGLd+DPBAkA2/Y5qmb+fmPawumVMpv7DuFW7cZEzg76PJ9L2jC9RoYyX1cUnOeRp9/gYpr4O9MhgAIJsWpmayPnCHwPVtId/E99UF3vPA== 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=UFWKlYew+b3qB1pJ+/mpDLsrrSd3bvPfifDKdvQ5k/Q=; b=mpLzrPm9mGAG2FUY02kLyg5Z3aR3ztgXF3M+s6/IHvXqzaZGYLEX9i7oHVCRmeFTKXDjAYYVGRVK+xKBJeVedK3Wjm4n2i7qSP2zpbkUVz4z0OUgL4ORrbzecw5nhq9F/5tCMbcgrftETSdSdUiXoBATpVhvMnyj+s5CQ44dcXn4DITTh7vIjZSvR9mh6ghxsOUcfUbsKFKczoWB9Elj9H00q70aPLS+a+A713xSU/ihUL8cKlOlJc19dTGa8E9yqDdXlyJfQ1kO8zcwqb51uMk1qlD2Mvnuw/0qIh4XXGj3wI1/ma/J6WqWWwu/G6RsKt27pU8AG09JBEJbGWC/9Q== 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=UFWKlYew+b3qB1pJ+/mpDLsrrSd3bvPfifDKdvQ5k/Q=; b=M7gZrwB3m5YQmLnVuaUOM1zrtpbvq4zS39Pqc0St+wb7fbQxP8v/sjflEst2dgcrM5hwDG7scJKcJnTCsh/5H/f8kkogrJoPbhZf4pKjcLwoBtCGQ56t1V2hU7eJLBZF43nAPrqvq6alOyKvfegooGyIhhliuMSr46MFy4FUG3I= Received: from DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) by SA2PR10MB4763.namprd10.prod.outlook.com (2603:10b6:806:117::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6156.17; Tue, 28 Feb 2023 13:03:29 +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; Tue, 28 Feb 2023 13:03:29 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , Daniel Bristot de Oliveira , Steven Rostedt , Masami Hiramatsu , linux-trace-devel@vger.kernel.org, linux-trace-kernel@vger.kernel.org Subject: [PATCH 14/20] rv/reactor: remove MODULE_LICENSE in non-modules Date: Tue, 28 Feb 2023 13:02:09 +0000 Message-Id: <20230228130215.289081-15-nick.alcock@oracle.com> X-Mailer: git-send-email 2.39.1.268.g9de2f9a303 In-Reply-To: <20230228130215.289081-1-nick.alcock@oracle.com> References: <20230228130215.289081-1-nick.alcock@oracle.com> X-ClientProxiedBy: LO4P265CA0091.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:2bc::8) To DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR10MB6798:EE_|SA2PR10MB4763:EE_ X-MS-Office365-Filtering-Correlation-Id: 57f468a8-8abe-4a9d-5719-08db198c2fc2 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: lK18xS0xqi1Zrdp+W5mfBskY4bGg8DozMlFXDz7Kt4rb0WdAA3NVMfQ1nL8PSQbZfza9Lk+l32jw+PYMpBvnBmVEcmOfaAUJQG6FcSSK/9aLu8mmeW9sg99RNLvib9W5KI20eteHeht2aeGuuHYqDsL6DMnsGQ0FcfIitAOm9tx3a3NN2NXDUfTUXOsxKgDMZ6GAXug4jfwuGYLdBUmhhBH21ND8U3FTA8KtdHDvRGmPEWe7sDPgi/NUaUVPAQ0Bh2QoVrWVuAlnS0Q0ahFF1oM0xZap7HmAPiDuTKlfxhMw/zpxcB2HiA0Lnr3M4AiAtihhLWMIxe75noOZWSzS6lHo+CsdsjUExxGr7Qo0sqnJxgUKH7GIukEwp3bQ1vkIXZiFf35m1puLgQZhJKQKAaMWVHOa4jyDMKpLgDh5+PKrZTS9ozDDRXBD1tXOCo+yXVH8TbMHKr9xyr4KE3L2CM+zKWi+gQhhn4u5y+wigcS+HAQ0LCihZ2xFntz++pIdSUrq+j8R9mUy7Pu/+0KFXQrvx+I9dgODP3GVxsoF/e3lBxbjhU7jLGNP69UjTx1CJsZARXhY78eg7ZquELPc4P+zdM6DLRyVp+nZp8Deiq5MSZOPMmm4pRqzXXSutD1FFID6BJOXdgm88RjCL3Z9Gw== 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)(136003)(376002)(396003)(346002)(451199018)(66946007)(6506007)(66476007)(66556008)(6666004)(316002)(6512007)(1076003)(186003)(54906003)(2906002)(478600001)(86362001)(6486002)(36756003)(83380400001)(5660300002)(44832011)(41300700001)(8936002)(8676002)(6916009)(4326008)(2616005)(38100700002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: syr5HErA10qT0nGE4EFxfs3Jn5ts3JsMA5GLrtPuw2AISDKdPNny1Dk3aSWMR8y5fDeLb9ToE1xgEdRV9tu2OpFG+nqvkNURI/AlQQFcIq1Hw9KIbdj9rR8x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6i3/ll9uplIrJVwkhZ/eleNEgEb2gMB4tQ6W4aCPVxbFCvBv3rixmyOwWEC2TZu62G/iD7pOJaXlmwwLvxMEzEQmASZ7blxrQD2fonv8xEoPvBzI0GdJIFKgt4rPMLLYCjq/7PepFbvhgTkfeMARSKBFcfbQj28OCDAud1enqFaOQ/eeIB7533j7+VV0LlJQ6J9gDaagQN/QAXe3YyjwZzWjVXyO7oN3pTc9UUbJuVuRR4XIxzuQk3dOkjDdp91InmiOfAI5s/+Y7Ngkp5RnxpSNu0IGCVHxqj3PtEEoxh0KPJ7gDhqO60jweN/bxSRNrEzhvU= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 57f468a8-8abe-4a9d-5719-08db198c2fc2 X-MS-Exchange-CrossTenant-AuthSource: DS0PR10MB6798.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Feb 2023 13:03:29.3094 (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: huK8cmgv5lAXs2PYRqdmO1s2Phl72skYl5AXBLvz0ix89ZQMOgNCUQMY213fCfyejqyEcVdbGMDuqvaLF1az1w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA2PR10MB4763 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.930,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-02-28_09,2023-02-28_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-2302280106 X-Proofpoint-GUID: uaSrCwNcUKCj6lEX_9rmKpl3B4G1wHLj X-Proofpoint-ORIG-GUID: uaSrCwNcUKCj6lEX_9rmKpl3B4G1wHLj Precedence: bulk List-ID: X-Mailing-List: linux-trace-devel@vger.kernel.org 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: Daniel Bristot de Oliveira Cc: Steven Rostedt Cc: Masami Hiramatsu Cc: linux-trace-devel@vger.kernel.org Cc: linux-trace-kernel@vger.kernel.org --- kernel/trace/rv/reactor_panic.c | 1 - kernel/trace/rv/reactor_printk.c | 1 - 2 files changed, 2 deletions(-) diff --git a/kernel/trace/rv/reactor_panic.c b/kernel/trace/rv/reactor_panic.c index d65f6c25a87cd..0186ff4cbd0b4 100644 --- a/kernel/trace/rv/reactor_panic.c +++ b/kernel/trace/rv/reactor_panic.c @@ -38,6 +38,5 @@ static void __exit unregister_react_panic(void) module_init(register_react_panic); module_exit(unregister_react_panic); -MODULE_LICENSE("GPL"); MODULE_AUTHOR("Daniel Bristot de Oliveira"); MODULE_DESCRIPTION("panic rv reactor: panic if an exception is found."); diff --git a/kernel/trace/rv/reactor_printk.c b/kernel/trace/rv/reactor_printk.c index 4b6b7106a477c..178759dbf89f5 100644 --- a/kernel/trace/rv/reactor_printk.c +++ b/kernel/trace/rv/reactor_printk.c @@ -37,6 +37,5 @@ static void __exit unregister_react_printk(void) module_init(register_react_printk); module_exit(unregister_react_printk); -MODULE_LICENSE("GPL"); MODULE_AUTHOR("Daniel Bristot de Oliveira"); MODULE_DESCRIPTION("printk rv reactor: printk if an exception is hit.");