Skip to contentSkip to conversation

staging: rtl8188eu: Fix static symbol sparse warning

PATCH In review Miguel Oliveira 3 participants 4 messages Aug 5, 2014 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: rtl8188eu: Fix static symbol sparse warning

From: Miguel <[email protected]>

Fix sparse warning:
drivers/staging/rtl8188eu/core/rtw_cmd.c:52:5: warning: symbol '_rtw_enqueue_cmd' was not declared. Should it be static? by making it static since it's only used once.

---
 drivers/staging/rtl8188eu/core/rtw_cmd.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/rtl8188eu/core/rtw_cmd.c +1 -1
index 08c325e..104b01f 100644
@@ -49,7 +49,7 @@ ISR/Call-Back functions can't call this sub-function.
 
 */
 
-int _rtw_enqueue_cmd(struct __queue *queue, struct cmd_obj *obj)
+static int _rtw_enqueue_cmd(struct __queue *queue, struct cmd_obj *obj)
 {
 	unsigned long irqL;
 
Signature · 1 line
1.7.10.4
#2 lore raw
In reply to Miguel Oliveira
Quoted 1 line · Miguel Oliveira

From: Miguel <[email protected]>

Leave this line out, git should get this from your email unless you are sending on someone else's behalf. Also this name is wrong and your email header has the correct full name.

regards,
dan carpenter

#3 lore raw

It was a git miss configuration in a new host, that was fixed. Sorry for the inconvenient.

Regards,
Miguel Oliveira

2014-08-05 18:56 GMT+02:00 Dan Carpenter <[email protected]>:

Quoted 10 lines · Miguel Oliveira
Quoted 1 line

From: Miguel <[email protected]>

Leave this line out, git should get this from your email unless you are sending on someone else's behalf. Also this name is wrong and your email header has the correct full name.

regards,
dan carpenter