aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2013-05-06 15:09:46 -0400
committerJohannes Berg <johannes.berg@intel.com>2013-05-16 16:39:42 -0400
commitbd500af223c9aed7083730b7044d53162065e418 (patch)
tree74645def8e7a61eb139afed9f46b550a6114087f
parent4325f6caad98c075b39f0eaaac6693a0dd43f646 (diff)
mac80211: write memcpy differently for smatch
There's no real difference between *array and array, but the former confuses smatch so write it differently. The generated code is exactly the same. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
-rw-r--r--net/mac80211/cfg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/cfg.c b/net/mac80211/cfg.c
index 1f51bdfe574a..66989458f5ff 100644
--- a/net/mac80211/cfg.c
+++ b/net/mac80211/cfg.c
@@ -739,7 +739,7 @@ static void ieee80211_get_et_strings(struct wiphy *wiphy,
739 739
740 if (sset == ETH_SS_STATS) { 740 if (sset == ETH_SS_STATS) {
741 sz_sta_stats = sizeof(ieee80211_gstrings_sta_stats); 741 sz_sta_stats = sizeof(ieee80211_gstrings_sta_stats);
742 memcpy(data, *ieee80211_gstrings_sta_stats, sz_sta_stats); 742 memcpy(data, ieee80211_gstrings_sta_stats, sz_sta_stats);
743 } 743 }
744 drv_get_et_strings(sdata, sset, &(data[sz_sta_stats])); 744 drv_get_et_strings(sdata, sset, &(data[sz_sta_stats]));
745} 745}