mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-09 07:23:14 +00:00
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:
parent
6ee600bfbe
commit
d0c8fd2100
@ -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.
|
||||||
|
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user