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 78131C433F5 for ; Sat, 12 Mar 2022 19:30:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232509AbiCLTbx (ORCPT ); Sat, 12 Mar 2022 14:31:53 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48906 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230463AbiCLTbx (ORCPT ); Sat, 12 Mar 2022 14:31:53 -0500 Received: from sin.source.kernel.org (sin.source.kernel.org [145.40.73.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 761CD381B1 for ; Sat, 12 Mar 2022 11:30:46 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sin.source.kernel.org (Postfix) with ESMTPS id DFB8BCE0AB0 for ; Sat, 12 Mar 2022 19:30:44 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3F1AEC340EB; Sat, 12 Mar 2022 19:30:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1647113443; bh=xfE+fM7lUQElAr6D15DnrV+3eu78aFwfde942wjhhdY=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=Sn9Wm+XPTn6VFeFuJQCwoIki8pW/5OYGpHyuOBrUgXHu5gbsybjSFCn4mt7TiN7JM duR1zv3H+5I/wuJ36Vx1dgW8zu1ipvqohcD3oZ/XG31O8kqGmnAGESkTjR629WvrdN lsNwoeUjB6Jg6CWobZ1xZFnrIHIkuHQAtj+M2H9fQGKNvlageQnHbqf+yWbJr1H8eu sanKZgW0YnJdQ42zvglQpJym2cntQYq++KAWE2tOn1a4pvvA8cTUsIhgwnzY0ngD0I EetdClSKlXOhaWeJY0IDLOBmVrmfW/VoYCiHEpQuDIe2gb70JrtIjbAosuElXH1704 +xSCbn1ex1upQ== Date: Sat, 12 Mar 2022 20:30:38 +0100 From: Marek =?UTF-8?B?QmVow7pu?= To: Kurt Cancemi Cc: netdev@vger.kernel.org, andrew@lunn.ch, linux@armlinux.org.uk Subject: Re: [PATCH v2 net] net: phy: marvell: Fix invalid comparison in the resume and suspend functions. Message-ID: <20220312203038.5a67bdc7@thinkpad> In-Reply-To: <20220312002016.60416-1-kurt@x64architecture.com> References: <20220312002016.60416-1-kurt@x64architecture.com> X-Mailer: Claws Mail 3.18.0 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On Fri, 11 Mar 2022 19:20:19 -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 Nitpick: We don't use dots to end subject lines. Marek