mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-31 01:24:12 +02:00
ArmPkg: Fix Ecc error 8005 for SCMI_MESSAGE_ID
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
dc6c6397b8
commit
84262ca3d9
@ -195,7 +195,7 @@ ScmiGetProtocolVersion (
|
|||||||
|
|
||||||
Status = ScmiProtocolDiscoveryCommon (
|
Status = ScmiProtocolDiscoveryCommon (
|
||||||
ProtocolId,
|
ProtocolId,
|
||||||
SCMI_MESSAGE_ID_PROTOCOL_VERSION,
|
ScmiMessageIdProtocolVersion,
|
||||||
(UINT32**)&ProtocolVersion
|
(UINT32**)&ProtocolVersion
|
||||||
);
|
);
|
||||||
if (EFI_ERROR (Status)) {
|
if (EFI_ERROR (Status)) {
|
||||||
@ -224,7 +224,7 @@ ScmiGetProtocolAttributes (
|
|||||||
{
|
{
|
||||||
return ScmiProtocolDiscoveryCommon (
|
return ScmiProtocolDiscoveryCommon (
|
||||||
ProtocolId,
|
ProtocolId,
|
||||||
SCMI_MESSAGE_ID_PROTOCOL_ATTRIBUTES,
|
ScmiMessageIdProtocolAttributes,
|
||||||
ReturnValues
|
ReturnValues
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
@ -246,7 +246,7 @@ ScmiGetProtocolMessageAttributes (
|
|||||||
{
|
{
|
||||||
return ScmiProtocolDiscoveryCommon (
|
return ScmiProtocolDiscoveryCommon (
|
||||||
ProtocolId,
|
ProtocolId,
|
||||||
SCMI_MESSAGE_ID_PROTOCOL_MESSAGE_ATTRIBUTES,
|
ScmiMessageIdProtocolMessageAttributes,
|
||||||
ReturnValues
|
ReturnValues
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@ -45,9 +45,9 @@ typedef enum {
|
|||||||
|
|
||||||
// SCMI message IDs common to all protocols.
|
// SCMI message IDs common to all protocols.
|
||||||
typedef enum {
|
typedef enum {
|
||||||
SCMI_MESSAGE_ID_PROTOCOL_VERSION = 0x0,
|
ScmiMessageIdProtocolVersion = 0x0,
|
||||||
SCMI_MESSAGE_ID_PROTOCOL_ATTRIBUTES = 0x1,
|
ScmiMessageIdProtocolAttributes = 0x1,
|
||||||
SCMI_MESSAGE_ID_PROTOCOL_MESSAGE_ATTRIBUTES = 0x2
|
ScmiMessageIdProtocolMessageAttributes = 0x2
|
||||||
} SCMI_MESSAGE_ID;
|
} SCMI_MESSAGE_ID;
|
||||||
|
|
||||||
// Not defined in SCMI specification but will help to identify a message.
|
// Not defined in SCMI specification but will help to identify a message.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user