Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp4934686pxb; Mon, 15 Feb 2021 05:24:48 -0800 (PST) X-Google-Smtp-Source: ABdhPJwsnHgxtoS3gQPDKO4p3J7+4HqX8At96b5A6zoWt+56ra9mBZbQX277O97BbEa6raIOrVhk X-Received: by 2002:a05:6402:c8e:: with SMTP id cm14mr15585996edb.6.1613395488743; Mon, 15 Feb 2021 05:24:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613395488; cv=none; d=google.com; s=arc-20160816; b=iB3MiSmJEu9+UA/bxHtCNU2LFhBgNZo2zKzA+8WJtd9SVJ9GsIJdpn6L+LFHjtW1Vi fDJcQ2efeyRuGSK/VPH5WCSHxwxAccZRxqabHM7FFRCJch42FWwA9qYIiM752cK0d71Y unarrx4taoqtbf7q1xFpiM8n9CXXrWCUljZtV4nzVW+EVS1Vg4XkTQqTzhQkgQZZFnh4 v/mCUtqOvCjR3ZRQRmqb+Y50Ilg6CSY/sBHiLGEcU8PXSnaOR7tlQjkGBrZjwY3mX+hV WbQlfqf+9A+3tdXq5T+YsfKgnn6o1JI+tO7Ca8hLOjPfEUW93VKY/xIZMfYzfjC0wxtK jYdA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:organization:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :ironport-sdr:ironport-sdr; bh=GmsGGUAxMM8WaTi5RBY5xYGM91PCgsWkiTk5m6klqGQ=; b=MV3eASxORqIm0AgVaouLMdP1MXRkaKXzBbeZ4u7HX7U8imWCsH+tG9ZYwh/IOUF2Dx cDsM8l3OOYTKJb7gmiEVcVFgU/IQyd3pqtbcn1sfDJ4lNJ59IVl4F1tBaqcdzvND3szX wGXcKfQBQIBBv6nrQpLaY+0Gjpww4Ki8vVjLEL2MSg1bpzuWeN5ftkCr3CGWerdEKBwu iM/kUloDXSLun4g9NitLWtczjsv/F3vQ06HN6a2XTyOc6NRdtDdIJshaxBm6AiZZwlyy o4eLmELO3Joa6f9mKCA5UlG4Mv2swsxyfotk9Iu9xLcA6lPY4r3I0HwPXVqbEdSKrUUt 2QaA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c8si12168442ejk.354.2021.02.15.05.24.25; Mon, 15 Feb 2021 05:24:48 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230235AbhBONW6 (ORCPT + 99 others); Mon, 15 Feb 2021 08:22:58 -0500 Received: from mga09.intel.com ([134.134.136.24]:54806 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229738AbhBONWl (ORCPT ); Mon, 15 Feb 2021 08:22:41 -0500 IronPort-SDR: 5jBAlANxipkf5eOocuv2V7NkcF7OZIE/Vv3P+XveSSSUDn7wTLp2Nq/FBlFNXR7axhMEGuCrOa uwd4xrhq/xMA== X-IronPort-AV: E=McAfee;i="6000,8403,9895"; a="182809238" X-IronPort-AV: E=Sophos;i="5.81,180,1610438400"; d="scan'208";a="182809238" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Feb 2021 05:20:46 -0800 IronPort-SDR: ni4OXckW4L+aJIPdFOZ9pQkZww/w+Syf7XCWV9NFEfkw6YP2EviRHCjcNvYDlLHEuUnsMW7ERK jSGAVmIJd+WA== X-IronPort-AV: E=Sophos;i="5.81,180,1610438400"; d="scan'208";a="492734902" Received: from smile.fi.intel.com (HELO smile) ([10.237.68.40]) by fmsmga001-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Feb 2021 05:20:43 -0800 Received: from andy by smile with local (Exim 4.94) (envelope-from ) id 1lBdns-005CPw-In; Mon, 15 Feb 2021 15:20:40 +0200 Date: Mon, 15 Feb 2021 15:20:40 +0200 From: Andy Shevchenko To: Dejin Zheng Cc: jarkko.nikula@linux.intel.com, mika.westerberg@linux.intel.com, wsa@kernel.org, linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH i2c-next] i2c: designware: Consolidate pci_free_irq_vectors to a single place Message-ID: References: <20210214064529.481341-1-zhengdejin5@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210214064529.481341-1-zhengdejin5@gmail.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Feb 14, 2021 at 02:45:29PM +0800, Dejin Zheng wrote: > Consolidate pci_free_irq_vectors to a single place using "goto free_irq" > for simplify the code. One nit below, after addressing: Reviewed-by: Andy Shevchenko ... > +free_irq: It's quite confusing name. I would expect to see here (with current proposal) *free_irq() call, but no, I don't see a such. Please, change to something like err_pci_free_irq_vectors: or alternatively err_free_irq_vectors: however I think first one is disambiguous. > + pci_free_irq_vectors(pdev); > + return r; -- With Best Regards, Andy Shevchenko