pstore/ram_core: Silence some printks
authorAnton Vorontsov <anton.vorontsov@linaro.org>
Sat, 26 May 2012 13:20:24 +0000 (06:20 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 13 Jun 2012 23:59:28 +0000 (16:59 -0700)
Since we use multiple regions, the messages are somewhat annoying.
We do print total mapped memory already, so no need to print the
information for each region in the library routines.

Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>
Acked-by: Kees Cook <keescook@chromium.org>
Acked-by: Colin Cross <ccross@android.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/pstore/ram_core.c

index c5fbdbbf81ac0d6fda33e9b848a9fafa5b2b21f2..78f6d4b2addb610a860da83c3b8d015127c9db21 100644 (file)
@@ -409,14 +409,14 @@ static int __init persistent_ram_post_init(struct persistent_ram_zone *prz, bool
                                " size %zu, start %zu\n",
                               buffer_size(prz), buffer_start(prz));
                else {
-                       pr_info("persistent_ram: found existing buffer,"
+                       pr_debug("persistent_ram: found existing buffer,"
                                " size %zu, start %zu\n",
                               buffer_size(prz), buffer_start(prz));
                        persistent_ram_save_old(prz);
                        return 0;
                }
        } else {
-               pr_info("persistent_ram: no valid data in buffer"
+               pr_debug("persistent_ram: no valid data in buffer"
                        " (sig = 0x%08x)\n", prz->buffer->sig);
        }