[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20181201091722.6c9a8f06@xeon-e3>
Date: Sat, 1 Dec 2018 09:17:22 -0800
From: Stephen Hemminger <stephen@...workplumber.org>
To: Qian Cai <cai@....us>
Cc: davem@...emloft.net, yisen.zhuang@...wei.com,
salil.mehta@...wei.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] net/core: tidy up an error message
On Fri, 30 Nov 2018 23:51:53 -0500
Qian Cai <cai@....us> wrote:
> + weight,
> + !strchr(dev->name, '%') ? dev->name : "unknown"
Agree with Joe, use netdev_err_once or use netdev_name().
Powered by blists - more mailing lists