lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <703b00fa-d02c-1eaf-e4de-ea66da5b8002@kernel.org>
Date: Thu, 25 Sep 2025 13:16:30 -0600 (MDT)
From: Paul Walmsley <pjw@...nel.org>
To: Anup Patel <apatel@...tanamicro.com>
cc: Paul Walmsley <pjw@...nel.org>, 
    Michael Turquette <mturquette@...libre.com>, 
    Stephen Boyd <sboyd@...nel.org>, Rob Herring <robh@...nel.org>, 
    Krzysztof Kozlowski <krzk+dt@...nel.org>, 
    Conor Dooley <conor+dt@...nel.org>, Jassi Brar <jassisinghbrar@...il.com>, 
    Thomas Gleixner <tglx@...utronix.de>, 
    "Rafael J . Wysocki" <rafael@...nel.org>, 
    Mika Westerberg <mika.westerberg@...ux.intel.com>, 
    Andy Shevchenko <andriy.shevchenko@...ux.intel.com>, 
    Linus Walleij <linus.walleij@...aro.org>, 
    Bartosz Golaszewski <brgl@...ev.pl>, 
    Uwe Kleine-König <ukleinek@...nel.org>, 
    devicetree@...r.kernel.org, Andrew Jones <ajones@...tanamicro.com>, 
    Alexandre Ghiti <alex@...ti.fr>, Atish Patra <atish.patra@...ux.dev>, 
    Leyfoon Tan <leyfoon.tan@...rfivetech.com>, 
    Anup Patel <anup@...infault.org>, linux-kernel@...r.kernel.org, 
    Samuel Holland <samuel.holland@...ive.com>, linux-acpi@...r.kernel.org, 
    Palmer Dabbelt <palmer@...belt.com>, 
    Paul Walmsley <paul.walmsley@...ive.com>, linux-riscv@...ts.infradead.org, 
    Len Brown <lenb@...nel.org>, linux-clk@...r.kernel.org, 
    Rahul Pathak <rpathak@...tanamicro.com>
Subject: Re: [PATCH v10 07/24] mailbox: Add RISC-V SBI message proxy (MPXY)
 based mailbox driver

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ