Improve the reference pci_epc_bar_size_to_rebar_cap() comment to include a specific PCIe spec version, and a specific section in that PCIe spec. Suggested-by: Bjorn Helgaas <helgaas@xxxxxxxxxx> Signed-off-by: Niklas Cassel <cassel@xxxxxxxxxx> --- Feel free to squash with original commit. drivers/pci/endpoint/pci-epc-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pci/endpoint/pci-epc-core.c b/drivers/pci/endpoint/pci-epc-core.c index 5d6aef956b13..88cb426d3aec 100644 --- a/drivers/pci/endpoint/pci-epc-core.c +++ b/drivers/pci/endpoint/pci-epc-core.c @@ -649,7 +649,7 @@ EXPORT_SYMBOL_GPL(pci_epc_set_bar); int pci_epc_bar_size_to_rebar_cap(size_t size, u32 *cap) { /* - * According to PCIe base spec, min size for a resizable BAR is 1 MB, + * As per PCIe r6.0, sec 7.8.6.2, min size for a resizable BAR is 1 MB, * thus disallow a requested BAR size smaller than 1 MB. * Disallow a requested BAR size larger than 128 TB. */ -- 2.48.1