From ac0a286f4d747a4c6c603a7b225917293cbe1e9f Mon Sep 17 00:00:00 2001 From: Michael Kubacki Date: Sun, 5 Dec 2021 14:54:09 -0800 Subject: OvmfPkg: Apply uncrustify changes REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3737 Apply uncrustify changes to .c/.h files in the OvmfPkg package Cc: Andrew Fish Cc: Leif Lindholm Cc: Michael D Kinney Signed-off-by: Michael Kubacki Reviewed-by: Andrew Fish --- OvmfPkg/VirtioFsDxe/FuseUnlink.c | 37 +++++++++++++++++++++++-------------- 1 file changed, 23 insertions(+), 14 deletions(-) (limited to 'OvmfPkg/VirtioFsDxe/FuseUnlink.c') diff --git a/OvmfPkg/VirtioFsDxe/FuseUnlink.c b/OvmfPkg/VirtioFsDxe/FuseUnlink.c index 8f84edb..14cbdec 100644 --- a/OvmfPkg/VirtioFsDxe/FuseUnlink.c +++ b/OvmfPkg/VirtioFsDxe/FuseUnlink.c @@ -41,19 +41,19 @@ **/ EFI_STATUS VirtioFsFuseRemoveFileOrDir ( - IN OUT VIRTIO_FS *VirtioFs, - IN UINT64 ParentNodeId, - IN CHAR8 *Name, - IN BOOLEAN IsDir + IN OUT VIRTIO_FS *VirtioFs, + IN UINT64 ParentNodeId, + IN CHAR8 *Name, + IN BOOLEAN IsDir ) { - VIRTIO_FS_FUSE_REQUEST CommonReq; - VIRTIO_FS_IO_VECTOR ReqIoVec[2]; - VIRTIO_FS_SCATTER_GATHER_LIST ReqSgList; - VIRTIO_FS_FUSE_RESPONSE CommonResp; - VIRTIO_FS_IO_VECTOR RespIoVec[1]; - VIRTIO_FS_SCATTER_GATHER_LIST RespSgList; - EFI_STATUS Status; + VIRTIO_FS_FUSE_REQUEST CommonReq; + VIRTIO_FS_IO_VECTOR ReqIoVec[2]; + VIRTIO_FS_SCATTER_GATHER_LIST ReqSgList; + VIRTIO_FS_FUSE_RESPONSE CommonResp; + VIRTIO_FS_IO_VECTOR RespIoVec[1]; + VIRTIO_FS_SCATTER_GATHER_LIST RespSgList; + EFI_STATUS Status; // // Set up the scatter-gather lists. @@ -105,10 +105,19 @@ VirtioFsFuseRemoveFileOrDir ( // Status = VirtioFsFuseCheckResponse (&RespSgList, CommonReq.Unique, NULL); if (Status == EFI_DEVICE_ERROR) { - DEBUG ((DEBUG_ERROR, "%a: Label=\"%s\" ParentNodeId=%Lu Name=\"%a\" " - "IsDir=%d Errno=%d\n", __FUNCTION__, VirtioFs->Label, ParentNodeId, Name, - IsDir, CommonResp.Error)); + DEBUG (( + DEBUG_ERROR, + "%a: Label=\"%s\" ParentNodeId=%Lu Name=\"%a\" " + "IsDir=%d Errno=%d\n", + __FUNCTION__, + VirtioFs->Label, + ParentNodeId, + Name, + IsDir, + CommonResp.Error + )); Status = VirtioFsErrnoToEfiStatus (CommonResp.Error); } + return Status; } -- cgit v1.1