From patchwork Fri Feb 24 15:07: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: 13151346 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 BE9A2C678D5 for ; Fri, 24 Feb 2023 15:08:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229481AbjBXPIo (ORCPT ); Fri, 24 Feb 2023 10:08:44 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54452 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229470AbjBXPIn (ORCPT ); Fri, 24 Feb 2023 10:08:43 -0500 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6ECDC2E0D7; Fri, 24 Feb 2023 07:08:41 -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 31OEmweP024913; Fri, 24 Feb 2023 15:08:36 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=a/hIjJFG2ugdFyvjCw00qDtaAiyJHaKEBHcEXTRhYi4=; b=o1dW6jt2pExbMWO6nQBFl10RNA/vDCbh3wbnUC3nIRoR1xe38Jv3qUFbFiXGLM8qQfCH khie4B/BTg7ACifpXurBL3BH1XSu+788GfHIQIc2Eb8vGb3B1nAl/gSGEv5xekCtGLu0 Fl0m02sitoWeeePhPYbqB7nxVk+x3pg4yL7wi6MIS0fCk42xKP9QgZewcVoGzrFUjIWR CEEdBImUOsFgGAcgo1qd7+3C6ST0oIJGdt4hauegBEvHKRzjdneGhBX9SFTDe7OOA7YG 6nkSy7Jwxk7mzf2+RIoV9hvhwjumoXoCEsoInPfweQvLpWMmdfvx9xhmddDHnXRjiSxi 3A== Received: from iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta01.appoci.oracle.com [130.35.100.223]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3ntn3dwap9-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 24 Feb 2023 15:08:36 +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 31OElERX000671; Fri, 24 Feb 2023 15:08:35 GMT Received: from nam02-dm3-obe.outbound.protection.outlook.com (mail-dm3nam02lp2043.outbound.protection.outlook.com [104.47.56.43]) by iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3nxsb4dtca-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 24 Feb 2023 15:08:35 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ThLcQEgDI4UuP4rZb2aYIqPQJRf1EczTpuFz5RN0NKOKmJ3X2hY8jn7CsUL62sYUssp1AQePBUyUGUo9pvtZu1hBkbyjfEKXYQr+fxsz4gKTaXYyI0Ia/FZZcfB2/tgPyXnul/j5HT0QvvMJFRRmffg6aPlIkw0DmINCaqcmQAxhLCar6IjlCGBLISYvMNGQvnqsHx2U3/ZpjRsTadMDzx4v8sifvIsEswIyA0ZWRZS5gfo3isADyKQ3KqYo+RCLy7ttNEmuAT7jye90wUa8C+mp2I8JdDAoavnrxqr19LCEbj8e9UjceK4Ct5NySbJb+XZmON7wjLpjofYPoUamKA== 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=a/hIjJFG2ugdFyvjCw00qDtaAiyJHaKEBHcEXTRhYi4=; b=R0y+3C8WzTreOY0/XbanTdbRKi9+omos3ENTQYuitH6Wr7P0yOTjuDbGcYbgNxKj8e1L7tzihBb6iomvf15SeS9gOFb5w+2ReI4R/3AcHfdl6QSWUNAqU4VwqIFnmGze1tQY2N6leMUeb716ELcK7+UIj/vclt6stC253vOoaWzeDkxMcJAWydhgNKuI3q8oA/yZITLOOiI/X/gapnI5hRrtvZg4R/55URiySEJ6VAOjUQycvC+k0YfuTl/Ub5vkrr+jrWgta6kzRzsOpwfzWXl1aE0kt5StuGfyzvVyZMhEdc3p7+bNGzMP5naJTwgcn+O18ri2p2/oV0EmEGzHzQ== 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=a/hIjJFG2ugdFyvjCw00qDtaAiyJHaKEBHcEXTRhYi4=; b=PWoOwh1BsgAUOkEGsBWdGJegc/4QaRk0tdQF7J+gvPjyGvvune3BJPSkrbvieF+sp0JnxYrDtTcNUxQgNV9REu4leXsl+IYX9CeA+QYvuTV5NSpre1ZPk9pvOqjmD3epxL8J7AEgGKmr1xNmdrWuOBSEBna2kHxXyMcnkWjFns8= Received: from DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) by BN0PR10MB5303.namprd10.prod.outlook.com (2603:10b6:408:125::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6156.11; Fri, 24 Feb 2023 15:08:33 +0000 Received: from DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760]) by DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760%3]) with mapi id 15.20.6134.019; Fri, 24 Feb 2023 15:08:33 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , Ohad Ben-Cohen , Bjorn Andersson , linux-remoteproc@vger.kernel.org Subject: [PATCH 02/27] hwspinlock: remove MODULE_LICENSE in non-modules Date: Fri, 24 Feb 2023 15:07:46 +0000 Message-Id: <20230224150811.80316-3-nick.alcock@oracle.com> X-Mailer: git-send-email 2.39.1.268.g9de2f9a303 In-Reply-To: <20230224150811.80316-1-nick.alcock@oracle.com> References: <20230224150811.80316-1-nick.alcock@oracle.com> X-ClientProxiedBy: LO4P302CA0009.GBRP302.PROD.OUTLOOK.COM (2603:10a6:600:2c2::17) To DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR10MB6798:EE_|BN0PR10MB5303:EE_ X-MS-Office365-Filtering-Correlation-Id: fe261ce3-2c85-4b8b-da63-08db1678ff28 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ff2TrswJ9Gm+u0vbjIXtX+82PtPf2dBaT6A1BisNeRzWgzha47V+gBoDFYUbU2lQmrXtlxIob2pyrXwqBvOOv2uPRcv9G73vbtu+59tZIqKWWcxyNtN965FyR/DNmpn7edT9HmRxRJpFRj38IpqFvCkrchpaQ4amh/IoPi1raqJkU+ApvtGSdgQAoruidnGgJLJq1vK9ygJWBgvrlr9UMlVWp0vz1foZQazvChsxSESY0F/muK/jTfWgE15mRm/QEm7SG/QkJhnDKBSdpgranq9F2RDIS2Eo1unPH6bKYxts6WtmCgu1+RhGsAaBZDmk3KtVqGY5LEGaMfhFCswrlQ3gHDbpiIoKsjbYLybJ9E8zG+N+OrT4djK4BTCrGSqy6mMp7tffceP3O+1Hm7LDRB/rHIWR6DrNqy55Kx05e1y3N7M1+wP1qKB19oAAgv7gMMjYeY07Ec5CYAS5S3fZ381HkhCsNAPfY55akYxt6NnmAE0qG/DWoFkuOXP0QfA90lqhsDZm+yfucJ7enjZ3vnZ/nX++uvP7ZxAKj5lQa47F70j6Ng3IcoEaH91LNRTHsX53zm4k0JAB+zryFxpHTs4fmWJNY5xDVHcF/3M4Gw5b3NEjl1XJjeoJWqvUV+gXn3K6vl/lwxbioHJ0aTfqlw== 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)(396003)(136003)(376002)(366004)(39860400002)(346002)(451199018)(36756003)(6506007)(83380400001)(2616005)(1076003)(6512007)(6666004)(186003)(8936002)(41300700001)(6916009)(4326008)(44832011)(8676002)(5660300002)(2906002)(6486002)(478600001)(66946007)(66556008)(66476007)(54906003)(316002)(86362001)(38100700002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: uFVO4RA4ZITerCrYNtaRjiLpztQr7niBTjeA7Wf6q7LO4Z/IixX5NGVj2ViVcMU8teGofDng4Tye7r1Wz5aBH0IsFoEMXuvCuMVg+ZduqGpNm/TFZTG/V9mZaZF5tLQTo6sONfZP0Wy/ZhN1EXDf6V/3fjYnAKqMOvX5O4z5luGsxphnK4rFcdL/Jeh98DRS1g5K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8Q7W92XSm1kkNiIDVFAVqHGZN8UG+8VmKvJBQjHpDrEnvPjATls9ldn6G1dsreF5XbVmsT8QVMUfAIiAFwsScpRno49JCxLP0fuCfqIOgx767lJKjZ1vw5rtLfLLFWIetVmx9LYLy5rjw8M/S2lJHo2yqKoX478eTDyA9KsvZCNk3mdqsQeLYf45/RWtSuhtDb7E+4= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: fe261ce3-2c85-4b8b-da63-08db1678ff28 X-MS-Exchange-CrossTenant-AuthSource: DS0PR10MB6798.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Feb 2023 15:08:33.6748 (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: hhpSOt2e9GEc5fk3SBLCuP2ddrWwjnQikL8QMFeV+37HdJEQllTtaVueFCM3WRhseQFv3bmBSPFcl0UvkHA35Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN0PR10MB5303 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.930,Hydra:6.0.562,FMLib:17.11.170.22 definitions=2023-02-24_10,2023-02-24_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 bulkscore=0 mlxscore=0 spamscore=0 malwarescore=0 adultscore=0 suspectscore=0 mlxlogscore=999 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302240118 X-Proofpoint-GUID: 0AGtS7ZHa98FnQvsQEPxkJxSl_8c6mQa X-Proofpoint-ORIG-GUID: 0AGtS7ZHa98FnQvsQEPxkJxSl_8c6mQa 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: Ohad Ben-Cohen Cc: Bjorn Andersson Cc: linux-remoteproc@vger.kernel.org --- drivers/hwspinlock/hwspinlock_core.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/hwspinlock/hwspinlock_core.c b/drivers/hwspinlock/hwspinlock_core.c index fd5f5c5a5244..5048e95c1413 100644 --- a/drivers/hwspinlock/hwspinlock_core.c +++ b/drivers/hwspinlock/hwspinlock_core.c @@ -949,6 +949,5 @@ struct hwspinlock *devm_hwspin_lock_request_specific(struct device *dev, } EXPORT_SYMBOL_GPL(devm_hwspin_lock_request_specific); -MODULE_LICENSE("GPL v2"); MODULE_DESCRIPTION("Hardware spinlock interface"); MODULE_AUTHOR("Ohad Ben-Cohen ");