Re: [PATCH] PCI: endpoint: pci-epf-vntb: Use array_index_nospec() on mws_size[] access

Manivannan Sadhasivam <[email protected]> Tue, 24 Feb 2026 16:05:05 +0530
Newsgroups dev.linux.lists.ntb,org.kernel.vger.linux-kernel,org.kernel.vger.linux-pci
Message-ID <[email protected]>
On Mon, 05 Jan 2026 16:56:06 +0900, Koichiro Den wrote:
> Follow common kernel idioms for indices derived from configfs attributes
> and suppress Smatch warnings:
> 
>   epf_ntb_mw1_show() warn: potential spectre issue 'ntb->mws_size' [r]
>   epf_ntb_mw1_store() warn: potential spectre issue 'ntb->mws_size' [w]
> 
> Also fix the error message for out-of-range MW indices and %lld format
> for unsigned values.
> 
> [...]

Applied, thanks!

[1/1] PCI: endpoint: pci-epf-vntb: Use array_index_nospec() on mws_size[] access
      commit: 26cd5ca272a44031c4ff381928aa1b816829d18d

Best regards,
-- 
Manivannan Sadhasivam <[email protected]>