]> git.ipfire.org Git - thirdparty/linux.git/commit
module: Simplify warning on positive returns from module_init()
authorLucas De Marchi <demarchi@kernel.org>
Mon, 30 Mar 2026 13:13:52 +0000 (08:13 -0500)
committerSami Tolvanen <samitolvanen@google.com>
Sat, 4 Apr 2026 00:04:48 +0000 (00:04 +0000)
commit663385f9155f27892a97a5824006f806a32eb8dc
treeca70708c4a43f67190244764580d8cd7b9a63a7f
parent743f8cae549affe8eafb021b8c0e78a9f3bc23fa
module: Simplify warning on positive returns from module_init()

It should now be rare to trigger this warning - it doesn't need to be so
verbose. Make it follow the usual style in the module loading code.

For the same reason, drop the dump_stack().

Suggested-by: Petr Pavlu <petr.pavlu@suse.com>
Signed-off-by: Lucas De Marchi <demarchi@kernel.org>
Reviewed-by: Aaron Tomlin <atomlin@atomlin.com>
Reviewed-by: Petr Pavlu <petr.pavlu@suse.com>
Reviewed-by: Daniel Gomez <da.gomez@samsung.com>
Signed-off-by: Sami Tolvanen <samitolvanen@google.com>
kernel/module/main.c