From mboxrd@z Thu Jan 1 00:00:00 1970 From: WANG Cong Subject: Re: [PATCH v1 0/6] Set printk priority level Date: Thu, 27 Jan 2011 07:22:41 +0000 (UTC) Message-ID: References: <20110125235700.GR8008@google.com> <1296084570-31453-1-git-send-email-msb@chromium.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: linux-fsdevel@vger.kernel.org, linux-mm@kvack.org To: linux-kernel@vger.kernel.org Return-path: Sender: linux-kernel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org On Wed, 26 Jan 2011 15:29:24 -0800, Mandeep Singh Baines wrote: > We've been burned by regressions/bugs which we later realized could have > been triaged quicker if only we'd paid closer attention to dmesg. > > This patch series fixes printk()s which appear in the logs of the device > I'm currently working on. I'd love to fix all such printks but there are > hundreds of files and thousands of LOC affected: > > $ find . -name \*.c | xargs fgrep -c "printk(\"" | wc -l 16237 > $ find . -name \*.c | xargs fgrep "printk(\"" | wc -l 20745 > Yes, this is the right approach, every printk should have a specified level. Thanks.