Skip to content
Commit 81a0abd9 authored by Jessica Yu's avatar Jessica Yu
Browse files

module: make it clear when we're handling the module copy in info->hdr



In load_module(), it's not always clear whether we're handling the
temporary module copy in info->hdr (which is freed at the end of
load_module()) or if we're handling the module already allocated and
copied to it's final place. Adding an info->mod field and using it
whenever we're handling the temporary copy makes that explicitly clear.

Signed-off-by: default avatarJessica Yu <jeyu@kernel.org>
parent 9f2d1e68
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment