From: Marek Vasut <marek.vasut@gmail.com>
To: Andrey Smirnov <andrew.smirnov@gmail.com>, linux-mtd@lists.infradead.org
Cc: 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@vger.kernel.or
Subject: Re: [PATCH v3 3/6] mtd: dataflash: Replace pr_debug, printk with dev_* functions
Date: Wed, 19 Apr 2017 17:33:40 +0200 [thread overview]
Message-ID: <2033d520-c908-0d89-e17f-b55f7210b69d@gmail.com> (raw)
In-Reply-To: <20170419152305.17226-3-andrew.smirnov@gmail.com>
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 ?
--
Best regards,
Marek Vasut
next prev parent reply other threads:[~2017-04-19 15:43 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 [this message]
2017-04-19 15:50 ` Andrey Smirnov
2017-04-19 16:13 ` Marek Vasut
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=2033d520-c908-0d89-e17f-b55f7210b69d@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