mirror of
https://github.com/torvalds/linux.git
synced 2026-11-06 21:58:01 +01:00
scsi: qedi: Enable lock context analysis
Annotate qedi_cleanup_all_io() with __context_unsafe() since it performs conditional locking. Signed-off-by: Bart Van Assche <bvanassche@acm.org> Link: https://patch.msgid.link/670af9856e17f9c86ef2119aa7b3b266645e86da.1790360262.git.bvanassche@acm.org Signed-off-by: Martin K. Petersen (Oracle) <mkp@kernel.org>
This commit is contained in:
parent
cdc1694e33
commit
6210d20f7f
|
|
@ -1,4 +1,7 @@
|
|||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
CONTEXT_ANALYSIS := y
|
||||
|
||||
obj-$(CONFIG_QEDI) := qedi.o
|
||||
qedi-y := qedi_main.o qedi_iscsi.o qedi_fw.o qedi_sysfs.o \
|
||||
qedi_dbg.o qedi_fw_api.o
|
||||
|
|
|
|||
|
|
@ -1137,6 +1137,7 @@ int qedi_send_iscsi_logout(struct qedi_conn *qedi_conn,
|
|||
|
||||
int qedi_cleanup_all_io(struct qedi_ctx *qedi, struct qedi_conn *qedi_conn,
|
||||
struct iscsi_task *task, bool in_recovery)
|
||||
__context_unsafe(/*conditional locking*/)
|
||||
{
|
||||
int rval;
|
||||
struct iscsi_task *ctask;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user