summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/cxlflash/superpipe.c
diff options
context:
space:
mode:
authorMatthew R. Ochs <mrochs@linux.vnet.ibm.com>2015-10-21 22:16:24 +0200
committerJames Bottomley <JBottomley@Odin.com>2015-10-30 09:24:38 +0100
commit0d73122c3229a332286f3a256ba098d124aba066 (patch)
tree9e3959bdc53901339eefb03abcb66774c2bf6570 /drivers/scsi/cxlflash/superpipe.c
parentcxlflash: Fix to avoid corrupting port selection mask (diff)
downloadlinux-0d73122c3229a332286f3a256ba098d124aba066.tar.xz
linux-0d73122c3229a332286f3a256ba098d124aba066.zip
cxlflash: Fix to avoid lock instrumentation rejection
When running with lock instrumentation (e.g. lockdep), some of the instrumentation can become disabled at probe time for a cxlflash adapter. This is due to a missing lock registration for the tmf_slock. The fix is to call spin_lock_init() for the tmf_slock during probe. Signed-off-by: Matthew R. Ochs <mrochs@linux.vnet.ibm.com> Acked-by: Manoj Kumar <manoj@linux.vnet.ibm.com> Reviewed-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com> Signed-off-by: James Bottomley <JBottomley@Odin.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions