staging: rtl8187se: Fix warning symbol should be static
PATCH 1/1 staging: rtl8187se: Fix warning symbol should be static
This patch solves some sparse warnings about "symbol [...] was not declared. Should it be static?" by including the correct header files.
---
Tested by compile only
drivers/staging/rtl8187se/ieee80211/ieee80211_crypt.c | 1 + drivers/staging/rtl8187se/ieee80211/ieee80211_crypt_ccmp.c | 1 + drivers/staging/rtl8187se/ieee80211/ieee80211_crypt_wep.c | 1 + drivers/staging/rtl8187se/r8180_wx.c | 1 + 4 files changed, 4 insertions(+)
drivers/staging/rtl8187se/ieee80211/ieee80211_crypt.c +1 -0
@@ -19,6 +19,7 @@#include <linux/string.h> #include <linux/errno.h> +#include "../r8180.h" #include "ieee80211.h" MODULE_AUTHOR ("Jouni Malinen" );
drivers/staging/rtl8187se/ieee80211/ieee80211_crypt_ccmp.c +1 -0
@@ -21,6 +21,7 @@#include <linux/string.h> #include <linux/wireless.h> +#include "../r8180.h" #include "ieee80211.h" #include <linux/crypto.h>
drivers/staging/rtl8187se/ieee80211/ieee80211_crypt_wep.c +1 -0
@@ -17,6 +17,7 @@#include <linux/skbuff.h> #include <linux/string.h> +#include "../r8180.h" #include "ieee80211.h" #include <linux/crypto.h>
drivers/staging/rtl8187se/r8180_wx.c +1 -0
@@ -20,6 +20,7 @@#include "r8180.h" #include "r8180_hw.h" +#include "r8180_wx.h" #include <net/iw_handler.h> #include "ieee80211/dot11d.h"
Signature · 1 line
1.9.1
Quoted 4 lines · Jonas Hahnfeld
This patch solves some sparse warnings about "symbol [...] was not declared. Should it be static?" by including the correct header files.
Signed-off-by Jonas Hahnfeld <[email protected]>
Quoted 59 lines
Tested by compile only
drivers/staging/rtl8187se/ieee80211/ieee80211_crypt.c | 1 + drivers/staging/rtl8187se/ieee80211/ieee80211_crypt_ccmp.c | 1 + drivers/staging/rtl8187se/ieee80211/ieee80211_crypt_wep.c | 1 + drivers/staging/rtl8187se/r8180_wx.c | 1 + 4 files changed, 4 insertions(+)drivers/staging/rtl8187se/ieee80211/ieee80211_crypt.c +1
-0@@ -19,6 +19,7 @@#include <linux/string.h> #include <linux/errno.h> +#include "../r8180.h" #include "ieee80211.h" MODULE_AUTHOR ("Jouni Malinen" );drivers/staging/rtl8187se/ieee80211/ieee80211_crypt_ccmp.c +1
-0@@ -21,6 +21,7 @@#include <linux/string.h> #include <linux/wireless.h> +#include "../r8180.h" #include "ieee80211.h" #include <linux/crypto.h> drivers/staging/rtl8187se/ieee80211/ieee80211_crypt_wep.c +1
-0@@ -17,6 +17,7 @@#include <linux/skbuff.h> #include <linux/string.h> +#include "../r8180.h" #include "ieee80211.h" #include <linux/crypto.h> drivers/staging/rtl8187se/r8180_wx.c +1
-0@@ -20,6 +20,7 @@#include "r8180.h" #include "r8180_hw.h" +#include "r8180_wx.h" #include <net/iw_handler.h> #include "ieee80211/dot11d.h" Signature · 1 line
1.9.1
Hi
Quoted 7 lines · Josh Triplett
Quoted 4 lines · Jonas Hahnfeld
This patch solves some sparse warnings about "symbol [...] was not declared. Should it be static?" by including the correct header files.
Signed-off-by Jonas Hahnfeld <[email protected]>Reviewed-by Josh Triplett <[email protected]>
[...]
Given that that rtl8187se support has already been merged mainline (for 3.15-rc1) into the existing rtl8180 (soon to be renamed to rtl818x) driver, wouldn't it make more sense to remove drivers/staging/rtl8187se/ rather than trying to fixing it?
commit 1eba648f998ef9c31b8cf062754a4a7b4ab9001f
Author: Andrea Merello <[email protected]> Date: Wed Mar 26 21:04:23 2014 +0100
rtl8180: enable rtl8187se support
Finally make rtl8187se works (hopefylly).
This patch adds PCI ID for rtl8187, updates copyright notes and updates MODULE_DESCRIPTION.
Regards
Stefan Lippers-Hollmann
Am Montag, den 07.04.2014, 01:34 +0000 schrieb Stefan Lippers-Hollmann:
Quoted 27 lines
Hi
Quoted 7 lines · Josh Triplett
Quoted 4 lines · Jonas Hahnfeld
This patch solves some sparse warnings about "symbol [...] was not declared. Should it be static?" by including the correct header files.
Signed-off-by Jonas Hahnfeld <[email protected]>Reviewed-by Josh Triplett <[email protected]>[...]
Given that that rtl8187se support has already been merged mainline (for 3.15-rc1) into the existing rtl8180 (soon to be renamed to rtl818x) driver, wouldn't it make more sense to remove
drivers/staging/rtl8187se/rather than trying to fixing it?commit
1eba648f998ef9c31b8cf062754a4a7b4ab9001fAuthor: Andrea Merello <[email protected]> Date: Wed Mar 26 21:04:23 2014 +0100rtl8180: enable rtl8187se support
Finally make rtl8187se works (hopefylly).
This patch adds PCI ID for rtl8187, updates copyright notes and updatesMODULE_DESCRIPTION.
Quoted 5 lines
Signed-off-by Andrea Merello <[email protected]>Signed-off-by John W. Linville <[email protected]>Regards
Stefan Lippers-Hollmann
Yes, probably. Sorry, didn't know that, hadn't looked after this!