Skip to contentSkip to conversation

Fix missing '{' for mm.c in xen-unstable

PATCH In review Jerone Young 3 participants 3 messages Jul 6, 2007

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix missing '{' for mm.c in xen-unstable

A '{' was missing from conditional if statement.

xen/arch/powerpc/mm.c Fri Jul 06 08:48:23 2007 -0500 renamed from xen/arch/powerpc/mm.c Thu Jul 05 10:19:25 2007 +0100 +1 -1
diff -r d54d47fc8c6c xen/arch/powerpc/mm.c
@@ -187,7 +187,7 @@ int replace_grant_host_mapping(
     unsigned long addr, unsigned long frame, unsigned long new_addr,
     unsigned int flags)
 {
-    if (new_addr)
+    if (new_addr) {
         printk("%s: new_addr not supported\n", __func__);
         BUG();
         return GNTST_general_error;
#1 lore raw
Quoted 8 lines · Jerone Young

A '{' was missing from conditional if statement.

diff -r d54d47fc8c6c xen/arch/powerpc/mm.c

xen/arch/powerpc/mm.c Fri Jul 06 08:48:23 2007 -0500 int replace_grant_host_mapping( · line 193

Quoted 8 lines
xen/arch/powerpc/mm.c Fri Jul 06 08:48:23 2007 -0500 renamed from xen/arch/powerpc/mm.c Thu Jul 05 10:19:25 2007 +0100 +1 -1
@@ -187,7 +187,7 @@ int replace_grant_host_mapping(
     unsigned long addr, unsigned long frame, unsigned long new_addr,
     unsigned int flags)
 {
-    if (new_addr)
+    if (new_addr) {
         printk("%s: new_addr not supported\n", __func__);
         BUG();
         return GNTST_general_error;

Doh, thanks. I have had this locally, but apparently forgot to push it...

I will apply to the PPC tree, along with a few other changes, and push upstream later.

Signature · 2 lines
Hollis Blanchard
IBM Linux Technology Center
#2 lore raw
Quoted 5 lines · Hollis Blanchard

Doh, thanks. I have had this locally, but apparently forgot to push it...

I will apply to the PPC tree, along with a few other changes, and push upstream later.

Ah, I just threw it into the xen-unstable main tree.

-- Keir