[PATCH] firmware: arm_ffa: Fix ffa_notification_info_get() IDs handling

Sudeep Holla sudeep.holla at arm.com
Wed Nov 8 03:32:19 PST 2023


On Wed, Nov 08, 2023 at 12:15:49PM +0100, Lorenzo Pieralisi wrote:
> 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")

Thanks for spotting and fixing this. Much appreciated!
I will queue at -rc1.

-- 
Regards,
Sudeep



More information about the linux-arm-kernel mailing list