From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.free-electrons.com ([62.4.15.54]) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1eouqD-0000m3-Tv for linux-mtd@lists.infradead.org; Thu, 22 Feb 2018 17:39:35 +0000 Date: Thu, 22 Feb 2018 18:39:11 +0100 From: Boris Brezillon To: Andy Shevchenko Cc: Shreeya Patel , Boris Brezillon , Richard Weinberger , David Woodhouse , Brian Norris , Marek Vasut , Cyrille Pitchen , Maxim Levitsky , "open list:MEMORY TECHNOLOGY..." , Linux Kernel Mailing List , ezequiel@vanguardiasur.com.ar, outreachy-kernel@googlegroups.com Subject: Re: [PATCH NAND v5] mtd: nand: Replace printk() with appropriate pr_*() macro Message-ID: <20180222183911.51e00722@bbrezillon> In-Reply-To: References: <1519317082-4790-1-git-send-email-shreeya.patel23498@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Thu, 22 Feb 2018 19:08:29 +0200 Andy Shevchenko wrote: > On Thu, Feb 22, 2018 at 6:31 PM, Shreeya Patel > wrote: > > Using pr_() is more concise than > > printk(KERN_). > > Replace printks having a log level with the appropriate > > pr_*() macros. > > Define pr_fmt() and remove other additional macros from > > the replaced printks. > > It makes sense to fix indentation, like in case similar to ' mm?"":"" > ', Fix indentation if you change the line, why not... > and fix the specifiers, when > void *p is printed as 0x%08x or alike. But specifier fixes should be done separately, and I'm not sure I want to receive yet another bunch of cosmestic patches changing that, at least not now. -- Boris Brezillon, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engineering https://bootlin.com