diff options
| author | Christoph Hellwig <hch@lst.de> | 2020-07-30 08:10:26 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-05-11 14:04:04 +0200 |
| commit | cd5a738e28acc126eacfc802d260ccc78ed2d147 (patch) | |
| tree | 56fcdc169296b268839a77186fbd03a555b51820 /include/linux | |
| parent | c4698910a9afc8cee7f0ade4abc867a290300f23 (diff) | |
modules: return licensing information from find_symbol
commit ef1dac6021cc8ec5de02ce31722bf26ac4ed5523 upstream.
Report the GPLONLY status through a new argument.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jessica Yu <jeyu@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/module.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/module.h b/include/linux/module.h index ab9a0912ce1f..6eea5d8e0498 100644 --- a/include/linux/module.h +++ b/include/linux/module.h @@ -561,7 +561,7 @@ struct module *find_module(const char *name); struct symsearch { const struct kernel_symbol *start, *stop; const s32 *crcs; - enum { + enum mod_license { NOT_GPL_ONLY, GPL_ONLY, WILL_BE_GPL_ONLY, |
