Skip to content

Commit c6c4a17

Browse files
puranjaymohangregkh
authored andcommitted
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>
1 parent 89be599 commit c6c4a17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/staging/rtl8192u/r8190_rtl8256.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ void phy_set_rf8256_bandwidth(struct net_device *dev, enum ht_channel_width Band
5858
(enum rf90_radio_path_e)eRFPath,
5959
0x14, bMask12Bits, 0x5ab);
6060
} else {
61-
RT_TRACE(COMP_ERR, "phy_set_rf8256_bandwidth(): unknown hardware version\n");
61+
RT_TRACE(COMP_ERR, "%s(): unknown hardware version\n", __func__);
6262
}
6363
break;
6464
case HT_CHANNEL_WIDTH_20_40:

0 commit comments

Comments
 (0)