Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp977040pxb; Fri, 1 Apr 2022 00:54:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwVUxPsLD7CfjtlULCI1IA918b4k6H+KEVquNwL4qZVyUA99Ql8xX0dCv1OR90UH/jG30Fp X-Received: by 2002:a17:906:4fcb:b0:6e0:55b7:179 with SMTP id i11-20020a1709064fcb00b006e055b70179mr8569687ejw.159.1648799696465; Fri, 01 Apr 2022 00:54:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648799696; cv=none; d=google.com; s=arc-20160816; b=MF7ShsfoXmeS7886slXs5Dkr0VUOG7j55x6ci8hJAkeHxpwJSvO0jCoGhvWM6J6AFP jiepiR1Ymyq+lhdA9rgJ25jaC4GmJbYepzgRb85x1SXZ79X/7nVC4FwSQvmTEpNtCZgk m/5DX1W27fh9NDIkehMxtvpkAmbvjHQ32HaIVkVNPYCDc5KKhGeUosilxV9OS1xT36VW 8zDoM1LclEzY/aCkI37lO4DXKy3o72KcOkKP/PJqJrntWuMrR1DPDipS9084sDHPOlnf G1yGwoRu6iOPFLC4FO/wxZlOfr1QItRNwcOpAr2Nj9lfQ6NvnCsqG/ek1ZjrsKFRlJLQ QUHA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:user-agent:references:in-reply-to :subject:cc:to:from:date:content-transfer-encoding:mime-version :dkim-signature; bh=mGpDW2FfFUvAKaV7zb7pyf2ya8mPlFPwrdqHHfe9MFA=; b=ydXzY/Pcn61l8EwIMDslIHfvqEBrF8r2U1aj5SS4okl9UK6QgZZWUfg64EX4JiVAbJ LnrKyTi2h0w45hfWxtcQSAxbrOjiNYOScuqbgBdbtB8jg9RQqsitDdxTog871qGX8CNo /0KS8MrUcQRZ76InOJmm2SeMpEer+itYp6gAQPI3VOVOztYjBHYG1EEulNtPhXKNpogB AC/BLqWXsFbjOl+N8cQPhVbGBojVaj/amdu2G9L6CQDjWxOymZIjTZP5FBcnSw8U9A27 BhNeI5K1dOc0iQXhABS5UvvAx1olnE9kBwywZeLg6mjy63j5QqNiBCW49t1hzWVx4B1h zq7A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b=YV+pZYny; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h17-20020a05640250d100b0041b53ae5898si1316454edb.349.2022.04.01.00.54.31; Fri, 01 Apr 2022 00:54:56 -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=@walle.cc header.s=mail2016061301 header.b=YV+pZYny; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237841AbiCaOxm (ORCPT + 99 others); Thu, 31 Mar 2022 10:53:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40368 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236300AbiCaOxi (ORCPT ); Thu, 31 Mar 2022 10:53:38 -0400 Received: from ssl.serverraum.org (ssl.serverraum.org [IPv6:2a01:4f8:151:8464::1:2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D9D4056407; Thu, 31 Mar 2022 07:51:50 -0700 (PDT) Received: from ssl.serverraum.org (web.serverraum.org [172.16.0.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ssl.serverraum.org (Postfix) with ESMTPSA id 25A7522239; Thu, 31 Mar 2022 16:51:48 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walle.cc; s=mail2016061301; t=1648738309; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=mGpDW2FfFUvAKaV7zb7pyf2ya8mPlFPwrdqHHfe9MFA=; b=YV+pZYny02JG7m9Zem6mvc9D0ww0wSj8oJC3KGZ7gSEDqc+bKVRfa5g00u1g6ZJDjAFbaJ b5ZblmF3sT5zD0UWyA5xCxyJcB1YfwNxQWKMPKNvKvTQaNaoQqrTmTElX69Bg4H7kEmj3F 8wBuSnFi9bZQGd8mOJ/BACb2MvoSkaA= MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Thu, 31 Mar 2022 16:51:47 +0200 From: Michael Walle To: "Russell King (Oracle)" Cc: Guenter Roeck , Xu Yilun , David Laight , Tom Rix , Jean Delvare , Andrew Lunn , Heiner Kallweit , "David S . Miller" , Jakub Kicinski , Paolo Abeni , linux-hwmon@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org Subject: Re: [PATCH v2 1/5] hwmon: introduce hwmon_sanitize_name() In-Reply-To: References: <20220329160730.3265481-1-michael@walle.cc> <20220329160730.3265481-2-michael@walle.cc> <20220330065047.GA212503@yilunxu-OptiPlex-7050> <5029cf18c9df4fab96af13c857d2e0ef@AcuMS.aculab.com> <20220330145137.GA214615@yilunxu-OptiPlex-7050> <4973276f-ed1e-c4ed-18f9-e8078c13f81a@roeck-us.net> User-Agent: Roundcube Webmail/1.4.13 Message-ID: <7b3edeabb66e50825cc42ca1edf86bb7@walle.cc> X-Sender: michael@walle.cc X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,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 Am 2022-03-31 16:45, schrieb Russell King (Oracle): > On Wed, Mar 30, 2022 at 08:23:35AM -0700, Guenter Roeck wrote: >> Michael, let's just drop the changes outside drivers/hwmon from >> the series, and let's keep hwmon_is_bad_char() in the include file. >> Let's just document it, explaining its use case. > > Why? There hasn't been any objection to the change. All the discussion > seems to be around the new function (this patch) rather than the actual > conversions in drivers. > > I'm entirely in favour of cleaning this up - it irks me that we're > doing > exactly the same cleanup everywhere we have a hwmon. > > At the very least, I would be completely in favour of keeping the > changes in the sfp and phy code. FWIW, my plan was to send the hwmon patches first, by then my other series (the polynomial_calc() one) will also be ready to be picked. Then I'd ask Guenter for a stable branch with these two series which hopefully get merged into net-next. Then I can repost the missing patches on net-next along with the new sensors support for the GPY and LAN8814 PHYs. For the last patch, if it should be applied or not, or when, that will be up to Guenter then. -michael