Commit a44df1cf authored by Lorenzo Pieralisi's avatar Lorenzo Pieralisi Committed by Lee Jones
Browse files

UPSTREAM: firmware: arm_ffa: Fix ffa_notification_info_get() IDs handling



To parse the retrieved ID lists appropriately in
ffa_notification_info_get() the ids_processed variable should not
be pre-incremented - we are dropping an identifier at the
beginning of the list.

Fix it by using the post-increment operator to increment the number
of processed IDs.

Bug: 254441685
Fixes: 3522be48 ("firmware: arm_ffa: Implement the NOTIFICATION_INFO_GET interface")
Signed-off-by: default avatarLorenzo Pieralisi <lpieralisi@kernel.org>
Cc: Sudeep Holla <sudeep.holla@arm.com>
Link: https://lore.kernel.org/r/20231108111549.155974-1-lpieralisi@kernel.org


Signed-off-by: default avatarSudeep Holla <sudeep.holla@arm.com>
(cherry picked from commit f1ed48ef)
Signed-off-by: default avatarLee Jones <joneslee@google.com>
Change-Id: I72db23e016d87c76119edcb7eb7a964ee14927db
parent 7c593903
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment