[coreboot-gerrit] New patch to review for coreboot: src/include: Add space after minus sign

Lee Leahy (leroy.p.leahy@intel.com) gerrit at coreboot.org
Wed Mar 8 20:06:35 CET 2017


Lee Leahy (leroy.p.leahy at intel.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/18686

-gerrit

commit f0657f2b9183a9d5df109412554b1553c9a6ffc4
Author: Lee Leahy <leroy.p.leahy at intel.com>
Date:   Wed Mar 8 10:15:03 2017 -0800

    src/include: Add space after minus sign
    
    Fix the following error detected by checkpatch.pl:
    
    ERROR: need consistent spacing around '-' (ctx:WxV)
    
    TEST=Build and run on Galileo Gen2
    
    Change-Id: Ib4c2c0c19dee842b7cd4da11a47215dc2f124374
    Signed-off-by: Lee Leahy <Leroy.P.Leahy at intel.com>
---
 src/include/cpu/x86/mtrr.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/include/cpu/x86/mtrr.h b/src/include/cpu/x86/mtrr.h
index e4e1f9b..99715ed 100644
--- a/src/include/cpu/x86/mtrr.h
+++ b/src/include/cpu/x86/mtrr.h
@@ -132,7 +132,7 @@ static inline unsigned int fls(unsigned int x)
  */
 #define CACHE_TMP_RAMTOP (16<<20)
 
-#if ((CONFIG_XIP_ROM_SIZE & (CONFIG_XIP_ROM_SIZE -1)) != 0)
+#if ((CONFIG_XIP_ROM_SIZE & (CONFIG_XIP_ROM_SIZE - 1)) != 0)
 # error "CONFIG_XIP_ROM_SIZE is not a power of 2"
 #endif
 



More information about the coreboot-gerrit mailing list