Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp2137137ybl; Sat, 10 Aug 2019 18:06:29 -0700 (PDT) X-Google-Smtp-Source: APXvYqyxqdiaabWEQGbnwUd4TKrTt5n7BQy+87L3jMW9KjiXL7HT7pR893EGjI3tRpomNuoO+40G X-Received: by 2002:a17:90a:32a3:: with SMTP id l32mr4247422pjb.14.1565485589224; Sat, 10 Aug 2019 18:06:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565485589; cv=none; d=google.com; s=arc-20160816; b=gOkY8JEFfkBswZXGzDDsc9gWthszK2VyjQsiwel4vyRQ3XPQlB+3V6rRuedyPfE8rw u+NMHzAQ6C95V15ECbwzJc8ceyz+469+ltG4Ip9LKgswP3qhPru1kj5BsW0uStrU7eO9 fDp9LbgEa7MMeDXyj93iiN99dqraq7TvgnoN1sSzXbeOnYPgJD2SEE/xwdTAGXHhlwDE vD2V5Y0DlGnqncpzqIRZVE1YMBUV/zZR+fHTTN6Kz1v7MFdXibBFjJonxtJvOHqoD5+Y Ab6r036noo70S9QOwAW1ol1bXhJxrq6TPkvwFKgcwm0tUccdc6X2xh2RneGmuwHiZyn4 HbQg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id; bh=sl39W8vmEgWP/hGq99KYhqnNzzwdkg8y6qnp4YFv4HI=; b=BAggTr4Nr6Dy+kSvpKlAI6x+eT6ZppUcp7hYZ3t5Esmsp0pHRaFh8dBwzNOWjt2fZO Dd60I463zC/jdRmViHF7BHW6h8VklZ9PRxGEOPxE7r0EKX4aS1dPySt/LvfNHZWHI3N6 F95YxcUhc3Qvpmn8p+ArrTB1tMascMTDRAGMmpreLdOFJtpRua64UtihaVW/MapSmeW3 PQN/Ls3zk476AV/mwdSpdgkfJxONVR1TLyfZlWuO5YWXBZWjmmtmaAL68rkSh3a34Ny+ JIMmlJpSyPfdfqr4qyiD4Ev3Kj7qcikHDDJGhcGPlgDYJ0MdYRIlxjWpPg+JYI/9MsPa b49Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q5si27091480pll.279.2019.08.10.18.05.44; Sat, 10 Aug 2019 18:06:29 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726473AbfHKBDO (ORCPT + 99 others); Sat, 10 Aug 2019 21:03:14 -0400 Received: from smtprelay0132.hostedemail.com ([216.40.44.132]:44163 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726292AbfHKBDO (ORCPT ); Sat, 10 Aug 2019 21:03:14 -0400 Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay06.hostedemail.com (Postfix) with ESMTP id 5F5DA1822563C; Sun, 11 Aug 2019 01:03:12 +0000 (UTC) X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,joe@perches.com,:::::::::::::::,RULES_HIT:41:355:379:599:973:988:989:1260:1277:1311:1313:1314:1345:1359:1437:1515:1516:1518:1534:1539:1593:1594:1711:1730:1747:1777:1792:2393:2559:2562:2828:2902:3138:3139:3140:3141:3142:3352:3622:3865:3867:4321:5007:9036:10004:10400:10848:11026:11232:11658:11914:12043:12296:12297:12438:12679:12740:12760:12895:13069:13311:13357:13439:14659:14721:21080:21627:30045:30054:30091,0,RBL:23.242.196.136:@perches.com:.lbl8.mailshell.net-62.8.0.180 64.201.201.201,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fn,MSBL:0,DNSBL:neutral,Custom_rules:0:0:0,LFtime:25,LUA_SUMMARY:none X-HE-Tag: town85_38e2295c5af30 X-Filterd-Recvd-Size: 2035 Received: from XPS-9350.home (cpe-23-242-196-136.socal.res.rr.com [23.242.196.136]) (Authenticated sender: joe@perches.com) by omf17.hostedemail.com (Postfix) with ESMTPA; Sun, 11 Aug 2019 01:03:10 +0000 (UTC) Message-ID: <67dd4fe22f197700a7bc3b663a63383ce51346df.camel@perches.com> Subject: Re: [PATCH] dpaa2-ethsw: move the DPAA2 Ethernet Switch driver out of staging From: Joe Perches To: Ioana Ciornei , Andrew Lunn Cc: "davem@davemloft.net" , "gregkh@linuxfoundation.org" , "linux-kernel@vger.kernel.org" , "netdev@vger.kernel.org" , "f.fainelli@gmail.com" , Ioana Ciocoi Radulescu Date: Sat, 10 Aug 2019 18:03:09 -0700 In-Reply-To: References: <1565366213-20063-1-git-send-email-ioana.ciornei@nxp.com> <20190809190459.GW27917@lunn.ch> Content-Type: text/plain; charset="ISO-8859-1" User-Agent: Evolution 3.30.5-0ubuntu0.18.10.1 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 2019-08-10 at 21:45 +0000, Ioana Ciornei wrote: > On 8/9/19 10:05 PM, Andrew Lunn wrote: [] > >> +static int > >> +ethsw_get_link_ksettings(struct net_device *netdev, > >> + struct ethtool_link_ksettings *link_ksettings) > >> +{ > >> + struct ethsw_port_priv *port_priv = netdev_priv(netdev); > >> + struct dpsw_link_state state = {0}; > >> + int err = 0; > >> + > >> + err = dpsw_if_get_link_state(port_priv->ethsw_data->mc_io, 0, > >> + port_priv->ethsw_data->dpsw_handle, > >> + port_priv->idx, > >> + &state); > >> + if (err) { > >> + netdev_err(netdev, "ERROR %d getting link state", err); trivia: Do please add terminating '\n's to all the formats.