Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp7637711rwi; Mon, 24 Oct 2022 18:04:50 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4xElrq64/VQUx+mexYVwzbXY+HugqPZC3pYwGLqUv5TqslYSEwKajrtMqzRq88HMWsgKQp X-Received: by 2002:a17:907:6d9b:b0:78d:ce6a:3300 with SMTP id sb27-20020a1709076d9b00b0078dce6a3300mr28730534ejc.91.1666659889931; Mon, 24 Oct 2022 18:04:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666659889; cv=none; d=google.com; s=arc-20160816; b=sRhVsUbweW6i2oORZsf9EC9fminC400BFXKMcQFRBmGxAXGk9XZROytdOVgTl7Ho77 RxszJOqHxzYUl67s2WaUHRiSv9M+o61hw21aT8ufF8vC3F/2GZ/oMb/ARFqwGIv2YQv0 OZrMIqFgcWQKOj+ftsAiFekaXTL6X99wELDOKCNRSqJlRcwHV/30i22lrOo3yITNHT3K QLc3jrR6sf8XNKbymHbAsw8s2tbOfYcsYjI7ZZwWjXKUg5TmaKz/umdiR86gVid9z0p9 fl/MoYWWpEoO5l0Gv2oSSvY6C6T0JaRQywmIM8eSOHJMDfsTdg+81bsPm43k6YUveq8e /xOA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=OE9ltgQZfGJ8gIzvlomWzdYIa8zAOISdbaj6uqTUr+8=; b=HHYuHcCfow69OuwpQxMByzrjylUgYl95u1FenxQ9dMiosrm7oDn0QDnZzw4ha3Yf4R iUAjJHsMbzXKBao2v/iboy5beExA9Aq5/yJ9sRd1DYElxBylduqKIoETw0aaIvFSDHjp N5kNg9No8VifMUh3fP/O9OSdvTn8t6pqbUWzEn+CIm3MEn/9Fvt4DNSr3DEOg78SgVST x423Qa1TWale+eDD2IjS/QFJKwazZB1XPwalHspmFYRHycIEw6sM/ztw0uxLCxTfRje/ j8/xiI86ekKz+wJ+LMI0927zvmfisoGJsgv7FVmePeS9B/eh6Vdi9Yt8WjZcvehhgTCB oiYg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=20NAtAd5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n12-20020a05640205cc00b00461a4eb674dsi1606449edx.619.2022.10.24.18.04.23; Mon, 24 Oct 2022 18:04:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=20NAtAd5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229744AbiJYAxK (ORCPT + 99 others); Mon, 24 Oct 2022 20:53:10 -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> X-Spam-Status: No, score=-0.6 required=5.0 tests=BAYES_00,DATE_IN_PAST_06_12, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS, SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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