[PATCH] firmware: arm_ffa: Fix the size of the allocation in ffa_partitions_cleanup()
Sudeep Holla
sudeep.holla at arm.com
Mon Nov 13 04:25:07 PST 2023
On Tue, 31 Oct 2023 14:13:35 +0000, Sudeep Holla wrote:
> Arry of pointer to struct ffa_dev_part_info needs to be allocated to
> fetch the pointers stored in XArray. However, currently we allocate the
> entire structure instead of just pointers.
>
> Fix the allocation size. This will also eliminate the below Smatch
> istatic checker warning:
>
> [...]
Applied to sudeep.holla/linux (for-next/ffa/fixes), thanks!
[1/1] firmware: arm_ffa: Fix the size of the allocation in ffa_partitions_cleanup()
https://git.kernel.org/sudeep.holla/c/05857a1eb723
--
Regards,
Sudeep
More information about the linux-arm-kernel
mailing list