Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp300382rwd; Wed, 24 May 2023 18:41:07 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6bYIN12XdBDzRMTlw1+hw6tnksZDSzkEu3VM4hzpgpIlfqCksPTi4VZQ42fNwfvPL9pVoD X-Received: by 2002:a05:6a20:42a4:b0:10e:de4f:3437 with SMTP id o36-20020a056a2042a400b0010ede4f3437mr1708876pzj.39.1684978866870; Wed, 24 May 2023 18:41:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684978866; cv=none; d=google.com; s=arc-20160816; b=fdqBcXMgR9qjdKysPOqXgLY05QkqVELSpFOPcftbRocKpkD/K8Wa77wumPLUZSXXir mL4lBlP0rpd16vTLODOWJwEGtfkBhduhcDAO+DigsRUEI8VHfpOb+DRvlo+t68gAm6xd Auf4bKUVU8/1oK1hNx7AvgcXZn6Rp0z92XvxGrhZ0yWpHACO5sjBekxEYF0+yOWsP8yS EM7vGVTJov/3EJblTfrogMJJdHZLyjj75K99WSRFWN87uCNpKs+ckBtptiwQLKmS28f1 QeJfwcDGDz4JPlVR5kpO4qdOFoxKP3Ziqh3nFOVrATmYJComVn6YqI31wcs6PJ+fEnqX PJfQ== 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=ogGZpqLGm9XAFQ0w54m1YZo2lzZ3VyBVpDh1fcWIGzo=; b=TEuGBGIojkPVHGKl1J2Wi5xBEyO29gTZ3HrI+c+w3dBDx7sYUPirjKaGGPww2A/fN3 VUS64dqSOiEFhcnwkdmJDDpBP4CvrSrC+cJgaxAd1xOPhA4/vIPEMK+Wmv5zTHP5w+YW 7ivxnNtAI7ZU2UNMMMXxcSOVXp1RCHFTj0lFX4AYeDE/Xz3lZGSoSbj8IdOV9yaFxnKl j2RzUJ7M2Xz+srUNG7Y9tijLgRDM0nzfWh7YsTX8/aoN6H41GbVClR1MSiYqY2zAWghj SCug0BrkraRt+BqhpZ3Sk5fr92ZuiWWxqtKsu0MkNlWSceR06eI82PJAqcA4pW7ly0Vy 0uRg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=v9bHgw9q; 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 v3-20020a655c43000000b0053f18935d86si1353954pgr.123.2023.05.24.18.40.40; Wed, 24 May 2023 18:41:06 -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=v9bHgw9q; 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 S229551AbjEYBE7 (ORCPT + 99 others); Wed, 24 May 2023 21:04:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47158 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235394AbjEYBE4 (ORCPT ); Wed, 24 May 2023 21:04:56 -0400 Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7C8F8F5; Wed, 24 May 2023 18:04:50 -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=ogGZpqLGm9XAFQ0w54m1YZo2lzZ3VyBVpDh1fcWIGzo=; b=v9bHgw9qtsHgnjKs/752cGc3tJ SxogZkmtzRnlCR/yR9DQiu2yKd2HgWucv1fVLh0g9f1DyeDpsXCfJVvONe+cux5TRLqtoSeMkM3/W 3rfCxbWp/GhmlfogGoFU4y1xpwOoEKV9ePjOA8uoWtudAGO248z5ekpB7JD0nHzdw8mY=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1q1zPB-00Dqtn-2o; Thu, 25 May 2023 03:04:37 +0200 Date: Thu, 25 May 2023 03:04:37 +0200 From: Andrew Lunn To: Parthiban Veerasooran Cc: hkallweit1@gmail.com, linux@armlinux.org.uk, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, ramon.nordin.rodriguez@ferroamp.se, horatiu.vultur@microchip.com, Woojung.Huh@microchip.com, Nicolas.Ferre@microchip.com, Thorsten.Kummermehr@microchip.com Subject: Re: [PATCH net-next v3 2/6] net: phy: microchip_t1s: replace read-modify-write code with phy_modify_mmd Message-ID: References: <20230524144539.62618-1-Parthiban.Veerasooran@microchip.com> <20230524144539.62618-3-Parthiban.Veerasooran@microchip.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230524144539.62618-3-Parthiban.Veerasooran@microchip.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham 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 On Wed, May 24, 2023 at 08:15:35PM +0530, Parthiban Veerasooran wrote: > Replace read-modify-write code in the lan867x_config_init function to > avoid handling data type mismatch and to simplify the code. > > Signed-off-by: Parthiban Veerasooran Reviewed-by: Andrew Lunn Andrew