diff options
author | Christoph Hellwig <hch@lst.de> | 2020-07-30 08:10:26 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-05-22 10:57:24 +0200 |
commit | 12caaf196b23b5b0c256a1e7e3f8c4a260c179e7 (patch) | |
tree | e65722d859c48b7fb16e5eb40750b879ec5c9e33 /include | |
parent | 8db19442e4ee494739edaddfb3758ffff7727dca (diff) | |
download | linux-stable-12caaf196b23b5b0c256a1e7e3f8c4a260c179e7.tar.gz linux-stable-12caaf196b23b5b0c256a1e7e3f8c4a260c179e7.tar.bz2 linux-stable-12caaf196b23b5b0c256a1e7e3f8c4a260c179e7.zip |
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')
-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 beb234846256..e8cd683d8447 100644 --- a/include/linux/module.h +++ b/include/linux/module.h @@ -522,7 +522,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, |