MdeModulePkg: Apply uncrustify changes
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3737 Apply uncrustify changes to .c/.h files in the MdeModulePkg package Cc: Andrew Fish <afish@apple.com> Cc: Leif Lindholm <leif@nuviainc.com> Cc: Michael D Kinney <michael.d.kinney@intel.com> Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com> Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
This commit is contained in:
committed by
mergify[bot]
parent
7c7184e201
commit
1436aea4d5
@@ -11,7 +11,7 @@
|
||||
#include <Library/UefiBootServicesTableLib.h>
|
||||
#include <Library/DebugLib.h>
|
||||
|
||||
IPMI_PROTOCOL *mIpmiProtocol = NULL;
|
||||
IPMI_PROTOCOL *mIpmiProtocol = NULL;
|
||||
|
||||
/**
|
||||
This service enables submitting commands via Ipmi.
|
||||
@@ -34,22 +34,22 @@ IPMI_PROTOCOL *mIpmiProtocol = NULL;
|
||||
EFI_STATUS
|
||||
EFIAPI
|
||||
IpmiSubmitCommand (
|
||||
IN UINT8 NetFunction,
|
||||
IN UINT8 Command,
|
||||
IN UINT8 *RequestData,
|
||||
IN UINT32 RequestDataSize,
|
||||
OUT UINT8 *ResponseData,
|
||||
IN OUT UINT32 *ResponseDataSize
|
||||
IN UINT8 NetFunction,
|
||||
IN UINT8 Command,
|
||||
IN UINT8 *RequestData,
|
||||
IN UINT32 RequestDataSize,
|
||||
OUT UINT8 *ResponseData,
|
||||
IN OUT UINT32 *ResponseDataSize
|
||||
)
|
||||
{
|
||||
EFI_STATUS Status;
|
||||
|
||||
if (mIpmiProtocol == NULL) {
|
||||
Status = gBS->LocateProtocol (
|
||||
&gIpmiProtocolGuid,
|
||||
NULL,
|
||||
(VOID **) &mIpmiProtocol
|
||||
);
|
||||
&gIpmiProtocolGuid,
|
||||
NULL,
|
||||
(VOID **)&mIpmiProtocol
|
||||
);
|
||||
if (EFI_ERROR (Status)) {
|
||||
//
|
||||
// Dxe Ipmi Protocol is not installed. So, IPMI device is not present.
|
||||
@@ -71,5 +71,6 @@ IpmiSubmitCommand (
|
||||
if (EFI_ERROR (Status)) {
|
||||
return Status;
|
||||
}
|
||||
|
||||
return EFI_SUCCESS;
|
||||
}
|
||||
|
Reference in New Issue
Block a user