powerpc/fadump: Fix build error introduced by recent cleanup
authorMichael Ellerman <mpe@ellerman.id.au>
Tue, 5 Jul 2016 13:45:56 +0000 (23:45 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 5 Jul 2016 13:49:46 +0000 (23:49 +1000)
We spent so much time bike-shedding the printk() we missed that the next
line was missing a semi-colon. And it seems none of our defconfigs turn
on CONFIG_FA_DUMP.

Fixes: 4a03749f140c ("powerpc/fadump: Trivial fix of spelling mistake, clean up message")
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/fadump.c

index f066486..b3a6633 100644 (file)
@@ -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;