mirror of https://github.com/acidanthera/audk.git
ArmPkg: Fix Ecc error 8005 for SCMI_MESSAGE_TYPE
This patch fixes the following Ecc reported error: Variable name does not follow the rules: 1. First character should be upper case 2. Must contain lower case characters 3. No white space characters 4. Global variable name must start with a 'g' Signed-off-by: Pierre Gondois <Pierre.Gondois@arm.com> Reviewed-by: Sami Mujawar <sami.mujawar@arm.com>
This commit is contained in:
parent
462f95ec5b
commit
68c1868565
|
@ -95,7 +95,7 @@ ScmiCommandExecute (
|
|||
// Fill in message header.
|
||||
MessageHeader = SCMI_MESSAGE_HEADER (
|
||||
Command->MessageId,
|
||||
SCMI_MESSAGE_TYPE_COMMAND,
|
||||
ScmiMessageTypeCommand,
|
||||
Command->ProtocolId
|
||||
);
|
||||
|
||||
|
|
|
@ -23,9 +23,9 @@ typedef enum {
|
|||
|
||||
// SCMI message types.
|
||||
typedef enum {
|
||||
SCMI_MESSAGE_TYPE_COMMAND = 0,
|
||||
SCMI_MESSAGE_TYPE_DELAYED_RESPONSE = 2, // Skipping 1 is deliberate.
|
||||
SCMI_MESSAGE_TYPE_NOTIFICATION = 3
|
||||
ScmiMessageTypeCommand = 0,
|
||||
ScmiMessageTypeDelayedResponse = 2, // Skipping 1 is deliberate.
|
||||
ScmiMessageTypeNotification = 3
|
||||
} SCMI_MESSAGE_TYPE;
|
||||
|
||||
// SCMI response error codes.
|
||||
|
|
Loading…
Reference in New Issue