From patchwork Tue May 22 14:17:54 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anton Vorontsov X-Patchwork-Id: 8881 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 1A00423F0A for ; Tue, 22 May 2012 14:20:47 +0000 (UTC) Received: from mail-vb0-f52.google.com (mail-vb0-f52.google.com [209.85.212.52]) by fiordland.canonical.com (Postfix) with ESMTP id DEAF6A18B71 for ; Tue, 22 May 2012 14:20:46 +0000 (UTC) Received: by mail-vb0-f52.google.com with SMTP id b23so5409965vbz.11 for ; Tue, 22 May 2012 07:20:46 -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:from:to:cc :subject:date:message-id:x-mailer:in-reply-to:references :x-gm-message-state; bh=sf7gs/Gug/ujfGuFM5EpvHt1/UJQUCry8ppW576WWsg=; b=iq+Kgk6s2JqnN/Qiv3Iil2oXuk85GQa8hyS17VAlo8hglbPZixvGpyk9/4CC+r/c/p 8wANJbXPuoHcfC3EhubTUCzHM8C7DEC7+2ZbMKA0oROfp/S+aVVfUwCGDvyMF1S5v3F1 g9+uaXCytvoOxH7Y6g4ab4HA4uKUgSq+WPFWetP7G0xBqUdxi4BAJQB6SqTWLJ8VFGig we6MArfA8WkD1a5ymVB3cqIOE3YvjjWkIuYxD1PeRMViXQ681LlZ5F+QCxzOGfsnnQky pxz3jXRsDZL4Oc2ylzZP5GgRrT/aAsjvrqYAZ6t7wwrA++8dP5GUwR694zoZqCWfsjJp uefg== Received: by 10.50.87.227 with SMTP id bb3mr9606319igb.57.1337696446423; Tue, 22 May 2012 07:20:46 -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 o8csp369552ibd; Tue, 22 May 2012 07:20:45 -0700 (PDT) Received: by 10.68.136.65 with SMTP id py1mr80354884pbb.81.1337696445450; Tue, 22 May 2012 07:20:45 -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 t9si31658112pbj.42.2012.05.22.07.20.45 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 22 May 2012 07:20:45 -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 h15so9932212dan.37 for ; Tue, 22 May 2012 07:20:45 -0700 (PDT) Received: by 10.68.194.227 with SMTP id hz3mr11132344pbc.159.1337696445032; Tue, 22 May 2012 07:20:45 -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 sy3sm25786386pbc.0.2012.05.22.07.20.42 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 22 May 2012 07:20:44 -0700 (PDT) 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 11/16] pstore/ram_core: Silence some printks Date: Tue, 22 May 2012 07:17:54 -0700 Message-Id: <1337696279-8994-11-git-send-email-anton.vorontsov@linaro.org> X-Mailer: git-send-email 1.7.9.2 In-Reply-To: <20120522141717.GA31574@lizard> References: <20120522141717.GA31574@lizard> X-Gm-Message-State: ALoCoQkl8SCr6hX+rneWmT4nY0T+8cKkLk+k48+jJg6vD043Agqy3WgEjnaHgOq5lg3I+DTET+pH 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 Acked-by: Colin Cross --- 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 c5fbdbb..78f6d4b 100644 --- a/fs/pstore/ram_core.c +++ b/fs/pstore/ram_core.c @@ -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); }