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 84A48C6379F for ; Wed, 22 Feb 2023 12:17:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232069AbjBVMR0 (ORCPT ); Wed, 22 Feb 2023 07:17:26 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36730 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231955AbjBVMQr (ORCPT ); Wed, 22 Feb 2023 07:16:47 -0500 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 580793A874; Wed, 22 Feb 2023 04:15: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 31M8x71v004011; Wed, 22 Feb 2023 12:15:41 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=einJNSaaRE9UiqjO6wclI/53/W+AQ/UPoWK/8Ldb7fM=; b=YyM5rQ4krN7dp4BjBZdYhLKMPb6DDWDlo+AGFKFJRDGKuQu2y6ffpEhanr90HOmZZ9PA X8YDXA049ppsryrFWxXKi8BjK5pKmAqwYLOpdt7YpVoUpky7lzLNKErrmka2mBXHYI5Y sJZ0fMmRfBgzGzBa6soF+/OiDeCdjw9obYaWwwBILGiIRrsWPcaXTjcZ4fcJe1kj/PM5 cxccjowbdxjKsjJTeO6C9grRFaZOylhfalXXSAjq99Mvbldlxct8EncbvERxodX8uHgi doeWPqF/6xynnR4bE1nsvwy30Nr/B5DNml/F27G/MVbu8vCWUmP54LLIphgKvJaZr578 /g== Received: from phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta01.appoci.oracle.com [138.1.114.2]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3ntp9tqqxu-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 22 Feb 2023 12:15:41 +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 31MACWuV040932; Wed, 22 Feb 2023 12:15:40 GMT Received: from nam11-co1-obe.outbound.protection.outlook.com (mail-co1nam11lp2175.outbound.protection.outlook.com [104.47.56.175]) by phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3ntn46fve1-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 22 Feb 2023 12:15:40 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PBXaIONDCPOKBBsoaR6+KZMRpqKWZc/oQHswjYY3rgUSaWpJWslfGbLxjo1dgDI6N57LM1qUx+kAXrtuzP0FmNaJHQbMJHy1027BVHq8o+w1VIlyeRWl2AgiXYt2548y3gjRmZx9BLJAcHa5G0jH46YeZBM0xFrPvd2sDafwfHAGVHkikBzPGj5j0UKBtZvuQ3qs//ePzuewvYx/XhD3iP3RhvX3l4BKWaBUxY4scLmV2qcjeLOb+LhbvxSw7JZBwqAdi3VilvBHo1iw5Q5Mf4o4DtENkisuO/foatTED+T5h/radcyT/UgQAIyRwLkkUIbhZi+i/+bX8IETc9hOEw== 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=einJNSaaRE9UiqjO6wclI/53/W+AQ/UPoWK/8Ldb7fM=; b=IQ+VUJQHj5qnNRWO2j3t6tCMfSc85d8ABP/P7QBveEvQzRcFHRu6jaemIyiAt6kDbqwIgDioCqPVcLIiiSdXdvci6X0k8ysguDUCLKbUyOiQqbX5zqdK815nf2a63Li5or2wRy5XXZv8iVInd/XQUyvgrDqwNjIwi7NJ3J4rFuJh+UFQPcZ7mJcuaY4QUvP1Mfe0t6HCcJ6cPtunjtxb58aptDbyySevPE5UlFnC+MrrpR/vx+HWZVq+1F4Qq9koMR+RejzFsKaGqJJ+pzN5kBfPDRQiiu6uQYo/G8ttRP6pXQGZ5uvpsNVMKZlrnZHlgAVWOllnky3Y08jxNecdng== 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=einJNSaaRE9UiqjO6wclI/53/W+AQ/UPoWK/8Ldb7fM=; b=DspOByqnnJIuvKSM2rogQFvmMAX6qo+W9eg7AScsR318aEWzNseeGxlvt8tiX2mz9R8tTCZEXoRB8FGtN/14Ho/sK9um0K+BsdhW633EgSy5wfs9FnWn6cdPLWzrk93kzMz1ndbdxgT56GS9dXuXmbqyROKfOvlxwq3yR0K3Czw= Received: from DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) by PH8PR10MB6412.namprd10.prod.outlook.com (2603:10b6:510:1c7::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6134.17; Wed, 22 Feb 2023 12:15:38 +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; Wed, 22 Feb 2023 12:15:37 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= , linux-mips@vger.kernel.org Subject: [PATCH 07/27] kbuild, MIPS: BCM47XX: remove MODULE_LICENSE in non-modules Date: Wed, 22 Feb 2023 12:14:33 +0000 Message-Id: <20230222121453.91915-8-nick.alcock@oracle.com> X-Mailer: git-send-email 2.39.1.268.g9de2f9a303 In-Reply-To: <20230222121453.91915-1-nick.alcock@oracle.com> References: <20230222121453.91915-1-nick.alcock@oracle.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-ClientProxiedBy: LO3P123CA0031.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:388::10) To DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR10MB6798:EE_|PH8PR10MB6412:EE_ X-MS-Office365-Filtering-Correlation-Id: 2a2f6b85-b572-4724-65f6-08db14ce81df X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: sFdRSpcaCb/qk+7sUwsLpTrB8EmtdFMeHKH6+XpG3Q6JMOICyjLnFOtcBwp6Y1aOU37gke1TzoOwG+qpSwSE6YJKZ+l4C83EHidmIWdYllY0gHmOW4c1BcspqI1LVOJRbREUSArA60txtPm8C/ZLAJJmL/+yNsgkWKNxeagJLXEV62KWOaVMyc93Za9BU4yqKjgeyvtzNq6Ha1I6Up/4N+YZSEnFeX3WIh2OfPa0JtAM8P1Aq/hTtu0OgfLxxWhh3NeIZ53m9V6vHNbH8Teo2j3/YuqV82sfGZtLU4ALGq1w1o5oJbUk+dJW4mnTPIwONXYELAN5VtM6SoU0QDgprHMOQMfoOL0fW8h7pTZprLSeSTq2vqyuGWr8yvbUGDbSf88lxRTPRyLTw3Vc4dE6xyLQZg0YBxe6SuWBgwNHORP06vVlKMp2E0hzyxuTEvyivamXSfcd5TSNY7vcPlOG5BVLQCbB8b1ufvriLx6s/PMsUVfcl/fyriopIqN6/lsVSlQ75Go6Epw1BGRQrBiJJ9rZz0BmT8CWJAY0aG//vi5okGBDcCETPgYpSsvD58YDPvbbleV/t3emi/tFAU30kp+NsaZU47HctX8qahAVFVFgNA5VhK711zBz/X/E6Ci0sqFz1OuXwhy/tYLOV08qyA== 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)(346002)(136003)(366004)(396003)(39860400002)(376002)(451199018)(478600001)(86362001)(54906003)(2616005)(6512007)(4326008)(316002)(6666004)(6486002)(1076003)(6506007)(186003)(44832011)(36756003)(5660300002)(8676002)(38100700002)(66556008)(66946007)(41300700001)(66476007)(8936002)(83380400001)(6916009)(2906002)(66574015);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?cFlTbm1tTDFNSG5Ed2V5TjJJaWk4ZSs4TEdjTFUyQTFJSUdzMDB6dVh6ZzhP?= =?utf-8?B?S1dTcGtYV0ZyNWtSeFhMM0hxcmJiUEp6SlVaOWl1TUtOZ3FWUkhuYUlQWndm?= =?utf-8?B?bkxsOFE3cGF5QzJaYTBUMDhtSmQ5Z0Vjb2JYdDYwU0FES200YzMrcWVHak5v?= =?utf-8?B?WHhCRTlyOWNCRkdSNzdEa3pLc0V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7Y6ui0KJPx8y7oU9SfNOH8/GrG5LygOqCUAGoU/IBhntnXHfhcOBYV+M2Ty+98epQwgQal2GBiupa648vhc4ik/nUpto50AVWdFh4hoEIB0= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2a2f6b85-b572-4724-65f6-08db14ce81df X-MS-Exchange-CrossTenant-AuthSource: DS0PR10MB6798.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Feb 2023 12:15:37.8714 (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: /ZHDeFoHST72XWHnDOOxTh3f22kDEkAWqna3s0qUn20N2hZNwCTw0ir8ND7xfWU4NmwCfAhJ3IJxLokegJn6dg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH8PR10MB6412 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-22_05,2023-02-22_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 malwarescore=0 spamscore=0 mlxlogscore=999 bulkscore=0 mlxscore=0 adultscore=0 suspectscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302220108 X-Proofpoint-GUID: tzRgBJQ5qvzCe_pJQM6I3JepKsOaabgv X-Proofpoint-ORIG-GUID: tzRgBJQ5qvzCe_pJQM6I3JepKsOaabgv Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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: "Rafał Miłecki" Cc: linux-mips@vger.kernel.org --- drivers/firmware/broadcom/bcm47xx_nvram.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/firmware/broadcom/bcm47xx_nvram.c b/drivers/firmware/broadcom/bcm47xx_nvram.c index 5f47dbf4889a..0ea5206be4c9 100644 --- a/drivers/firmware/broadcom/bcm47xx_nvram.c +++ b/drivers/firmware/broadcom/bcm47xx_nvram.c @@ -255,4 +255,3 @@ char *bcm47xx_nvram_get_contents(size_t *nvram_size) } EXPORT_SYMBOL(bcm47xx_nvram_get_contents); -MODULE_LICENSE("GPL v2"); -- 2.39.1.268.g9de2f9a303