On Mon, Nov 03, 2025 at 06:06:07AM +0000, Pranjal Shrivastava wrote:
> > -           if (info.index == VFIO_PCI_BAR2_REGION_INDEX) {
> > -                   info.offset = VFIO_PCI_INDEX_TO_OFFSET(info.index);
> > +   if (info.index != VFIO_PCI_BAR2_REGION_INDEX)
> > +           return vfio_pci_ioctl_get_region_info(core_vdev, arg);
> >  
> 
> I'm curious to learn the reason for flipping polarity here? (apart from
> readability).

Yeah, readability

Jason

Reply via email to