summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorRunyu Xiao <runyu.xiao@seu.edu.cn>2026-09-10 17:24:05 +0800
committerMartin K. Petersen (Oracle) <mkp@kernel.org>2026-09-25 22:09:34 -0400
commit85de8b3a5eaa23d153aff4c7c83dddbc949064c9 (patch)
tree8c99886e2695974807f36e901953648a247bf238 /tools/perf/scripts/python/stackcollapse.py
parent02a3178319639f650428164d4d003de4dc03e326 (diff)
downloadlinux-next-85de8b3a5eaa23d153aff4c7c83dddbc949064c9.tar.gz
linux-next-85de8b3a5eaa23d153aff4c7c83dddbc949064c9.zip
scsi: qedi: Initialize callback state before registration
qedi_get_protocol_tlv_data() can be called asynchronously by QED after qedi_ops->register_ops(). It takes stats_lock and reads ll2_mtu, but __qedi_probe() currently registers the callback before initializing the mutex and assigning the default MTU on the normal probe path. Initialize the callback-visible state before registering qedi_cb_ops. Keep the recovery path from reinitializing state because it reuses the existing qedi context. Fixes: 3cc5746e5ad7 ("scsi: qedi: Initialize the stats mutex lock") Cc: stable@vger.kernel.org Assisted-by: LLM Codex Signed-off-by: Runyu Xiao <runyu.xiao@seu.edu.cn> Link: https://patch.msgid.link/20260910092405.1300129-1-runyu.xiao@seu.edu.cn Signed-off-by: Martin K. Petersen (Oracle) <mkp@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions