lkml.org 
[lkml]   [2018]   [Dec]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] net/core: tidy up an error message
On Fri, 30 Nov 2018 23:51:53 -0500
Qian Cai <cai@gmx.us> wrote:

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

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

\
 
 \ /
  Last update: 2018-12-01 18:18    [W:0.569 / U:0.108 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site