staging: rtl8188eu: use __func__ in recv_linux.c
authorMichael Straube <straube.linux@gmail.com>
Sat, 10 Nov 2018 17:54:44 +0000 (18:54 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 11 Nov 2018 19:38:53 +0000 (11:38 -0800)
Use __func__ instead of hardcoded function name.
Reported by checkpatch.

Signed-off-by: Michael Straube <straube.linux@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/os_dep/recv_linux.c

index 6f74f49..764d33c 100644 (file)
@@ -75,7 +75,7 @@ int rtw_recv_indicatepkt(struct adapter *padapter,
        skb = precv_frame->pkt;
        if (!skb) {
                RT_TRACE(_module_recv_osdep_c_, _drv_err_,
-                        ("rtw_recv_indicatepkt():skb == NULL something wrong!!!!\n"));
+                        ("%s():skb == NULL something wrong!!!!\n", __func__));
                goto _recv_indicatepkt_drop;
        }
 
@@ -126,7 +126,7 @@ _recv_indicatepkt_end:
        rtw_free_recvframe(precv_frame, pfree_recv_queue);
 
        RT_TRACE(_module_recv_osdep_c_, _drv_info_,
-                ("\n rtw_recv_indicatepkt :after netif_rx!!!!\n"));
+                ("\n %s :after netif_rx!!!!\n", __func__));
 
        return _SUCCESS;