netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Stephen Hemminger <stephen@networkplumber.org>
To: Bastian Stender <bst@pengutronix.de>
Cc: "David S. Miller" <davem@davemloft.net>,
	Alexey Kuznetsov <kuznet@ms2.inr.ac.ru>,
	James Morris <jmorris@namei.org>,
	Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>,
	Patrick McHardy <kaber@trash.net>,
	netdev@vger.kernel.org, trivial@kernel.org,
	kernel@pengutronix.de
Subject: Re: [PATCH] net ipv4 ipconfig: use preferred log methods
Date: Sun, 27 Sep 2015 22:37:15 -0700	[thread overview]
Message-ID: <20150927223715.7364a1e1@urahara> (raw)
In-Reply-To: <1443175110-23498-1-git-send-email-bst@pengutronix.de>

On Fri, 25 Sep 2015 11:58:30 +0200
Bastian Stender <bst@pengutronix.de> wrote:

>  
>  #ifdef IPCONFIG_DEBUG
> -#define DBG(x) printk x
> +#define DBG(x) pr_debug(x)
>  #else
>  #define DBG(x) do { } while(0)
>  #endif

Why not remove all the local IPCONFIG_DEBUG stuff and just use pr_debug()
like modern kernel code.

  reply	other threads:[~2015-09-28  5:37 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-25  9:58 [PATCH] net ipv4 ipconfig: use preferred log methods Bastian Stender
2015-09-28  5:37 ` Stephen Hemminger [this message]
2015-09-29  5:24 ` David Miller
2015-09-30  9:20   ` [PATCH] net ipv4: " Bastian Stender
2015-09-30  9:31     ` kbuild test robot
2015-09-30  9:31     ` kbuild test robot
2015-09-30 11:07     ` Bastian Stender
2015-09-30 15:00   ` Bastian Stender
2015-10-01  7:55     ` Uwe Kleine-König
2015-11-13 10:40     ` [PATCH v2] " Bastian Stender
2015-11-13 10:40       ` [PATCH] " Bastian Stender
2015-11-18 18:38         ` David Miller

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=20150927223715.7364a1e1@urahara \
    --to=stephen@networkplumber.org \
    --cc=bst@pengutronix.de \
    --cc=davem@davemloft.net \
    --cc=jmorris@namei.org \
    --cc=kaber@trash.net \
    --cc=kernel@pengutronix.de \
    --cc=kuznet@ms2.inr.ac.ru \
    --cc=netdev@vger.kernel.org \
    --cc=trivial@kernel.org \
    --cc=yoshfuji@linux-ipv6.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).