ACPI / APEI: Fix incorrect return value of ghes_proc()
[pandora-kernel.git] / drivers / acpi / apei / ghes.c
index b8e08cb..e8c4899 100644 (file)
@@ -656,7 +656,7 @@ static int ghes_proc(struct ghes *ghes)
        ghes_do_proc(ghes->estatus);
 out:
        ghes_clear_estatus(ghes);
-       return 0;
+       return rc;
 }
 
 static void ghes_add_timer(struct ghes *ghes)