From: Simon Horman <horms@kernel.org>
To: Mengyuan Lou <mengyuanlou@net-swift.com>
Cc: netdev@vger.kernel.org, jiawenwu@trustnetic.com,
duanqiangwen@net-swift.com
Subject: Re: [PATCH net-next v3 1/6] net: libwx: Add malibox api for wangxun pf drivers
Date: Wed, 15 May 2024 16:28:13 +0100 [thread overview]
Message-ID: <20240515152813.GO154012@kernel.org> (raw)
In-Reply-To: <E46F2D38B2634039+20240515100830.32920-2-mengyuanlou@net-swift.com>
On Wed, May 15, 2024 at 05:50:04PM +0800, Mengyuan Lou wrote:
> Implements the mailbox interfaces for wangxun pf drivers
> ngbe and txgbe.
>
> Signed-off-by: Mengyuan Lou <mengyuanlou@net-swift.com>
...
> diff --git a/drivers/net/ethernet/wangxun/libwx/wx_mbx.c b/drivers/net/ethernet/wangxun/libwx/wx_mbx.c
> new file mode 100644
> index 000000000000..26842043630b
> --- /dev/null
> +++ b/drivers/net/ethernet/wangxun/libwx/wx_mbx.c
> @@ -0,0 +1,191 @@
> +// SPDX-License-Identifier: GPL-2.0
> +/* Copyright (c) 2015 - 2024 Beijing WangXun Technology Co., Ltd. */
> +#include <linux/pci.h>
> +#include "wx_type.h"
> +#include "wx_mbx.h"
> +
> +/**
> + * wx_obtain_mbx_lock_pf - obtain mailbox lock
> + * @wx: pointer to the HW structure
> + * @vf: the VF index
> + *
> + * return SUCCESS if we obtained the mailbox lock
> + **/
Thanks for including a return section in Kernel docs.
It seems that the correct format is (case insensitive)
one of:
* return: ...
* returns: ...
So I think you need to add a ':'.
Likewise elsewhere in this patch-set.
Flagged by ./scripts/kernel-doc -none -Wall
...
next prev parent reply other threads:[~2024-05-15 15:28 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20240515100830.32920-1-mengyuanlou@net-swift.com>
2024-05-15 9:50 ` [PATCH net-next v3 1/6] net: libwx: Add malibox api for wangxun pf drivers Mengyuan Lou
2024-05-15 15:28 ` Simon Horman [this message]
2024-05-15 9:50 ` [PATCH net-next v3 2/6] net: libwx: Add sriov api for wangxun nics Mengyuan Lou
2024-05-15 9:50 ` [PATCH net-next v3 3/6] net: libwx: Redesign flow when sriov is enabled Mengyuan Lou
2024-05-15 9:50 ` [PATCH net-next v3 4/6] net: libwx: Add msg task func Mengyuan Lou
2024-05-15 15:24 ` Simon Horman
2024-05-15 9:50 ` [PATCH net-next v3 5/6] net: ngbe: add sriov function support Mengyuan Lou
2024-05-15 15:22 ` Simon Horman
2024-05-16 0:46 ` kernel test robot
2024-05-15 9:50 ` [PATCH net-next v3 6/6] net: txgbe: " Mengyuan Lou
[not found] <20240415110225.75132-1-mengyuanlou@net-swift.com>
2024-04-15 10:54 ` [PATCH net-next v3 1/6] net: libwx: Add malibox api for wangxun pf drivers Mengyuan Lou
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240515152813.GO154012@kernel.org \
--to=horms@kernel.org \
--cc=duanqiangwen@net-swift.com \
--cc=jiawenwu@trustnetic.com \
--cc=mengyuanlou@net-swift.com \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.