Linux PCI subsystem development
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Hans Zhang" <18255117159@163.com>
Cc: linux-pci@vger.kernel.org
Subject: Re: [PATCH v3 4/5] PCI: mediatek: Use pcie_get_link_speed()
Date: Thu, 12 Nov 2026 02:30:44 +0000	[thread overview]
Message-ID: <sashiko-outbox-210197@kernel.org> (raw)
In-Reply-To: <20261112022405.1230200-5-18255117159@163.com>

> MediaTek was added after pcie_get_link_speed() was introduced and still
> indexes pcie_link_speed[] directly.  Convert it to the helper so it does
> not depend on the array being exported and cannot go out of bounds on
> invalid speed values.
> 
> Signed-off-by: Hans Zhang <18255117159@163.com>

Sashiko has reviewed this patch and found no issues.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261112022405.1230200-1-18255117159@163.com?part=4


  reply	other threads:[~2026-11-12  2:30 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-12  2:24 [PATCH v3 0/5] PCI: Encapsulate pcie_link_speed array access Hans Zhang
2026-11-12  2:24 ` [PATCH v3 1/5] PCI: Use pcie_get_link_speed() in pci.c Hans Zhang
2026-11-12  2:28   ` sashiko-bot
2026-11-12 10:25   ` Ilpo Järvinen
2026-11-12  2:24 ` [PATCH v3 2/5] PCI: Convert remaining core pcie_link_speed[] users Hans Zhang
2026-11-12  2:30   ` sashiko-bot
2026-11-12  2:24 ` [PATCH v3 3/5] PCI: tegra264: Use pcie_get_link_speed() Hans Zhang
2026-11-12  2:29   ` sashiko-bot
2026-11-12  2:24 ` [PATCH v3 4/5] PCI: mediatek: " Hans Zhang
2026-11-12  2:30   ` sashiko-bot [this message]
2026-11-12  2:24 ` [PATCH v3 5/5] PCI: Make pcie_link_speed[] private to probe.c Hans Zhang
2026-11-12  2:27   ` sashiko-bot

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=sashiko-outbox-210197@kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=18255117159@163.com \
    --cc=linux-pci@vger.kernel.org \
    --cc=sashiko-reviews@lists.linux.dev \
    /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