diff options
| author | Mike Leach <mike.leach@linaro.org> | 2020-09-28 10:35:05 -0600 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-09-28 19:47:41 +0200 |
| commit | 1cce921bce7dcf6fef9bdfa4dcc9406383274408 (patch) | |
| tree | 5ccf387767a220feaac64dfd9a5cd6fb4f2411c1 /tools/lib/python/kdoc/python_version.py | |
| parent | 7b0fc5d281de57a8a3e6afbfebaa37574dff4e0f (diff) | |
| download | linux-1cce921bce7dcf6fef9bdfa4dcc9406383274408.tar.gz linux-1cce921bce7dcf6fef9bdfa4dcc9406383274408.zip | |
coresight: cti: Fix remove sysfs link error
CTI code to remove sysfs link to other devices on shutdown, incorrectly
tries to remove a single ended link when these are all double ended. This
implementation leaves elements in the link info structure undefined which
results in a crash in recent tests for driver module unload.
This patch corrects the link removal code.
Fixes: 73274abb6557 ("coresight: cti: Add in sysfs links to other coresight devices")
Reported-by: Tingwei Zhang <tingwei@codeaurora.org>
Signed-off-by: Mike Leach <mike.leach@linaro.org>
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Link: https://lore.kernel.org/r/20200928163513.70169-18-mathieu.poirier@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions
