summaryrefslogtreecommitdiff
path: root/kernel/module/main.c?id=85e6f61c134f111232d27d3f63667c1bccbbc12d
diff options
context:
space:
mode:
authorLuis Chamberlain <mcgrof@kernel.org>2023-03-19 14:27:38 -0700
committerLuis Chamberlain <mcgrof@kernel.org>2023-03-24 11:31:35 -0700
commit85e6f61c134f111232d27d3f63667c1bccbbc12d (patch)
treea0f56b3a4832868691623be2b963837cd09b8d2c /kernel/module/main.c?id=85e6f61c134f111232d27d3f63667c1bccbbc12d
parent1e684172358453df1cb783d7c101a09ff08ceee1 (diff)
module: move early sanity checks into a helper
Move early sanity checkers for the module into a helper. This let's us make it clear when we are working with the local copy of the module prior to allocation. This produces no functional changes, it just makes subsequent changes easier to read. Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
Diffstat (limited to 'kernel/module/main.c?id=85e6f61c134f111232d27d3f63667c1bccbbc12d')
0 files changed, 0 insertions, 0 deletions