s390/pci: fix three typos in comments

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>
This commit is contained in:
Gerd Bayer 2023-12-05 18:39:14 +01:00 committed by Heiko Carstens
parent 6ee600bfbe
commit d0c8fd2100
2 changed files with 3 additions and 3 deletions

View 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 * @zdev: the zpci_dev that was reserved
* *
* Handle the case that a given zPCI function was reserved by another system. * Handle the case that a given zPCI function was reserved by another system.

View File

@ -355,7 +355,7 @@ static void __zpci_event_availability(struct zpci_ccdf_avail *ccdf)
break; break;
case 0x0303: /* Deconfiguration requested */ case 0x0303: /* Deconfiguration requested */
if (zdev) { if (zdev) {
/* The event may have been queued before we confirgured /* The event may have been queued before we configured
* the device. * the device.
*/ */
if (zdev->state != ZPCI_FN_STATE_CONFIGURED) if (zdev->state != ZPCI_FN_STATE_CONFIGURED)
@ -366,7 +366,7 @@ static void __zpci_event_availability(struct zpci_ccdf_avail *ccdf)
break; break;
case 0x0304: /* Configured -> Standby|Reserved */ case 0x0304: /* Configured -> Standby|Reserved */
if (zdev) { if (zdev) {
/* The event may have been queued before we confirgured /* The event may have been queued before we configured
* the device.: * the device.:
*/ */
if (zdev->state == ZPCI_FN_STATE_CONFIGURED) if (zdev->state == ZPCI_FN_STATE_CONFIGURED)