From patchwork Fri May 18 22:25:55 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anton Vorontsov X-Patchwork-Id: 8826 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 A3AE223EB5 for ; Fri, 18 May 2012 22:27:26 +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 6CD91A186E0 for ; Fri, 18 May 2012 22:27:26 +0000 (UTC) Received: by yenq6 with SMTP id q6so4105499yen.11 for ; Fri, 18 May 2012 15:27:26 -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=7KcdA+xtJFrU9tLSP9lz7filbwedNJfAGUYm3zE09UI=; b=TQ63wpcQ45DTnuiTTlwloxFxM1xeZQTbGSKcG6ft9vLi4GxGksO6fbvOM3EQ1sEyyY gcjjegdyQCrX0PXo/+fONRj0RuKR4oDRdl93AieFR7JSztsTwKhS23ztfkjL209S1fc5 blPWez3+5U7DPwHDnj66Y6yuKseB5PA8+iomJa8LTxnFGNdcoHNS+H0Vk5TOSeQX/+sd rPx4WViCa7KeszNiq1pZWQcZ1KKvm4rE8CGTb40j1S5KlEpyXWRa0puMwyWxuZo/us0k taK51ayJfNSK5hXJ7HRnmM9ndD1P7Oi/tFaqcufY/mx92e3aWtm/0/W5Slj6UEZPY7DS C0eQ== Received: by 10.50.185.233 with SMTP id ff9mr1951462igc.57.1337380045875; Fri, 18 May 2012 15:27:25 -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 o8csp135310ibd; Fri, 18 May 2012 15:27:25 -0700 (PDT) Received: by 10.68.125.138 with SMTP id mq10mr12736816pbb.25.1337380044819; Fri, 18 May 2012 15:27:24 -0700 (PDT) Received: from mail-pb0-f50.google.com (mail-pb0-f50.google.com [209.85.160.50]) by mx.google.com with ESMTPS id qa10si17675425pbb.174.2012.05.18.15.27.24 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 18 May 2012 15:27:24 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.160.50 is neither permitted nor denied by best guess record for domain of anton.vorontsov@linaro.org) client-ip=209.85.160.50; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.160.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-pb0-f50.google.com with SMTP id rr4so5393549pbb.37 for ; Fri, 18 May 2012 15:27:24 -0700 (PDT) Received: by 10.68.202.130 with SMTP id ki2mr43359567pbc.52.1337380044606; Fri, 18 May 2012 15:27:24 -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 rs3sm14122690pbc.47.2012.05.18.15.27.22 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 18 May 2012 15:27:23 -0700 (PDT) Date: Fri, 18 May 2012 15:25:55 -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 10/14] pstore/ram_core: Silence some printks Message-ID: <20120518222554.GJ23089@lizard> References: <20120518222314.GA9425@lizard> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20120518222314.GA9425@lizard> User-Agent: Mutt/1.5.21 (2010-09-15) X-Gm-Message-State: ALoCoQk3tNy5M3WIHB3YnFD4jNF9aBzufCoQZV3H3J/F5V9BHGJP6y3ImwOb3Fg4vRFF4vkL8QPw 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 28b6d7f..44fc724 100644 --- a/fs/pstore/ram_core.c +++ b/fs/pstore/ram_core.c @@ -424,14 +424,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); }