aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPuranjay Mohan <puranjay12@gmail.com>2021-01-24 20:13:28 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-01-26 18:44:55 +0100
commitc6c4a17bc3a2316e230b626669ccbfea4ac5c28a (patch)
tree317b88b6a2a341ed946480d40bb68343f95fd596
parentstaging: rtl8188eu: fix rtw_xmit_entry's return value (diff)
downloadlinux-dev-c6c4a17bc3a2316e230b626669ccbfea4ac5c28a.tar.xz
linux-dev-c6c4a17bc3a2316e230b626669ccbfea4ac5c28a.zip
Staging: rtl8192u: use %s and __func__
Change function's name to %s and __func__ to fix checkpatch.pl errors. Signed-off-by: Puranjay Mohan <puranjay12@gmail.com> Link: https://lore.kernel.org/r/20210124144328.121688-1-puranjay12@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/rtl8192u/r8190_rtl8256.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/rtl8192u/r8190_rtl8256.c b/drivers/staging/rtl8192u/r8190_rtl8256.c
index 63e0f7b1b852..fee3bfb99075 100644
--- a/drivers/staging/rtl8192u/r8190_rtl8256.c
+++ b/drivers/staging/rtl8192u/r8190_rtl8256.c
@@ -58,7 +58,7 @@ void phy_set_rf8256_bandwidth(struct net_device *dev, enum ht_channel_width Band
(enum rf90_radio_path_e)eRFPath,
0x14, bMask12Bits, 0x5ab);
} else {
- RT_TRACE(COMP_ERR, "phy_set_rf8256_bandwidth(): unknown hardware version\n");
+ RT_TRACE(COMP_ERR, "%s(): unknown hardware version\n", __func__);
}
break;
case HT_CHANNEL_WIDTH_20_40: