Linux ATA/IDE development
 help / color / mirror / Atom feed
From: Damien Le Moal <dlemoal@kernel.org>
To: kensanya@163.com, cassel@kernel.org
Cc: linux-ide@vger.kernel.org, linux-kernel@vger.kernel.org,
	TanZheng <tanzheng@kylinos.cn>
Subject: Re: [PATCH v2] ata: ahci: use hweight_long() to count port_map bits
Date: Fri, 29 May 2026 15:29:39 +0900	[thread overview]
Message-ID: <d00202f9-e0e1-4ba9-8620-eacf168e4556@kernel.org> (raw)
In-Reply-To: <20260528060050.743599-1-kensanya@163.com>

On 2026/05/28 15:00, kensanya@163.com wrote:
> From: TanZheng <tanzheng@kylinos.cn>
> 
> Replace the open loop used to calculate the number of set bits
> in the port mapping with the `hweight_long()` function, which
> simplifies the code without altering its functionality.
> 
> Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
> Signed-off-by: TanZheng <tanzheng@kylinos.cn>

Title: I suggested:

ata: libahci: ...

You did not fix that.


-- 
Damien Le Moal
Western Digital Research

      parent reply	other threads:[~2026-05-29  6:29 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-05-28  6:00 [PATCH v2] ata: ahci: use hweight_long() to count port_map bits kensanya
2026-05-28  6:12 ` Hannes Reinecke
2026-05-28  6:18 ` sashiko-bot
2026-05-28  6:56 ` Niklas Cassel
2026-05-29  6:29 ` 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=d00202f9-e0e1-4ba9-8620-eacf168e4556@kernel.org \
    --to=dlemoal@kernel.org \
    --cc=cassel@kernel.org \
    --cc=kensanya@163.com \
    --cc=linux-ide@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tanzheng@kylinos.cn \
    /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