aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/rtl8188eu/core/rtw_security.c
diff options
context:
space:
mode:
authorAnoop S <anoop.skumar1507@gmail.com>2020-07-18 16:01:25 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-07-20 10:22:47 +0200
commit939032fb84eb67a88a0baafbd33f27940e307fbc (patch)
tree5206937d6043d118a6f84be484f1c6517c94f83d /drivers/staging/rtl8188eu/core/rtw_security.c
parentMerge 5.8-rc6 into staging-next (diff)
downloadlinux-dev-939032fb84eb67a88a0baafbd33f27940e307fbc.tar.xz
linux-dev-939032fb84eb67a88a0baafbd33f27940e307fbc.zip
Staging: rtl8188eu: core: Fix coding style issue
This fixes the following checkpatch.pl warning WARNING: Prefer using '"%s...", __func__' to using 'rtw_tkip_decrypt', this function's name, in a string. Signed-off-by: Anoop S <anoop.skumar1507@gmail.com> Link: https://lore.kernel.org/r/20200718103125.62528-1-anoop.skumar1507@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8188eu/core/rtw_security.c')
-rw-r--r--drivers/staging/rtl8188eu/core/rtw_security.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/rtl8188eu/core/rtw_security.c b/drivers/staging/rtl8188eu/core/rtw_security.c
index 5511f16c8550..21f6652dd69f 100644
--- a/drivers/staging/rtl8188eu/core/rtw_security.c
+++ b/drivers/staging/rtl8188eu/core/rtw_security.c
@@ -718,7 +718,7 @@ u32 rtw_tkip_decrypt(struct adapter *padapter, u8 *precvframe)
res = _FAIL;
}
} else {
- RT_TRACE(_module_rtl871x_security_c_, _drv_err_, ("rtw_tkip_decrypt: stainfo==NULL!!!\n"));
+ RT_TRACE(_module_rtl871x_security_c_, _drv_err_, ("%s: stainfo==NULL!!!\n",__func__));
res = _FAIL;
}
}