Message ID | 20230712173916.168805-1-Liam.Howlett@oracle.com (mailing list archive) |
---|---|
State | New |
Headers | show
Return-Path: <owner-linux-mm@kvack.org> 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 0AA95EB64DA for <linux-mm@archiver.kernel.org>; Wed, 12 Jul 2023 17:39:33 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 190508D0001; Wed, 12 Jul 2023 13:39:33 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 13F616B0081; Wed, 12 Jul 2023 13:39:33 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id F04738D0001; Wed, 12 Jul 2023 13:39:32 -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 DFE996B0080 for <linux-mm@kvack.org>; Wed, 12 Jul 2023 13:39:32 -0400 (EDT) Received: from smtpin22.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay09.hostedemail.com (Postfix) with ESMTP id 664F08031A for <linux-mm@kvack.org>; Wed, 12 Jul 2023 17:39:30 +0000 (UTC) X-FDA: 81003671700.22.7003019 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by imf26.hostedemail.com (Postfix) with ESMTP id 1763F140015 for <linux-mm@kvack.org>; Wed, 12 Jul 2023 17:39:26 +0000 (UTC) Authentication-Results: imf26.hostedemail.com; dkim=pass header.d=oracle.com header.s=corp-2023-03-30 header.b=Vx0xg+ZH; dkim=pass header.d=oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=p0x8ELZP; dmarc=pass (policy=none) header.from=oracle.com; spf=pass (imf26.hostedemail.com: domain of liam.howlett@oracle.com designates 205.220.177.32 as permitted sender) smtp.mailfrom=liam.howlett@oracle.com; arc=pass ("microsoft.com:s=arcselector9901:i=1") ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1689183567; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:in-reply-to: references:dkim-signature; bh=OGJPPE5z78uh5kTlMXGGScqDBmRhDAUhUI89z5qkCfU=; b=v3FYRTfPtgzQodHJLUNKOsIMBC6l1JgqlvGBpaA4muN4/ceI/631SwLjlrylPqL5jXPg8g LviEOMFpXzS751Wjzqi9GBlK+zQAfkQlSFnn6JDcU36y0REN+eOion/KvffS3Zlh01hvQm tRmxlNgsOCGumhsPfW/RRFBxYouGnco= ARC-Authentication-Results: i=2; imf26.hostedemail.com; dkim=pass header.d=oracle.com header.s=corp-2023-03-30 header.b=Vx0xg+ZH; dkim=pass header.d=oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=p0x8ELZP; dmarc=pass (policy=none) header.from=oracle.com; spf=pass (imf26.hostedemail.com: domain of liam.howlett@oracle.com designates 205.220.177.32 as permitted sender) smtp.mailfrom=liam.howlett@oracle.com; arc=pass ("microsoft.com:s=arcselector9901:i=1") ARC-Seal: i=2; s=arc-20220608; d=hostedemail.com; t=1689183567; a=rsa-sha256; cv=pass; b=UyNQ8alfjHGRYWReaDQdWhJTIgD8znSirGLTCErRNO+qZG7xLhqi6axo9gBK6gXha2uXXm NQN/zjAekzQJvYsla9U9Qkoi9IZsjEtIeATdR0ECxtuIkSKYCrIoINJc1cvg3P2tLlvIQB xd5nFCgG9UmVhkGRSBRiF70LSe7d1uE= Received: from pps.filterd (m0246632.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 36CHNl5q012390; Wed, 12 Jul 2023 17:39:26 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : content-transfer-encoding : content-type : mime-version; s=corp-2023-03-30; bh=OGJPPE5z78uh5kTlMXGGScqDBmRhDAUhUI89z5qkCfU=; b=Vx0xg+ZHV61B2/wyDhO3xV1LwFFk5hoSTwbOOfOeI7tfgMswzJjf8MO5T9jN59P49xhD UZy9wnSMLHeoARdfSQAb8mO8wTXq/35kW+RGturg8F/gCCMimcG3zbPAaUYu2hGXeIRX TsHOgpzr8WTW6idDK3BPMOEuH6YuwfReDUe+CUhUH3qCiKfRW0xcDENbV4dk8VGlBNUF A2A4iqYz03x+fDjtYyARrHvPOlQy6tO+RZgbUv7k7ulVTY9esyDXWg66gEcfwerMLemo oy25TBYVG4nQFK2PEnpzU1oLPsqQMzS6K9IfLDi1IPPAcyrzg2+V2SSp/liv9UnV3R2a Qg== Received: from phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta02.appoci.oracle.com [147.154.114.232]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3rpydtyt0p-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 12 Jul 2023 17:39:26 +0000 Received: from pps.filterd (phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (8.17.1.19/8.17.1.19) with ESMTP id 36CGgd4m007212; Wed, 12 Jul 2023 17:39:25 GMT Received: from nam12-bn8-obe.outbound.protection.outlook.com (mail-bn8nam12lp2177.outbound.protection.outlook.com [104.47.55.177]) by phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3rpx86y040-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 12 Jul 2023 17:39:25 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jOMXDEr8jGCuL1luw5dwPFAEHqoA+Ky59hieaHhNF8hPnNknWJoH/8smOfw792BQZUR9igJsblN1txG+kcGYrUbBsGMX5uoLhg6EVzV1Ea1ieic350sxHpYGEGx18AeStNKrMR6P36zkFRtcd+VwWczldz+KfM+YAb8TYRsS9GYwJa2szgIVjtw4VR9XxSRDa6bbpxTXl7p/EpFOwIL9igjSUv0bPFSkZ8LnJr1sc0mHdof/NYiF6WR1z4W7Q3twZTxEHe+FU82hX+TTfxuwu25FfL3bRqEkYIpGG6gA1xGGvW65bTZAMhW3qKZNHpYfMlRuX7upOMkze4FxaD803g== 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=OGJPPE5z78uh5kTlMXGGScqDBmRhDAUhUI89z5qkCfU=; b=oY+nIX8x8UrXho7wbFmPvqj/Tkl1MJ6mctEtCl8+98bleRgB3duCsztunFYg6xrQ3ZTguEzW4xiamwcWauqp7kmFlyGj1V5N4D8A601xU03Hr6QfXTRo7CI46cQ5PnZRg/7JSFaN167v9v3kdNDHtaCbX4/1Bfby+OeqqUkM7Wj/NpefqfJmfFSZWAQn28R1kF0gbar9yzAW2LPsiE1DXYS/u9v7dOqr6wl9F9IWfu/mfgAe6GCK+unzWKF7YPtxxvMK3dLmUyu0/lZ9CI79k+sXg9pq9I/rWGIcb3LZcvfzsFQ1n5GwQfdk5wamXH7Jk5QWer+iahGUKen7DXVwzw== 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=OGJPPE5z78uh5kTlMXGGScqDBmRhDAUhUI89z5qkCfU=; b=p0x8ELZPPxgK4jNb7yT3deKLvFB/mX8p6vUHfDcitinN2m+RoKCZ5AZuxUCCS2KshXfY8abnTsThLVbI6YOcM7BNkWvX/iXBTGsWujCMLI45Qjeu1vc4uhMNy3nw+vwq+CCI0xJohZDYdob8WrdWwdHN3j+3h1HhWSBGUbQmSAY= Received: from SN6PR10MB3022.namprd10.prod.outlook.com (2603:10b6:805:d8::25) by IA1PR10MB7359.namprd10.prod.outlook.com (2603:10b6:208:3fc::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6588.22; Wed, 12 Jul 2023 17:39:22 +0000 Received: from SN6PR10MB3022.namprd10.prod.outlook.com ([fe80::c370:eff7:9ddc:f188]) by SN6PR10MB3022.namprd10.prod.outlook.com ([fe80::c370:eff7:9ddc:f188%4]) with mapi id 15.20.6565.028; Wed, 12 Jul 2023 17:39:22 +0000 From: "Liam R. Howlett" <Liam.Howlett@oracle.com> To: Andrew Morton <akpm@linux-foundation.org> Cc: maple-tree@lists.infradead.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, "Liam R. Howlett" <Liam.Howlett@oracle.com>, Geert Uytterhoeven <geert@linux-m68k.org> Subject: [PATCH 1/2] maple_tree: Fix 32 bit mas_next testing Date: Wed, 12 Jul 2023 13:39:15 -0400 Message-Id: <20230712173916.168805-1-Liam.Howlett@oracle.com> X-Mailer: git-send-email 2.39.2 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: YT1PR01CA0144.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:b01:2f::23) To SN6PR10MB3022.namprd10.prod.outlook.com (2603:10b6:805:d8::25) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SN6PR10MB3022:EE_|IA1PR10MB7359:EE_ X-MS-Office365-Filtering-Correlation-Id: f660eac4-6b91-4ac1-0f60-08db82feed96 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: nk8fF8LRXcjCgCK9r7QgCALw+3qthZacZbwV74UVuvw01bFAQae+MOBz4I1h0QZS0fbDc4bogNob3mE9PU7KdW582UxwQQZICIh5i84mLnP3qPvsP+MpazckCR9C7VyZ0+WY+fSSj2D1md+xa2aVqCdkAtuRXLZJl2yQUK48PW/iCB2JhwyN8jJKx9EZsM5qflLMnPLmuOdijePxoiFf7PEF1RCyr8Q6SdTRin28wRJqLvTgBc6EQqvEF5XRnOiXSP3zuR6MNs7N8ENI6bDYutkkhOwmL0heui0wFOkNRLGQnQJAKqUS7Tyz6eddajW4cS4TG4ds59qR+Z2KM2lgy0bcyo4mmx4FO4ejFNhSh7x87klPCyL0xKfjQB6D/jXaj+v+lnyqla3ncjlRyCxUeuMW+a8Mu+rNLBh4ERnjAvcz2LgnTwKIG9pFN1fo/Y5bGCIAyia9qKkCCk87+OBBtMRHGmgz7GLVIpfClgly/+tj3C5rVGDqLxjifVV+dvvOUgg8/ihgkpq73PVYVx/6nP/s9XMk+apcUtdmbnSpnJg= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SN6PR10MB3022.namprd10.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(346002)(366004)(396003)(136003)(376002)(39860400002)(451199021)(2906002)(36756003)(2616005)(41300700001)(83380400001)(5660300002)(6506007)(26005)(1076003)(186003)(8936002)(8676002)(54906003)(6486002)(66476007)(66556008)(66946007)(6916009)(4326008)(6666004)(86362001)(478600001)(38100700002)(316002)(6512007)(966005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0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pn5dpbbVM7pGSeyXuUI3ArCgnKX5bVinMp1ML64A6dqxdKBJHohzHCJKfx/ASeqhjp+ii2+Scizw1PUIoEyOOKIvgzF5q3tA5n1vSGXlzZEaTC3a5RHdBDglm5IrujalBaKdnF3Pie3bzoCAlnpgvPG9hRqf1qmZmo+vdS/cTkE7C0DnuCHlzjbF+8xrBntZxAbn4x6Ac4xn8fZfJIRfih8LQbbSN6LPZxxnlvMVX+Jv3FinnrJNqG8BuJOLaHu1N5qa0Cu8Rj15GMiZvsLIQSg8xp+ZKY2l/YvL+sOsHmx9RBOsrp5O2wF5BZeG0qDIvwr68YL/omZbYPQ3PFfx3QBaJgUAZsUbwcyhSfdsRZlnZZjPGg9nIYnS2/I8kp2qppKfuV/eMAXAqwQAKQt2Qsb47+srq92eZPXNM1llw2mMlQMFZvnJGTqgrWpu4QlETKj5CDwSiF6TDIbhKOm6HF2FqHB1vd+DXcoMMwjSMFXQAyz X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: f660eac4-6b91-4ac1-0f60-08db82feed96 X-MS-Exchange-CrossTenant-AuthSource: SN6PR10MB3022.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Jul 2023 17:39:22.3575 (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: YZwIxsbXc4xCQ59L1fbeuPxTBrPYAcjf/6mVBSDMN/WKkWl0tLz5OQRR3TfocS7Z19BEctYZNPFJnif9eudorw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA1PR10MB7359 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.591,FMLib:17.11.176.26 definitions=2023-07-12_12,2023-07-11_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 mlxlogscore=999 adultscore=0 mlxscore=0 spamscore=0 phishscore=0 malwarescore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2305260000 definitions=main-2307120159 X-Proofpoint-GUID: au-je2HrC-7xK6RrpcSv3oNEo9LswE8e X-Proofpoint-ORIG-GUID: au-je2HrC-7xK6RrpcSv3oNEo9LswE8e X-Rspamd-Queue-Id: 1763F140015 X-Rspam-User: X-Rspamd-Server: rspam02 X-Stat-Signature: uiobmb9ps1ix8sm31pz9czcwnw5icbej X-HE-Tag: 1689183566-815832 X-HE-Meta: U2FsdGVkX19y26JIDHxnxAVqGkhI+9e8AtRXDpuygwueFVzuNBxA06FpGvIg7kQcGtp4Rp0pAz0n1k2WT8c802NdW7NPn7nbEujWyTu+1ggOELklhU5prvOJi6mN64e3cdcNUsCaI3R150POGKPSRLU4JPnfFbwjZYgl/M+wW8vz/FCaGikiMwMya/59mhD6YDbIUWF+hOefdtF1SwjMK+BX3WsOIDmSGEMpYp8S+LC7Plyp9XEtx6wYv14k5rn9rsuD38I4yClTYCjpaORkbScgzjTTXv3h/J7bytFvPCI22LmADsNChVU7ncZgX1reSiIZpqQAmVK6FslWIO8VluaRgnb+cZOfUPRdv2eufeE0F4jbwNfyJWAsYLSn+O+QLUNxUg9eqq1D2RzMnwvFxgNCKbwTuTPiMap1yFp+g5enEL3yWHgwq6X/RokIz1WqOYzerNL3JifJBkvqWXwnxsOFWcP2SQHqCwcy/3kChpwlx/VG6q+fCWFwPIlTEXnYD54F6QGtgFHssjirDaiYjkDRlLo8MJg4XSUd/mD6rHKxpCcTVpiL9RaG1I4FV/tlX7PDnpt6YCvTURJREwn3cNpWkXSN/WRDG3ZkCUHBS6STXAwYk4ZXCcEbOz6ZgM5ISRJ1fkLxGe7Hnd+Ej3K1W+0TjXAI63vxy4R53/mtBGNbU9ppoJa7iE2F6RPdb35HcVBnuwOcTSWAqkjf6le19+HRDENbcn5zxV2kZbZSLamdJnpIc7KmIPiwAwS05M6LoBu1W799Wm6zC5EeSxpX2BEmIk/cI4WTZ2GwLhgTAqda+WnSGVgrJsEXlLdIxSqMnQYYTDkvcxogk3UDaz0RS+hI3GwL+qkv72xME31JIyTaG5Ds6/Oj4aSHotvO4gq3cGlU9bP7AzHqxCZYcF6H9t3vDP2VaRN+AEOTaPIh8hh5EiV5hadjHLGAXxwProg4w6NB9O5r/+rA9rftgva Yw/eP8s5 MpSGThAT3nM6CVrRAS3hLw+Aqm6LyMCdiM5m9pj0EFVX0q/5pGVKAILtJmd7542QmGj5eXY8MtM+QDK5jsXFDKV5GUC5j48nQQAbpwYdqzX+ZfNk8PRenCS9b6oDKHPcqdyGtO0z9w+OREZyKTSYDn9eoX5ABiYgxFJREYhzCqK21YfhAmC0d/URc2TLm1i3vcZGLMLEKwk1IejIH103aq9lrqe7nq0UiX+msCRcO1kQ+noKHxv7D19dDmKhKhny7Z3w01YHoMO1OIypyyxJtOTNMdWkdkmSyRTLbi8w9PMFuOvx1+SgG4tRdLkuSX4dwEbKLxKNyuJNZJYSzYyr6HgIKHRVl9Z/XIKE2oBvw7FxSvanKdEqirobpV7wxplKBHOmCyjVjFifxwChcqKlr4vVWMfaKTYhDXhEGOQMazgES/wEHLI3+ghJ3uLwZ1DwFVcWcRB2+8mSVEmmCLXDoV+Bkdas0xZyuce/suMpSyoCzhaFzzERkOr4NY8kIp0wnoGO6E/frFkFrzGwdoolH8yBr09QEioOXRDhicirFaVEpCbiQQjUxzTLrc0zlR2R9pfDU 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: <linux-mm.kvack.org> |
Series |
[1/2] maple_tree: Fix 32 bit mas_next testing
|
expand
|
On Wed, Jul 12, 2023 at 7:39 PM Liam R. Howlett <Liam.Howlett@oracle.com> wrote: > The test setup of mas_next is dependent on node entry size to create a 2 > level tree, but the tests did not account for this in the expected value > when shifting beyond the scope of the tree. > > Fix this by setting up the test to succeed depending on the node > entries which is dependent on the 32/64 bit setup. > > Reported-by: Geert Uytterhoeven <geert@linux-m68k.org> > Link: https://lore.kernel.org/linux-mm/CAMuHMdV4T53fOw7VPoBgPR7fP6RYqf=CBhD_y_vOg53zZX_DnA@mail.gmail.com/ s/Link/Closes/ > Fixes: 120b116208a0 ("maple_tree: reorganize testing to restore module testing") > Signed-off-by: Liam R. Howlett <Liam.Howlett@oracle.com> On ARAnyM: TEST STARTING maple_tree: 3804524 of 3804524 tests passed Tested-by: Geert Uytterhoeven <geert@linux-m68k.org> Gr{oetje,eeting}s, Geert
diff --git a/lib/test_maple_tree.c b/lib/test_maple_tree.c index 9f60e0c4cc8c..3207c2107918 100644 --- a/lib/test_maple_tree.c +++ b/lib/test_maple_tree.c @@ -1963,13 +1963,16 @@ static noinline void __init next_prev_test(struct maple_tree *mt) 725}; static const unsigned long level2_32[] = { 1747, 2000, 1750, 1755, 1760, 1765}; + unsigned long last_index; if (MAPLE_32BIT) { nr_entries = 500; level2 = level2_32; + last_index = 0x138e; } else { nr_entries = 200; level2 = level2_64; + last_index = 0x7d6; } for (i = 0; i <= nr_entries; i++) @@ -2076,7 +2079,7 @@ static noinline void __init next_prev_test(struct maple_tree *mt) val = mas_next(&mas, ULONG_MAX); MT_BUG_ON(mt, val != NULL); - MT_BUG_ON(mt, mas.index != 0x7d6); + MT_BUG_ON(mt, mas.index != last_index); MT_BUG_ON(mt, mas.last != ULONG_MAX); val = mas_prev(&mas, 0);
The test setup of mas_next is dependent on node entry size to create a 2 level tree, but the tests did not account for this in the expected value when shifting beyond the scope of the tree. Fix this by setting up the test to succeed depending on the node entries which is dependent on the 32/64 bit setup. Reported-by: Geert Uytterhoeven <geert@linux-m68k.org> Link: https://lore.kernel.org/linux-mm/CAMuHMdV4T53fOw7VPoBgPR7fP6RYqf=CBhD_y_vOg53zZX_DnA@mail.gmail.com/ Fixes: 120b116208a0 ("maple_tree: reorganize testing to restore module testing") Signed-off-by: Liam R. Howlett <Liam.Howlett@oracle.com> --- lib/test_maple_tree.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)