Skip to contentSkip to conversation

pflash_cfi02: Fix a typo in debug code (TARGET_FMT_pld -> TARGET_FMT_plx)

PATCH Applied Stefan Weil 2 participants 4 messages May 22, 2011 – May 24, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 pflash_cfi02: Fix a typo in debug code (TARGET_FMT_pld -> TARGET_FMT_plx)

Thanks to Tobias Hoffmann <[email protected]> for this patch.

---
 hw/pflash_cfi02.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
hw/pflash_cfi02.c +1 -1
index 8fdafe6..725cd1e 100644
@@ -188,7 +188,7 @@ static uint32_t pflash_read (pflash_t *pfl, target_phys_addr_t offset,
         default:
             goto flash_read;
         }
-        DPRINTF("%s: ID " TARGET_FMT_pld " %x\n", __func__, boff, ret);
+        DPRINTF("%s: ID " TARGET_FMT_plx " %x\n", __func__, boff, ret);
         break;
     case 0xA0:
     case 0x10:
Signature · 1 line
1.7.2.5
#1 lore raw

PATCH 2/2 Fix spelling in comment (additon -> addition)

---
 tcg/tcg.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
tcg/tcg.h +1 -1
index cecef63..183a446 100644
@@ -129,7 +129,7 @@ typedef tcg_target_ulong TCGArg;
    We use plain int by default to avoid this runtime overhead.
    Users of tcg_gen_* don't need to know about any of this, and should
    treat TCGv as an opaque type.
-   In additon we do typechecking for different types of variables.  TCGv_i32
+   In addition we do typechecking for different types of variables.  TCGv_i32
    and TCGv_i64 are 32/64-bit variables respectively.  TCGv and TCGv_ptr
    are aliases for target_ulong and host pointer sized values respectively.
  */
Signature · 1 line
1.7.2.5