[dpdk-dev] [PATCH 4/9] net/i40e/base: fix missing function header arguments

Yang, Qiming qiming.yang at intel.com
Tue Sep 8 10:03:38 CEST 2020



> -----Original Message-----
> From: Sun, GuinanX <guinanx.sun at intel.com>
> Sent: Saturday, September 5, 2020 10:50
> To: dev at dpdk.org
> Cc: Xing, Beilei <beilei.xing at intel.com>; Zhang, Qi Z <qi.z.zhang at intel.com>;
> Yang, Qiming <qiming.yang at intel.com>; Sun, GuinanX
> <guinanx.sun at intel.com>; stable at dpdk.org; Brandeburg, Jesse
> <jesse.brandeburg at intel.com>
> Subject: [PATCH 4/9] net/i40e/base: fix missing function header arguments
> 
> Fix them by adding the argument descriptions.
> 
> Fixes: 0d9d27bb8684 ("i40e/base: prepare local LLDP MIB in TLV")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Jesse Brandeburg <jesse.brandeburg at intel.com>
> Signed-off-by: Guinan Sun <guinanx.sun at intel.com>
> ---
>  drivers/net/i40e/base/i40e_dcb.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/drivers/net/i40e/base/i40e_dcb.c
> b/drivers/net/i40e/base/i40e_dcb.c
> index a07c61e67..388af3d64 100644
> --- a/drivers/net/i40e/base/i40e_dcb.c
> +++ b/drivers/net/i40e/base/i40e_dcb.c
> @@ -1267,7 +1267,8 @@ enum i40e_status_code
> i40e_set_dcb_config(struct i40e_hw *hw)
> 
>  /**
>   * i40e_dcb_config_to_lldp - Convert Dcbconfig to MIB format
> - * @hw: pointer to the hw struct
> + * @lldpmib: pointer to mib to be output
> + * @miblen: pointer to u16 for length of lldpmib

Only parameter description change? No function change?

>   * @dcbcfg: store for LLDPDU data
>   *
>   * send DCB configuration to FW
> --
> 2.17.1



More information about the dev mailing list