From patchwork Sat May 26 13:20:24 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anton Vorontsov X-Patchwork-Id: 8996 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 19E2B23EB5 for ; Sat, 26 May 2012 13:22:35 +0000 (UTC) Received: from mail-ob0-f180.google.com (mail-ob0-f180.google.com [209.85.214.180]) by fiordland.canonical.com (Postfix) with ESMTP id D41C9A18A43 for ; Sat, 26 May 2012 13:22:34 +0000 (UTC) Received: by mail-ob0-f180.google.com with SMTP id un3so3478139obb.11 for ; Sat, 26 May 2012 06:22:34 -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=m1/F1L4d4LwOIN9PR9b6A4lbGcOmvWkUr6KurXnoNj9fIOow6JLsDZG7sbUtLwr+1+ yPlHUodZU2JykYpVxwBLzs4NZoVieLa7XwR+hlXs9WLIVG7WJz8Kk1Hfm6/x6CkCtxtg zgzSZ6uMK1hL2mSloFxaP9KTOuHT+ivkI9o6Yvdnqr/K8IFLADLMslZno+1QbU643Rjz rUAc3ooMfEgb2nWpMtuJezJIc4jNVnTWV4Gb+vGZAJc0I6edeGKGTjWKppVvPBTlDBsm zDT8wQDBZ1t0VNo8qbBPQNMLxeqBBB4s3NlmTXmZOxfmyfZ4CwJCz0tE+fIjupVHDyGG J/JA== Received: by 10.50.193.196 with SMTP id hq4mr941125igc.57.1338038554564; Sat, 26 May 2012 06:22:34 -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.24.148 with SMTP id v20csp86328ibb; Sat, 26 May 2012 06:22:34 -0700 (PDT) Received: by 10.68.227.195 with SMTP id sc3mr1832162pbc.104.1338038553873; Sat, 26 May 2012 06:22:33 -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 ku9si1513973pbc.115.2012.05.26.06.22.33 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 26 May 2012 06:22:33 -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 h15so2722900dan.37 for ; Sat, 26 May 2012 06:22:33 -0700 (PDT) Received: by 10.68.136.167 with SMTP id qb7mr7672088pbb.82.1338038553634; Sat, 26 May 2012 06:22:33 -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 we10sm575946pbc.13.2012.05.26.06.22.31 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 26 May 2012 06:22:32 -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 06/11] pstore/ram_core: Silence some printks Date: Sat, 26 May 2012 06:20:24 -0700 Message-Id: <1338038429-21945-6-git-send-email-anton.vorontsov@linaro.org> X-Mailer: git-send-email 1.7.9.2 In-Reply-To: <20120526131747.GA15054@lizard> References: <20120526131747.GA15054@lizard> X-Gm-Message-State: ALoCoQnme/B857HkxDJbxCYnnp9+ArAkeldKw27rqu641dluuiRdRJHEdTkb7dq0UYZWSYB4pYR9 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); }