[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1f393cc9-7195-4d58-b1ab-3616a184a88f@intel.com>
Date: Fri, 7 Jun 2024 09:14:29 -0700
From: Dave Jiang <dave.jiang@...el.com>
To: Yang Li <yang.lee@...ux.alibaba.com>, jdmason@...zu.us, allenbh@...il.com
Cc: ntb@...ts.linux.dev, linux-kernel@...r.kernel.org
Subject: Re: [PATCH -next v2] ntb: Fix kernel-doc param for
ntb_transport_create_queue
On 6/7/24 12:57 AM, Yang Li wrote:
> The patch updates ntb_transport_create_queue() kdoc header to specify the
> correct input parameters used by the function.
>
> Signed-off-by: Yang Li <yang.lee@...ux.alibaba.com>
Thank you!
Reviewed-by: Dave Jiang <dave.jiang@...el.com>
> ---
I do recommend attaching the revision history below the '---' line next time for common patch posting practice. Thanks
> 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
Powered by blists - more mailing lists