module: Group section index calculations together
authorMatthew Maurer <mmaurer@google.com>
Tue, 15 Oct 2024 23:16:43 +0000 (23:16 +0000)
committerLuis Chamberlain <mcgrof@kernel.org>
Sat, 19 Oct 2024 21:35:07 +0000 (14:35 -0700)
commitf3f561218bb60afd6d3e3b26add39ff46de89c83
tree7148da3e2a1200941efae83fc1bda348511b8b7a
parent0a9395334496d3be8bde491e46087540cb8f141d
module: Group section index calculations together

Group all the index detection together to make the parent function
easier to read.

Signed-off-by: Matthew Maurer <mmaurer@google.com>
Reviewed-by: Sami Tolvanen <samitolvanen@google.com>
Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
kernel/module/main.c