]> git.proxmox.com Git - mirror_edk2.git/blobdiff - FmpDevicePkg/Library/FmpDeviceLibNull/FmpDeviceLib.c
FmpDevicePkg: Fix code style issue
[mirror_edk2.git] / FmpDevicePkg / Library / FmpDeviceLibNull / FmpDeviceLib.c
index 03e8750661c28979a0ebf37f1404769a9c797062..c918c5b2e8d9ac07f93c8671baab75804b79842a 100644 (file)
@@ -1,4 +1,4 @@
-/**  @file\r
+/** @file\r
   Provides firmware device specific services to support updates of a firmware\r
   image stored in a firmware device.\r
 \r
@@ -79,7 +79,7 @@ RegisterFmpInstaller (
 EFI_STATUS\r
 EFIAPI\r
 FmpDeviceGetSize (\r
-  IN UINTN  *Size\r
+  OUT UINTN  *Size\r
   )\r
 {\r
   if (Size == NULL) {\r
@@ -138,8 +138,8 @@ FmpDeviceGetImageTypeIdGuidPtr (
 EFI_STATUS\r
 EFIAPI\r
 FmpDeviceGetAttributes (\r
-  IN OUT UINT64  *Supported,\r
-  IN OUT UINT64  *Setting\r
+  OUT UINT64    *Supported,\r
+  OUT UINT64    *Setting\r
   )\r
 {\r
   if (Supported == NULL || Setting == NULL) {\r
@@ -268,9 +268,9 @@ FmpDeviceGetVersion (
         a copy currently stored firmware image.  This can be used to support\r
         features such as recovery and rollback.\r
 \r
-  @param[out]    Image      Pointer to a caller allocated buffer where the\r
+  @param[out]     Image     Pointer to a caller allocated buffer where the\r
                             currently stored firmware image is copied to.\r
-  @param[in out] ImageSize  Pointer the size, in bytes, of the Image buffer.\r
+  @param[in, out] ImageSize Pointer the size, in bytes, of the Image buffer.\r
                             On return, points to the size, in bytes, of firmware\r
                             image currently stored in the firmware device.\r
 \r
@@ -294,8 +294,8 @@ FmpDeviceGetVersion (
 EFI_STATUS\r
 EFIAPI\r
 FmpDeviceGetImage (\r
-  IN OUT    VOID   *Image,\r
-  IN IN OUT UINTN  *ImageSize\r
+  OUT    VOID   *Image,\r
+  IN OUT UINTN  *ImageSize\r
   )\r
 {\r
   return EFI_UNSUPPORTED;\r
@@ -320,9 +320,9 @@ FmpDeviceGetImage (
 \r
   @retval EFI_SUCCESS            The image was successfully checked.  Additional\r
                                  status information is returned in\r
-                                 ImageUpdateable.\r
+                                 ImageUpdatable.\r
   @retval EFI_INVALID_PARAMETER  Image is NULL.\r
-  @retval EFI_INVALID_PARAMETER  ImageUpdateable is NULL.\r
+  @retval EFI_INVALID_PARAMETER  ImageUpdatable is NULL.\r
 \r
 **/\r
 EFI_STATUS\r
@@ -330,7 +330,7 @@ EFIAPI
 FmpDeviceCheckImage (\r
   IN  CONST VOID  *Image,\r
   IN  UINTN       ImageSize,\r
-  OUT UINT32      *ImageUpdateable\r
+  OUT UINT32      *ImageUpdatable\r
   )\r
 {\r
   return EFI_SUCCESS;\r