Skip to contentSkip to conversation

staging: rtl8188eu: Replace function name in string with __func__

PATCH New Dafna Hirschfeld 1 participant 1 message Feb 18, 2018 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: rtl8188eu: Replace function name in string with __func__

Replace hard coded function name FillH2CCmd_88E with __func__ and break the line to avoid more then 80 characters line. Issue found using checkpatch.pl

---
 drivers/staging/rtl8188eu/hal/rtl8188e_cmd.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/staging/rtl8188eu/hal/rtl8188e_cmd.c +2 -1
index 9b7ba9b..1ab2e55 100644
@@ -67,7 +67,8 @@ static s32 FillH2CCmd_88E(struct adapter *adapt, u8 ElementID, u32 CmdLen, u8 *p
 
 
 	if (!adapt->bFWReady) {
-		DBG_88E("FillH2CCmd_88E(): return H2C cmd because fw is not ready\n");
+		DBG_88E("%s(): return H2C cmd because fw is not ready\n",
+			__func__);
 		return ret;
 	}
 
Signature · 1 line
2.7.4