Commit 419e1a20 authored by Luis Chamberlain's avatar Luis Chamberlain

module: rename check_module_license_and_versions() to check_export_symbol_versions()

This makes the routine easier to understand what the check its checking for.
Signed-off-by: default avatarLuis Chamberlain <mcgrof@kernel.org>
parent 72f08b3c
...@@ -2220,7 +2220,7 @@ static int move_module(struct module *mod, struct load_info *info) ...@@ -2220,7 +2220,7 @@ static int move_module(struct module *mod, struct load_info *info)
return -ENOMEM; return -ENOMEM;
} }
static int check_module_license_and_versions(struct module *mod) static int check_export_symbol_versions(struct module *mod)
{ {
#ifdef CONFIG_MODVERSIONS #ifdef CONFIG_MODVERSIONS
if ((mod->num_syms && !mod->crcs) || if ((mod->num_syms && !mod->crcs) ||
...@@ -2796,7 +2796,7 @@ static int load_module(struct load_info *info, const char __user *uargs, ...@@ -2796,7 +2796,7 @@ static int load_module(struct load_info *info, const char __user *uargs,
if (err) if (err)
goto free_unload; goto free_unload;
err = check_module_license_and_versions(mod); err = check_export_symbol_versions(mod);
if (err) if (err)
goto free_unload; goto free_unload;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment