From patchwork Wed Feb 22 12:14:35 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Alcock X-Patchwork-Id: 13149092 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 54317C6379F for ; Wed, 22 Feb 2023 12:18:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232019AbjBVMSF (ORCPT ); Wed, 22 Feb 2023 07:18:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35536 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232018AbjBVMRo (ORCPT ); Wed, 22 Feb 2023 07:17:44 -0500 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9CED83B3C8; Wed, 22 Feb 2023 04:16:43 -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 31M8xGBZ021515; Wed, 22 Feb 2023 12:15:52 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=l+F2KFQMUog9lkNSpQT6WWttm0AtexdcMutERVRbWX0=; b=HfD1eqkZYmhb5U/78tD5XvfCPpRGe76RDOMqyB3BfBGJzJ/dq5ZyIizOL7WQUts+DvBQ 0he9Ba2YVGAjy57bEU2+xp/FKMj9abPoAN345CgRVwygQkGkiqcP6PMRCCEa7kq7oc17 AHmKmAn2Ln/JdKWA6H7ii7Ck5nn1sRRRDEtQqXbxNJ5GbpT+uYY+bf0Sl+Yx0nEAcH5s 0fu5WfsHy6fkoINja0vYoqhYZA+Mx8bhqAyjbDaAtLR5YJCszSoh72cgHTQ6/gBd2YpX OqLyG+enFbbmg/O+KobTzA+xKf1+B7dZLBd3Z0Wl+TBwIvRV1wBmmvwKBCWOAvenYgOD IA== Received: from phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta02.appoci.oracle.com [147.154.114.232]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3ntnf3fq6e-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 22 Feb 2023 12:15:52 +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 31MBejir027290; Wed, 22 Feb 2023 12:15:50 GMT Received: from nam12-dm6-obe.outbound.protection.outlook.com (mail-dm6nam12lp2170.outbound.protection.outlook.com [104.47.59.170]) by phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3ntn46qyfu-2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 22 Feb 2023 12:15:50 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=iXVgYmuqR7dvgILptsxBZGavx7VPuyW86JBTXC2xTw8LwEma5JYj3ictdLnJSOPlbenS5m2qWa8nqiQRbZ7OM/pqDiKLWMAZ4/8wPuyXbK2+2FVTyK/eROyasgIv+6zhfjAGCE8l8qhj48H/C0Ww+t3bKy8VIxKpgXzLURVg8QylOn2dp/V3wGzHtCM9hSyxpkdt0vzNUgfBcRqqCYhOL9l6lpJiTKT6MWweN9yVZ3hu1qaCbFP8gzjTCo2plFwge21vLtvQs1gAgXFnyARZaY80zbM+lTMd6HXHnLHh6xwjAFjgvemPjQ2w9d5C6toDwONmuas6FDa8+ihY0XWNFw== 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=l+F2KFQMUog9lkNSpQT6WWttm0AtexdcMutERVRbWX0=; b=dOAEolK3uT618AhrdOK1FA/mKQgWYOX4aA7tqXnze8tUwielhPenhUhLwy1NDl8fw67riw466zUDDSUSFNc2gcLnvYwaVI4Bt3EwHbS36z1/9OdzEPyGIH/CVWQ3ALRPLlsQj1oUgS1Im7gnfQEXwy54N1xIzVMqTWHtlPFuvwAQmjSquJqMYjS7ewvkcF+YLHEP2yPhrZNRIu1NVEX56zz70E4z0sNy+0I8SBa3MnkrxiCX9Ad/XU2ngC4PxBIUTOz1JjCGtbLUfDeaA2JibxbpOW6H0yYbSw8C+BSwWpN2vfN4UqUOWDisASIj8wkGNEIy9zNG5MxHnTgeGKYjQA== 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=l+F2KFQMUog9lkNSpQT6WWttm0AtexdcMutERVRbWX0=; b=mLKxg1mwlUCVbxyIAOvRpOoIy0l+9OEI7I1aRgWoVxBciim8X1yol7gAgrSRa4kVeiEX5PC8C6a51vBCFUgQd4lvHHJ45sy6hcf0oc6PsWhmYYE0mzNJcf7FqKjfU4TmggLjclr1mL715730Ql9do4jwJyKn/cnBVI5ItlP34rc= 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:46 +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:46 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , Daniel Lezcano , Thomas Gleixner , Thierry Reding , Jonathan Hunter , linux-tegra@vger.kernel.org Subject: [PATCH 09/27] kbuild, clocksource/drivers/timer-tegra186: remove MODULE_LICENSE in non-modules Date: Wed, 22 Feb 2023 12:14:35 +0000 Message-Id: <20230222121453.91915-10-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> X-ClientProxiedBy: LO4P265CA0233.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:315::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_|PH8PR10MB6412:EE_ X-MS-Office365-Filtering-Correlation-Id: 8bdd0877-5932-408c-17aa-08db14ce86c7 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 8wK4cvbF/w4KnvGgGWqjXx8+8WcXLFEla3p/xKayKr/GK6Ei8bsuA22gh8sHYq3NhUvPBDRXztENI96EgRcIZxoyJODKAWiqzk0r1NUlVl3v3jdSJLqcsMF0T5CwnVLmoNUbp/KjZod9FuoIXpJ1RQ953w3MwHkV7h+LXOkUWP0xFiafX1hF3DbSwShWpdnPre/o6VWRsCm+j/djH9hDbzqo564V8azvcYk/yxF2JcwPuDOtYxRCDhNA3cWa8VBQHJaX07cHj8KhbwGPwvN6LmFr734hwWRzKPVdWwfpIIcOgDGcyZynMtlOFdCr14eQ1vvVicSBoj345vZNWpGA+G6Qbesg3IwXigSRO8XZ/uWZOchHOAU6M5Hkj7Kg8+b5LFUXNKg9VPwThPliJRDMGvGK21NqmvM6hYEkFEVWeMb7cf///HPLJC5/kqY6cycK3m0oFAbOOyW/XamcOv4vRE70s00N9oAQQ1yiI/nkhuEOvbs4UD8Gn4E7MJb4p40B1LkM3upyIJDQkfeV+BWFrMfwoM0Z4P2Nv6H94BWJbG27ajj9iTXWET9m3BQICghASUAj5PYc/i9K9LuTHhKorluWCZhlDVk/Rf/hkQfD240lWUrwJxwWdSehELTZlcL4YGc4h+IVABN9h+VJnN87MQ== 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);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: opIMhKcbQMuN35PVG7f4F6aqWqlNGf21I8orD9A6W4Zus5uuleE5H/AvZvqCPpgzQWEKG5OxWcIYPHfnra9rGsVDh0aBgHjeCyPGsWY4A580WMYkTw1YBH3Xe5z+8xHXomb/8n+PDZ9ykyVqtnLQ9r4UE1+yprsdbJnqkXwUT0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qMKb0eYG29gFz6Hw4CzHMZgfnhrBS4JNssSRsI4IkLQDyCLkl2HgkJf8Gc7D7QKXHxxfxRRYfGfHEvqM+BH4ljdUvnC2peiolmK7Qqhyh8S/KO1nB2i7nn/JZvp5QK17JQ2OqF7cLeF9lYpLrhGxFjsr9hDQDe6MO8Ut+pM5boTeF5sTyujE6VKRpRrvBPZHd6S/QygntVBz+Q5AGySL3ujdts/KwonUWtgqALjxWy1S2jka/74gve5skdYbmh6yHLASq6oBXjgO57qwticWe4/ZsecVryZZtfsWNItYJ2ZInDSaNBiFlIZibtTVtyWKllgeUH3MX9MrJF X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8bdd0877-5932-408c-17aa-08db14ce86c7 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:46.1164 (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: G6Lz2IjCYm1s4oLkYN0wICL5qN4JO9CUOdT4kVY7AHuu7uTbI0S6S/+HKgV5KbpYSxPPvySY2o9bWIDpR2xxjw== 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 adultscore=0 phishscore=0 mlxlogscore=999 bulkscore=0 suspectscore=0 mlxscore=0 spamscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302220108 X-Proofpoint-GUID: uzwDNrt2HB4KFR144RfIpPM7mdmchne7 X-Proofpoint-ORIG-GUID: uzwDNrt2HB4KFR144RfIpPM7mdmchne7 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: Daniel Lezcano Cc: Thomas Gleixner Cc: Thierry Reding Cc: Jonathan Hunter Cc: linux-tegra@vger.kernel.org --- drivers/clocksource/timer-tegra186.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/clocksource/timer-tegra186.c b/drivers/clocksource/timer-tegra186.c index ea742889ee06..0c52c0a21830 100644 --- a/drivers/clocksource/timer-tegra186.c +++ b/drivers/clocksource/timer-tegra186.c @@ -511,4 +511,3 @@ module_platform_driver(tegra186_wdt_driver); MODULE_AUTHOR("Thierry Reding "); MODULE_DESCRIPTION("NVIDIA Tegra186 timers driver"); -MODULE_LICENSE("GPL v2");