Re: [PATCH 0/2] PCI: endpoint: pci-epf-{v}ntb: A couple of fixes

Manivannan Sadhasivam <[email protected]> Wed, 27 May 2026 10:26:13 +0200
Newsgroups dev.linux.lists.ntb,org.kernel.vger.linux-kernel,org.kernel.vger.linux-pci
Message-ID <sm4ry7tr3quazfr7mfzawn4ssrekqltowxf3567g5fwhoytev5@hvoaa6jo6ube>
On Tue, May 12, 2026 at 02:34:53PM +0900, Krzysztof Wilczyński wrote:
> Hello,
> 
> > These two fixes are flagged by Sashiko during the review of doorbell series:
> > https://sashiko.dev/#/patchset/20260406155717.880246-1-den%40valinux.co.jp
> > 
> > Manivannan Sadhasivam (2):
> >   PCI: endpoint: pci-epf-vntb: Add check to detect 'db_count' value of 0
> >   PCI: endpoint: pci-epf-ntb: Add check to detect 'db_count' value of 0
> > 
> >  drivers/pci/endpoint/functions/pci-epf-ntb.c  | 15 +++++++++------
> >  drivers/pci/endpoint/functions/pci-epf-vntb.c |  9 +++------
> >  2 files changed, 12 insertions(+), 12 deletions(-)
> 
> Might be out of scope, but since we removed one redundant "db_count"
> variable already, perhaps we could also drop this one, too.  Just to add
> a small clean-up since we are touching this code already...  Thoughts?
> 

Why not? Please send a patch :)

- Mani

-- 
மணிவண்ணன் சதாசிவம்