diff options
author | Matthias Maennich | 2019-09-06 11:32:25 +0100 |
---|---|---|
committer | Jessica Yu | 2019-09-10 10:30:02 +0200 |
commit | c5e4a062fe661806ab291a7576dc4a41613adb86 (patch) | |
tree | a50413326d297a9e44827e57f04ecb713420d121 /include/asm-generic | |
parent | 089cf7f6ecb266b6a4164919a2e69bd2f938374a (diff) |
module: support reading multiple values per modinfo tag
Similar to modpost's get_next_modinfo(), introduce get_next_modinfo() in
kernel/module.c to acquire any further values associated with the same
modinfo tag name. That is useful for any tags that have multiple
occurrences (such as 'alias'), but is in particular introduced here as
part of the symbol namespaces patch series to read the (potentially)
multiple namespaces a module is importing.
Reviewed-by: Joel Fernandes (Google) <joel@joelfernandes.org>
Reviewed-by: Martijn Coenen <maco@android.com>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Matthias Maennich <maennich@google.com>
Signed-off-by: Jessica Yu <jeyu@kernel.org>
Diffstat (limited to 'include/asm-generic')
0 files changed, 0 insertions, 0 deletions