Received: by 2002:a05:6500:2018:b0:1fb:9675:f89d with SMTP id t24csp541388lqh; Fri, 31 May 2024 08:53:01 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU2jyilBB9VbEb5JBefWv2EXeO/AxZTR5zDhoQKUPGFFGk77WNYFUgy0RHBUdG+4wSOXs9EsXFMNqvsHjx9/yPNN7vGREapcEDK+0A/Fw== X-Google-Smtp-Source: AGHT+IEG14WgXnPWTUxqu4gYyMGCyNa7S63ahwVzLubR7k6LyKI3wXxisnB0OgEQx+yfsKT9lYvJ X-Received: by 2002:a17:906:849:b0:a68:8704:6b17 with SMTP id a640c23a62f3a-a6887046c3bmr120799166b.45.1717170781701; Fri, 31 May 2024 08:53:01 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717170781; cv=pass; d=google.com; s=arc-20160816; b=t8ziS0Z2jkTpBFAU3HYAHr+LM/0N0I1TbTC3zlZJJ/Rw2PKDu6vLZBtTPooCQlqpYf xIOS0vi/n644MBbVkdY2YggTNykfMxdbuZgl68V8yraSfOb6uQFht0n5Z+jG7w2hUstP ZDj0Pnqw+Q/799FWGDi7Gp07lcd+97oYc7h29GgrDs9Xa2m0+TAVEeW7EnGfmNRUegLW N6Jzn1j1i/DohQ3dYHQZ7Ielzoz7PtLghK4pMQnslEZ8lwo8F7Er4Php+LW/cmQ7JgGY nPYzd+wnWtZrlP17FMlkkGZXJRitTRdNpZNoBKokykyc4sbXtphEs1Q30B8jUi5sKoID CnJg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=Wdr8NL5z2CsDvEMmSBEfLf6c7eYYHbrvVQBqgBlLEDE=; fh=6X1nmprmEEqShPirHBToBlCBcv+lTsYshoKBFvZPLn8=; b=vCnKQ+jptMZc6R21TGux5ps8aRWLFBQC09AQ2so5891mz6Wv98sBNe9q7fwbaHxUym JKv2fQnAn4FKkxWSe82zXLb23DvPjAISlxJ/m2QnG6AEu51XWMst4/qbnGojBxshPmXw CK8U/P0cMXY9rtrhe0mBiFU11kGqLDt3Z6VMcflURZdvMqvv0wKFeblkVJbS5hl31nwv uWk7IiGdBzwueAb89jGYjSvgCQewe6AiMfk4v/Bi/2Qaif97u9IQOC3rn4fl4Nk/+HFJ tzKhJ9MR0r1hP81a81qagTezsekCyRmF7rK7POLt2+LDqq2+sYp3TOJt1Jenh0EW+7FS sofQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Jl2PWOGq; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-197098-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-197098-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id a640c23a62f3a-a67eae70793si106481566b.790.2024.05.31.08.53.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 May 2024 08:53:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-197098-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Jl2PWOGq; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-197098-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-197098-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 640A31F23ABB for ; Fri, 31 May 2024 15:53:01 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D203C157A58; Fri, 31 May 2024 15:52:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="Jl2PWOGq" Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6B80C24A0E for ; Fri, 31 May 2024 15:52:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.17 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717170766; cv=none; b=YbUjygnEO2SsC8ViXAkTMoR+ASjf18U9bQkWQyVG5AaXiTUCN0RCKMnrNEvtMhoAPcCn3sAk6+QrzqWAWO4jKEkdJiYQ6vWmo2DtUiTpJWPKkOWk3vYtoxuioWI4MN3qH4/upEbHb/9QAjHh2hCReaLahRVFDvbPDmRAYp8eYKQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717170766; c=relaxed/simple; bh=J0kbwRHmV/+gyGrwgRmUSbnanlbcmQ5Rx6idzys8fSY=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=P2CKZywyx91eXuf1iazH8bb4A1czDq58q/ZyFcSWJM8IYksWpldmwa7/l8+hITwJsNNhIKSEV6u2jGRsVl0yc+LKEhG7/UJdtB77sIEoUIybYUi8k/tldikIQoClqXCyesuvDspHVCIiif/TK/f+Rs1mMVxPpjiLK+tCKGLowQA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=Jl2PWOGq; arc=none smtp.client-ip=192.198.163.17 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1717170763; x=1748706763; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=J0kbwRHmV/+gyGrwgRmUSbnanlbcmQ5Rx6idzys8fSY=; b=Jl2PWOGqwdkMrLN1My//9lWF1ambVxcY/K1yi6qsTFLWlICy3N4ZkbkS 57/rtrxFR4yAjgjve8YcHMnXDG1cEIsi6y78vGHYwrlcD3YFoVygN4pcp wOXCSNasoHliv7srXA7xp3Xq9mlje97dz8xvrYTflmZ4N0N5RGo/s1KXc D/wrxBFwgCZKVyoGaz8vjG8my3mzs9J9gSTYoAI66u3w+iFalRvufY6LO 3GHKBAjQQ26GyQuuxDXCFqAj+9SGY/R+2fz8Nt+1nfS9UoCiHvMjhwU+M bcBkSUHWfhiNrDoU7DBkPCN+FR5Fj7RCol1u17moNgrmNoKrqWf9xG020 A==; X-CSE-ConnectionGUID: hgUEzJKkRVWaXU+foNpeoA== X-CSE-MsgGUID: x+kZR9e0RJi9I7cZTj7I9A== X-IronPort-AV: E=McAfee;i="6600,9927,11089"; a="13587514" X-IronPort-AV: E=Sophos;i="6.08,204,1712646000"; d="scan'208";a="13587514" Received: from fmviesa002.fm.intel.com ([10.60.135.142]) by fmvoesa111.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 31 May 2024 08:52:43 -0700 X-CSE-ConnectionGUID: zpuuR3eiRQ60zgBo3cKqcg== X-CSE-MsgGUID: +jYVfnZySUSdu642MgqtqQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,204,1712646000"; d="scan'208";a="59376531" Received: from djiang5-mobl3.amr.corp.intel.com (HELO [10.125.108.62]) ([10.125.108.62]) by fmviesa002-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 31 May 2024 08:52:42 -0700 Message-ID: <457b2e1c-00b7-45d5-9c66-6d03c39586d5@intel.com> Date: Fri, 31 May 2024 08:52:41 -0700 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH -next] ntb: Fix kernel-doc param for ntb_transport_create_queue To: Yang Li , jdmason@kudzu.us, allenbh@gmail.com Cc: ntb@lists.linux.dev, linux-kernel@vger.kernel.org References: <20240531072124.64352-1-yang.lee@linux.alibaba.com> Content-Language: en-US From: Dave Jiang In-Reply-To: <20240531072124.64352-1-yang.lee@linux.alibaba.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 5/31/24 12:21 AM, Yang Li wrote: > The patch updates the function documentation comment for > ntb_transport_create_queue to adhere to the kernel-doc specification. I wouldn't say it's not adhering to kernel-doc specification but rather that it's documenting the incorrect/out of date parameters. So maybe something like: Update ntb_transport_create_queue() kdoc header to specify the correct input parameters used by the function. > > Signed-off-by: Yang Li Besides the commit log change, Reviewed-by: Dave Jiang > --- > drivers/ntb/ntb_transport.c | 7 ++++--- > 1 file changed, 4 insertions(+), 3 deletions(-) > > diff --git a/drivers/ntb/ntb_transport.c b/drivers/ntb/ntb_transport.c > index f9e7847a378e..5d466a3f117b 100644 > --- a/drivers/ntb/ntb_transport.c > +++ b/drivers/ntb/ntb_transport.c > @@ -1966,9 +1966,10 @@ static bool ntb_dma_filter_fn(struct dma_chan *chan, void *node) > > /** > * ntb_transport_create_queue - Create a new NTB transport layer queue > - * @rx_handler: receive callback function > - * @tx_handler: transmit callback function > - * @event_handler: event callback function > + * @data: user-defined data to associate with the queue > + * @client_dev: the device structure of the NTB client > + * @handlers: structure containing receive, transmit, and event callback > + * functions > * > * Create a new NTB transport layer queue and provide the queue with a callback > * routine for both transmit and receive. The receive callback routine will be