From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg Kroah-Hartman Subject: Re: [PATCH v1 2/4] lib/net_utils: Introduce mac_pton_from_user() Date: Wed, 20 Dec 2017 08:13:55 +0100 Message-ID: <20171220071355.GB1957@kroah.com> References: <20171219191412.14880-1-andriy.shevchenko@linux.intel.com> <20171219191412.14880-2-andriy.shevchenko@linux.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: "David S. Miller" , netdev@vger.kernel.org, Larry Finger , Florian Schilhabel , devel@driverdev.osuosl.org To: Andy Shevchenko Return-path: Received: from mail.linuxfoundation.org ([140.211.169.12]:44548 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752328AbdLTHNy (ORCPT ); Wed, 20 Dec 2017 02:13:54 -0500 Content-Disposition: inline In-Reply-To: <20171219191412.14880-2-andriy.shevchenko@linux.intel.com> Sender: netdev-owner@vger.kernel.org List-ID: On Tue, Dec 19, 2017 at 09:14:10PM +0200, Andy Shevchenko wrote: > Some drivers are getting MAC from user space. Make a helper for them. > > Signed-off-by: Andy Shevchenko > --- > include/linux/kernel.h | 1 + > lib/net_utils.c | 12 ++++++++++++ > 2 files changed, 13 insertions(+) Don't do this just for some horrid staging drivers. They can just drop that functionality entirely and use the "normal" way of doing this if they really want it. thanks, greg k-h