Re: [PATCH V2] PCI: dwc: Fix n_fts[] array overrun
From: Lorenzo Pieralisi
Date: Thu Oct 27 2022 - 04:16:03 EST
On Mon, 26 Sep 2022 16:49:23 +0530, Vidya Sagar wrote:
> commit aeaa0bfe89654 ("PCI: dwc: Move N_FTS setup to common setup")
> incorrectly uses pci->link_gen in deriving the index to the
> n_fts[] array also introducing the issue of accessing beyond the
> boundaries of array for greater than Gen-2 speeds. This change fixes
> that issue.
>
>
> [...]
Applied to pci/dwc, thanks!
[1/1] PCI: dwc: Fix n_fts[] array overrun
https://git.kernel.org/lpieralisi/pci/c/66110361281b
Thanks,
Lorenzo