Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 671DFC05027 for ; Wed, 1 Feb 2023 17:28:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232178AbjBAR22 (ORCPT ); Wed, 1 Feb 2023 12:28:28 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51462 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230226AbjBAR2Z (ORCPT ); Wed, 1 Feb 2023 12:28:25 -0500 Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 859A53E632; Wed, 1 Feb 2023 09:28:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=50Bg29+w61BN/4LjQdJx9K3FafHtmhGyZO4xLMgCCDw=; b=4dZNNdOqbvAgVuwM0rvkYeUIuG QnIlNg47TTJW3wtfbkc2Enc2xhollGqPNXHeJBQk97U99cr/ZOqjXka3LfegjJM+BH8mcTckzLW/M l/kLjHe9AiwvPRNJEQaLP3K678uXLrEoIUlZzd0UP0+4o9wUfLZoReEi8fWPxdIZp1M8=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1pNGu5-003ouM-8X; Wed, 01 Feb 2023 18:28:13 +0100 Date: Wed, 1 Feb 2023 18:28:13 +0100 From: Andrew Lunn To: Oleksij Rempel Cc: Woojung Huh , UNGLinuxDriver@microchip.com, Vivien Didelot , Florian Fainelli , Vladimir Oltean , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Wei Fang , Heiner Kallweit , kernel@pengutronix.de, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, Arun.Ramadoss@microchip.com, intel-wired-lan@lists.osuosl.org Subject: Re: [PATCH net-next v4 06/23] net: phy: c22: migrate to genphy_c45_write_eee_adv() Message-ID: References: <20230201145845.2312060-1-o.rempel@pengutronix.de> <20230201145845.2312060-7-o.rempel@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230201145845.2312060-7-o.rempel@pengutronix.de> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > + /* This is optional functionality. If not supported, we may get an error > + * which should be ignored. > + */ > + genphy_c45_read_eee_abilities(phydev); Humm, philosophic discussion. Would it be better for genphy_c45_read_eee_abilities() to silently ignore the error? Errors like -ETIMEDOUT should probably be returned, but -EOPNOTSUPP should be ignored. Andrew