diff options
author | Lorenzo Pieralisi <lpieralisi@kernel.org> | 2023-11-08 12:15:49 +0100 |
---|---|---|
committer | Sudeep Holla <sudeep.holla@arm.com> | 2023-11-13 11:51:26 +0000 |
commit | f1ed48ef97e2d12dee21e42db4a6ebb895ed3a79 (patch) | |
tree | a6bf4d88c0a11c9c26c12c45780f4480869f7c02 /lib/test_dynamic_debug.c | |
parent | 05857a1eb723190923b091a857184ced17a83770 (diff) |
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.
Fixes: 3522be48d82b ("firmware: arm_ffa: Implement the NOTIFICATION_INFO_GET interface")
Signed-off-by: Lorenzo 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: Sudeep Holla <sudeep.holla@arm.com>
Diffstat (limited to 'lib/test_dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions