Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp5012621rwb; Wed, 17 Aug 2022 09:30:55 -0700 (PDT) X-Google-Smtp-Source: AA6agR54BqpdpPQMq8oWY5p6B6ydUMyTXN45PQcayuF+G4swmLQhwmVEzUg7s5dxFwl+uevXgiLa X-Received: by 2002:a05:6402:2547:b0:43e:4cc4:85d3 with SMTP id l7-20020a056402254700b0043e4cc485d3mr23733184edb.233.1660753855460; Wed, 17 Aug 2022 09:30:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660753855; cv=none; d=google.com; s=arc-20160816; b=xUODelhzn40BfjJhHkPoYfgNRumLIIi/W2G3Vd3XuN+CsIpqqu1u2hTMxKYOv8Gx54 OcBYusYyG9lQb4Q+iTiKWmIU9CFaiXL+Q2zsfyQV3RGI554M3e+lHdpqfYWot4+aeecF tnKdZcACEEXZ6vKA0tyfo6ZUIFt2YvG8Mb6NM5S9xLVGdV0UB/lXuR7FmQ2x/M+4oZEp D6kV7IwYx/xVOHNeS2NNNT5FJ2HzFfH9hDh0qnGbvBMGYhEXAWRmLMkJ+0dv0lXL4sfb ufxURh+0P30o+MYutUgSjQ8a0gSgizlnLYydYzYTGghzRKKLqU715wOVYQeffzo7hIzZ nTGw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=jcyKtAvjzBE4ZZ5pqDnp+JRBc0tSPSvpfYXhFfk/wyo=; b=eEE/nR4u985cCAdn+MsfVPIe2gAF5NmjZcCqJ/ZzMDOpxbzKTIza0IueyrIkOaBQmz H6Vrl1HOw2PXUNkbyfnEh7ya0W4k3Sn/AtNJW+/yZmxR0fopUV/+a6PKO3M3IghMiX4e eXBkWNGVXERoJpuWM1Vs4KKheDDAB0vehvyuDpbVEUqLCN1kMx0wloj6vNBt+t+JcUyw FNSx3Sg2CkG2ct6hYI9rNVkwgC65rjNH8QYzf5VrlF04NkRzvObisCQ+x1FxPqK8BwBp rFT/s4jFFE3RinxJemTMQjg+3Ri8fvnw+dIlSEkAMgirQQre3/aWJy0rzg74ehsilAiJ 6K3Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=GN+BHdb0; 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=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f20-20020a056402355400b00440e91f3123si14384364edd.37.2022.08.17.09.30.29; Wed, 17 Aug 2022 09:30:55 -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=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=GN+BHdb0; 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=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241072AbiHQQNT (ORCPT + 99 others); Wed, 17 Aug 2022 12:13:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59064 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241025AbiHQQMx (ORCPT ); Wed, 17 Aug 2022 12:12:53 -0400 Received: from pandora.armlinux.org.uk (pandora.armlinux.org.uk [IPv6:2001:4d48:ad52:32c8:5054:ff:fe00:142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E12C6A031F; Wed, 17 Aug 2022 09:12:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2019; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=jcyKtAvjzBE4ZZ5pqDnp+JRBc0tSPSvpfYXhFfk/wyo=; b=GN+BHdb0gO/9ZOENwaDYHnsxwa 7KMg6eHgxlMLtUQB/NyeTF+Tm3QEmXwtFvlFW9jyzBxW8DPfbN7Z5xEG81MLd0YLlHm+VOWp1V/Gx u0Fc9w8YzwOLdvST3xN6fXXtB1sfKpn6Q2aiFw0nI9UIAiav6XeLggIiNEGnuymx4JnorUFlqD2Lj vJYt38c/MXlNifsRBCpzXraFDp4lmZrYh1blPt3LTvS+iRGAZuR9YQnnmeq7D7aJHQvEfMMMMBh7O +Ugcgm03PzOldd1hakaV9REnsQKJZiyxr0BZpj9JM/uRpUY2sgZqxJ5f6/7W7NeZ4ps+EIEFYO1MI FzIq6SiQ==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:33826) by pandora.armlinux.org.uk with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1oOLec-0005b4-7x; Wed, 17 Aug 2022 17:12:26 +0100 Received: from linux by shell.armlinux.org.uk with local (Exim 4.94.2) (envelope-from ) id 1oOLea-0005yf-3y; Wed, 17 Aug 2022 17:12:24 +0100 Date: Wed, 17 Aug 2022 17:12:24 +0100 From: "Russell King (Oracle)" To: Jakub Kicinski Cc: Beniamin Sandu , andrew@lunn.ch, hkallweit1@gmail.com, davem@davemloft.net, edumazet@google.com, pabeni@redhat.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] net: sfp: use simplified HWMON_CHANNEL_INFO macro Message-ID: References: <20220813204658.848372-1-beniaminsandu@gmail.com> <20220817085429.4f7e4aac@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220817085429.4f7e4aac@kernel.org> Sender: Russell King (Oracle) 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_NONE,SPF_NONE, 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, Aug 17, 2022 at 08:54:29AM -0700, Jakub Kicinski wrote: > On Sat, 13 Aug 2022 23:46:58 +0300 Beniamin Sandu wrote: > > This makes the code look cleaner and easier to read. > > Last call for reviews.. I had a quick look and couldn't see anything obviously wrong, but then I'm no expert with the hwmon code. I build-tested it, and I'm not likely to any time soon. I think Andrew added the hwmon code for this PHY originally. -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last!