Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp10787258pxu; Wed, 30 Dec 2020 11:35:32 -0800 (PST) X-Google-Smtp-Source: ABdhPJzr0brSNAJO0Bbgk6526qeNdozdSIMP+4/rlqOf4UJub0740eWp513svxcJ3c6vSJhZc0Qq X-Received: by 2002:aa7:c1c6:: with SMTP id d6mr51997668edp.275.1609356931877; Wed, 30 Dec 2020 11:35:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609356931; cv=none; d=google.com; s=arc-20160816; b=RKAfZwsUTH2ELZJ6jYaY6Z6VexPS9HK9Rz8VSbWS+b9XD6jsN3nISRlA2pycGcMn88 z426U3r9W7gSMrlcuT46WrRtQsd8bX7hnGNt7W3DEbxcA/TIoTxlWB6tid2yOzuToxrn /g+TTL5IB/Sd+yVSAERaeUp7guY7ShHrGm+J59Ock3vQYyieVffonpTAf4ztLPSSXp6g 9JakKrMmTxA1LqeKW3nlhrlkvyWF6FgDCG6zjkfUfdUs/pYcuXTyCfkCib+yAbcyVkdW 35eDYkdx93uF91DHCdPdteXjJXJkbWzTh3FjfheRQR1jWxTotG7htp2dPOC/7CknoZ5x S9WQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=LKzQtq3vw+dgwXRRE0neTsq+g5odtJYOpB7ilqIlkOM=; b=yA415VEOSmgDrGq15/MgWzAjnPASCNnA/w7/jdk+md/wCYZzZzeDu/gJ6pGv+KpYXj GU+ee7nqTaouNr75+RKuLsWJHCFz+v6Dm1oUVgYsNTzZijZxvOgUctgGRrMKpbrysRsc GMIOCq42CnGNqUTslwIRF80t/N8X1AFI4TUDXLaq4yp1TYv0hRUHsAnzCLZqIQZ4/+1O r3ZXQZgrfC2naMHCigXwAYGjKxtcxSEsFjyXqcGy4gA4RinFPe8A0WJVkTJCCKw53w9U 1AUBdQIMAED0TU7r/QpT0WxM6HURYNmHawtpqC5IBNXJFEkchHizrvAzk4jVsx0+Xw2q p2xA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a28si24011372edb.462.2020.12.30.11.34.55; Wed, 30 Dec 2020 11:35:31 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726352AbgL3Tbk (ORCPT + 99 others); Wed, 30 Dec 2020 14:31:40 -0500 Received: from vps0.lunn.ch ([185.16.172.187]:44912 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726185AbgL3Tbj (ORCPT ); Wed, 30 Dec 2020 14:31:39 -0500 Received: from andrew by vps0.lunn.ch with local (Exim 4.94) (envelope-from ) id 1kuhBM-00F5z5-Ki; Wed, 30 Dec 2020 20:30:52 +0100 Date: Wed, 30 Dec 2020 20:30:52 +0100 From: Andrew Lunn To: Pali =?iso-8859-1?Q?Roh=E1r?= Cc: Russell King - ARM Linux admin , Heiner Kallweit , "David S. Miller" , Jakub Kicinski , Marek =?iso-8859-1?Q?Beh=FAn?= , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/4] net: sfp: add workaround for Realtek RTL8672 and RTL9601C chips Message-ID: References: <20201230154755.14746-1-pali@kernel.org> <20201230154755.14746-2-pali@kernel.org> <20201230161036.GR1551@shell.armlinux.org.uk> <20201230165634.c4ty3mw6djezuyq6@pali> <20201230170546.GU1551@shell.armlinux.org.uk> <20201230174307.lvehswvj5q6c6vk3@pali> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201230174307.lvehswvj5q6c6vk3@pali> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > Ok! > > So should we completely skip hwmon_device_register_with_info() call > if (i2c_block_size < 2) ? Yep. That would be a nice simple test. But does ethtool -m still export the second page? That is also unreliable. Andrew