From: Adrien Mazarguil Date: Thu, 2 Nov 2017 18:14:19 +0000 (+0100) Subject: net/mlx4: fix function prototypes X-Git-Tag: spdx-start~946 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=b3d197b4350594512e847bcefbb28ee8332f6fe0;p=dpdk.git net/mlx4: fix function prototypes This is done for consistency with the rest of the code. Fixes: 078b8b452e6b ("net/mlx4: add RSS flow rule action support") Signed-off-by: Adrien Mazarguil --- diff --git a/drivers/net/mlx4/mlx4_rxq.c b/drivers/net/mlx4/mlx4_rxq.c index 7fe21b6fb7..ee1e7a987b 100644 --- a/drivers/net/mlx4/mlx4_rxq.c +++ b/drivers/net/mlx4/mlx4_rxq.c @@ -164,7 +164,8 @@ error: * @param rss * RSS context to release. */ -void mlx4_rss_put(struct mlx4_rss *rss) +void +mlx4_rss_put(struct mlx4_rss *rss) { assert(rss->refcnt); if (--rss->refcnt) @@ -190,7 +191,8 @@ void mlx4_rss_put(struct mlx4_rss *rss) * @return * 0 on success, a negative errno value otherwise and rte_errno is set. */ -int mlx4_rss_attach(struct mlx4_rss *rss) +int +mlx4_rss_attach(struct mlx4_rss *rss) { assert(rss->refcnt); if (rss->usecnt++) { @@ -312,7 +314,8 @@ error: * @param rss * RSS context to detach from. */ -void mlx4_rss_detach(struct mlx4_rss *rss) +void +mlx4_rss_detach(struct mlx4_rss *rss) { struct priv *priv = rss->priv; unsigned int i;