Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp6481089pxb; Wed, 17 Feb 2021 05:51:41 -0800 (PST) X-Google-Smtp-Source: ABdhPJy7orwnvk/lTxALCZyd4n7LqgpdIYGQ5N8tKBlRI6Zidewd5r18LryTe5wsP1qbWKSZunBR X-Received: by 2002:a17:906:16c6:: with SMTP id t6mr25007149ejd.102.1613569901524; Wed, 17 Feb 2021 05:51:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613569901; cv=none; d=google.com; s=arc-20160816; b=po1zAIW0i4XBXlfUd2QU43A5ZDH4sdXa/uK3c0sKSaYSlJbinkp8etsh3m5w21yPSa 3N4iGzDGHJQnncsRn91aXICQjbsQfgBmSLZCjTTFACTpVVfYEBpUyxuMqpNfZlPshCwZ lP40KRpkEN6qCrg0sZ7CBp2+8PBxm50h5YB+ZN9yeruUrhQdT9jB/nO/33K3quMo0pFz e3VLbeKByGAzrG/bXMMLFbwv20QgQZHJ8QQJFXve6uGa1YK6nGwvFQ+uTENaoesoRPCM m1FXpsIum1QBMMKyU1xXZ0ZES0XOZdR5amGoilnIKBiY8XZ1EiYnMRu1jWdQEtL0XeV4 NS7w== 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-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:ironport-sdr :ironport-sdr; bh=BkSZLeIactP29uWd2A4O2mXiC+5JOxpX2RHdg/yoOIM=; b=PBhimnvUGbHAqAxixcWW5b8g8RjTJ0qybFTDTOfmrV2sziYEtGyKVgcL8vhCtvPgM8 xigoxFHr+OG/CEL7lDOEvfhU+wQNY7ZKoLS+GNFxgNnT3m1F5L8wfzmxt19D6O1/Uq0w cI7WKMyUNHaNbRLmnoZ+8q5ZxZ/2y+X3M4An13NScAF1j7bIaHx9P0gLeeYSTgcMkBGf HpWTOB+e+xdr2LFLBPvHIPZ1zOvFEOfej0zdANtsGVLH1cyfMmY+JeP5pUyFL2sfScv3 6YWjorfJtUZkKqzx7vaz63jRF7ia0CbEb81q2wJ5m9EEh0bpyUfndqX1lO3BCTG7IS9t 2KGQ== 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 p12si1562165ejm.633.2021.02.17.05.51.18; Wed, 17 Feb 2021 05:51:41 -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 S231998AbhBQNqd (ORCPT + 99 others); Wed, 17 Feb 2021 08:46:33 -0500 Received: from mga11.intel.com ([192.55.52.93]:49319 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231748AbhBQNq0 (ORCPT ); Wed, 17 Feb 2021 08:46:26 -0500 IronPort-SDR: AGNfUCZ4eQmR1OyD13cQ5ZkA21767Y9Z/Gl4fpy30PzY09PX2RH0J29+/bYgQVRhQ1qOwoGtYs 4VM0ui33Z5LA== X-IronPort-AV: E=McAfee;i="6000,8403,9897"; a="179687483" X-IronPort-AV: E=Sophos;i="5.81,184,1610438400"; d="scan'208";a="179687483" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Feb 2021 05:44:40 -0800 IronPort-SDR: V7ayCDOY8nnXq9NkW+ZHBLE6NemCXzcUqKAiDmar80O1x3cENFgF3lrNvMoRPtTV/rXjRc2/d8 4ZzHff33vwCw== X-IronPort-AV: E=Sophos;i="5.81,184,1610438400"; d="scan'208";a="494108194" 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; 17 Feb 2021 05:44:34 -0800 Received: from andy by smile with local (Exim 4.94) (envelope-from ) id 1lCN83-005iZj-Ne; Wed, 17 Feb 2021 15:44:31 +0200 Date: Wed, 17 Feb 2021 15:44:31 +0200 From: Andy Shevchenko To: Dejin Zheng Cc: Krzysztof =?utf-8?Q?Wilczy=C5=84ski?= , corbet@lwn.net, jarkko.nikula@linux.intel.com, mika.westerberg@linux.intel.com, rric@kernel.org, helgaas@kernel.org, wsa@kernel.org, linux-doc@vger.kernel.org, linux-i2c@vger.kernel.org, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 2/4] Documentation: devres: Add pcim_alloc_irq_vectors() Message-ID: References: <20210216160249.749799-1-zhengdejin5@gmail.com> <20210216160249.749799-3-zhengdejin5@gmail.com> <20210217105004.GA766103@nuc8i5> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20210217105004.GA766103@nuc8i5> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Feb 17, 2021 at 06:50:04PM +0800, Dejin Zheng wrote: > On Tue, Feb 16, 2021 at 06:10:52PM +0100, Krzysztof WilczyƄski wrote: ... > > Having said that, people might ask - how does it simplify the error > > handling path? > > > > You might have to back this with a line of two to explain how does the > > change achieved that, so that when someone looks at the commit message > > it would be clear what the benefits of the change were. > The device-managed function is a conventional concept that every developer > knows. So don't worry about this. And I really can't explain its operation > mechanism to you in a sentence or two. If you are really interested, you > can read the relevant code. I tend on agree on the above. It would be enough to spell it clearly that it's part of devres API (Managed Device Resource) and we are fine. -- With Best Regards, Andy Shevchenko