From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr0-x241.google.com ([2a00:1450:400c:c0c::241]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1d0sEm-00051W-Bx for linux-mtd@lists.infradead.org; Wed, 19 Apr 2017 16:13:51 +0000 Received: by mail-wr0-x241.google.com with SMTP id l44so3846468wrc.2 for ; Wed, 19 Apr 2017 09:13:27 -0700 (PDT) Subject: Re: [PATCH v3 3/6] mtd: dataflash: Replace pr_debug, printk with dev_* functions To: Andrey Smirnov References: <20170419152305.17226-1-andrew.smirnov@gmail.com> <20170419152305.17226-3-andrew.smirnov@gmail.com> <2033d520-c908-0d89-e17f-b55f7210b69d@gmail.com> Cc: linux-mtd@lists.infradead.org, Chris Healy , David Woodhouse , Brian Norris , Boris Brezillon , Richard Weinberger , Cyrille Pitchen , linux-kernel From: Marek Vasut Message-ID: Date: Wed, 19 Apr 2017 18:13:25 +0200 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On 04/19/2017 05:50 PM, Andrey Smirnov wrote: > On Wed, Apr 19, 2017 at 8:33 AM, Marek Vasut wrote: >> On 04/19/2017 05:23 PM, Andrey Smirnov wrote: >>> Lion's share of calls to pr_debug in this driver follow the pattern of >>> pr_debug("%s ", dev_name(), ), which should >>> be semantically identical to dev_dbg(, "", ), >>> so replace such occurencies to simplify the code. >>> >>> Convert the small minority of pr_debug that do not follow pattern from >>> above to use dev_dbg as well, for the sake of consistency. >>> >>> Convert similar patter of printk(KERN_ERR, "%s: ...", dev_name(...), >>> ...) to use dev_err instead. >>> >>> No functional change intended. >>> >>> Cc: cphealy@gmail.com >>> Cc: David Woodhouse >>> Cc: Brian Norris >>> Cc: Boris Brezillon >>> Cc: Marek Vasut >>> Cc: Richard Weinberger >>> Cc: Cyrille Pitchen >>> Cc: linux-kernel@vger.kernel.or >>> Signed-off-by: Andrey Smirnov >>> --- >> >> Reviewed-by: Marek Vasut >> >> btw where is 1/6 and 2/6 ? > > Sorry, looks like git send-mail didn't pick up Acked-by tag to be > added to CC list. They are here: Yeah, git send-email doesn't CC people in the Ack list. Keep the CC: tag please. > https://marc.info/?l=linux-kernel&m=149261547916625 > https://marc.info/?l=linux-kernel&m=149261543416614 > >> >> -- >> Best regards, >> Marek Vasut -- Best regards, Marek Vasut