From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matt Mackall Subject: Re: [PATCH 0/7] printk: add pr__once, guard print_hex_dump Date: Mon, 06 Dec 2010 09:37:49 -0600 Message-ID: <1291649869.3065.2095.camel@calx> References: Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="us-ascii" To: Joe Perches Cc: Andrew Morton , Paul Gortmaker , David Woodhouse , linux-embedded@vger.kernel.org, linux-kernel@vger.kernel.org On Sun, 2010-12-05 at 21:44 -0800, Joe Perches wrote: > There are many uses of printk_once(KERN_. > Add pr__once macros to avoid printk_once(KERN_ pr_fmt(fmt). > Add an #ifdef CONFIG_PRINTK for print_hex_dump and static inline void > functions for the #else cases to reduce embedded code size. > Neaten and organize the rest of the code. Looks fine to me. I'd missed the introduction of the pr_ macros and I'm not sure if I like the idea, but this is a tidy and well-presented cleanup and extension. Acked-by: Matt Mackall -- Mathematics is the supreme nostalgia of our time.