Message ID | 20230512182036.359030-2-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 1133FC7EE23 for <linux-mm@archiver.kernel.org>; Fri, 12 May 2023 18:21:22 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id A155E6B0098; Fri, 12 May 2023 14:21:21 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 977D36B0099; Fri, 12 May 2023 14:21:21 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 7546B6B009A; Fri, 12 May 2023 14:21:21 -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 575936B0098 for <linux-mm@kvack.org>; Fri, 12 May 2023 14:21:21 -0400 (EDT) Received: from smtpin05.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay02.hostedemail.com (Postfix) with ESMTP id 2B367121003 for <linux-mm@kvack.org>; Fri, 12 May 2023 18:21:21 +0000 (UTC) X-FDA: 80782420362.05.995F6F0 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by imf03.hostedemail.com (Postfix) with ESMTP id A1C9B20012 for <linux-mm@kvack.org>; Fri, 12 May 2023 18:21:16 +0000 (UTC) Authentication-Results: imf03.hostedemail.com; dkim=pass header.d=oracle.com header.s=corp-2023-03-30 header.b=eZAjqdRy; dkim=pass header.d=oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b="rS/viB+3"; spf=pass (imf03.hostedemail.com: domain of liam.howlett@oracle.com designates 205.220.177.32 as permitted sender) smtp.mailfrom=liam.howlett@oracle.com; dmarc=pass (policy=none) header.from=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=1683915676; 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:in-reply-to:references:references:dkim-signature; bh=PO0W61VFFcUaz53IVxUaRxBQyFx/sbKsCEqLpzGF0n4=; b=Ztm3hJIHhe/ITP31OzvJ+9AR2H/G74e9TEh4FUh4JfWchzuJSvJXhT1TRW2vY7IXSAg3Mp hjluHpVid0jg57cXccF877srObiFAGo6pH/6BCq1/h3ghsy/AdN0H33xvgv1lnhPphQ1mJ TvnDAUe8rJ4bir1gSQtMhD+/dkIBeiw= ARC-Seal: i=2; s=arc-20220608; d=hostedemail.com; t=1683915676; a=rsa-sha256; cv=pass; b=0zan5jzroctlCSLSnctWRGKWhoP4nHRHNjg/mUPfD7ABJpJznvOcHZJx6iELvNWt6bu7mr ZsA5832/iEpU6zPhXFCz19iZBQzdYFDeC7ePf2FrOUvnlW23AReJf6izKBRTjkauxLKSCP v/TbpyYenoPPLqtDSLCeMuhVnf8BhsY= ARC-Authentication-Results: i=2; imf03.hostedemail.com; dkim=pass header.d=oracle.com header.s=corp-2023-03-30 header.b=eZAjqdRy; dkim=pass header.d=oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b="rS/viB+3"; spf=pass (imf03.hostedemail.com: domain of liam.howlett@oracle.com designates 205.220.177.32 as permitted sender) smtp.mailfrom=liam.howlett@oracle.com; dmarc=pass (policy=none) header.from=oracle.com; arc=pass ("microsoft.com:s=arcselector9901:i=1") 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 34CF48VO032462; Fri, 12 May 2023 18:20:56 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-2023-03-30; bh=PO0W61VFFcUaz53IVxUaRxBQyFx/sbKsCEqLpzGF0n4=; b=eZAjqdRyQtqTEEhCSc5fzztPveLNdBXCxTDYIz9swOQwmHXFzx3Z8BPfa6MPl7Q6zVzy lIkqePQapGT9CIYFChIt9WnGUEJen8s2RRV5fb6PP5VAYvGRzj0fTKtkPHpQSLIQO81F ZT0cLbnFEVJWp+qEKafJLZnFnO/jSOg/D+2ECpUEVWeGHaKJ07H9rM0O5v2EK+mchFIn dj9N+jpGymBjQUoXEZyekih3hX4u22RkllBWmilrL5u7f/fxr4CLaYIoxwHTSqVDvm+g sPY5fUcdDRP1xfubF1YeCVqF2zOO/TDycPaI6pjuN6lHa6Wg4zlbD4hW+oEevWMYN+TJ KQ== Received: from phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta01.appoci.oracle.com [138.1.114.2]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3qf777bkym-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 12 May 2023 18:20:56 +0000 Received: from pps.filterd (phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (8.17.1.19/8.17.1.19) with ESMTP id 34CGdTBi030528; Fri, 12 May 2023 18:20:55 GMT Received: from nam04-mw2-obe.outbound.protection.outlook.com (mail-mw2nam04lp2177.outbound.protection.outlook.com [104.47.73.177]) by phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3qf81jxf91-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 12 May 2023 18:20:54 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=IBzNKGEKxXfL0U2MIVjJiG82bEhld0SMpq0OhJeZV8PAXHxzzcRVlf5KKa/o4PNVTWI71WWh7DqaCkgKaamPcXQCn3NkfPU2ePU0WjI5pCAxUMNhEWYS1NYdN5mmf4bspRRKBq/hsigS4bnDPN1mFaibIhQ3vIBHZwgHPIAuZq6GJfALDpC12UrUBhUeaZya5pozeFlD9NLARhK+x3OY85ZSYjbxmkWhWez3BXA9tLBPQ8ZImpGR4hNJCibDujeZdia8RQ3w0dIr8XYidnigqNbSkTh5uL3ocoFsz45Vlybpe0sI2gcL7MlIecENsypNz7B2bU1qTrtladYDGQVY3w== 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=PO0W61VFFcUaz53IVxUaRxBQyFx/sbKsCEqLpzGF0n4=; b=gAWgRqRkoPPMW9w4d7wSw+AEm12mfjyeQkHzGeC480PuYulDDYfqgImpN10Th9I1UuwJir8WhZhOyXWZzvzZRTW1L4oBlZXwBauU8oM2hth9yQ1lvS70ahwDKumBVhBfAzSR7kh85PDkWWFk3QFjAcNy7hR9CpwWeNbuwcTQ+T61RyaGhwTzsHB3sZE6vI/W1djxSTweYIssgWhdsK05lJ14BdlRCSOISFQ2UgP0hNxtcr/rmfKihfPWHJqLtkNjVgTCITvLlXbKS5vaQmjAjKQSa579mXw6EMS5etgmhXK2kRkyeJvgULq1m8agzy0zQxUnA+OszyfRLW1bxIlgKA== 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=PO0W61VFFcUaz53IVxUaRxBQyFx/sbKsCEqLpzGF0n4=; b=rS/viB+3lF/1nXucy26//rDhkj3yrGS2DI+1Dumt4C+f55sXL+PyVhalpiMshgXPB3Fg/PimnBJb0KsSH9DBaSr8ssd3P6Kqpd2LQamPxPMHr1n/S/2HqY2r7Gx5e6UoldMZ/MzF71JfBUHxjOt02s9e3WM7eO/35kBC7FzLMNE= Received: from SN6PR10MB3022.namprd10.prod.outlook.com (2603:10b6:805:d8::25) by DM4PR10MB5941.namprd10.prod.outlook.com (2603:10b6:8:ab::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6363.33; Fri, 12 May 2023 18:20:52 +0000 Received: from SN6PR10MB3022.namprd10.prod.outlook.com ([fe80::c478:d218:8f15:37c]) by SN6PR10MB3022.namprd10.prod.outlook.com ([fe80::c478:d218:8f15:37c%6]) with mapi id 15.20.6363.032; Fri, 12 May 2023 18:20:52 +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>, David Binderman <dcb314@hotmail.com>, Peng Zhang <zhangpeng.00@bytedance.com> Subject: [PATCH v3 01/35] maple_tree: Fix static analyser cppcheck issue Date: Fri, 12 May 2023 14:20:02 -0400 Message-Id: <20230512182036.359030-2-Liam.Howlett@oracle.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230512182036.359030-1-Liam.Howlett@oracle.com> References: <20230512182036.359030-1-Liam.Howlett@oracle.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: YT4PR01CA0257.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:b01:10f::13) To SN6PR10MB3022.namprd10.prod.outlook.com (2603:10b6:805:d8::25) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SN6PR10MB3022:EE_|DM4PR10MB5941:EE_ X-MS-Office365-Filtering-Correlation-Id: 04d97f47-4070-4ff1-5f2b-08db53159e64 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Oh3SWP8PC+BJkIGCRPABN3COKfjc2xOCE+BJJhO+H6TQiHzOGW5zyuTq/un7YqpqIygFxOXAlGCJYkp2QfSvzGfv1qQvnd3Q18d2y3Gy8paBVztHB+4Jb5rcnkfaMdJOUSJxEiGSeZCNz8nZ0g9tWCqE56XS+QnBfdE/Docv1Ki3ODBMmARjjGEskXowoPWxewN1IOsg5d5VMaOlf0C3zQh2wgXJYwJtvpZbha2zIet6U28WayjYf2/3VU1tzqd+fErtS3W6rGx5ihlViKC4AAEMNT8hpaG7wbdWOCFxKp066YVshiwQJOjcW5JXjgOm00KbJIVjBwO7h2i08S8i2vFSOyZkTrCvmEnDPiniOMKo92JA6jZzI2hhpk0CEDPaToytNmY9k5KFBb0ZfvZGvAwImu4tIy7XR0prfLZmHoCWlHtTUBG+PMjjkRO1/PnMol+7By88u1OXWEnOCUMxhjPMLO7zycOkQsPnOsXqXZsrPMzY55rDtMXzFf0CpJyyfyReMS4IJG9Y0a2mu9/3E8A7wojlAk7TuE16dyHuY+mkw6IzjNTxsE0XztMAJh4d 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)(396003)(376002)(136003)(366004)(39860400002)(346002)(451199021)(6916009)(54906003)(6666004)(5660300002)(316002)(6506007)(1076003)(38100700002)(41300700001)(4326008)(66476007)(86362001)(26005)(66946007)(66556008)(6512007)(2906002)(8676002)(8936002)(186003)(45080400002)(6486002)(36756003)(478600001)(83380400001)(2616005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: A8jMvU7nhWLS8IW4wBVyV0uNAsENws09/QxOEMVb3qDt5SVNFC/YJjtmOdfNfMKHHT6JsywVuacvDUWkC4WDOhAuApi2sIwOM+ASqD09GICGEhL/x3WHevqjyAT7e/tuNLxbqjnVy6df7wMtCzA67LaYZeMYWY2+sevp7CK8n+TG07Gr7Pwzfy6d4ZARs+lub87917e89bG9fIW2rllFxJ7B5F9m4TgUUonH2jto9wCIfjOGtvf5W57vkHGU+zyaTMD9fApk0E7ujyVjDeOFqsLcTGmVrBq+n6begr3t4iXw00v4GqHHufkF4lc3a3sQeJ+th8FMk+AVo7Oy3+XoQRZ8fPBLbL7sKmpefWXYdJvp9tNjk9oEx9cNtvx253QFqolaYtwnT/c6GzWb9O56i/Nm7FONbYsFthLLem38oGEiW6yw9rbrh1jo8nr2OvVEwLziWg07mT59hM+brajN5oSDF2V60jixODIV7REEDSwibvxoIK3m341E27FUaKGO2P/0d7e15W21tD2iJlfG0Xhvtiiev3sJlKSzEJOURhfB0U4SNq+DL5qLskn2bljeWTAW5zXcV8NCH7Xae0KTxv4oyilCPjyodVC15nuYHvUTimMipEgD/gXEk46qaojhwzf2Scnh7zRU0t1fWwbMoDxK32uWNcsZAVYum//YmluoI1kOxCB6wIxylX7yhsMYBFh/vukooD7vPrqAynkL8MHpmIGdC4loErLPzP7mRxBuzRiMH/aSOybTcRjwJGX0wSxDLGuJ6o2FYXpN+cdaNRL7HstYHb1DUX0LtqX04YEz/cl68Ye+vpqsF/D+XEpHWX/lPTpK/1vc1btfoePTfvITQulQfBupYKIY3r8iOQGEeXgpYlVk6thSoFrvx8/naITUjDcG74UnWqikPpy70DiZGTvm4BKbqBcTYSLxr/p5PRu5Lt9u+2xebG1H62geYWvgBVQy+MqaIJlSY9vz0DlHVEMGZF01yOwsOVOoaQs9SG7Qyk0XoB4q+CsvOfPICvpFgkVj/cb3VF1+YTL/IfuzVhyWQ4WZ3x8hrPNlOPIvWokBsVsez+2JA+PN6/0LfHZvc7ukZhE3OEo49Wd/v6YFz+owba+ltFZcN13NWiahSEa5qK8hvgUfLxnrlYr2Z3fLG/RM9rjdZ7ftdn2QAKT3ITUf8DM0hgAjE4ogiy0yG/NrEbiwedubSMVQ+HamqVTfCrCQUW1KLPh295p87fUDW3Mj3j0X/t9KhqBFxWATZ24w0CCTKICLJtv3TtUc5R67bfK7Q9n3/d4lBx3CktX9AWb9f9o5KsVfPPBfu+RmCwk3QUAEX8L3JlWX1WjntePTdvVBFsluFKu0WFGlP8nGkBMY8rBVkZCOQvZnyz21NQAoyceC61264XcgEEfBodGU1uoWqbsCHiiPf7CE94AvyTmfZio7lVrA7SP2Ht1FVOJ4zzjJiSiUzTsBSeRIbT94ULdO/QCF6jpE3oZi1imIUPgI+fFD578sm3Hm0rxaFrbQHFsQEaDiLv0++jfAKPOj/O8zOEQxZTYCq6/ZIy183Erjcg/X4xcvAhy73x7rupGR93NHaK3zGo2hlQj2zGyt26wYxhiUVQdJ9gJ/7w== X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: an2cwyYZ5Eohgdz1GBM75vlG2id7yzX64oIZM/ux+u+m0tzKtUWww4iRdFKjNdg08cRLacnF4f7vTStEa49ClncyDMqBimxYenmqKA9Qpp2gCg19fUIYe1hKKyj0GLL6j5lpOa8JcfdZROa7rogDaEjJT8XYy2fwW5yuZMufXGKQZjBqP7DdulRAYuDeSIKUwzLD97h06+QhGtHxJo3jnl5zwFU7bJdwtY1RRk29Fc1CzWZ1ypmWXzgua0rdnq+k06PlhrzE/vCTQrFPF3zecjsAxS8kvUXLME0UIefSTY4QnKHv0SpKb4/ebVEvnwvKf65A8Mmtxcr+nwvLay/JOC8xMK2CyQMSkHBz9VWGa2o8H4Cc8/xnck0TaI0LeQvdYUq/f7NQf4F4VSsr7fGn4sIO8lRmJyBT+oOcPS3HV0WhZvVqPbimHoZO1nqpaypwAXb/6qIVLdIQvL41lJ0tm1XbzJL58OTVq87G7zPqfwkIRYzpuUmG15/Nv6DCKK5v9uQ7WS775CEVdUekZMnrC8dczp4izRb//h8g0RPedkpumKjay0zSgQuUfGXQJ8ZK9oOrPcEnREpPvpoUsEqxnLR2Lcg6GvjoirwPcBPCcXbW8py9zpYL9FAFvz0NfoiK9UHEobyCCeZam5buJczAUeGAGO6TM0O9UOQzcLzbKfwXmiCbQbXueUlPaN0N6J2hC80Zu/SuQwSR2iSvzFo21+FI4Ov7xEFRXWodQ6MvCAZvOk16wNJr82LQcY7Mqrxh/bhLiiXBy9vgAeNpD/rkBDnkItrQ9RXZutgbKM69jPEq0hGsylpo55jGioT0zolVeAoTC7yPzf9rKg25RSD8FvP/NHHD3PtPKOoZDpjS7El9nsFvVWezfZRsipCQdO5eBA3WSIVK0oYgr9U8OwJ+QiEldeMEuxFlLvQE/fN9EYZKxPkkidsXRD0IAfOQpsuqCIDxV5Fg2vqye8NuavVqpA== X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 04d97f47-4070-4ff1-5f2b-08db53159e64 X-MS-Exchange-CrossTenant-AuthSource: SN6PR10MB3022.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 May 2023 18:20:52.0838 (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: R0FI1Xqqvcb41nV5FfIdWPMX2ps0ntp3HuwNqYllPh+JMImBgHoZgsKTCzmQxs00is9LEH2osWviu9xphGxN6w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR10MB5941 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-05-12_11,2023-05-05_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxlogscore=999 adultscore=0 mlxscore=0 bulkscore=0 suspectscore=0 malwarescore=0 spamscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2304280000 definitions=main-2305120153 X-Proofpoint-GUID: chTRX0Ku52JleXOwKuUhgAN9nnOKy8Ze X-Proofpoint-ORIG-GUID: chTRX0Ku52JleXOwKuUhgAN9nnOKy8Ze X-Rspamd-Queue-Id: A1C9B20012 X-Rspam-User: X-Rspamd-Server: rspam06 X-Stat-Signature: fict45ay1ib3qnc1krkajzete8p9agoz X-HE-Tag: 1683915676-579133 X-HE-Meta: U2FsdGVkX1/T6cNJtsf8xTZfZXJS6S8T1BPYOg3Ua4AwQ97RxTV11wjUJ6nrfTTCZ/++CEnAeWSwuEn/Jp8imFF20p1MG0OOAJPn1Gcv6R55yIDAm3EyioAaTIpX9a3d8qVcmLZ1qQcaPmn5my+ejNYsm3zxdnHlLMcgPR+YiUzH5qkHNuXJpPFsPNknnjN5vWz5mBFeajL7TDWjgkoEvEsN3Cx0bTJBjGVG101yfvViUqFG8zHfRvnAC9070E52DdY/J/jxvp3F1o7kzmU2ftb8HdbApT31xwvH3huRmfiUV4O8utHhk+7uiXDkvqsHIf78SswxoAFH5NfmPcUpJLzdBPwaeAPtsyTCVtUzxMraApJO9mihwL2keqi8NcSbMQl4p3/Hja9tanKZIiuKfZE2rBe5SJKFGBOWGt3ZUm2WkIQ5mvxcFiY5ko60GUGkVMgF9qjrgsCfoLn5rpNHc/bwUMrCBkrGRfpNl9RCCu5oqJrGGAQX6uDYFxgw5tDEcCHOzan4AH3UPoN5fidwTt5aDxL/n1SlhcRDdzQsYN5nRACkawrhPBcvMKOL04QrX+rw9cjjPtf9kJGzv/oo0/f+02nX30GOX5ZFOrCiXeOS6oXrkEj0Dl2VHQrEYhb7P1RLsCJ2PfooazJhAV2xPBXE108yiEnOWVQtSFvBqxTiPT+uVITfyJsdCBBNs7GyMBvZvOaJXUHnhxmhV1Xlh4SutSMfa5EZmqwzAlkcPPRXcPXaYSXukQ+JtkBw3IYPNthlNPx+AKNMBCmjbtZqW2YKJqXdB2WaWwI0L2Er97na25x8bAFluMbmoFoHZqakl0OrgEI9rjygLkacnIEloLVM+R4nZhJn1sCoNSaD/BwigFvF7Ss3ZBoQNpVy7YwUI2gPMM/yJDOO7Z/A75qpxeJbqfvSfxiUJu2xRSDTdajSmlR4SBOB4jReMOCABFOagcDo/nDbpdRUDtM+y5y kI2qXaJT G3VBVAQ1uTGQYlu2YNJqW9cydbHv+GQBAzPymnLgG+kaTdQF6MGfoB8tedhshi3VpHW8mXnOAcQPhpPdSKQfQzD8VoLlzIutBZwbS8U4n6l8LgiCj23lyae2Ki1JMU0wGIZjrfwx5JvS+pZkwecaM4zow1hX9Rr8mUinAWSljHzTcn4N6RQZ5Atk0co0vF90OP9QEsMXxkBownRLFktsZmg0K5ftLwsq6t7V23SJt1R896b06xokfrkwrZgsdCcFlZT3DXA9X+tUvM0q/d2YqDQrHrhyMygmlOwWkL7whPDFVinJ9jTS0w39vR1DynlYv0G/At1H0ZBf9Mx5L/HYrB39ZsbEVVEn7C9C5m736hiIUpX8blgyY8Uz7ZvhQ8LA8DUk3sDhn4NV1cOlrQQhepeqEvWTv+y7qrV03RbO3yNnFZTidmBMvjuuf4qnjwOoM3tQeAiUSynoSoSdCsUyKIsXYcjeuTMiPJQ9koN1pPTMsRdeacj+EuRf5UH9PLcRPmVEH 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 |
Maple tree mas_{next,prev}_range() and cleanup
|
expand
|
diff --git a/lib/maple_tree.c b/lib/maple_tree.c index 110a36479dced..9cf4fca42310c 100644 --- a/lib/maple_tree.c +++ b/lib/maple_tree.c @@ -1943,8 +1943,9 @@ static inline int mab_calc_split(struct ma_state *mas, * causes one node to be deficient. * NOTE: mt_min_slots is 1 based, b_end and split are zero. */ - while (((bn->pivot[split] - min) < slot_count - 1) && - (split < slot_count - 1) && (b_end - split > slot_min)) + while ((split < slot_count - 1) && + ((bn->pivot[split] - min) < slot_count - 1) && + (b_end - split > slot_min)) split++; }