From patchwork Thu May 17 08:40:52 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anton Vorontsov X-Patchwork-Id: 8708 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 7471A23E1B for ; Thu, 17 May 2012 08:42:24 +0000 (UTC) Received: from mail-yx0-f180.google.com (mail-yx0-f180.google.com [209.85.213.180]) by fiordland.canonical.com (Postfix) with ESMTP id 444E8A186B1 for ; Thu, 17 May 2012 08:42:24 +0000 (UTC) Received: by mail-yx0-f180.google.com with SMTP id q6so1869871yen.11 for ; Thu, 17 May 2012 01:42:24 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf:date:from :to:cc:subject:message-id:references:mime-version:content-type :content-disposition:in-reply-to:user-agent:x-gm-message-state; bh=yHF4YYWPqNf3zkTId5IHM1vPbhAlB9cCpkSlGrp1OSM=; b=NRH94mUEaMCYu3g6Xt+2KVtQEHbyvHIen7brZEk8enHu0qWoEYbNVeC/yjapKG8vvw 6xnjIbh9VS9Vb8NbJ8nn+PcA8/qk5o3YOgI7QCLyHhKWdcwwIwXtClHYSB7Lg5ZwU9UA YqZz2ELyw3V98NdADkjYLX7gLarb9C/Z9QzfJ0GETqAdsbW2vmUVqrVblyGtsIMJZpKG 5S8w2348Aj3erMtFHDtrBlQ4e6W1TjXJ7HEVWdg+vFjX38h6Y37pvobpAOJbpR79rUTY 1G2psEAxdym7/dIzyS8wRkQ0N4X9OR5cWf0oMsRxICapHpkoUTspiOmH7uxELvyB9iaW ckyQ== Received: by 10.50.163.99 with SMTP id yh3mr4357689igb.53.1337244143718; Thu, 17 May 2012 01:42:23 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.231.35.72 with SMTP id o8csp12023ibd; Thu, 17 May 2012 01:42:23 -0700 (PDT) Received: by 10.68.227.198 with SMTP id sc6mr24784222pbc.138.1337244143080; Thu, 17 May 2012 01:42:23 -0700 (PDT) Received: from mail-pz0-f50.google.com (mail-pz0-f50.google.com [209.85.210.50]) by mx.google.com with ESMTPS id qi8si10500110pbc.91.2012.05.17.01.42.22 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 17 May 2012 01:42:23 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.210.50 is neither permitted nor denied by best guess record for domain of anton.vorontsov@linaro.org) client-ip=209.85.210.50; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.210.50 is neither permitted nor denied by best guess record for domain of anton.vorontsov@linaro.org) smtp.mail=anton.vorontsov@linaro.org Received: by mail-pz0-f50.google.com with SMTP id h15so2594406dan.37 for ; Thu, 17 May 2012 01:42:22 -0700 (PDT) Received: by 10.68.231.195 with SMTP id ti3mr25383277pbc.96.1337244142761; Thu, 17 May 2012 01:42:22 -0700 (PDT) Received: from localhost (c-71-204-165-222.hsd1.ca.comcast.net. [71.204.165.222]) by mx.google.com with ESMTPS id ud10sm8431450pbc.25.2012.05.17.01.42.20 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 17 May 2012 01:42:21 -0700 (PDT) Date: Thu, 17 May 2012 01:40:52 -0700 From: Anton Vorontsov To: Greg Kroah-Hartman , Kees Cook , Colin Cross , Tony Luck Cc: Arnd Bergmann , John Stultz , Shuah Khan , arve@android.com, Rebecca Schultz Zavin , Jesper Juhl , Randy Dunlap , Stephen Boyd , Thomas Meyer , Andrew Morton , Marco Stornelli , WANG Cong , linux-kernel@vger.kernel.org, devel@driverdev.osuosl.org, linaro-kernel@lists.linaro.org, patches@linaro.org, kernel-team@android.com Subject: [PATCH 3/6] pstore/ram_core: Silence some printks Message-ID: <20120517084052.GC31753@lizard> References: <20120517083740.GA25627@lizard> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20120517083740.GA25627@lizard> User-Agent: Mutt/1.5.21 (2010-09-15) X-Gm-Message-State: ALoCoQk2Ab8UF2r3WGAy+66vKKbRmry/yc1di7xchvFoedLi4w4GwLmAuwcPvRP2WFjTrVJiRGon 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 Acked-by: Kees Cook --- fs/pstore/ram_core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/pstore/ram_core.c b/fs/pstore/ram_core.c index 31f8d18..e0d8429 100644 --- a/fs/pstore/ram_core.c +++ b/fs/pstore/ram_core.c @@ -401,13 +401,13 @@ 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); } } 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); }