]> git.proxmox.com Git - mirror_edk2.git/blobdiff - OvmfPkg/VirtioFsDxe/FuseGetAttr.c
OvmfPkg: Apply uncrustify changes
[mirror_edk2.git] / OvmfPkg / VirtioFsDxe / FuseGetAttr.c
index 29d8ec8190e1fc4515db378ae168cc623f9797e5..1dc0349a55be97c89c9f0f106abf4a0ba8f7bf1e 100644 (file)
 **/\r
 EFI_STATUS\r
 VirtioFsFuseGetAttr (\r
-  IN OUT VIRTIO_FS                          *VirtioFs,\r
-  IN     UINT64                             NodeId,\r
-     OUT VIRTIO_FS_FUSE_ATTRIBUTES_RESPONSE *FuseAttr\r
+  IN OUT VIRTIO_FS                        *VirtioFs,\r
+  IN     UINT64                           NodeId,\r
+  OUT VIRTIO_FS_FUSE_ATTRIBUTES_RESPONSE  *FuseAttr\r
   )\r
 {\r
-  VIRTIO_FS_FUSE_REQUEST          CommonReq;\r
-  VIRTIO_FS_FUSE_GETATTR_REQUEST  GetAttrReq;\r
-  VIRTIO_FS_IO_VECTOR             ReqIoVec[2];\r
-  VIRTIO_FS_SCATTER_GATHER_LIST   ReqSgList;\r
-  VIRTIO_FS_FUSE_RESPONSE         CommonResp;\r
-  VIRTIO_FS_FUSE_GETATTR_RESPONSE GetAttrResp;\r
-  VIRTIO_FS_IO_VECTOR             RespIoVec[3];\r
-  VIRTIO_FS_SCATTER_GATHER_LIST   RespSgList;\r
-  EFI_STATUS                      Status;\r
+  VIRTIO_FS_FUSE_REQUEST           CommonReq;\r
+  VIRTIO_FS_FUSE_GETATTR_REQUEST   GetAttrReq;\r
+  VIRTIO_FS_IO_VECTOR              ReqIoVec[2];\r
+  VIRTIO_FS_SCATTER_GATHER_LIST    ReqSgList;\r
+  VIRTIO_FS_FUSE_RESPONSE          CommonResp;\r
+  VIRTIO_FS_FUSE_GETATTR_RESPONSE  GetAttrResp;\r
+  VIRTIO_FS_IO_VECTOR              RespIoVec[3];\r
+  VIRTIO_FS_SCATTER_GATHER_LIST    RespSgList;\r
+  EFI_STATUS                       Status;\r
 \r
   //\r
   // Set up the scatter-gather lists.\r
@@ -82,8 +82,13 @@ VirtioFsFuseGetAttr (
   //\r
   // Populate the common request header.\r
   //\r
-  Status = VirtioFsFuseNewRequest (VirtioFs, &CommonReq, ReqSgList.TotalSize,\r
-             VirtioFsFuseOpGetAttr, NodeId);\r
+  Status = VirtioFsFuseNewRequest (\r
+             VirtioFs,\r
+             &CommonReq,\r
+             ReqSgList.TotalSize,\r
+             VirtioFsFuseOpGetAttr,\r
+             NodeId\r
+             );\r
   if (EFI_ERROR (Status)) {\r
     return Status;\r
   }\r
@@ -108,9 +113,16 @@ VirtioFsFuseGetAttr (
   //\r
   Status = VirtioFsFuseCheckResponse (&RespSgList, CommonReq.Unique, NULL);\r
   if (Status == EFI_DEVICE_ERROR) {\r
-    DEBUG ((DEBUG_ERROR, "%a: Label=\"%s\" NodeId=%Lu Errno=%d\n",\r
-      __FUNCTION__, VirtioFs->Label, NodeId, CommonResp.Error));\r
+    DEBUG ((\r
+      DEBUG_ERROR,\r
+      "%a: Label=\"%s\" NodeId=%Lu Errno=%d\n",\r
+      __FUNCTION__,\r
+      VirtioFs->Label,\r
+      NodeId,\r
+      CommonResp.Error\r
+      ));\r
     Status = VirtioFsErrnoToEfiStatus (CommonResp.Error);\r
   }\r
+\r
   return Status;\r
 }\r