From patchwork Wed Mar 8 19:42:52 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Alcock X-Patchwork-Id: 13166352 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 D1117C678D5 for ; Wed, 8 Mar 2023 19:43:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229913AbjCHTny (ORCPT ); Wed, 8 Mar 2023 14:43:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41548 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229667AbjCHTnf (ORCPT ); Wed, 8 Mar 2023 14:43:35 -0500 Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6493A3BDA5; Wed, 8 Mar 2023 11:43:32 -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 328HilL5002864; Wed, 8 Mar 2023 19:43:27 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=rtwQ/q5CBqgtWby+optesM1ehvDbyWbtsg2BsxbVbXE=; b=sYOE2kdxjxfi+PWPs9k3yNksiEu4WZBo+a7Be0lXez2yXcdEMdynLGrp4n4dt2igHfJH jER+t33BDzOX9UFgZwbLeOGf7TT5OkcIGye6DPMtEGqgsnDD5MbYRuwcp+9l9zSDNdXH CfmoLHnA4fRxHNP0kaKa3aTrzT1JarhKMyoOotBPJq0+DwdP3bEKIgiaC81O+lt6Lg1f sLAzK+LjWvtT6YbT/2i4QsVeTQuZh84p0WwktCV1hHB7lJDNAszQJAn4ppIB8V7VKenu h3IgmkFgRxmTu4hrjX+hmWPFlyn1hofVjt7qzOkRq6VXSjgS1D3BvlioqiBz779axW/N Bw== Received: from phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta01.appoci.oracle.com [138.1.114.2]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3p418y137j-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 08 Mar 2023 19:43:27 +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 328JB8EH015264; Wed, 8 Mar 2023 19:43:26 GMT Received: from nam11-co1-obe.outbound.protection.outlook.com (mail-co1nam11lp2173.outbound.protection.outlook.com [104.47.56.173]) by phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3p6femr8gb-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 08 Mar 2023 19:43:26 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JlzTqY8fkLQSMkEH7PsBCy6LsfZWn/OqjIk8ZkRfz/YQClt+H6gjWUVLd80U3PFvInv0I2SNoBofLEDNwxTMEGXnPbIiLqkNEH61CvuKnJPNoTJI6Huq3wYsPyJitBvyqeIo+JDamhO/shzDIVJkSwNRNrGBj7GzF3d5XlVsfmASj5eRS+jtbbednTl+9IEAbDYaSDpwNbL1fILtVmwll6DEuMpbZIf498WFb/0MO/TduZbr5rl4YtyfJFqYLA/BT5X1fVOPUk+tfrfTE2/1ZVsDvvHa63NKhjatkJH7dro42W60gpOcyl7QIEaVev/GGwp4tdM7VYd1OgcwjCpJMg== 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=rtwQ/q5CBqgtWby+optesM1ehvDbyWbtsg2BsxbVbXE=; b=d+dFrxC9x/oC2/ZLoIFsUcb2++PLPXFxvvV5r/QTlgRAshHiexEv4ZcrWfzPfjHm+RalZPcNwPWYLZZpkfbIIRwTSye/8SMaWGEtJJ2watDDZb/CKGjNBNDhkuwQy18n6JskshhXDQT2i7TXljs4J47Xl8AbSFKDqHpELBWRo4BV/Yw3gFNqzw1x393/a62drU5IsSrNoUGW+viO/SUwIXQkOT8ZrHLXSGaDxGYaEWzINTMRWuvYtj/XYR5uJlc5X4AkKN7+mtNFbTqXoqgxVDQwU2/Yb5MPxR9iif6YHoqS6VLGpyQHeGQMvi4YCXgvb0KQTLfmz7cxUx/Hl62qzQ== 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=rtwQ/q5CBqgtWby+optesM1ehvDbyWbtsg2BsxbVbXE=; b=ggGKCHxk/gbVXX0vkKS0TEZpc2kpjYcptUUNmBE9vvEMmIKEAUF+sZdej3s+G7ZOxzuy1bSHUjcr7JgfIQ0FG0cMx6OxFxMyQH7RYsBKoTgFBXQRCUr2QOgDYnpFLrfV1k68V4hfhXnhbGdQa/yrhCkzycJIFtYJ4ziKojl0ToQ= Received: from DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) by PH7PR10MB7035.namprd10.prod.outlook.com (2603:10b6:510:275::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6156.29; Wed, 8 Mar 2023 19:43:24 +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.027; Wed, 8 Mar 2023 19:43:24 +0000 From: Nick Alcock To: lee@kernel.org Cc: Luis Chamberlain , linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Support Opensource Subject: [PATCH 03/18] mfd: da9052-i2c: remove MODULE_LICENSE in non-modules Date: Wed, 8 Mar 2023 19:42:52 +0000 Message-Id: <20230308194307.374789-3-nick.alcock@oracle.com> X-Mailer: git-send-email 2.39.1.268.g9de2f9a303 In-Reply-To: <20230308194307.374789-1-nick.alcock@oracle.com> References: <20230308194307.374789-1-nick.alcock@oracle.com> X-ClientProxiedBy: LO2P265CA0023.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:62::35) To DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR10MB6798:EE_|PH7PR10MB7035:EE_ X-MS-Office365-Filtering-Correlation-Id: 85405494-d1a8-45ac-d56b-08db200d618a X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: hl3hOzv7U6GIZ/EtZClOTZFbzdr+pi24pde8Rp9OiWmKXintj9CBFkHK1RnL7m7A4RZb6hh2sj2CHV2A8lX5B1pDUzZdXYdoKGu3jSkXQYPWQBLXI289Gq2QZxF9TNBcN+91AosQRJOWru2le8PTVV1iaAPrfzey7Wz9mRTPwETpFiWdVbgTu1g8SWRw4ayusOuqUnG3+Exz3nj7Zz5DcjPJlEYoE3Pij7BgM6u8lZG/itNsGYoyNKWfkK2E8Flg6jiWlY1vC+n74CRzz9eirybVoUUpFSkOMf5f00H4XedchI1zMpS5KHLNITqQ5jvqM8ro1rAMv7yciWigfJ1ZGCTVAqpgL5u/lJzvq4ysiiz4aHWpvZ9ZYtVBfTzjpin0bVv+lP+E2KEFnqJXooTYGaI+zsyKAD+qQdQ1lU/eMeTbyOTeS2I5zZpPT1KFEiPSm18RSHTOvLaBEnkU1RLGrP16VhHCGxhkMH6qEZLzmXvH23auuqbJWQnJF1IcOt9WC1Ac7Cwr8/B3oiS7B2oFzZm1qxyR3FvoOiEeYtNXX9y9dnPRm5Y2e6NxnJceUPx2IyCXWTD3GLtxrPdJGg9OK+2yKjgJjT8oA4ynyDwiPAE1OE1hv5ewu+2Fm2WIK0VxSPt/S6T6rQKvqTyZrvQ/Dw== 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)(39860400002)(366004)(376002)(136003)(396003)(451199018)(5660300002)(44832011)(38100700002)(86362001)(8936002)(6916009)(36756003)(4326008)(8676002)(41300700001)(2906002)(66476007)(1076003)(6666004)(2616005)(6512007)(6506007)(186003)(83380400001)(316002)(478600001)(54906003)(66946007)(66556008)(6486002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: i0Pgziosu4R8NPr4baIhgixSaoNOBta4vCf5X/01hmKa7lozqSPt1qUfVbs4BkIsaEAlS4OKSR27PIQ/dIgDRqC+NaYK0A8EEp7ZB4lbZeE1OIVx69VmvDUJ0pYrgfdN33XudRZNWmaFNboWgb/4TVJ/tmMPa5MmqTaK7bvXbrgjb3FJCieUKSlr55ol6fJOnsdHFGDzH3iszAydyh7pzAOeffGAxhFg7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4qlngoOX5LmP12P29d29XkEjGA2t9yIefmD1E5FUKYdZUwcbtHBI6/BUgqRlkI2/QtISmoPNpa6zGkH6pmSIp8KCfM0ybzuSPCnjRsiKDxI9Uy8qvfTRRERXvxtLA8s3VBVYmfapJTYzoacHEGac6FXIdLPDdr X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 85405494-d1a8-45ac-d56b-08db200d618a X-MS-Exchange-CrossTenant-AuthSource: DS0PR10MB6798.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Mar 2023 19:43:24.6990 (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: ntH0emaWD2OsXHCt8y4T7ckNurQT3rqocGyxPtKv/MvPlyj8JaWXvOdKF9CvTZEOw/eowzQH55Ulh5r+KtyEmg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH7PR10MB7035 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-03-08_14,2023-03-08_03,2023-02-09_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 phishscore=0 spamscore=0 bulkscore=0 mlxlogscore=999 suspectscore=0 malwarescore=0 mlxscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2303080166 X-Proofpoint-GUID: CYQPeBOVRPgmCWe4Ebct_jOCiH8wS9aq X-Proofpoint-ORIG-GUID: CYQPeBOVRPgmCWe4Ebct_jOCiH8wS9aq 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: Support Opensource Cc: Lee Jones --- drivers/mfd/da9052-i2c.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/mfd/da9052-i2c.c b/drivers/mfd/da9052-i2c.c index ecb8077cdaaf9..03db7a2ccf7a0 100644 --- a/drivers/mfd/da9052-i2c.c +++ b/drivers/mfd/da9052-i2c.c @@ -209,4 +209,3 @@ module_exit(da9052_i2c_exit); MODULE_AUTHOR("David Dajun Chen "); MODULE_DESCRIPTION("I2C driver for Dialog DA9052 PMIC"); -MODULE_LICENSE("GPL");