Commit be2e1071 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

Staging: rt2870: fix build warnings

This fixes some build warnings in the rt2870 driver.
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent f991a65c
...@@ -763,7 +763,7 @@ NDIS_STATUS CreateThreads( ...@@ -763,7 +763,7 @@ NDIS_STATUS CreateThreads(
// Creat MLME Thread // Creat MLME Thread
#ifndef RT30xx #ifndef RT30xx
pObj->MLMEThr_task = NULL; 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)) { if (IS_ERR(tsk)) {
#endif #endif
...@@ -789,7 +789,7 @@ NDIS_STATUS CreateThreads( ...@@ -789,7 +789,7 @@ NDIS_STATUS CreateThreads(
// Creat Command Thread // Creat Command Thread
#ifndef RT30xx #ifndef RT30xx
pObj->RTUSBCmdThr_task = NULL; 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) if (IS_ERR(tsk) < 0)
#endif #endif
...@@ -813,7 +813,7 @@ NDIS_STATUS CreateThreads( ...@@ -813,7 +813,7 @@ NDIS_STATUS CreateThreads(
#ifndef RT30xx #ifndef RT30xx
pObj->TimerQThr_task = NULL; 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) if (IS_ERR(tsk) < 0)
#endif #endif
#ifdef RT30xx #ifdef RT30xx
......
Markdown is supported
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