[edk2-devel] [PATCH 4/5] OvmfPkg: Improve style and formatting in BhyveFwCtlLib.h
Rebecca Cran
rebecca at bsdio.com
Mon Nov 30 05:34:11 UTC 2020
There were some problems with the formatting and style that made the
file difficult to read.
Signed-off-by: Rebecca Cran <rebecca at 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
-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#68066): https://edk2.groups.io/g/devel/message/68066
Mute This Topic: https://groups.io/mt/78602184/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-
More information about the edk2-devel-archive
mailing list