projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Staging: unisys: fix potential format string leak
[linux-2.6-microblaze.git]
/
drivers
/
staging
/
unisys
/
visorhba
/
visorhba_main.c
diff --git
a/drivers/staging/unisys/visorhba/visorhba_main.c
b/drivers/staging/unisys/visorhba/visorhba_main.c
index
d5178b4
..
202bfab
100644
(file)
--- a/
drivers/staging/unisys/visorhba/visorhba_main.c
+++ b/
drivers/staging/unisys/visorhba/visorhba_main.c
@@
-167,7
+167,7
@@
static int visor_thread_start(struct visor_thread_info *thrinfo,
{
/* used to stop the thread */
init_completion(&thrinfo->has_stopped);
{
/* used to stop the thread */
init_completion(&thrinfo->has_stopped);
- thrinfo->task = kthread_run(threadfn, thrcontext, name);
+ thrinfo->task = kthread_run(threadfn, thrcontext,
"%s",
name);
if (IS_ERR(thrinfo->task)) {
thrinfo->id = 0;
return PTR_ERR(thrinfo->task);
if (IS_ERR(thrinfo->task)) {
thrinfo->id = 0;
return PTR_ERR(thrinfo->task);