From mboxrd@z Thu Jan 1 00:00:00 1970 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) Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga104.fm.intel.com with ESMTP; 13 Sep 2016 10:15:45 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.30,329,1470726000"; d="scan'208";a="7946775" Received: from fyigit-mobl1.ger.corp.intel.com (HELO [10.237.220.106]) ([10.237.220.106]) by fmsmga006.fm.intel.com with ESMTP; 13 Sep 2016 10:15:44 -0700 To: Alejandro Lucero , dev@dpdk.org References: <1471360528-13477-1-git-send-email-alejandro.lucero@netronome.com> <9fbfe918-5a09-46c1-2c85-928fac9d7c0d@intel.com> From: Ferruh Yigit Message-ID: <804cc3e9-a13a-6252-5786-d6a4471bc4c8@intel.com> Date: Tue, 13 Sep 2016 18:15:43 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 MIME-Version: 1.0 In-Reply-To: <9fbfe918-5a09-46c1-2c85-928fac9d7c0d@intel.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH] nfp: using random mac address if not a configured mac X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Sep 2016 17:15:50 -0000 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 */ >