diff options
author | Mika Westerberg <[email protected]> | 2021-06-07 13:37:46 +0300 |
---|---|---|
committer | Mika Westerberg <[email protected]> | 2021-06-11 11:42:54 +0300 |
commit | a0d36fa1065901f939b04587a09c65303a64ac88 (patch) | |
tree | 71f56e2a42c62ca5ba3d34408a2139eec64092c3 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 25335b30daf66f4cc03715c2ac9cdc3258fb5531 (diff) |
thunderbolt: Bond lanes only when dual_link_port != NULL in alloc_dev_default()
We should not dereference ->dual_link_port if it is NULL and lane bonding
is requested. For this reason move lane bonding configuration happen
inside the block where ->dual_link_port != NULL.
Fixes: 54509f5005ca ("thunderbolt: Add KUnit tests for path walking")
Reported-by: kernel test robot <[email protected]>
Reported-by: Dan Carpenter <[email protected]>
Reviewed-by: Yehezkel Bernat <[email protected]>
Signed-off-by: Mika Westerberg <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions