From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id F2E88C433E2 for ; Mon, 7 Sep 2020 19:40:17 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id AAB122145D for ; Mon, 7 Sep 2020 19:40:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1599507617; bh=QhvzCBDHH6eHS3PHypouoWPEJCGvoQsyCAOApvEh0Xw=; h=Date:From:To:Cc:Subject:In-Reply-To:References:List-ID:From; b=YijufXYCBeLo5IBJGf5rhftBf3S/Zoc4WvY5SktH/yhjVNQKlqG9oiiZNqcofDHtR iamz7xgMB2mvxqEIWixUruP7RzHuU6J2R/2+bkBCnBn9DVvVuJFwibfBJwLuOVHlT5 YtyYajYOa5wnFWAqednlj0ybQs+ohuyebxCLoy5A= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728907AbgIGTkQ (ORCPT ); Mon, 7 Sep 2020 15:40:16 -0400 Received: from mail.kernel.org ([198.145.29.99]:60414 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728622AbgIGTkO (ORCPT ); Mon, 7 Sep 2020 15:40:14 -0400 Received: from kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com (unknown [163.114.132.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 03BF92145D; Mon, 7 Sep 2020 19:40:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1599507614; bh=QhvzCBDHH6eHS3PHypouoWPEJCGvoQsyCAOApvEh0Xw=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=J7nmdgeTLuflMrX4OGTcbuciTYCL7gcdvsiwiwBQcPdGGJmeovnn8QRvhraILvyoh Jc/TnUaAVwNlxJSas2aLhXu2XHXLeLc6w6EFO5kBxtXZdk3+N1Vi7JMJAqdBRRrWaI 1Y6fP9Dd3/YUWvk3qgPavWAY3QTlmqbm0LLQrWlU= Date: Mon, 7 Sep 2020 12:40:12 -0700 From: Jakub Kicinski To: Linus Walleij Cc: Andrew Lunn , Vivien Didelot , Florian Fainelli , netdev@vger.kernel.org, "David S . Miller" Subject: Re: [PATCH v2] net: dsa: rtl8366rb: Switch to phylink Message-ID: <20200907124012.5ab33386@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> In-Reply-To: <20200906212415.99415-1-linus.walleij@linaro.org> References: <20200906212415.99415-1-linus.walleij@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On Sun, 6 Sep 2020 23:24:15 +0200 Linus Walleij wrote: > This switches the RTL8366RB over to using phylink callbacks > instead of .adjust_link(). This is a pretty template > switchover. All we adjust is the CPU port so that is why > the code only inspects this port. > > We enhance by adding proper error messages, also disabling > the CPU port on the way down and moving dev_info() to > dev_dbg(). > > Signed-off-by: Linus Walleij > --- > ChangeLog v1->v2: > - Fix the function declarations to be static. Applied, thanks!