From: Marc Kleine-Budde <mkl@pengutronix.de>
To: Jeremiah Mahler <jmmahler@gmail.com>, linux-can@vger.kernel.org
Subject: Re: [PATCH] can: slcan/vcan: eliminate banner[] variable, switch to pr_info()
Date: Sun, 07 Dec 2014 21:18:09 +0100 [thread overview]
Message-ID: <5484B601.8070609@pengutronix.de> (raw)
In-Reply-To: <1417596244-5743-1-git-send-email-jmmahler@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 955 bytes --]
On 12/03/2014 09:44 AM, Jeremiah Mahler wrote:
> Several can modules in drivers/net/can use a banner[] variable at the
> top which defines a string that is used once during init. This string
> is also embedded with KERN_INFO which makes it printk() specific.
>
> Improve the code by eliminating the banner[] variable and moving the
> string to where it is printed. Then switch from printk(KERN_INFO to
> pr_info() for the lines that were changed.
>
> This patch is similar to [1] which was applied to net/can.
>
> [1]: https://lkml.org/lkml/2014/11/22/10
>
> Signed-off-by: Jeremiah Mahler <jmmahler@gmail.com>
applied to can-next/master.
Tnx,
Marc
--
Pengutronix e.K. | Marc Kleine-Budde |
Industrial Linux Solutions | Phone: +49-231-2826-924 |
Vertretung West/Dortmund | Fax: +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de |
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
prev parent reply other threads:[~2014-12-07 20:18 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-03 8:44 [PATCH] can: slcan/vcan: eliminate banner[] variable, switch to pr_info() Jeremiah Mahler
2014-12-03 10:10 ` Oliver Hartkopp
2014-12-07 20:18 ` Marc Kleine-Budde [this message]
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=5484B601.8070609@pengutronix.de \
--to=mkl@pengutronix.de \
--cc=jmmahler@gmail.com \
--cc=linux-can@vger.kernel.org \
/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;
as well as URLs for NNTP newsgroup(s).