aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorMichael Straube <[email protected]>2018-07-08 13:58:11 +0200
committerGreg Kroah-Hartman <[email protected]>2018-07-08 17:42:05 +0200
commit4f98cf805d42c652b0c0e6737d8e025de881e293 (patch)
tree9dc47745371e83007db2de7eea8e515bde4918ef /tools/perf/scripts/python/bin/stackcollapse-report
parent86ef7175e317f78f16013f023065dbb7993e7ecf (diff)
staging: rtl8188eu: refactor rtw_macaddr_cfg()
Use ether_addr_copy() instead of memcpy() to copy the mac address. Using is_broadcast_ether_addr() and is_zero_ether_addr() instead of testing each byte of the mac[] array for 0xff and 0x00 shortens the code and improves readability. Instead of a fixed default mac address use a random one to reduce the likelihood of mac address collision. Signed-off-by: Michael Straube <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions