aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/cyc_complexity_plugin.c
diff options
context:
space:
mode:
authorLuca Coelho <[email protected]>2019-04-17 09:34:40 +0300
committerJohannes Berg <[email protected]>2019-04-26 13:02:11 +0200
commita680fe468df7550ed18fbcae30e382252fdc35c6 (patch)
tree241b57f57956bf3fb1ff81db3499e3d1f7bbcb95 /scripts/gcc-plugins/cyc_complexity_plugin.c
parent622fce81280aadb277dd3fc55c676b4bdc3e0527 (diff)
nl80211: do a struct assignment to radar_chandef instead of memcpy()
We are copying one entire structure to another of the same type in nl80211_notify_radar_detection, so it's simpler and safer to do a struct assignment instead of memcpy(). Signed-off-by: Luca Coelho <[email protected]> Signed-off-by: Johannes Berg <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions