Skip to content
Commit a6e6abd5 authored by Rusty Russell's avatar Rusty Russell
Browse files

module: remove module_text_address()



Impact: Replace and remove risky (non-EXPORTed) API

module_text_address() returns a pointer to the module, which given locking
improvements in module.c, is useless except to test for NULL:

1) If the module can't go away, use __module_text_address.
2) Otherwise, just use is_module_text_address().

Cc: linux-mtd@lists.infradead.org
Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
parent e610499e
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