aboutsummaryrefslogtreecommitdiff
path: root/drivers/staging/rt2870/common
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2009-06-04 11:29:54 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2009-06-19 11:00:51 -0700
commitbe2e10710b1c330d25e66724ef10b8aabdae4a83 (patch)
tree2f665f96aa2567a19005de172b4a531451586e4c /drivers/staging/rt2870/common
parentf991a65c0cb8eaf855404a0e6c753053de08cdda (diff)
Staging: rt2870: fix build warnings
This fixes some build warnings in the rt2870 driver. Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/rt2870/common')
-rw-r--r--drivers/staging/rt2870/common/2870_rtmp_init.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/rt2870/common/2870_rtmp_init.c b/drivers/staging/rt2870/common/2870_rtmp_init.c
index 9ed818d442f..0f4c8af97e4 100644
--- a/drivers/staging/rt2870/common/2870_rtmp_init.c
+++ b/drivers/staging/rt2870/common/2870_rtmp_init.c
@@ -763,7 +763,7 @@ NDIS_STATUS CreateThreads(
// Creat MLME Thread
#ifndef RT30xx
pObj->MLMEThr_task = NULL;
- tsk = kthread_run(MlmeThread, pAd, pAd->net_dev->name);
+ tsk = kthread_run(MlmeThread, pAd, "%s", pAd->net_dev->name);
if (IS_ERR(tsk)) {
#endif
@@ -789,7 +789,7 @@ NDIS_STATUS CreateThreads(
// Creat Command Thread
#ifndef RT30xx
pObj->RTUSBCmdThr_task = NULL;
- tsk = kthread_run(RTUSBCmdThread, pAd, pAd->net_dev->name);
+ tsk = kthread_run(RTUSBCmdThread, pAd, "%s", pAd->net_dev->name);
if (IS_ERR(tsk) < 0)
#endif
@@ -813,7 +813,7 @@ NDIS_STATUS CreateThreads(
#ifndef RT30xx
pObj->TimerQThr_task = NULL;
- tsk = kthread_run(TimerQThread, pAd, pAd->net_dev->name);
+ tsk = kthread_run(TimerQThread, pAd, "%s", pAd->net_dev->name);
if (IS_ERR(tsk) < 0)
#endif
#ifdef RT30xx