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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 219CCC433EF for ; Wed, 22 Jun 2022 13:43:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1353035AbiFVNny (ORCPT ); Wed, 22 Jun 2022 09:43:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34776 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1357134AbiFVNnm (ORCPT ); Wed, 22 Jun 2022 09:43:42 -0400 Received: from theia.8bytes.org (8bytes.org [81.169.241.247]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 986865FBD for ; Wed, 22 Jun 2022 06:43:41 -0700 (PDT) Received: by theia.8bytes.org (Postfix, from userid 1000) id 4F96D2D0; Wed, 22 Jun 2022 15:43:40 +0200 (CEST) Date: Wed, 22 Jun 2022 15:43:39 +0200 From: Joerg Roedel To: Bo Liu Cc: will@kernel.org, iommu@lists.linux-foundation.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] iommu: Remove usage of the deprecated ida_simple_xxx API Message-ID: References: <20220617020555.2361-1-liubo03@inspur.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220617020555.2361-1-liubo03@inspur.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jun 16, 2022 at 10:05:55PM -0400, Bo Liu wrote: > Use ida_alloc_xxx()/ida_free() instead of > ida_simple_get()/ida_simple_remove(). > The latter is deprecated and more verbose. > > Signed-off-by: Bo Liu > --- > drivers/iommu/iommu.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) Sorry, just applied this similar change: https://lore.kernel.org/r/20220608021655.1538087-1-liuke94@huawei.com