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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5601AC38A2D for ; Tue, 25 Oct 2022 00:53:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231260AbiJYAw7 (ORCPT ); Mon, 24 Oct 2022 20:52:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42888 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230182AbiJYAwj (ORCPT ); Mon, 24 Oct 2022 20:52:39 -0400 Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EA8DC1285DE; Mon, 24 Oct 2022 16:34:11 -0700 (PDT) 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=OE9ltgQZfGJ8gIzvlomWzdYIa8zAOISdbaj6uqTUr+8=; b=20NAtAd5JfUHvZ2n/ZXDLVOV1n mx2o5GQAxbqXinpS0b3GrP1W6+9qSuRvPdu4+JwsYRYTdx9NueONTb+SkGKl96Yoeml5baCTYX6ow zb+BnJeOh5R9n5ixQaDgC+APuSamYvM8nJ5vjicVLmhKXcI0doJGxjuTyehaT279C8cw=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1omw24-000NA9-1Q; Mon, 24 Oct 2022 13:54:16 +0200 Date: Mon, 24 Oct 2022 13:54:16 +0200 From: Andrew Lunn To: Raju Lakkaraju Cc: netdev@vger.kernel.org, davem@davemloft.net, kuba@kernel.org, linux-kernel@vger.kernel.org, lxu@maxlinear.com, hkallweit1@gmail.com, pabeni@redhat.com, edumazet@google.com, linux@armlinux.org.uk, UNGLinuxDriver@microchip.com, Ian.Saturley@microchip.com Subject: Re: [PATCH net-next] net: phy: mxl-gpy: Add PHY Auto/MDI/MDI-X set driver for GPY211 chips Message-ID: References: <20221021100305.6576-1-Raju.Lakkaraju@microchip.com> <20221024072421.GB653394@raju-project-pc> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221024072421.GB653394@raju-project-pc> Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org > > Do you know why gpy_update_interface() is a void function? It is > > called from gpy_read_status() which does return error codes. And it > > seems like gpy_read_status() would benefit from returning -EINVAL, etc. > > Do you want me to change gpy_update_interface() return type ? > Can I do those changes as part of this commit or need to fix on "net" > branch ? I would say it is not a fix, so do it on net-next. But do it as a separate patch please. Andrew