public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Rebecca Cran" <rebecca@bsdio.com>
To: devel@edk2.groups.io
Cc: Rebecca Cran <rebecca@bsdio.com>,
	Jordan Justen <jordan.l.justen@intel.com>,
	Laszlo Ersek <lersek@redhat.com>,
	Ard Biesheuvel <ard.biesheuvel@arm.com>,
	Peter Grehan <grehan@freebsd.org>
Subject: [PATCH 4/5] OvmfPkg: Improve style and formatting in BhyveFwCtlLib.h
Date: Sun, 29 Nov 2020 22:34:11 -0700	[thread overview]
Message-ID: <20201130053412.2-5-rebecca@bsdio.com> (raw)
In-Reply-To: <20201130053412.2-1-rebecca@bsdio.com>

There were some problems with the formatting and style that made the
file difficult to read.

Signed-off-by: Rebecca Cran <rebecca@bsdio.com>
---
 OvmfPkg/Include/Library/BhyveFwCtlLib.h | 24 ++++++++++++------------
 1 file changed, 12 insertions(+), 12 deletions(-)

diff --git a/OvmfPkg/Include/Library/BhyveFwCtlLib.h b/OvmfPkg/Include/Library/BhyveFwCtlLib.h
index 13028ec4b585..07fbd60476d1 100644
--- a/OvmfPkg/Include/Library/BhyveFwCtlLib.h
+++ b/OvmfPkg/Include/Library/BhyveFwCtlLib.h
@@ -8,8 +8,8 @@
 
 **/
 
-#ifndef __BHYVE_FW_CTL_LIB__
-#define __BHYVE_FW_CTL_LIB__
+#ifndef _BHYVE_FW_CTL_LIB_
+#define _BHYVE_FW_CTL_LIB_
 
 /**
   Sysctl-like interface to read host information via a dot-separated
@@ -29,19 +29,19 @@
   @param[]  Data    - return buffer pointer
   @param[]  Size    - pointer to length
 
-  @return    RETURN_SUCCESS          Valid data/len returned.
-          RETURN_UNSUPPORTED        f/w interface not present.
-          RETURN_NOT_FOUND      OID not found.
-        RETURN_BUFFER_TOO_SMALL      Return message truncated.
-        RETURN_INVALID_PARAMETER  Buffer too large
-        RETURN_PROTOCOL_ERROR     Unknown error from host
+  @return RETURN_SUCCESS           Valid data/len returned.
+          RETURN_UNSUPPORTED       f/w interface not present.
+          RETURN_NOT_FOUND         OID not found.
+          RETURN_BUFFER_TOO_SMALL  Return message truncated.
+          RETURN_INVALID_PARAMETER Buffer too large.
+          RETURN_PROTOCOL_ERROR    Unknown error from host.
  **/
 RETURN_STATUS
 EFIAPI
 BhyveFwCtlGet (
-  IN   CONST CHAR8    *Name,
-  OUT  VOID        *Item,
-  IN OUT  UINTN        *Size
+  IN   CONST CHAR8  *Name,
+  OUT  VOID         *Item,
+  IN OUT  UINTN     *Size
   );
 
-#endif
+#endif /* _BHYVE_FW_CTL_LIB_ */
-- 
2.29.2.windows.2



  parent reply	other threads:[~2020-11-30  5:34 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-30  5:34 [PATCH 0/5] OvmfPkg: Fix Bhyve code formatting and style problems Rebecca Cran
2020-11-30  5:34 ` [PATCH 1/5] OvmfPkg: Fix BhyveFwCtlLib build with VS2019 Rebecca Cran
2020-11-30  5:34 ` [PATCH 2/5] OvmfPkg: Improve code style/formatting in BhyveFwCtlLib.c Rebecca Cran
2020-11-30  5:34 ` [PATCH 3/5] OvmfPkg: Fix style of BhyveFwCtlLib.inf Rebecca Cran
2020-11-30  5:34 ` Rebecca Cran [this message]
2020-11-30  5:34 ` [PATCH 5/5] OvmfPkg/Bhyve: Fix various style issues Rebecca Cran
2020-11-30  5:37 ` [edk2-devel] [PATCH 0/5] OvmfPkg: Fix Bhyve code formatting and style problems Peter Grehan
2020-11-30  5:48 ` Rebecca Cran
2020-11-30 16:35   ` Laszlo Ersek
2020-11-30 17:50 ` [edk2-devel] " Laszlo Ersek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20201130053412.2-5-rebecca@bsdio.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox