]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
s390/pci: fix three typos in comments
authorGerd Bayer <gbayer@linux.ibm.com>
Tue, 5 Dec 2023 17:39:14 +0000 (18:39 +0100)
committerHeiko Carstens <hca@linux.ibm.com>
Tue, 20 Feb 2024 13:37:32 +0000 (14:37 +0100)
Found and fixed these while working on synchronizing the state
handling of zpci_dev's.

Signed-off-by: Gerd Bayer <gbayer@linux.ibm.com>
Reviewed-by: Niklas Schnelle <schnelle@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
arch/s390/pci/pci.c
arch/s390/pci/pci_event.c

index c87b8aff5285bd0838ec9ae293e8c587372982f4..9e80945fb11d5e35043574ac26fcfa97abc22576 100644 (file)
@@ -896,7 +896,7 @@ int zpci_deconfigure_device(struct zpci_dev *zdev)
 }
 
 /**
- * zpci_device_reserved() - Mark device as resverved
+ * zpci_device_reserved() - Mark device as reserved
  * @zdev: the zpci_dev that was reserved
  *
  * Handle the case that a given zPCI function was reserved by another system.
index a17804b0dab437034b42ee387a2cf698e49e4535..dbe95ec5917e57f79a55033a1768c8945079cf6a 100644 (file)
@@ -355,7 +355,7 @@ static void __zpci_event_availability(struct zpci_ccdf_avail *ccdf)
                break;
        case 0x0303: /* Deconfiguration requested */
                if (zdev) {
-                       /* The event may have been queued before we confirgured
+                       /* The event may have been queued before we configured
                         * the device.
                         */
                        if (zdev->state != ZPCI_FN_STATE_CONFIGURED)
@@ -366,7 +366,7 @@ static void __zpci_event_availability(struct zpci_ccdf_avail *ccdf)
                break;
        case 0x0304: /* Configured -> Standby|Reserved */
                if (zdev) {
-                       /* The event may have been queued before we confirgured
+                       /* The event may have been queued before we configured
                         * the device.:
                         */
                        if (zdev->state == ZPCI_FN_STATE_CONFIGURED)