From: Marek Vasut <marek.vasut@gmail.com>
To: Andrey Smirnov <andrew.smirnov@gmail.com>
Cc: linux-mtd@lists.infradead.org, Chris Healy <cphealy@gmail.com>,
David Woodhouse <dwmw2@infradead.org>,
Brian Norris <computersforpeace@gmail.com>,
Boris Brezillon <boris.brezillon@free-electrons.com>,
Richard Weinberger <richard@nod.at>,
Cyrille Pitchen <cyrille.pitchen@atmel.com>,
linux-kernel <linux-kernel@vger.kernel.or>
Subject: Re: [PATCH v3 3/6] mtd: dataflash: Replace pr_debug, printk with dev_* functions
Date: Wed, 19 Apr 2017 18:13:25 +0200 [thread overview]
Message-ID: <e22628d5-faeb-7e2d-abe8-906d708d3e8c@gmail.com> (raw)
In-Reply-To: <CAHQ1cqHeKYVzQEoCXGWsnEpimXt+RyCyTj2xhit77sxgRJxkSA@mail.gmail.com>
On 04/19/2017 05:50 PM, Andrey Smirnov wrote:
> On Wed, Apr 19, 2017 at 8:33 AM, Marek Vasut <marek.vasut@gmail.com> 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 <message>", dev_name(<dev>), <arguments>), which should
>>> be semantically identical to dev_dbg(<dev>, "<message>", <arguments>),
>>> 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 <dwmw2@infradead.org>
>>> Cc: Brian Norris <computersforpeace@gmail.com>
>>> Cc: Boris Brezillon <boris.brezillon@free-electrons.com>
>>> Cc: Marek Vasut <marek.vasut@gmail.com>
>>> Cc: Richard Weinberger <richard@nod.at>
>>> Cc: Cyrille Pitchen <cyrille.pitchen@atmel.com>
>>> Cc: linux-kernel@vger.kernel.or
>>> Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
>>> ---
>>
>> Reviewed-by: Marek Vasut <marek.vasut@gmail.com>
>>
>> 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
next prev parent reply other threads:[~2017-04-19 16:13 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-19 15:23 [PATCH v3 1/6] mtd: dataflash: Replace C99 types with their kernel counterparts Andrey Smirnov
2017-04-19 15:23 ` [PATCH v3 2/6] mtd: dataflash: Improve coding style in jedec_probe() Andrey Smirnov
2017-04-19 15:23 ` [PATCH v3 3/6] mtd: dataflash: Replace pr_debug, printk with dev_* functions Andrey Smirnov
2017-04-19 15:33 ` Marek Vasut
2017-04-19 15:50 ` Andrey Smirnov
2017-04-19 16:13 ` Marek Vasut [this message]
2017-04-19 15:23 ` [PATCH v3 4/6] mtd: dataflash: Get rid of loop counter in jedec_probe() Andrey Smirnov
2017-04-19 15:34 ` Marek Vasut
2017-04-19 15:23 ` [PATCH v3 5/6] mtd: dataflash: Make use of "extened device information" Andrey Smirnov
2017-04-19 15:42 ` Marek Vasut
2017-04-19 16:01 ` Andrey Smirnov
2017-04-19 16:08 ` Marek Vasut
2017-04-19 16:12 ` Marek Vasut
2017-04-19 15:23 ` [PATCH v3 6/6] mtd: dataflash: Add flash_info for AT45DB641E Andrey Smirnov
2017-04-19 15:35 ` [PATCH v3 1/6] mtd: dataflash: Replace C99 types with their kernel counterparts David Woodhouse
2017-04-19 16:04 ` Andrey Smirnov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=e22628d5-faeb-7e2d-abe8-906d708d3e8c@gmail.com \
--to=marek.vasut@gmail.com \
--cc=andrew.smirnov@gmail.com \
--cc=boris.brezillon@free-electrons.com \
--cc=computersforpeace@gmail.com \
--cc=cphealy@gmail.com \
--cc=cyrille.pitchen@atmel.com \
--cc=dwmw2@infradead.org \
--cc=linux-kernel@vger.kernel.or \
--cc=linux-mtd@lists.infradead.org \
--cc=richard@nod.at \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox