diff options
author | Luis Chamberlain <mcgrof@kernel.org> | 2023-03-19 14:27:36 -0700 |
---|---|---|
committer | Luis Chamberlain <mcgrof@kernel.org> | 2023-03-24 11:05:15 -0700 |
commit | feb5b784a26363b690f618213450faf244c1c58e (patch) | |
tree | e1a1436ca9f61ddec5f5ff80e9d5b6604447f205 /kernel/module/internal.h | |
parent | b66973b82d4426b318f78a20c6b39ddd977a508a (diff) |
module: rename next_string() to module_next_tag_pair()
This makes it clearer what it is doing. While at it,
make it available to other code other than main.c.
This will be used in the subsequent patch and make
the changes easier to read.
Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
Diffstat (limited to 'kernel/module/internal.h')
-rw-r--r-- | kernel/module/internal.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/module/internal.h b/kernel/module/internal.h index e3883b7d4840..1fa2328636ec 100644 --- a/kernel/module/internal.h +++ b/kernel/module/internal.h @@ -96,6 +96,8 @@ long module_get_offset_and_type(struct module *mod, enum mod_mem_type type, char *module_flags(struct module *mod, char *buf, bool show_state); size_t module_flags_taint(unsigned long taints, char *buf); +char *module_next_tag_pair(char *string, unsigned long *secsize); + static inline void module_assert_mutex_or_preempt(void) { #ifdef CONFIG_LOCKDEP |