From patchwork Thu Mar 2 21:17:45 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Alcock X-Patchwork-Id: 13158013 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 4E207C678D4 for ; Thu, 2 Mar 2023 22:57:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229644AbjCBW5e (ORCPT ); Thu, 2 Mar 2023 17:57:34 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44090 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229665AbjCBW5c (ORCPT ); Thu, 2 Mar 2023 17:57:32 -0500 Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0F3BB5651A; Thu, 2 Mar 2023 14:57:31 -0800 (PST) Received: from pps.filterd (m0333521.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 322K6Yof007625; Thu, 2 Mar 2023 21:18:28 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=uiqaQzqCT7ZEsqz+GQtsTRnZZsH+FtEgLpPNKxF25Wg=; b=NkvXDsvszkeFMXowuPFGrSKTxiB3syS4EK+/UGmMXouC+SPtiyemG7SuC638HJvXlT4R AEZjQYCoUp8v36lfozM7XT8pUa9jTdq20MR9WZJrMb6m/7atxM6Qo42VBs/leda/pKjq aLD8tVmcYQZd4RohG5+i0Izbh5vd9Y8HiZPlo7CbdI6C5ZxXkifq1C+h/2malyNHhbGw jlEHuojBg3yRN/UQW+3w/0mNX25B0P++sJZAj82kTdJu1LlmC8VoCKm245VVNd9acDUX M+lbcizl8Y8HuSR2VxEM8w87zsvwkxufxCOJSZkjE/pb8FlXqg8A9OLRJGmgCaYExs9V 2g== Received: from phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta02.appoci.oracle.com [147.154.114.232]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3nyb7ww2s1-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 02 Mar 2023 21:18:27 +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 322KlAK7032965; Thu, 2 Mar 2023 21:18:27 GMT Received: from nam12-bn8-obe.outbound.protection.outlook.com (mail-bn8nam12lp2173.outbound.protection.outlook.com [104.47.55.173]) by phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3ny8samh3c-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 02 Mar 2023 21:18:27 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LqLnZ5Kpfcc+xM+9EGFUA2ceCYAX1QqBdh1BXJSQra51NuKn3/XkSx2kdD9jv0UUc7Vzr5D6VWIRzvzE6aA9wxl+lA71w2fpX0NMZiC5SFRJe+cwIi3CTzw6SET/Mmaph5vmtSKUXU/z8WGuaqpxe2DnB8HY0z6thuWo43Vjw4GdlsttgZ9PfJJHEVxHP9nHN2pWRtycbmFcJNC+poB7J7A8FfkjM60V+qbZbI42kmF4v53VWFei6R0Zebe40tkfI2kxr6hFjfhN0Q8LqNwa+QiDJHXNLwwOVGGL5l/mKpB7f9psTsSUXMPeESlHF1NdxnIsw9zHZAGF2gqorAggwA== 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=uiqaQzqCT7ZEsqz+GQtsTRnZZsH+FtEgLpPNKxF25Wg=; b=IZ/EDvO/RBTA+RGCSxBHwiuFnUzz9UXdMQDVPqKF0YKMbcXGxyJZVt2ApGaPzzR5qaoZsSzjmbbFuNA/8nEMEdaVlMKj70CkX9I7WIv862KZeEXxnILBAA6wrPuoiI/f/3GLW4ZQiEgzW3HQuZJrnIiAinBWUVwxmECVl+DiQMIZW3SwWqbWIP6ssc06D7BDi/gXlXjqdVwYRms3NatYgYoSDGD7eMurj2WjMoS3KuVvjt+ayzTZ5jKYudadbuueHZ4Kf50nQORemzJ/b/FrvwPgRFhcmo9/0MoGt8Nd8AjT8kQ5JqOWflb/HHVWt20HsxaVDdQrhNOW3PbZuLyp0Q== 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=uiqaQzqCT7ZEsqz+GQtsTRnZZsH+FtEgLpPNKxF25Wg=; b=Y7J+vMzlDqHpAn2JY6fb/gzJDQ0P7kNF4ID5k5lIjIg/lev3OuQR/mEpBTmAkUzByo1AsQiixEo2bzVdR4rR18YWEwVhiW1B+vp+KfNfgHlMEeTeE0E6gwoEDqJoLPNxwNMboYqIQ0jjHcugK/jG0mgfRJWDlYNjQRZU1D5neBI= Received: from DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) by PH0PR10MB5819.namprd10.prod.outlook.com (2603:10b6:510:141::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6156.17; Thu, 2 Mar 2023 21:18:25 +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; Thu, 2 Mar 2023 21:18:25 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa Subject: [PATCH 03/17] braille_console: remove MODULE_LICENSE in non-modules Date: Thu, 2 Mar 2023 21:17:45 +0000 Message-Id: <20230302211759.30135-4-nick.alcock@oracle.com> X-Mailer: git-send-email 2.39.1.268.g9de2f9a303 In-Reply-To: <20230302211759.30135-1-nick.alcock@oracle.com> References: <20230302211759.30135-1-nick.alcock@oracle.com> X-ClientProxiedBy: LO4P123CA0690.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:37b::7) To DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR10MB6798:EE_|PH0PR10MB5819:EE_ X-MS-Office365-Filtering-Correlation-Id: 3c4e4be6-909e-4e6b-d269-08db1b63a8ae X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: QlMNMQsIQwVThSMCaU8wPspI01IT/NLTLbyRodu+0FabP5t8+lZvAguwf2xwweJUhgs7nftZUjsYYPO0WZvqi9N9L5S+FeS2E/0g1YlUUCaC/PSJ9sFamryGk2zo/T9z3xbZ47Pe4PsSNscTgSrf8/vCU6WF8ou6fJr18z2Eo1pR3JMtcCcPFeEtHwx/YWQC53LUxCQwZrrpO56xfj2fEWzuxBP599ui+kA8fFpq7hWUsR6RyQp8obBozzyc3YM2sUh77YDIB8HMgpu5CMbCq0qCAv01P8FRe9zApNngQymHQ+mrDyL84Mtw0wh1sHgqkOf70jIiRptnZrb3285+4Nao/lgFRafMtAvAwdBfioRZnd0lgeFT0ZRsTemMgJ1ScEN9HdzU6UhxiDf5MZiPZ5OT3f8VoQIIyIJyEdoFuHKnJ62965jgU7HIDvqymGtLUDI8ujtLFImVnJyl5Dt77tilP0d+zuVZMfWgB+662v7/AaB/Kgyp7sinCrh/Q0yzSRYI/WCtyr45jsO4nPUFZ+BtWZX3PlopjDMZWSbofXYNGBBpWVntyNQLYbeHuIciqF5NFklVgGwyBe9jTgnFi0rXuU6DSHaticUhgGYwDYfMPjDR8zGTlMjRo+W/02p0j0VimwO3wNtqjyCxe9rP8Q== 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)(376002)(396003)(346002)(136003)(451199018)(5660300002)(44832011)(83380400001)(41300700001)(6916009)(4326008)(8676002)(8936002)(66476007)(66556008)(66946007)(316002)(38100700002)(36756003)(2906002)(6486002)(478600001)(86362001)(6506007)(186003)(6512007)(6666004)(1076003)(2616005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: eQN3cbOz5fQnwaFjWBvdiW8clSNI09+hlP04MS++Udn1Sh/GL5RQfo02Sln60XYCO8a3OQEMhu3GNscmmfbFywVIc4zfzJ0+22vsNhjSpVk8CwfWjcSDLrv0xiPmtq5D751BdvnalRxnULmvGqEn7CsYRJB348X3s5P0IDF4chk1+2cvJF1CsvZP4Sw1fStlKmqBYY7GukOXDgW6b7lX0FUnoNR4XNf7Qy3b+LAvn5402sz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T550o3buVLEffgJ+MB6OfAcGOQWYEA9PoiEUBI5GSW8J/efooIPFIUSrnyvlyzxOW9TJMo7u8vLPSX1Q6WxWKQ/ArDrK5QpofLjOZoEcvVYZh620x7PSnF7LSSHlTB/Wz X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3c4e4be6-909e-4e6b-d269-08db1b63a8ae X-MS-Exchange-CrossTenant-AuthSource: DS0PR10MB6798.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Mar 2023 21:18:24.9736 (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: bAMC+tcUjAUHozoHdheCRMMJgFSZ0xYd0MGLREwLCY9YnrAJ66I6OjYXz9DpLLL6LaHfZ3qmanBrhFRxZKCa8w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR10MB5819 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-03-02_15,2023-03-02_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-2303020183 X-Proofpoint-GUID: ZCo9DlOW2svGE8IONaPDHfX3EuJkTK79 X-Proofpoint-ORIG-GUID: ZCo9DlOW2svGE8IONaPDHfX3EuJkTK79 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 --- drivers/accessibility/braille/braille_console.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/accessibility/braille/braille_console.c b/drivers/accessibility/braille/braille_console.c index c4d54a5326b11..06b43b678d6ea 100644 --- a/drivers/accessibility/braille/braille_console.c +++ b/drivers/accessibility/braille/braille_console.c @@ -24,7 +24,6 @@ MODULE_AUTHOR("samuel.thibault@ens-lyon.org"); MODULE_DESCRIPTION("braille device"); -MODULE_LICENSE("GPL"); /* * Braille device support part.