aboutsummaryrefslogtreecommitdiff
path: root/modutils
diff options
context:
space:
mode:
Diffstat (limited to 'modutils')
-rw-r--r--modutils/insmod.c3
-rw-r--r--modutils/lsmod.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/modutils/insmod.c b/modutils/insmod.c
index 079de6940..6274a8d15 100644
--- a/modutils/insmod.c
+++ b/modutils/insmod.c
@@ -3680,6 +3680,9 @@ static void check_tainted_module(struct obj_file *f, char *m_name)
3680 * start of some sections. this info is used by ksymoops to do better 3680 * start of some sections. this info is used by ksymoops to do better
3681 * debugging. 3681 * debugging.
3682 */ 3682 */
3683#if !ENABLE_FEATURE_INSMOD_VERSION_CHECKING
3684#define get_module_version(f, str) get_module_version(str)
3685#endif
3683static int 3686static int
3684get_module_version(struct obj_file *f, char str[STRVERSIONLEN]) 3687get_module_version(struct obj_file *f, char str[STRVERSIONLEN])
3685{ 3688{
diff --git a/modutils/lsmod.c b/modutils/lsmod.c
index baf0e2a9d..da8663acb 100644
--- a/modutils/lsmod.c
+++ b/modutils/lsmod.c
@@ -75,7 +75,7 @@ enum {
75}; 75};
76 76
77int lsmod_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; 77int lsmod_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
78int lsmod_main(int argc, char **argv) 78int lsmod_main(int argc ATTRIBUTE_UNUSED, char **argv ATTRIBUTE_UNUSED)
79{ 79{
80 struct module_info info; 80 struct module_info info;
81 char *module_names, *mn, *deps, *dn; 81 char *module_names, *mn, *deps, *dn;