netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 5/5] net: Replace CONFIG_DEBUG_KERNEL with CONFIG_DEBUG_MISC
       [not found] <20190412014355.25307-1-okaya@kernel.org>
@ 2019-04-12  1:43 ` Sinan Kaya
  2019-04-12  8:09   ` Florian Westphal
  0 siblings, 1 reply; 2+ messages in thread
From: Sinan Kaya @ 2019-04-12  1:43 UTC (permalink / raw)
  To: linux-kernel
  Cc: josh, keescook, Sinan Kaya, Pablo Neira Ayuso, Jozsef Kadlecsik,
	Florian Westphal, David S. Miller, open list:NETFILTER,
	open list:NETFILTER, open list:NETWORKING [GENERAL]

CONFIG_DEBUG_KERNEL should not impact code generation. Use the newly
defined CONFIG_DEBUG_MISC instead to keep the current code.

Signed-off-by: Sinan Kaya <okaya@kernel.org>
---
 net/netfilter/core.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net/netfilter/core.c b/net/netfilter/core.c
index 93aaec3a54ec..cac3bad47f5e 100644
--- a/net/netfilter/core.c
+++ b/net/netfilter/core.c
@@ -162,7 +162,7 @@ nf_hook_entries_grow(const struct nf_hook_entries *old,
 
 static void hooks_validate(const struct nf_hook_entries *hooks)
 {
-#ifdef CONFIG_DEBUG_KERNEL
+#ifdef CONFIG_DEBUG_MISC
 	struct nf_hook_ops **orig_ops;
 	int prio = INT_MIN;
 	size_t i = 0;
-- 
2.21.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH v4 5/5] net: Replace CONFIG_DEBUG_KERNEL with CONFIG_DEBUG_MISC
  2019-04-12  1:43 ` [PATCH v4 5/5] net: Replace CONFIG_DEBUG_KERNEL with CONFIG_DEBUG_MISC Sinan Kaya
@ 2019-04-12  8:09   ` Florian Westphal
  0 siblings, 0 replies; 2+ messages in thread
From: Florian Westphal @ 2019-04-12  8:09 UTC (permalink / raw)
  To: Sinan Kaya
  Cc: linux-kernel, josh, keescook, Pablo Neira Ayuso, Jozsef Kadlecsik,
	Florian Westphal, David S. Miller, open list:NETFILTER,
	open list:NETFILTER, open list:NETWORKING [GENERAL]

Sinan Kaya <okaya@kernel.org> wrote:
> CONFIG_DEBUG_KERNEL should not impact code generation. Use the newly
> defined CONFIG_DEBUG_MISC instead to keep the current code.

Acked-by: Florian Westphal <fw@strlen.de>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-04-12  8:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20190412014355.25307-1-okaya@kernel.org>
2019-04-12  1:43 ` [PATCH v4 5/5] net: Replace CONFIG_DEBUG_KERNEL with CONFIG_DEBUG_MISC Sinan Kaya
2019-04-12  8:09   ` Florian Westphal

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).