From 96479947bcd7b425e4f2196b06701fd8ec3da595 Mon Sep 17 00:00:00 2001 From: Pierre Gondois Date: Fri, 15 Jan 2021 17:35:22 +0000 Subject: ArmPkg: Fix Ecc error 8005 for SCMI_MESSAGE_ID_PERFORMANCE 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 Reviewed-by: Sami Mujawar --- ArmPkg/Drivers/ArmScmiDxe/ScmiPerformanceProtocol.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'ArmPkg/Drivers/ArmScmiDxe/ScmiPerformanceProtocol.c') diff --git a/ArmPkg/Drivers/ArmScmiDxe/ScmiPerformanceProtocol.c b/ArmPkg/Drivers/ArmScmiDxe/ScmiPerformanceProtocol.c index 51cad4d2c6..684ed713d5 100644 --- a/ArmPkg/Drivers/ArmScmiDxe/ScmiPerformanceProtocol.c +++ b/ArmPkg/Drivers/ArmScmiDxe/ScmiPerformanceProtocol.c @@ -108,7 +108,7 @@ PerformanceDomainAttributes ( *MessageParams = DomainId; Cmd.ProtocolId = ScmiProtocolIdPerformance; - Cmd.MessageId = SCMI_MESSAGE_ID_PERFORMANCE_DOMAIN_ATTRIBUTES; + Cmd.MessageId = ScmiMessageIdPerformanceDomainAttributes; PayloadLength = sizeof (DomainId); @@ -180,7 +180,7 @@ PerformanceDescribeLevels ( *MessageParams++ = DomainId; Cmd.ProtocolId = ScmiProtocolIdPerformance; - Cmd.MessageId = SCMI_MESSAGE_ID_PERFORMANCE_DESCRIBE_LEVELS; + Cmd.MessageId = ScmiMessageIdPerformanceDescribeLevels; do { @@ -259,7 +259,7 @@ PerformanceLimitsSet ( *MessageParams = Limits->RangeMin; Cmd.ProtocolId = ScmiProtocolIdPerformance; - Cmd.MessageId = SCMI_MESSAGE_ID_PERFORMANCE_LIMITS_SET; + Cmd.MessageId = ScmiMessageIdPerformanceLimitsSet; PayloadLength = sizeof (DomainId) + sizeof (SCMI_PERFORMANCE_LIMITS); @@ -305,7 +305,7 @@ PerformanceLimitsGet ( *MessageParams = DomainId; Cmd.ProtocolId = ScmiProtocolIdPerformance; - Cmd.MessageId = SCMI_MESSAGE_ID_PERFORMANCE_LIMITS_GET; + Cmd.MessageId = ScmiMessageIdPerformanceLimitsGet; PayloadLength = sizeof (DomainId); @@ -355,7 +355,7 @@ PerformanceLevelSet ( *MessageParams = Level; Cmd.ProtocolId = ScmiProtocolIdPerformance; - Cmd.MessageId = SCMI_MESSAGE_ID_PERFORMANCE_LEVEL_SET; + Cmd.MessageId = ScmiMessageIdPerformanceLevelSet; PayloadLength = sizeof (DomainId) + sizeof (Level); @@ -400,7 +400,7 @@ PerformanceLevelGet ( *MessageParams = DomainId; Cmd.ProtocolId = ScmiProtocolIdPerformance; - Cmd.MessageId = SCMI_MESSAGE_ID_PERFORMANCE_LEVEL_GET; + Cmd.MessageId = ScmiMessageIdPerformanceLevelGet; PayloadLength = sizeof (DomainId); -- cgit v1.2.3