]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassCbi.c
MdeModulePkg/UsbMass: Fix various typos
[mirror_edk2.git] / MdeModulePkg / Bus / Usb / UsbMassStorageDxe / UsbMassCbi.c
index 1e5508c7567456acf8fee01de98aa15cffc51d9b..477f0536d673903b1a96ac665bc376a6d24b404c 100644 (file)
@@ -305,7 +305,7 @@ UsbCbiDataTransfer (
       if (TransStatus == EFI_USB_ERR_NAK) {\r
         //\r
         // The device can NAK the host if either the data/buffer isn't\r
-        // aviable or the command is in-progress.\r
+        // available or the command is in-progress.\r
         // If data are partially transferred, we just ignore NAK and continue.\r
         // If all data have been transferred and status is NAK, then we retry for several times.\r
         // If retry exceeds the USB_CBI_MAX_RETRY, then return error status.\r
@@ -378,7 +378,7 @@ UsbCbiGetStatus (
   Timeout   = Timeout / USB_MASS_1_MILLISECOND;\r
 \r
   //\r
-  // Attemp to the read the result from interrupt endpoint\r
+  // Attempt to the read the result from interrupt endpoint\r
   //\r
   for (Retry = 0; Retry < USB_CBI_MAX_RETRY; Retry++) {\r
     TransStatus = 0;\r