aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorZiyang Xuan <[email protected]>2022-11-11 15:09:35 +0800
committerDavid S. Miller <[email protected]>2022-11-14 10:55:43 +0000
commit848ffce2f0c93f3481052340a919123a21f808b6 (patch)
tree7cf0213b49b6c2672068a221646dfcaec7a524ce /tools/perf/scripts/python/syscall-counts.py
parente4041be97b15302ebfffda8bbd45f3b2d096048f (diff)
octeon_ep: ensure get mac address successfully before eth_hw_addr_set()
octep_get_mac_addr() can fail because send mbox message failed. If this happens, octep_dev->mac_addr will be zero. It should not continue to initialize. Add exception handling for octep_get_mac_addr() to fix it. Fixes: 862cd659a6fb ("octeon_ep: Add driver framework and device initialization") Signed-off-by: Ziyang Xuan <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions