Thread (2 messages) flat view 2 messages, 2 authors, 2016-07-12

Re: [PATCH -next] ipv4: af_inet: make it explicitly non-modular

From: David Miller <davem@davemloft.net>
Date: 2016-07-12 05:44:47

From: Paul Gortmaker <redacted>
Date: Mon, 11 Jul 2016 16:37:51 -0400
The Makefile controlling compilation of this file is obj-y,
meaning that it currently is never being built as a module.

Since MODULE_ALIAS is a no-op for non-modular code, we can simply
remove the MODULE_ALIAS_NETPROTO variant used here.

We replace module.h with kmod.h since the file does make use of
request_module() in order to load other modules from here.

We don't have to worry about init.h coming in via the removed
module.h since the file explicitly includes init.h already.

Cc: "David S. Miller" <davem@davemloft.net>
Cc: Alexey Kuznetsov <redacted>
Cc: James Morris <jmorris@namei.org>
Cc: Hideaki YOSHIFUJI <redacted>
Cc: Patrick McHardy <redacted>
Cc: netdev@vger.kernel.org
Signed-off-by: Paul Gortmaker <redacted>
Applied to net-next, thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help