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 DA8A0C433F5 for ; Sat, 12 Mar 2022 15:15:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231676AbiCLPQe (ORCPT ); Sat, 12 Mar 2022 10:16:34 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48646 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229974AbiCLPQd (ORCPT ); Sat, 12 Mar 2022 10:16:33 -0500 Received: from vps0.lunn.ch (vps0.lunn.ch [185.16.172.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D3438188A32 for ; Sat, 12 Mar 2022 07:15:25 -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=FZa2Jl7HsJOS7FvUjUTQrD4L4PXwJaI48LitM3KcPUQ=; b=m2T8v8l01vWy6FCWBnLsZli/Yk 2dkIeX+HS+ELdbBZMoT9U9ooUESIf1qVVN1y9ASod8o16pVcWd8QkcEkB5Z/0+Vdvl4buCPg2yph5 41lqwtGy9QzlV/mX9iDkal50rfXtrTGNFXxJt97oT5kIGX9mLKIbYXzHE8T4vC/COYB8=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1nT3Sl-00ASas-EB; Sat, 12 Mar 2022 16:15:23 +0100 Date: Sat, 12 Mar 2022 16:15:23 +0100 From: Andrew Lunn To: Kurt Cancemi Cc: netdev@vger.kernel.org, linux@armlinux.org.uk Subject: Re: [PATCH v2 net] net: phy: marvell: Fix invalid comparison in the resume and suspend functions. Message-ID: References: <20220312002016.60416-1-kurt@x64architecture.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220312002016.60416-1-kurt@x64architecture.com> Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On Fri, Mar 11, 2022 at 07:20:19PM -0500, Kurt Cancemi wrote: > This bug resulted in only the current mode being resumed and suspended when > the PHY supported both fiber and copper modes and when the PHY only supported > copper mode the fiber mode would incorrectly be attempted to be resumed and > suspended. > > Fixes: 3758be3dc162 ("Marvell phy: add functions to suspend and resume both interfaces: fiber and copper links.") > Signed-off-by: Kurt Cancemi Reviewed-by: Andrew Lunn Andrew