From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 321ABC433E0 for ; Thu, 18 Mar 2021 10:02:11 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id E68CE64F38 for ; Thu, 18 Mar 2021 10:02:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229831AbhCRKBj (ORCPT ); Thu, 18 Mar 2021 06:01:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53132 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229564AbhCRKBc (ORCPT ); Thu, 18 Mar 2021 06:01:32 -0400 Received: from theia.8bytes.org (8bytes.org [IPv6:2a01:238:4383:600:38bc:a715:4b6d:a889]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 391CBC06174A for ; Thu, 18 Mar 2021 03:01:32 -0700 (PDT) Received: by theia.8bytes.org (Postfix, from userid 1000) id AFDC62D8; Thu, 18 Mar 2021 11:01:30 +0100 (CET) Date: Thu, 18 Mar 2021 11:01:29 +0100 From: Joerg Roedel To: Robin Murphy Cc: iommu@lists.linux-foundation.org, john.garry@huawei.com, thunder.leizhen@huawei.com, vjitta@codeaurora.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/2] iommu/iova: Add rbtree entry helper Message-ID: References: <03931d86c0ad71f44b29394e3a8d38bfc32349cd.1614962123.git.robin.murphy@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <03931d86c0ad71f44b29394e3a8d38bfc32349cd.1614962123.git.robin.murphy@arm.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Mar 05, 2021 at 04:35:22PM +0000, Robin Murphy wrote: > Repeating the rb_entry() boilerplate all over the place gets old fast. > Before adding yet more instances, add a little hepler to tidy it up. > > Signed-off-by: Robin Murphy > --- > drivers/iommu/iova.c | 23 ++++++++++++++--------- > 1 file changed, 14 insertions(+), 9 deletions(-) Applied both, thanks Robin.