[PATCH] powerpc/fadump: Fix compile error due to missing semicolon
Ian Munsie
imunsie at au1.ibm.com
Fri Jul 1 12:31:48 AEST 2016
From: Ian Munsie <imunsie at au1.ibm.com>
The commit "powerpc/fadump: trivial fix of spelling mistake, clean up
message" removed a semicolon causing the following compile failure:
arch/powerpc/kernel/fadump.c: In function ‘fadump_invalidate_dump’:
arch/powerpc/kernel/fadump.c:1014:2: error: expected ‘;’ before ‘}’ token
}
^
Reported-by: Huy Nguyen <huyn at mellanox.com>
Signed-off-by: Ian Munsie <imunsie at au1.ibm.com>
---
arch/powerpc/kernel/fadump.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/powerpc/kernel/fadump.c b/arch/powerpc/kernel/fadump.c
index f066486..b3a6633 100644
--- a/arch/powerpc/kernel/fadump.c
+++ b/arch/powerpc/kernel/fadump.c
@@ -1010,7 +1010,7 @@ static int fadump_invalidate_dump(struct fadump_mem_struct *fdm)
if (rc) {
pr_err("Failed to invalidate firmware-assisted dump registration. Unexpected error (%d).\n", rc);
- return rc
+ return rc;
}
fw_dump.dump_active = 0;
fdm_active = NULL;
--
2.8.1
More information about the Linuxppc-dev
mailing list