public inbox for linux-ide@vger.kernel.org
 help / color / mirror / Atom feed
From: Damien Le Moal <dlemoal@kernel.org>
To: Rosen Penev <rosenp@gmail.com>, linux-ide@vger.kernel.org
Cc: Niklas Cassel <cassel@kernel.org>,
	Hans de Goede <hansg@kernel.org>, Kees Cook <kees@kernel.org>,
	"Gustavo A. R. Silva" <gustavoars@kernel.org>,
	open list <linux-kernel@vger.kernel.org>,
	open "list:KERNEL" HARDENING "(not" covered by other
	"areas):Keyword:b__counted_by(_le|_be)?b"
	<linux-hardening@vger.kernel.org>
Subject: Re: [PATCH] ata: libahci_platform: remove kcalloc
Date: Fri, 27 Mar 2026 08:28:33 -0700	[thread overview]
Message-ID: <0de1315d-e655-4c89-be7f-e74275bf6583@kernel.org> (raw)
In-Reply-To: <20260327025043.7565-1-rosenp@gmail.com>

On 2026/03/26 19:50, Rosen Penev wrote:
> Use a flexible array member with struct_size to combine the allocations.
> 
> Added __counted_by support for extra runtime analysis.
> 
> Signed-off-by: Rosen Penev <rosenp@gmail.com>

Looks OK. But the commit title is not great. Let's change that to something like:

ata: libahci_platform: use flex array for platform PHYs

That is more descriptive of the change.


-- 
Damien Le Moal
Western Digital Research

      reply	other threads:[~2026-03-27 15:28 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-27  2:50 [PATCH] ata: libahci_platform: remove kcalloc Rosen Penev
2026-03-27 15:28 ` Damien Le Moal [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0de1315d-e655-4c89-be7f-e74275bf6583@kernel.org \
    --to=dlemoal@kernel.org \
    --cc=cassel@kernel.org \
    --cc=gustavoars@kernel.org \
    --cc=hansg@kernel.org \
    --cc=kees@kernel.org \
    --cc=linux-hardening@vger.kernel.org \
    --cc=linux-ide@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rosenp@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox