Commit 5c7bdac7 authored by Bjorn Helgaas's avatar Bjorn Helgaas
Browse files

PCI: Fix typos



Fix typos.

Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
parent 2ac11a2f
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -455,8 +455,8 @@ void pci_restore_pasid_state(struct pci_dev *pdev)
 * pci_pasid_features - Check which PASID features are supported
 * @pdev: PCI device structure
 *
 * Returns a negative value when no PASI capability is present.
 * Otherwise is returns a bitmask with supported features. Current
 * Return a negative value when no PASID capability is present.
 * Otherwise return a bitmask with supported features. Current
 * features reported are:
 * PCI_PASID_CAP_EXEC - Execute permission supported
 * PCI_PASID_CAP_PRIV - Privileged mode supported
+1 −1
Original line number Diff line number Diff line
@@ -328,7 +328,7 @@ get_slot_mapping(struct pci_bus *bus, u8 bus_num, u8 dev_num, u8 *slot)
		} else {
			/* Did not get a match on the target PCI device. Check
			 * if the current IRQ table entry is a PCI-to-PCI
			 * bridge device.  If so, and it's secondary bus
			 * bridge device.  If so, and its secondary bus
			 * matches the bus number for the target device, I need
			 * to save the bridge's slot number.  If I can not find
			 * an entry for the target device, I will have to
+1 −1
Original line number Diff line number Diff line
@@ -112,7 +112,7 @@ static int get_power_status(struct hotplug_slot *hotplug_slot, u8 *value)

static int get_adapter_status(struct hotplug_slot *hotplug_slot, u8 *value)
{
	/* if the slot exits it always contains a function */
	/* if the slot exists it always contains a function */
	*value = 1;
	return 0;
}
+1 −1
Original line number Diff line number Diff line
@@ -156,7 +156,7 @@ EXPORT_SYMBOL_GPL(pci_iomap_wc);
 * the different IOMAP ranges.
 *
 * But if the architecture does not use the generic iomap code, and if
 * it has _not_ defined it's own private pci_iounmap function, we define
 * it has _not_ defined its own private pci_iounmap function, we define
 * it here.
 *
 * NOTE! This default implementation assumes that if the architecture
+1 −1

File changed.

Contains only whitespace changes.