From: maximilian attems <max@stro.at>
To: axboe@kernel.dk
Cc: linux-kernel@vger.kernel.org, maximilian attems <max@stro.at>
Subject: [PATCH] [BLOCK] request_module() use format string
Date: Thu, 12 Jun 2008 06:46:33 +0200 [thread overview]
Message-ID: <1213245993-9563-1-git-send-email-max@stro.at> (raw)
similar to 326f6a5c9c9e1a62aec37bdc0c3f8d53adabe77b,
but protected with safte checks.
anyway seems cleaner and easier to exclude.
Signed-off-by: maximilian attems <max@stro.at>
---
block/elevator.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/block/elevator.c b/block/elevator.c
index 902dd13..a00eb38 100644
--- a/block/elevator.c
+++ b/block/elevator.c
@@ -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);
}
--
1.5.5.1
reply other threads:[~2008-06-12 4:46 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1213245993-9563-1-git-send-email-max@stro.at \
--to=max@stro.at \
--cc=axboe@kernel.dk \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.