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 DC8B9C433FE for ; Thu, 31 Mar 2022 15:13:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237991AbiCaPOv (ORCPT ); Thu, 31 Mar 2022 11:14:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37856 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234757AbiCaPOt (ORCPT ); Thu, 31 Mar 2022 11:14:49 -0400 Received: from ssl.serverraum.org (ssl.serverraum.org [176.9.125.105]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9A73921592E; Thu, 31 Mar 2022 08:12:58 -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 AC95622239; Thu, 31 Mar 2022 17:12:56 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walle.cc; s=mail2016061301; t=1648739577; 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=vKNzYY1umw6ncPUkV/s+Z1c6c1JSxtIaTyW678gbWl4=; b=b/23SHrNBRL0KpkVOSOgp1o1STpMTZ7KfDVHEqv2GJhVYBMzc4/cebfO7u6CPPRLxM12p/ eaOdYLCBN3m/lOQvt1XYdBT52cDgTIQoe3q/Th4yUvilipKtGuphh8lFIFeSe0L6/BNEIs 1H3H+MWz6UYo7vWqef0PBrIKY2x0jvw= MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Thu, 31 Mar 2022 17:12:56 +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> <7b3edeabb66e50825cc42ca1edf86bb7@walle.cc> User-Agent: Roundcube Webmail/1.4.13 Message-ID: <32e0a05294d18c88efc41ed85c082c80@walle.cc> X-Sender: michael@walle.cc Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am 2022-03-31 16:58, schrieb Russell King (Oracle): > Note that there's another "sanitisation" of hwmon names in > drivers/net/phy/marvell.c - that converts any non-alnum character to > an underscore. Not sure why the different approach was chosen there. I saw that, but I didn't touch it because it would change the name. I guess that will be an incompatible userspace change. -michael