From: Geliang Tang Date: Sat, 31 Oct 2015 15:23:15 +0000 (+0800) Subject: pstore: fix code comment to match code X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=306e5c2a3cb45a0256ae6677501d1144e93efa2f;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git pstore: fix code comment to match code Fix code comment about kmsg_dump register so it matches the code. Signed-off-by: Geliang Tang Signed-off-by: Tony Luck --- diff --git a/fs/pstore/platform.c b/fs/pstore/platform.c index 0aab920efff7..588461bb2dd4 100644 --- a/fs/pstore/platform.c +++ b/fs/pstore/platform.c @@ -361,6 +361,9 @@ static struct kmsg_dumper pstore_dumper = { .dump = pstore_dump, }; +/* + * Register with kmsg_dump to save last part of console log on panic. + */ static void pstore_register_kmsg(void) { kmsg_dump_register(&pstore_dumper); @@ -434,8 +437,6 @@ static int pstore_write_compat(enum pstore_type_id type, * read function right away to populate the file system. If not * then the pstore mount code will call us later to fill out * the file system. - * - * Register with kmsg_dump to save last part of console log on panic. */ int pstore_register(struct pstore_info *psi) {