···263263 * This is important in preemption kernels, which transfer the flow264264 * of execution immediately upon a complete().265265 */266266- DBGPRINT(RT_DEBUG_TRACE,( "<---%s\n",__FUNCTION__));266266+ DBGPRINT(RT_DEBUG_TRACE,( "<---%s\n",__func__));267267268268 pObj->MLMEThr_pid = THREAD_PID_INIT_VALUE;269269···465465 * This is important in preemption kernels, which transfer the flow466466 * of execution immediately upon a complete().467467 */468468- DBGPRINT(RT_DEBUG_TRACE,( "<---%s\n",__FUNCTION__));468468+ DBGPRINT(RT_DEBUG_TRACE,( "<---%s\n",__func__));469469470470 pObj->TimerQThr_pid = THREAD_PID_INIT_VALUE;471471···1258125812591259 if (!(pAd->BulkInEpAddr && pAd->BulkOutEpAddr[0]))12601260 {12611261- printk("%s: Could not find both bulk-in and bulk-out endpoints\n", __FUNCTION__);12611261+ printk("%s: Could not find both bulk-in and bulk-out endpoints\n", __func__);12621262 return FALSE;12631263 }12641264
+2-2
drivers/staging/rt2870/common/2870_rtmp_init.c
···10871087 if (pRxWI->MPDUtotalByteCount > ThisFrameLen)10881088 {10891089 DBGPRINT(RT_DEBUG_ERROR, ("%s():pRxWIMPDUtotalByteCount(%d) large than RxDMALen(%ld)\n",10901090- __FUNCTION__, pRxWI->MPDUtotalByteCount, ThisFrameLen));10901090+ __func__, pRxWI->MPDUtotalByteCount, ThisFrameLen));10911091 goto label_null;10921092 }10931093#ifdef RT_BIG_ENDIAN···10981098 pSkb = dev_alloc_skb(ThisFrameLen);10991099 if (pSkb == NULL)11001100 {11011101- DBGPRINT(RT_DEBUG_ERROR,("%s():Cannot Allocate sk buffer for this Bulk-In buffer!\n", __FUNCTION__));11011101+ DBGPRINT(RT_DEBUG_ERROR,("%s():Cannot Allocate sk buffer for this Bulk-In buffer!\n", __func__));11021102 goto label_null;11031103 }11041104