cmdline module options can be disabled on "big" modutils
authorKang-Che Sung <explorer09@gmail.com>
Tue, 31 Jan 2017 13:09:17 +0000 (21:09 +0800)
committerDenys Vlasenko <vda.linux@googlemail.com>
Wed, 1 Feb 2017 09:14:05 +0000 (10:14 +0100)
commitb1d6a2c6247bae0b9f1903ba0e0d16c56f4ef556
treeafc10aba770e711341483ef13b95ab3ac4916f9b
parent264cb01540cdd995e7c376fd8bcef94e09e31819
cmdline module options can be disabled on "big" modutils

Allow module options on command line to be disabled on "big" modutils.

Config FEATURE_MODPROBE_SMALL_OPTIONS_ON_CMDLINE is renamed to
FEATURE_CMDLINE_MODULE_OPTIONS and no longer depends on !MODPROBE_SMALL

(I'm not sure if disabling this is useful on "big" modutils, but at
least the macro can serve as a marker and ensure both implementations
of same feature have consistent behavior.)

Signed-off-by: Kang-Che Sung <explorer09@gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
modutils/Config.src
modutils/insmod.c
modutils/modprobe-small.c
modutils/modprobe.c
modutils/modutils.c
modutils/modutils.h