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

2016-07-11 Thread David Miller
From: Paul Gortmaker 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

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

2016-07-11 Thread Paul Gortmaker
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 us