Thread (32 messages) 32 messages, 4 authors, 2025-09-26

Re: [PATCH v10 07/24] mailbox: Add RISC-V SBI message proxy (MPXY) based mailbox driver

From: Paul Walmsley <pjw@kernel.org>
Date: 2025-09-25 19:16:38
Also in: linux-acpi, linux-clk, linux-riscv, lkml

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help