From patchwork Tue Jul 19 17:10:15 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Liam R. Howlett" X-Patchwork-Id: 12922752 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 kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3B6F4C433EF for ; Tue, 19 Jul 2022 17:10:39 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 8A51C6B0071; Tue, 19 Jul 2022 13:10:38 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 854996B0073; Tue, 19 Jul 2022 13:10:38 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 6AB916B0074; Tue, 19 Jul 2022 13:10:38 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0017.hostedemail.com [216.40.44.17]) by kanga.kvack.org (Postfix) with ESMTP id 5CAA66B0071 for ; Tue, 19 Jul 2022 13:10:38 -0400 (EDT) Received: from smtpin06.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay10.hostedemail.com (Postfix) with ESMTP id 2ACF1C0169 for ; Tue, 19 Jul 2022 17:10:38 +0000 (UTC) X-FDA: 79704488556.06.9FCBE25 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by imf23.hostedemail.com (Postfix) with ESMTP id 78C1A140088 for ; Tue, 19 Jul 2022 17:10:36 +0000 (UTC) Received: from pps.filterd (m0246631.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 26JGf90P015097; Tue, 19 Jul 2022 17:10:19 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : subject : date : message-id : content-type : content-transfer-encoding : mime-version; s=corp-2022-7-12; bh=veDiodI1RDkC+g5XfNn38DSHhwnXhS8UeZrPIT/Fqac=; b=Gsxs+/8ORicnxgBwkWtbmoK4xMzmS+XW6psE4Aul8BeEPJtC3+ZdPix7DgtaZ680V3+g A7nKQnFmcINWLesTbFn7cKA3DLJWlc/ngCcxI836o5XKdCFfegig8KYq+TtYr2sw8gL3 /T7TEnUdLpsw7ID0rtKUN6GqodQiLPEekHTg0WYqyx+xcCsDmUev9BIa4rG4NXO4B9ck y8puWisaK2TU8dqIVg6s49mhK9Pz3gZW5EBDl8/SSOhQiC6z01cH6hT7t4W0Q50GD75v ttP7kROAdccL5Iy/e7IDkXX89qwTaAFtAiZcPSSyFz9OoWV4rgAj8jEINpFzuokrKMHX kw== Received: from phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta01.appoci.oracle.com [138.1.114.2]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3hbm42f6xc-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 19 Jul 2022 17:10:19 +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 26JGGehK016425; Tue, 19 Jul 2022 17:10:18 GMT Received: from nam12-mw2-obe.outbound.protection.outlook.com (mail-mw2nam12lp2043.outbound.protection.outlook.com [104.47.66.43]) by phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3hc1emrfmr-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 19 Jul 2022 17:10:18 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Z7Cm6lOi5QBYm82Y5uRp++6VbIvkQLFxnfnj/f3QddCLZ+yWxzHAO4xM2aJ+/as5MmCS8fpidkhiZkGcv3fWQgam+Yr6+hGRgYJcIpydXO1VfN5aymgAe8ue2S1y2I82j6/LzTVOupKtlZjJ/N17i7zsj2dOlveESi7d1brVZL7lFQTwmu3ZNABGiVHmgCHtW3VphmSUPxOleHWLC1yhhbEESPmcCWnuCcpvAJlWTULntbu9AG4F1TiAoOqhdQ1YfqYLHc8C4QvKwGdHWXydw+7ewc+5FJFFGimUJsLhdaFM4hiXuu437RZJXgcP5zCaBqjaCGaqKpimI+bmW/UNYA== 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=veDiodI1RDkC+g5XfNn38DSHhwnXhS8UeZrPIT/Fqac=; b=nidEwNKGgZlJ9g+lqdG6qDnFW22TUcsDiCjhBKOqjqoVCDhP/+iJWkvMZM7U9yCQpneiJCztDqsy+IX1BZEA3KzhXbMBgHfOQa0//Aidjcs6yj8cBuZPJlUgKOll5rkewFJ+nqp2wUPMLf0UHTZQK/RzpkqJiBEcQaTBV/cAuMoafkKW2fPmZ4f/SITN71VRBCU9vMZ34YRyf8Q8XxeKipP5pyM7wcqcWrkvgGaxR3Mn7ms/ywNZSA8KZE0BvH7wTm3zDITrSeqTlDW+/Jc8xjR67+uYB2OQCrCM4oIG2NsXZ+Nmv6l8PPAs9x1rbNatFp8xnVx/6Q1uGoFpVj+jfQ== 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=veDiodI1RDkC+g5XfNn38DSHhwnXhS8UeZrPIT/Fqac=; b=a0wy5rEC15M0rhpu8aZ2k3UUg1VfygUfuSgsfqFuXg31i2FZ6aY4peJ4QortTftRuFtVCVHzKVId6LmpogTptJ9xJAGbMDT3CHxw+njV+d3ZRG4CZhHWMqrTuR9BgJD86BlaV5xkmIXqtVbqFbLBNkrw086VXaI2YSi/JT3lgfk= Received: from BL0PR10MB3011.namprd10.prod.outlook.com (2603:10b6:208:7e::29) by BYAPR10MB4101.namprd10.prod.outlook.com (2603:10b6:a03:120::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5438.19; Tue, 19 Jul 2022 17:10:15 +0000 Received: from BL0PR10MB3011.namprd10.prod.outlook.com ([fe80::7c45:9b1:38eb:ca87]) by BL0PR10MB3011.namprd10.prod.outlook.com ([fe80::7c45:9b1:38eb:ca87%4]) with mapi id 15.20.5438.024; Tue, 19 Jul 2022 17:10:15 +0000 From: Liam Howlett To: "maple-tree@lists.infradead.org" , "linux-mm@kvack.org" , "linux-kernel@vger.kernel.org" , Andrew Morton , Yu Zhao , Hugh Dickins , Li Hongyu , Matthew Wilcox Subject: [PATCH] maple_tree: Drop typedef from header Thread-Topic: [PATCH] maple_tree: Drop typedef from header Thread-Index: AQHYm5JqNBsrO5Y2yE+CzRXXmJMrqQ== Date: Tue, 19 Jul 2022 17:10:15 +0000 Message-ID: <20220719171006.3299123-1-Liam.Howlett@oracle.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-mailer: git-send-email 2.35.1 x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 536e00a3-f5c6-45bf-02f3-08da69a98c91 x-ms-traffictypediagnostic: BYAPR10MB4101:EE_ x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: dwnwrcxm7sa0vvOSKwb90jAXIcus35KXPhxmpN/Q0/xr2CmpadOkUN/04KOlJ5k4D3zoBSybETF3DQys1Ply2h911SJDnWmsPrBtgwZI1vjakbRSG626/bBAPxSmpWI+JkkTroFlaBUpamdFNPN15hGqTweCfxz2kFfoI5ROoNhkUjGDWInkF/gRojZXApE0Pyboirh40vlb7uDqpIjt0KSJSc+eMZDkZfRlRGNiFD6yX13/mMfuSwkXmcJXnRZvLJKk2MH7dxoGZlqNk3ka2noNzmrNOrSWE4me7Xhf0d0qt0vl8PowJCVuvXOjaV0/kw95Qdr6wjnlf2PdsSEmsJVWrdMo7UgJSgnguDP7V6qC2BS6CAvh5QLtbnxWw7QQTYI5kHzJ7N8RNTVxW3gD9P1hdYXpA7+OB2pEuoaw2bUZIqBeO9mSQlaWBwRFkFI4UvEgNU26fZycGc6HZgIr45q/I0/hbNAOvm6CaV9WnwBoi383DS3JSX/S1kRj+p95URyPuO6D5h8LIS8ZGnUOS0LUFFmzcigmI02puJquauUkO04ZqgWQTZvtwsZaPJSVBi1WZvy5CThqrlmK2+B/BauHSa00Js52pegYw9YuWkfMeLiunrgjVgHpgPKelRgkxRqCwdczoow2SeD0Bp9kPQsx17If1uLs8nOHU7E+obDJrsKhIk8OS22vsH6Iiv88qLt+cmZ1YPEvsz7kvgiW0rV7uT+SmKb7vJECwULZPzvh+ZxbrjKypfK/5xpFWw8s0cQRTu+8UGTB0PKWjFRpEDzLPafv047OVJy4Ylo8/3qRcKfR5RRUCYV0iAt4LEqe x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BL0PR10MB3011.namprd10.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230016)(366004)(39860400002)(376002)(396003)(346002)(136003)(8936002)(86362001)(66476007)(76116006)(66946007)(8676002)(66446008)(66556008)(64756008)(38100700002)(91956017)(110136005)(38070700005)(36756003)(6506007)(122000001)(316002)(44832011)(41300700001)(26005)(1076003)(186003)(2616005)(83380400001)(4744005)(478600001)(5660300002)(6512007)(71200400001)(2906002)(6486002);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-8859-1?q?XZwekpd94AOzFetZ2nasWNs?= =?iso-8859-1?q?zr4xRnfCwO8QRGqYS1qPk+1QAYYkDUENQl+eMVzB6/g2jqLHzRyTxRLwEKzN?= =?iso-8859-1?q?jzcYEPxihvHpkLDhY4hrVs1rZTx+cQA4jeHV+cb1ToefGNg5LKOGokbJ4s+x?= =?iso-8859-1?q?t8m9IUBOSIoH5AVlAT2LyT+AJfIT5vA5EdfQswowGHtO4g9emLru+39LxIyi?= =?iso-8859-1?q?0BYqyALJ9f/YeW7FCMDnvy+4X81OEM0wuZI1Y/dPmOXMIg+IAtgdWHGMQ1fm?= =?iso-8859-1?q?rEn1TEcGNHO2gmb2fWQSlQL7LhNaD/FMABF8dhP01Z6dFxKxmddAZnA9vGd7?= =?iso-8859-1?q?0MnFGLrIQxrUsI+g/ZyoXdJY8hDBeVyOMAHdqO36bHmpD0t0/dIrP/PvShxN?= =?iso-8859-1?q?huJM5avGBnkc321N2gfq/BNjsPKqbry9rEmpd6UZJ3qux52/g/YNBU3Lft2j?= =?iso-8859-1?q?dJ5LfnqwYFa4oLVdAWlA6NQcpuJuAJgmi/Ih4vUCV23nAiRY7q7MZikXw/q1?= =?iso-8859-1?q?lmilSfAepKOVy3ifIsq30EXggEYMlpJ6LDUa86RUlD0Hukd3GknG/9UEbGRS?= =?iso-8859-1?q?6g3nq6clA9DCM1xppsWFRhKJFhn0WQlLGgu/N/s6pJ834AfFTxrJEhIlQMjs?= =?iso-8859-1?q?dDWDZa9ekbq9qu/bKMlNQa4eZBk6fh9ttbBfjTyDvYuXTT0ql7xIDbDV6swt?= =?iso-8859-1?q?TMV5dXpSPvyip7dPtM+zVVH4H8popkyR6JVA2DPrVir2PhhFyFcFb2eJLzzG?= =?iso-8859-1?q?CwQpKvQG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=3D?= MIME-Version: 1.0 X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BL0PR10MB3011.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 536e00a3-f5c6-45bf-02f3-08da69a98c91 X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Jul 2022 17:10:15.4893 (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: +Vj+2BrF6/xldVEL3HZUNNEh3tJZw0seMP7RTgnXEVE3jlClpVSP+auBIvGNsXEDL1KEZIi6Uq6xuDB88eiwDw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR10MB4101 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.883,Hydra:6.0.517,FMLib:17.11.122.1 definitions=2022-07-19_05,2022-07-19_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 bulkscore=0 mlxscore=0 mlxlogscore=956 suspectscore=0 phishscore=0 adultscore=0 spamscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2206140000 definitions=main-2207190072 X-Proofpoint-ORIG-GUID: sTOoMSSk13kjguuu9kM6Hhi8BYy2N3Wi X-Proofpoint-GUID: sTOoMSSk13kjguuu9kM6Hhi8BYy2N3Wi ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1658250636; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:in-reply-to: references:dkim-signature; bh=veDiodI1RDkC+g5XfNn38DSHhwnXhS8UeZrPIT/Fqac=; b=ZEcglQTnv+TwMPlHRKxcsaNTmcnEumLF4YlH+Nqb6YvWiZtHCSGee6EtZi/aKck+b/bqbC QvmEaJ/Fb3N/GoO1fGled/nrnqi4ZAvdk4NfIi4pzsc+nJhXfey1/XMSQXEx0uWJabqdh8 Ai+p5Nb1s+lKrOg2ziCxR0hOwM5NVoc= ARC-Seal: i=2; s=arc-20220608; d=hostedemail.com; t=1658250636; a=rsa-sha256; cv=pass; b=fPtXbGkyH2kMX5Ezgragm3PXZtFpty8n+aLZ2NtJFmwb/rKIRnnekE7ZyhL4P3xgNwWDBy nOrXQIliTtQSthSmWNJo0aZHaJNfPRj0qbFU0J9jlCt5MXbLHVMOi2dAjWO1+zwi/eGH1I JNrcsfer9vjHYotW2j6aLClX5lX17D4= ARC-Authentication-Results: i=2; imf23.hostedemail.com; dkim=pass header.d=oracle.com header.s=corp-2022-7-12 header.b="Gsxs+/8O"; dkim=pass header.d=oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=a0wy5rEC; dmarc=pass (policy=none) header.from=oracle.com; spf=none (imf23.hostedemail.com: domain of liam.howlett@oracle.com has no SPF policy when checking 205.220.177.32) smtp.mailfrom=liam.howlett@oracle.com; arc=pass ("microsoft.com:s=arcselector9901:i=1") X-Rspamd-Queue-Id: 78C1A140088 Authentication-Results: imf23.hostedemail.com; dkim=pass header.d=oracle.com header.s=corp-2022-7-12 header.b="Gsxs+/8O"; dkim=pass header.d=oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=a0wy5rEC; dmarc=pass (policy=none) header.from=oracle.com; spf=none (imf23.hostedemail.com: domain of liam.howlett@oracle.com has no SPF policy when checking 205.220.177.32) smtp.mailfrom=liam.howlett@oracle.com; arc=pass ("microsoft.com:s=arcselector9901:i=1") X-Rspamd-Server: rspam12 X-Rspam-User: X-Stat-Signature: drr8jrkwito56n66ckjmo5yhqbeuqe1u X-HE-Tag: 1658250636-905508 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: These typedefs are not used and cause issues with rust in the kernel. Fixes: fb7297e8a66b (Maple Tree: add new data structure) Reported-by: Li Hongyu Suggested-by: Matthew Wilcox Signed-off-by: Liam R. Howlett --- include/linux/maple_tree.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/linux/maple_tree.h b/include/linux/maple_tree.h index 258ca222e145..bdb891b0d2b5 100644 --- a/include/linux/maple_tree.h +++ b/include/linux/maple_tree.h @@ -72,8 +72,6 @@ * 0x010 : 32 bit values, type in 0-2, slot in 3-6 * 0x110 : 64 bit values, type in 0-2, slot in 3-6 */ -typedef struct maple_enode *maple_enode; /* encoded node */ -typedef struct maple_pnode *maple_pnode; /* parent node */ /* * This metadata is used to optimize the gap updating code and in reverse