From patchwork Wed May 16 12:56:44 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anton Vorontsov X-Patchwork-Id: 8686 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 AE70A23EAB for ; Wed, 16 May 2012 12:58:16 +0000 (UTC) Received: from mail-yw0-f52.google.com (mail-yw0-f52.google.com [209.85.213.52]) by fiordland.canonical.com (Postfix) with ESMTP id 7E3D5A1828F for ; Wed, 16 May 2012 12:58:16 +0000 (UTC) Received: by yhpp61 with SMTP id p61so721874yhp.11 for ; Wed, 16 May 2012 05:58:16 -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=ZfrymBO1Te8Pef63SECllLNbbscLD4EZOlO2+KRhqV3TbUATD6k4jPoFmBAskgQB2h XFo3V3YejMHdKDpfsKBhGXYlfYAsR15BNX8ayFwgeLZpWUmLKsM9BRRCGiO21KMH/zTi TBgZ2pRuHgHPt9YIlKLh9PdgnfvqzaqQidCx7++mQ8wq8ycsQx0BVyKFCfgY0iaDhD45 oTBW2PHhxv8NPOOKhkJglk251kqOU1QnuZbHmGUrtuyVFJltI6NrgNbiNZNEiiDesp0E vlmu42rTGrv6d0Y96vd8AMjG4oR/RkAi9ObztSkVmMD+w5QtUS8XJJeTam0hxB2XNMcR YduA== Received: by 10.50.203.39 with SMTP id kn7mr1867197igc.53.1337173095695; Wed, 16 May 2012 05:58:15 -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 o8csp491478ibd; Wed, 16 May 2012 05:58:15 -0700 (PDT) Received: by 10.68.221.227 with SMTP id qh3mr16325271pbc.43.1337173094813; Wed, 16 May 2012 05:58:14 -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 qi8si6725582pbc.211.2012.05.16.05.58.14 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 16 May 2012 05:58:14 -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 h15so1186258dan.37 for ; Wed, 16 May 2012 05:58:14 -0700 (PDT) Received: by 10.68.226.163 with SMTP id rt3mr16490301pbc.41.1337173094439; Wed, 16 May 2012 05:58:14 -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 iw4sm5413816pbc.7.2012.05.16.05.58.12 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 16 May 2012 05:58:13 -0700 (PDT) Date: Wed, 16 May 2012 05:56:44 -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: <20120516125644.GC20475@lizard> References: <20120516125330.GA15460@lizard> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20120516125330.GA15460@lizard> User-Agent: Mutt/1.5.21 (2010-09-15) X-Gm-Message-State: ALoCoQka9oaCwezv25eLzWALLprMOqz7kgyU1kuSkovT+eAm61A/OZnCENUpY2IN7m0qoNxOEsjD 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 --- 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); }