On 09/27/2011 12:45 PM, Franky Lin wrote:
From: Roland Vossen<rvossen@xxxxxxxxxxxx> Global variables are undesirable unless they are read only. Reported-by: Johannes Berg<johannes@xxxxxxxxxxxxxxxx> Reviewed-by: Pieter-Paul Giesberts<pieterpg@xxxxxxxxxxxx> Reviewed-by: Arend van Spriel<arend@xxxxxxxxxxxx> Signed-off-by: Franky Lin<frankyl@xxxxxxxxxxxx> --- drivers/staging/brcm80211/brcmsmac/phy/phy_cmn.c | 16 +----- drivers/staging/brcm80211/brcmsmac/phy/phy_int.h | 23 -------- drivers/staging/brcm80211/brcmsmac/phy/phy_lcn.c | 6 +- drivers/staging/brcm80211/brcmsmac/phy/phy_n.c | 60 ++++++++++---------- .../staging/brcm80211/brcmsmac/phy/phytbl_lcn.c | 2 +- 5 files changed, 36 insertions(+), 71 deletions(-) diff --git a/drivers/staging/brcm80211/brcmsmac/phy/phy_cmn.c b/drivers/staging/brcm80211/brcmsmac/phy/phy_cmn.c index f9702c0..5b81480 100644 --- a/drivers/staging/brcm80211/brcmsmac/phy/phy_cmn.c +++ b/drivers/staging/brcm80211/brcmsmac/phy/phy_cmn.c @@ -52,7 +52,7 @@ struct chan_info_basic { u16 freq; }; -static struct chan_info_basic chan_info_all[] = { +static const struct chan_info_basic chan_info_all[] = { {1, 2412}, {2, 2417}, {3, 2422},
What are you doing? You make this change here in patch 24, then undo it in #25, and redo it in #26! Are you guys actually thinking about what you are doing?
This needs to be fixed. In addition, the next time you submit this patch bomb, change from V2 to V3. That is the standard way to handle resubmissions that are addressing comments, not by increasing some extra counter in the 00/XX cover patch. The VX notation helps the maintainer keep track of the patches as he knows to drop all the V2 ones when V3 arrives. Maintainers are precious and must be treated very carefully.
Larry -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html