summaryrefslogtreecommitdiff
path: root/drivers/mtd/maps/lantiq-flash.c
diff options
context:
space:
mode:
authorMike Leach <mike.leach@linaro.org>2020-09-28 19:35:05 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-09-28 20:47:41 +0300
commit1cce921bce7dcf6fef9bdfa4dcc9406383274408 (patch)
tree5ccf387767a220feaac64dfd9a5cd6fb4f2411c1 /drivers/mtd/maps/lantiq-flash.c
parent7b0fc5d281de57a8a3e6afbfebaa37574dff4e0f (diff)
downloadlinux-1cce921bce7dcf6fef9bdfa4dcc9406383274408.tar.xz
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 'drivers/mtd/maps/lantiq-flash.c')
0 files changed, 0 insertions, 0 deletions