]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
include: trace: Fix inflight count helper on failed initialization
authorCristian Marussi <cristian.marussi@arm.com>
Tue, 14 Oct 2025 11:53:45 +0000 (12:53 +0100)
committerSudeep Holla <sudeep.holla@arm.com>
Wed, 15 Oct 2025 14:26:41 +0000 (15:26 +0100)
commit289ce7e9a5e1a52ac7e522a3e389dc16be08d7a4
tree485e9f6d4fe95872d1e71acb6f70f5c4c926431f
parent2290ab43b9d8eafb8046387f10a8dfa2b030ba46
include: trace: Fix inflight count helper on failed initialization

Add a check to the scmi_inflight_count() helper to handle the case
when the SCMI debug subsystem fails to initialize.

Fixes: f8e656382b4a ("include: trace: Add tracepoint support for inflight xfer count")
Signed-off-by: Cristian Marussi <cristian.marussi@arm.com>
Message-Id: <20251014115346.2391418-2-cristian.marussi@arm.com>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
drivers/firmware/arm_scmi/common.h
drivers/firmware/arm_scmi/driver.c