diff options
author | Mika Westerberg <mika.westerberg@linux.intel.com> | 2021-06-07 13:37:46 +0300 |
---|---|---|
committer | Mika Westerberg <mika.westerberg@linux.intel.com> | 2021-06-11 11:42:54 +0300 |
commit | a0d36fa1065901f939b04587a09c65303a64ac88 (patch) | |
tree | 71f56e2a42c62ca5ba3d34408a2139eec64092c3 /.get_maintainer.ignore | |
parent | 25335b30daf66f4cc03715c2ac9cdc3258fb5531 (diff) | |
download | lwn-a0d36fa1065901f939b04587a09c65303a64ac88.tar.gz lwn-a0d36fa1065901f939b04587a09c65303a64ac88.zip |
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 <lkp@intel.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Yehezkel Bernat <YehezkelShB@gmail.com>
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Diffstat (limited to '.get_maintainer.ignore')
0 files changed, 0 insertions, 0 deletions