[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20140901.181610.1373857811532255466.davem@davemloft.net>
Date: Mon, 01 Sep 2014 18:16:10 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: stephen@...workplumber.org
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH net-next 5/5] sched: replace bare printks
From: Stephen Hemminger <stephen@...workplumber.org>
Date: Fri, 29 Aug 2014 00:09:23 -0700
> @@ -140,7 +140,7 @@ static int tcf_mirred(struct sk_buff *sk
>
> dev = m->tcfm_dev;
> if (!dev) {
> - printk_once(KERN_NOTICE "tc mirred: target device is gone\n");
> + netdev_notice(dev, "tc mirred: target device is gone\n");
> goto out;
As pointed out by others, doing netdev_*() in a path where we know
'dev' is NULL doesn't make much sense.
Please respin this series with this adjusted.
Thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists