diff options
| author | Bart Van Assche <bvanassche@acm.org> | 2026-10-17 17:40:51 -0700 |
|---|---|---|
| committer | Martin K. Petersen (Oracle) <mkp@kernel.org> | 2026-10-23 22:43:42 -0400 |
| commit | cd02f87668a8e8d8ff4e130f18990c3a9e7bb22a (patch) | |
| tree | aa29884d895c50c37adfb1db17a927b3bc75d75d /scripts/dummy-tools/python3 | |
| parent | 2327df6d2a290af62a6da21b2ad301848bb86002 (diff) | |
scsi: fnic: Annotate fnic_nvme functions with __must_hold()
Add __must_hold() annotations for fnic_lock to
nvfnic_process_ls_abts_rsp(), nvfnic_ls_rsp_recv(), nvfnic_delete_tport(),
and nvfnic_add_tport() in drivers/scsi/fnic/fnic_nvme.c.
Document that callers must hold fnic_lock on entry and exit because these
functions temporarily release and reacquire fnic_lock, and suppress context
imbalance warnings reported by lock context analysis and sparse.
Reported-by: Nathan Chancellor <nathan@kernel.org>
Closes: https://lore.kernel.org/all/20261016023120.GA2863622@ax162/
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Tested-by: Nathan Chancellor <nathan@kernel.org> # build
Link: https://patch.msgid.link/3c41b84d7d832dd767b30bc04cf875f800ce748d.1792283587.git.bvanassche@acm.org
Signed-off-by: Martin K. Petersen (Oracle) <mkp@kernel.org>
Diffstat (limited to 'scripts/dummy-tools/python3')
0 files changed, 0 insertions, 0 deletions
