Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp5068756rwb; Wed, 17 Aug 2022 10:27:06 -0700 (PDT) X-Google-Smtp-Source: AA6agR5cUWYjICozBHNvCuc8HEsmMeh7u8tXUFVhPCBfe3wSggFyg7u5r3A2GhQgpFw4Nv8DsEHL X-Received: by 2002:aa7:d7d0:0:b0:445:bd03:bc90 with SMTP id e16-20020aa7d7d0000000b00445bd03bc90mr4970867eds.238.1660757225832; Wed, 17 Aug 2022 10:27:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660757225; cv=none; d=google.com; s=arc-20160816; b=fsQqdD3L5lweYwneaJQa5j1hEu+IauxTA1aPCQnPh3Fmj7cyQ0pDaZqZpJrYMeqqpd BbTECHbWXQnx9aD0hzRO0qisKq2FtMKhGBotZ3m90swBOCEuuTmUfadCY+v/kYY8yLFg yu5+suikTbzItBU+TT/TAeYOt+2oogH+p99V9y+shj/Fh8fs2hcJtOUQmE54O9QuiiC6 1h8hnSv09zg3pWZ2HnTqaXFsDVyvoSZMuJJFrQHBOfqT3p1AnS9nVZcBIKxJVSkWvE2K IIEaP5h6LCbGr5wyIKYSzAn7fS8kOYpeF+tG595w/rFSHjo97h1CsjLwiNaznPUU35Fd W//A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=aZJmKtOUhK5Kx4/LPusc02Jt8nPxOKfc2ZZmVvOJ5ks=; b=XyP4jeDJj11mVHK+gkPdupnY8i3cu558plE+gzxlA9mOFXNqxO4NZzS3f/Ft5GLNMO Wzzq/3o5C9aqfsBcnYiuDue7u36GPMP5jSdMK/2OHoJODKmLZNOQHmI8ShFNF+WFhWGB Osyki9MOPOvXN2O95qcXI3rj86ksVosz/duky3m60Oxc0SHjFTLMjCgDgpDRYLhLX6MT mV7FJ+QNN1+f4FrE9IOXYdmb6XAKHAy9/YfgWES1WBXeN3Zm7rCYRy9YAHy9om/PCgcg 7oRZbR6bVFB2A1i00uQ36w7Emz9rn8bD6UC6r5puuwUgWE+VASDpb2CK4jB/7Tah+SW+ GWbQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=tF6QnQ4V; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m24-20020aa7c2d8000000b00445e9f07800si715660edp.501.2022.08.17.10.26.39; Wed, 17 Aug 2022 10:27:05 -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=@kernel.org header.s=k20201202 header.b=tF6QnQ4V; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239342AbiHQRTX (ORCPT + 99 others); Wed, 17 Aug 2022 13:19:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38286 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238406AbiHQRTV (ORCPT ); Wed, 17 Aug 2022 13:19:21 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BA5389C1D9; Wed, 17 Aug 2022 10:19:19 -0700 (PDT) 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 ams.source.kernel.org (Postfix) with ESMTPS id 6BC97B81E7D; Wed, 17 Aug 2022 17:19:18 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D2961C433D6; Wed, 17 Aug 2022 17:19:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1660756757; bh=qRzfysH3XWV3JWKS2lY8gaQtm+4fH/BNnQZ2uKVaPM8=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=tF6QnQ4VaE3A+ew8gQFAD1alxXAakzEZ7i0Ltl/wUNiSI2kcZgmOO++5PO0vsTR1E 5KvmWlit0MFCO4U35HEcuvE8rZ4aionYQJfrV7GtNmRGCwijr5D6h2WsIg89BzVSQ8 H7ytJvEg+axdGXVupU5h9aq1mya3zq2L13YzUN0iagekv3RLI5BJqzT50CqlhNbQXc rPaPpM6ZoE56tkUaQPWMmOurCvGCNGyz534GMWGXN5x3ireYZyciqXSfLybe7XqS8F JvEGKAo4GssOrEm2jJqPs0eYNyS+YhCB3a/8jLiIoCdInRrbCxmM0ph7TY6CzLBu2m FKGXy5krJu+JA== Date: Wed, 17 Aug 2022 10:19:16 -0700 From: Jakub Kicinski To: "Russell King (Oracle)" 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: <20220817101916.10dec387@kernel.org> In-Reply-To: References: <20220813204658.848372-1-beniaminsandu@gmail.com> <20220817085429.4f7e4aac@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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, 17 Aug 2022 17:12:24 +0100 Russell King (Oracle) wrote: > 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. That makes two of us, good enough! :) Thanks for taking a look. > I build-tested it, and I'm not likely to any time soon. I think > Andrew added the hwmon code for this PHY originally.