[coreboot] New patch to review for coreboot: 133271d x86emu: Use NULL instead of 0 when assigning pointer

Stefan Reinauer (stefan.reinauer@coreboot.org) gerrit at coreboot.org
Fri Jul 27 02:01:18 CEST 2012


Stefan Reinauer (stefan.reinauer at coreboot.org) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/1361

-gerrit

commit 133271d603ea015e4ab80d3aa99e57eec9b8b8c2
Author: Stefan Reinauer <reinauer at chromium.org>
Date:   Thu Jul 26 15:04:24 2012 -0700

    x86emu: Use NULL instead of 0 when assigning pointer
    
    Change-Id: Ie79b9aa79d45dd10c2e5be7f58eed970c243060a
    Signed-off-by: Stefan Reinauer <reinauer at google.com>
---
 src/devices/oprom/x86emu/ops2.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/devices/oprom/x86emu/ops2.c b/src/devices/oprom/x86emu/ops2.c
index edad6f3..4000bc3 100644
--- a/src/devices/oprom/x86emu/ops2.c
+++ b/src/devices/oprom/x86emu/ops2.c
@@ -336,7 +336,7 @@ static void x86emuOp2_set_byte(u8 op2)
     int mod, rl, rh;
     uint destoffset;
     u8  *destreg;
-    const char *X86EMU_DEBUG_ONLY(name) = 0;
+    const char *X86EMU_DEBUG_ONLY(name) = NULL;
     int cond = 0;
 
     START_OF_INSTR();




More information about the coreboot mailing list