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 D7255C433F5 for ; Sat, 12 Mar 2022 20:25:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232597AbiCLU03 (ORCPT ); Sat, 12 Mar 2022 15:26:29 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59840 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230017AbiCLU01 (ORCPT ); Sat, 12 Mar 2022 15:26:27 -0500 Received: from vps0.lunn.ch (vps0.lunn.ch [185.16.172.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 43EEA205E01; Sat, 12 Mar 2022 12:25:20 -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=W98kJ8M5wU591OAtrR3WbZqBuGols1ohFkbdgxOPZmQ=; b=YXWkPF+Ud0qtMHwCIRWl+Z4utS BShtIUsURWMw2TsLlE7kSNs7kUU6aKCaBlSZwepfW/5SEHoO/0Iu7FjErDqVDpmtJLDXCHQSwbtIt dKpAXm/tuCPANtqEdpT8FUqyUJhYem6qGg81CPIp2JZ5k4EFWuOFr/ygN8NWeqNUXTpc=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1nT8IW-00AVUA-3z; Sat, 12 Mar 2022 21:25:08 +0100 Date: Sat, 12 Mar 2022 21:25:08 +0100 From: Andrew Lunn To: Kurt Cancemi Cc: netdev@vger.kernel.org, kabel@kernel.org, Heiner Kallweit , Russell King , "David S. Miller" , Jakub Kicinski , Charles-Antoine Couret , linux-kernel@vger.kernel.org Subject: Re: [PATCH net v3] net: phy: marvell: Fix invalid comparison in the resume and suspend functions Message-ID: References: <20220312002016.60416-1-kurt@x64architecture.com> <20220312201512.326047-1-kurt@x64architecture.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220312201512.326047-1-kurt@x64architecture.com> Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On Sat, Mar 12, 2022 at 03:15:13PM -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 Hi Kurt Best practice is to add any Reviewed-by or Tested-by to the patch whenever you repost it, except when you make major changes. Otherwise they can get lost. Reviewed-by: Andrew Lunn Andrew