request_module() use format string
PATCH 1/1 request_module() use format string
similar to 326f6a5c9c9e1a62aec37bdc0c3f8d53adabe77b, but protected with safte checks.
anyway seems cleaner and easier to exclude.
Signed-off-by maximilian attems <[email protected]>
--- block/elevator.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
block/elevator.c +1 -1
@@ -144,7 +144,7 @@ static struct elevator_type *elevator_get(const char *name)else sprintf (elv,"%s-iosched" , name); -request_module (elv); +request_module ("%s" , elv);spin_lock (&elv_list_lock); e =elevator_find (name); }
Signature · 1 line
1.5.5.1