Re: [PATCH] ipv4: use IS_ENABLED instead of ifdef

2020-11-18 Thread Florian Klink
I looked at this yesterday and got distracted diving into the generated file to see the difference: #define CONFIG_IPV6 1 vs #define CONFIG_IPV6_MODULE 1 Digging up ancient history. ;) Interesting. drivers/net/ethernet/netronome/nfp/flower/action.c:#ifdef CONFIG_IPV6 Oops. Notify the ma

[PATCH] ipv4: use IS_ENABLED instead of ifdef

2020-11-15 Thread Florian Klink
the spirit of b8127113d01e53adba15b41aefd37b90ed83d631. Cc: Kim Phillips Signed-off-by: Florian Klink --- net/ipv4/fib_frontend.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/ipv4/fib_frontend.c b/net/ipv4/fib_frontend.c index 86a23e4a6a50..b87140a1fa28 100644 -