[coreboot-gerrit] New patch to review for coreboot: e107ec0 cpu/amd/model_10xxx/processor_name.c: Duplicate 'const' specifier

Edward O'Callaghan (eocallaghan@alterapraxis.com) gerrit at coreboot.org
Wed Nov 12 07:48:31 CET 2014


Edward O'Callaghan (eocallaghan at alterapraxis.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/7446

-gerrit

commit e107ec0015430eb857aaf7d220ba4afce2ad0d5e
Author: Edward O'Callaghan <eocallaghan at alterapraxis.com>
Date:   Wed Nov 12 17:45:38 2014 +1100

    cpu/amd/model_10xxx/processor_name.c: Duplicate 'const' specifier
    
    Remove duplicate 'const' declaration specifier.
    
    Change-Id: I27802ce9a8fe799e9187644ebd1fa5924d5e512b
    Found-by: Clang
    Signed-off-by: Edward O'Callaghan <eocallaghan at alterapraxis.com>
---
 src/cpu/amd/model_10xxx/processor_name.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/cpu/amd/model_10xxx/processor_name.c b/src/cpu/amd/model_10xxx/processor_name.c
index b16e9ba..40b73b0 100644
--- a/src/cpu/amd/model_10xxx/processor_name.c
+++ b/src/cpu/amd/model_10xxx/processor_name.c
@@ -173,10 +173,10 @@ static const struct str_s String2_socket_C32[] = {
 	{0, 0, 0, NULL}
 };
 
-const char const *unknown = "AMD Processor model unknown";
-const char const *unknown2 = " type unknown";
-const char const *sample = "AMD Engineering Sample";
-const char const *thermal = "AMD Thermal Test Kit";
+const char *unknown = "AMD Processor model unknown";
+const char *unknown2 = " type unknown";
+const char *sample = "AMD Engineering Sample";
+const char *thermal = "AMD Thermal Test Kit";
 
 
 static int strcpymax(char *dst, const char *src, int buflen)



More information about the coreboot-gerrit mailing list