diff mbox series

[RFC] netfilter: meta: nft_meta_get_validate() can be static

Message ID 20171213071622.GA138460@ivb43.lkp.intel.com
State RFC
Delegated to: Pablo Neira
Headers show
Series [RFC] netfilter: meta: nft_meta_get_validate() can be static | expand

Commit Message

kernel test robot Dec. 13, 2017, 7:16 a.m. UTC
Fixes: dce1fc524886 ("netfilter: meta: secpath support")
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---
 nft_meta.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Comments

Pablo Neira Ayuso Dec. 13, 2017, 4:42 p.m. UTC | #1
On Wed, Dec 13, 2017 at 03:16:22PM +0800, kbuild test robot wrote:
> 
> Fixes: dce1fc524886 ("netfilter: meta: secpath support")
> Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>

Florian sent a v2 that fixes this, I'll take that one.

Anyway, thanks for testing netfilter patches kbuild robot.
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox series

Patch

diff --git a/net/netfilter/nft_meta.c b/net/netfilter/nft_meta.c
index 63a013a..993157e 100644
--- a/net/netfilter/nft_meta.c
+++ b/net/netfilter/nft_meta.c
@@ -328,9 +328,9 @@  int nft_meta_get_init(const struct nft_ctx *ctx,
 }
 EXPORT_SYMBOL_GPL(nft_meta_get_init);
 
-int nft_meta_get_validate(const struct nft_ctx *ctx,
-			  const struct nft_expr *expr,
-			  const struct nft_data **data)
+static int nft_meta_get_validate(const struct nft_ctx *ctx,
+				 const struct nft_expr *expr,
+				 const struct nft_data **data)
 {
 	const struct nft_meta *priv = nft_expr_priv(expr);
 	unsigned int hooks;