From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ferruh Yigit Subject: Re: [PATCH] nfp: using random mac address if not a configured mac Date: Tue, 13 Sep 2016 18:15:43 +0100 Message-ID: <804cc3e9-a13a-6252-5786-d6a4471bc4c8@intel.com> References: <1471360528-13477-1-git-send-email-alejandro.lucero@netronome.com> <9fbfe918-5a09-46c1-2c85-928fac9d7c0d@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit To: Alejandro Lucero , dev@dpdk.org Return-path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id DD45A5A08 for ; Tue, 13 Sep 2016 19:15:49 +0200 (CEST) In-Reply-To: <9fbfe918-5a09-46c1-2c85-928fac9d7c0d@intel.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 9/13/2016 6:10 PM, Ferruh Yigit wrote: > Hi Alejandro, > > On 8/16/2016 4:15 PM, Alejandro Lucero wrote: >> Signed-off-by: Alejandro Lucero >> --- > > There are following checkpatch warnings, also check-git-log complains: > > Headline too long: > nfp: unregister interrupt callback function when closing device > copy-paste error, this one gives following, again because of "mac" usage: Wrong headline lowercase: nfp: using random mac address if not a configured mac > ... > >> >> +static void nfp_net_read_mac(struct nfp_net_hw *hw) { >> + > > ERROR:OPEN_BRACE: open brace '{' following function declarations go on > the next line > #45: FILE: drivers/net/nfp/nfp_net.c:620: > +static void nfp_net_read_mac(struct nfp_net_hw *hw) { > > ... > >> + if (!is_valid_assigned_ether_addr((struct ether_addr *)&hw->mac_addr[0])) > > WARNING:LONG_LINE: line over 80 characters > #67: FILE: drivers/net/nfp/nfp_net.c:2419: > + if (!is_valid_assigned_ether_addr((struct ether_addr > *)&hw->mac_addr[0])) > >> + /* Using random mac addresses for VFs */ >