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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E44A3C433F5 for ; Wed, 13 Oct 2021 16:05:14 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id C33B661168 for ; Wed, 13 Oct 2021 16:05:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234988AbhJMQHR (ORCPT ); Wed, 13 Oct 2021 12:07:17 -0400 Received: from verein.lst.de ([213.95.11.211]:46416 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229653AbhJMQHQ (ORCPT ); Wed, 13 Oct 2021 12:07:16 -0400 Received: by verein.lst.de (Postfix, from userid 2407) id D0A5E68B05; Wed, 13 Oct 2021 18:05:11 +0200 (CEST) Date: Wed, 13 Oct 2021 18:05:11 +0200 From: Christoph Hellwig To: Jason Gunthorpe Cc: Alex Williamson , Cornelia Huck , kvm@vger.kernel.org, Christoph Hellwig , "Tian, Kevin" , Liu Yi L Subject: Re: [PATCH v2 2/5] vfio: Do not open code the group list search in vfio_create_group() Message-ID: <20211013160511.GB1327@lst.de> References: <0-v2-fd9627d27b2b+26c-vfio_group_cdev_jgg@nvidia.com> <2-v2-fd9627d27b2b+26c-vfio_group_cdev_jgg@nvidia.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <2-v2-fd9627d27b2b+26c-vfio_group_cdev_jgg@nvidia.com> User-Agent: Mutt/1.5.17 (2007-11-01) Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org On Wed, Oct 13, 2021 at 11:27:47AM -0300, Jason Gunthorpe wrote: > Split vfio_group_get_from_iommu() into __vfio_group_get_from_iommu() so > that vfio_create_group() can call it to consolidate this duplicated code. > > Reviewed-by: Liu Yi L (✓ DKIM/intel.onmicrosoft.com) > Reviewed-by: Kevin Tian (✓ DKIM/intel.onmicrosoft.com) These Reviewed-by line look strange. The actual code changes looks good: Reviewed-by: Christoph Hellwig