]> www.infradead.org Git - users/jedix/linux-maple.git/commit
kernel: param: rename locate_module_kobject
authorShyam Saini <shyamsaini@linux.microsoft.com>
Thu, 27 Feb 2025 18:49:27 +0000 (10:49 -0800)
committerPetr Pavlu <petr.pavlu@suse.com>
Wed, 16 Apr 2025 12:35:46 +0000 (14:35 +0200)
commitbbc9462f0cb0c8917a4908e856731708f0cee910
tree03c31912e6690100e7d7453afcc6a512c957ba21
parent8ffd015db85fea3e15a77027fda6c02ced4d2444
kernel: param: rename locate_module_kobject

The locate_module_kobject() function looks up an existing
module_kobject for a given module name. If it cannot find the
corresponding module_kobject, it creates one for the given name.

This commit renames locate_module_kobject() to
lookup_or_create_module_kobject() to better describe its operations.

This doesn't change anything functionality wise.

Suggested-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Signed-off-by: Shyam Saini <shyamsaini@linux.microsoft.com>
Link: https://lore.kernel.org/r/20250227184930.34163-2-shyamsaini@linux.microsoft.com
Signed-off-by: Petr Pavlu <petr.pavlu@suse.com>
kernel/params.c