aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorMichael Straube <straube.linux@gmail.com>2018-06-27 19:36:49 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-06-28 22:46:01 +0900
commita50d971c08ea72506d5f986fb7df9a5909c3997c (patch)
tree74edb995181a8760a8008fc53afbee73807512c8 /tools/perf/scripts/python/stackcollapse.py
parentstaging: rtl8723bs: use ether_addr_copy() in rtw_macaddr_cfg() (diff)
staging: rtl8723bs: use mac_pton() in rtw_macaddr_cfg()
Use the mac_pton() helper to convert the mac address string. The functions key_char2num() and key_2char2num() are not used anywhere else and can be removed. This also has the benefit of validating the input since mac_pton() returns false if the string is not valid. Signed-off-by: Michael Straube <straube.linux@gmail.com> Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions