diff options
| author | Cristian Marussi <cristian.marussi@arm.com> | 2025-10-14 12:53:44 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-10-29 14:08:58 +0100 |
| commit | e088efcd97cb7c7297d166bb52c3b87a29f6a0b1 (patch) | |
| tree | df0137de57cbb659afeaff81a6403269aaaebd95 /include/net/aligned_data.h | |
| parent | dac7eba5f69f7bdf9accaf7aa838e2e0e281f47a (diff) | |
firmware: arm_scmi: Account for failed debug initialization
[ Upstream commit 2290ab43b9d8eafb8046387f10a8dfa2b030ba46 ]
When the SCMI debug subsystem fails to initialize, the related debug root
will be missing, and the underlying descriptor will be NULL.
Handle this fault condition in the SCMI debug helpers that maintain
metrics counters.
Fixes: 0b3d48c4726e ("firmware: arm_scmi: Track basic SCMI communication debug metrics")
Signed-off-by: Cristian Marussi <cristian.marussi@arm.com>
Message-Id: <20251014115346.2391418-1-cristian.marussi@arm.com>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/net/aligned_data.h')
0 files changed, 0 insertions, 0 deletions
