Re: [PATCH v10 07/24] mailbox: Add RISC-V SBI message proxy (MPXY) based mailbox driver
From: Paul Walmsley
Date: Thu Sep 25 2025 - 15:17:31 EST
On Thu, 25 Sep 2025, Anup Patel wrote:
> The usage of channel_ids array is limited only to this function
> (mpxy_mbox_populate_channels()) hence we are using scoped
> kcalloc() so that channel_ids will be automatically freed when
> mpxy_mbox_populate_channels() returns.
> (Refer, "__free(kfree)" attribute in the channel_idsm declaration)
Thanks, I missed that part. Looks fine the way you posted it.
- Paul