+2
−2
+1
−1
Loading
The VF ID range of an SR-IOV device is [0, num_VFs - 1]. pci_ide_stream_alloc() mistakenly uses num_VFs to represent the last ID. Fix that off by one error to stay in bounds of the range. Fixes: 1e4d2ff3 ("PCI/IDE: Add IDE establishment helpers") Signed-off-by:Li Ming <ming.li@zohomail.com> Reviewed-by:
Xu Yilun <yilun.xu@linux.intel.com> Link: https://patch.msgid.link/20260114111455.550984-1-ming.li@zohomail.com Signed-off-by:
Dan Williams <dan.j.williams@intel.com>