Re: [PATCH] net/core: tidy up an error message

From: Stephen Hemminger
Date: Sat Dec 01 2018 - 12:17:47 EST


On Fri, 30 Nov 2018 23:51:53 -0500
Qian Cai <cai@xxxxxx> wrote:

> + weight,
> + !strchr(dev->name, '%') ? dev->name : "unknown"

Agree with Joe, use netdev_err_once or use netdev_name().