lkml.org 
[lkml]   [2017]   [Nov]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH 1/3] net: core: export dev_alloc_name_ns
From
From: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Date: Tue, 21 Nov 2017 01:34:37 +0100

> dev_alloc_name_ns and dev_get_valid_name now do exactly the same
> thing. Let's expose this functionality as dev_alloc_name_ns
> (obviously, a core function like this won't return an invalid
> name...).
>
> Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>

If you're going to keep one of the routines, keep the one with
the simpler and smaller name, "dev_get_valid_name".

\
 
 \ /
  Last update: 2017-11-24 21:12    [W:0.043 / U:0.356 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site