From patchwork Fri Feb 24 15:07: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: 13151359 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 0015EC678D5 for ; Fri, 24 Feb 2023 15:10:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229677AbjBXPKa (ORCPT ); Fri, 24 Feb 2023 10:10:30 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57438 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229537AbjBXPK2 (ORCPT ); Fri, 24 Feb 2023 10:10:28 -0500 Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 05604688F5; Fri, 24 Feb 2023 07:09:56 -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 31OEoRAF007465; Fri, 24 Feb 2023 15:09:18 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=uD4Cm7onBRqrJ0SMiRRvSqHMQQFPr+vOdtYmLM4NMT0=; b=2tyIEJG/MdW9VvBvM09JBwkxi8DYGwtZ19whVW1/nwQ+UfLplmqzZrZjdIQ7IaNegb2v PJp364jQwf8PrvulCX8Z7o7WwpOSUtQG6I8ghL11UubpkhxQOI9SV3ltos0WCYgCdrZ1 rJzZRLH4wkG9hd8mh76AVvhJynmdOKdRWeMuNIWUXy68q/+f3zldmB5o+Ib5GbyNphtr HsxiR/+nY9RlcneQPzBU3p/zaHhU98vbnSM+nujK1fZ0ZwXlKvSm/HeY6LmoWId9/+k+ dDpHGUZc2OqLlnWPYyu9Z38xX3Wfwsa9FutKwAAQ5M2OjdWpx4qKhTZFcO+DjiH+0QwT YA== Received: from iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta03.appoci.oracle.com [130.35.103.27]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3ntn90wb43-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 24 Feb 2023 15:09:18 +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 31ODh9Mf031681; Fri, 24 Feb 2023 15:09:17 GMT Received: from nam02-dm3-obe.outbound.protection.outlook.com (mail-dm3nam02lp2048.outbound.protection.outlook.com [104.47.56.48]) by iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3ntn49qna1-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 24 Feb 2023 15:09:16 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZdnNEVONbu/x795MbggFvaqz5g4PXfBZTM120wNcORaVUsSVYfkIeXnFgER1E38YJ8BhgJJzKi7iBzwONCoh25JDWnVWlBKb8lsesRushTyePZs+yPzm/8UiWej0SoPZQnToYnFpxQY6YS7qvvIvODJJtjQ4ZiNOZ5/zrzBY4sksidyvxztuwPJoVFjhL1QnNHWpqxz+NFk17WpvF32QFq8f+avLgUOm6EWETWjj+GOLvzT1N5esfpW4pyPY6mxRcbpahAVQxfOg2PjHjNWzJl+Wntv/oRRDshMApn4isZK9On3eXUBa2Z6xwcOA2UvK7B6nlp5wZa3bjabowZjV9g== 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=uD4Cm7onBRqrJ0SMiRRvSqHMQQFPr+vOdtYmLM4NMT0=; b=EmnDftrS20PUet2j/aGmrixIf8p/++4Qd4iikFkfsAH7741rqPq+uGd0dmbBfZ6yzJ47/wIQAVa+e5j2mjBKCZ9OCgkqGRvViMMpugetnOfifMoULBHgEJRQcw2Je2aMhLcTFLicNnJ4PW3YCRbKwyJVHbyeWx8bXpYMb/SFhXshOsuWtZ7/dF9cTnDokp3eg/vq0ALugQUXVyhKG5SOkGgDh+c/JB1N7r3k2AvvAx9TteaiJig4JXZeDsMa1dBPtC8OYdBXO1Po4bmtcC00PMtr1wJKOHrszdKV/zmwyfgrtt+NYcd4eTT6SckNESCQXAgZ7aTERayMqBpgcgwMkw== 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=uD4Cm7onBRqrJ0SMiRRvSqHMQQFPr+vOdtYmLM4NMT0=; b=uOmNbjqVjjgyXjsvFFDS3JhnifU6BjQK/XZcf/r7RHyS2V/vcMN8/wh7MCUXfPweIwdlIesqMWA7jGy9O01G62H/r5e1o2qMVQded3v0Bcfki8eeT8ZuhxJWQr2s8kghey3oE0M73OSeIQGtCG1el0V8njs64VuV4UG8AV5BUaI= 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:09:15 +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:09:15 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , Jassi Brar , Heiko Stuebner , linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org Subject: [PATCH 11/27] mailbox: rockchip: remove MODULE_LICENSE in non-modules Date: Fri, 24 Feb 2023 15:07:55 +0000 Message-Id: <20230224150811.80316-12-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: LO0P123CA0006.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:354::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_|BN0PR10MB5303:EE_ X-MS-Office365-Filtering-Correlation-Id: 29b6b5a1-812a-4c90-7db7-08db167917de X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: wHGnuOztv+wQWWbI/IgZbNXNa7ThcPSIkbQvZX3i8e2nrYm9zXgg1OECpbG0gihNHb8W1md79vSowY+0OpzZa4de58qmzCeSAle73KmUgJbUUDZfqNuryGcE6cmkefAjZ9SMBZIBQb72/tYR1rpUJ0KYCNjHCf1fKa3w+yS+RgVECINJMihj08v9Dve8/m62Q+N1IctVVJX+l68fdGU88xKJWYM8nBWFUJtWC+COgJ83s5QrtTpQod5f3jfO5dLvQGwQZg6XPtesNifRBES/ONmpwe4i05p75cA9q76uC4gX2eJXZ8Vi4tTY7b9433Atu90xuwU/TyJSs+YSX281InBtXA2viDtq+h9PUp7B5/snQlzJxgryn5Nlsgy/Z6gDXR/iS2CsRUY2WikFZc6B7/ARTQNwOrh680T0KZ7Y+w+7scGxBwJhfZPw3NzbLFzFhCwwVy2mpQahOg6rYhe5VMReksMcxIiHaBD5tgrgAXYLdP3hCJtYf6GzibQNF6y91Fg+08WKl7+Hi37+et0rSNXBdZZYU5GpL8jJ1m+vVRrKifxTKP/YppBiIOlScYVw4d+uaLBg5icO7GJR26q4ja03N0/mTCTAcqNJGYEpu2SH2gRUiAAHihHNZib6FoetEKoglIW7AOjqG6zFxLVLpA== 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)(15650500001)(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: uECHE4ovAeLUffAOzw4dMIiA52D1l7hHcHXbprCWWABTVv7CdeH/bmqX3q56eU8Kprz38JimDJDuFmhyXxpmrcEWLsTn6CIQrIrKKhohw/O1IHFZwIXCL883OXoGHblgTVfpV9+ssgw3umVvX1Q43TVsuWZVgTZ6u2gDRx93MC/bfY8GEqzZafDCbN9rYSTBhqszskfCNZse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WA3VBG8AUFfr+6MhLwVXk+/015yQ0UvBXP7OUGB+x0n2IIus9AJVzdDEPLo1MWQU7CMyEHcu+sFAmuFGI5a9E5LlLhajwyNtAsxloTFBQR3ksiQHtITCsYUprgrNw2uefOPZM2nEIvV9b+ud66aDFX6BXh4XNZMs3iw+3xUrPWWqSD2tWCxAZoy3Z8egXATsDRId5/K3ozJUSvmHFR2pW80LQgh1Laf6EpF+g0NxOLY3FqO9mmn9yMaQ2FCJr3c1FD8t1Bdy1SkbOl7UFGdq7skOUMBeU= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 29b6b5a1-812a-4c90-7db7-08db167917de 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:09:15.1462 (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: nEZFaO7Y48aWIPU/Eh6MPiKgCocgml29sZPqfTN4Y+xzVicww7WaUdScMnBp1sM0A1jgbSeSAp0cflb6HOCFag== 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 mlxlogscore=999 phishscore=0 malwarescore=0 mlxscore=0 spamscore=0 adultscore=0 bulkscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302240118 X-Proofpoint-ORIG-GUID: agZWTMsE4WXcnbZXykDGEQWgGBY3dZyQ X-Proofpoint-GUID: agZWTMsE4WXcnbZXykDGEQWgGBY3dZyQ 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: Jassi Brar Cc: Heiko Stuebner Cc: linux-arm-kernel@lists.infradead.org Cc: linux-rockchip@lists.infradead.org --- drivers/mailbox/rockchip-mailbox.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/mailbox/rockchip-mailbox.c b/drivers/mailbox/rockchip-mailbox.c index e02d3c9e3693..28d7bfee2641 100644 --- a/drivers/mailbox/rockchip-mailbox.c +++ b/drivers/mailbox/rockchip-mailbox.c @@ -254,7 +254,6 @@ static struct platform_driver rockchip_mbox_driver = { module_platform_driver(rockchip_mbox_driver); -MODULE_LICENSE("GPL v2"); MODULE_DESCRIPTION("Rockchip mailbox: communicate between CPU cores and MCU"); MODULE_AUTHOR("Addy Ke "); MODULE_AUTHOR("Caesar Wang ");