mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-30 22:26:55 +00:00
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: Luis Chamberlain <mcgrof@kernel.org>
This commit is contained in:
parent
72f08b3cc6
commit
419e1a20f7
1 changed files with 2 additions and 2 deletions
|
@ -2220,7 +2220,7 @@ static int move_module(struct module *mod, struct load_info *info)
|
|||
return -ENOMEM;
|
||||
}
|
||||
|
||||
static int check_module_license_and_versions(struct module *mod)
|
||||
static int check_export_symbol_versions(struct module *mod)
|
||||
{
|
||||
#ifdef CONFIG_MODVERSIONS
|
||||
if ((mod->num_syms && !mod->crcs) ||
|
||||
|
@ -2796,7 +2796,7 @@ static int load_module(struct load_info *info, const char __user *uargs,
|
|||
if (err)
|
||||
goto free_unload;
|
||||
|
||||
err = check_module_license_and_versions(mod);
|
||||
err = check_export_symbol_versions(mod);
|
||||
if (err)
|
||||
goto free_unload;
|
||||
|
||||
|
|
Loading…
Reference in a new issue