mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
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 <[email protected]>
This commit is contained in:
parent
4325f6caad
commit
bd500af223
1 changed files with 1 additions and 1 deletions
|
|
@ -739,7 +739,7 @@ static void ieee80211_get_et_strings(struct wiphy *wiphy,
|
|||
|
||||
if (sset == ETH_SS_STATS) {
|
||||
sz_sta_stats = sizeof(ieee80211_gstrings_sta_stats);
|
||||
memcpy(data, *ieee80211_gstrings_sta_stats, sz_sta_stats);
|
||||
memcpy(data, ieee80211_gstrings_sta_stats, sz_sta_stats);
|
||||
}
|
||||
drv_get_et_strings(sdata, sset, &(data[sz_sta_stats]));
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue