lkml.org 
[lkml]   [2022]   [Nov]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2] net: dsa: use more appropriate NET_NAME_* constants for user ports
On Tue, 15 Nov 2022 08:43:55 +0100 Rasmus Villemoes wrote:
> + if (port->name) {
> + name = port->name;
> + assign_type = NET_NAME_PREDICTABLE;
> + } else {
> + name = "eth%d";
> + assign_type = NET_NAME_ENUM;

Per Andrew's comment lets make the change in two steps.
Which one should come first is a judgment call :)

\
 
 \ /
  Last update: 2022-11-15 17:39    [W:0.152 / U:0.412 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site