Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp1373149pxb; Fri, 1 Apr 2022 11:34:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwH6JQnbpocMnNBXKqtDNMYv9CTHIIxFADAfaleYBJ0N/I5XGfrFcRCpgF02yb8gARBa5K4 X-Received: by 2002:a17:902:f652:b0:156:701b:9a2a with SMTP id m18-20020a170902f65200b00156701b9a2amr1616883plg.14.1648838045963; Fri, 01 Apr 2022 11:34:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648838045; cv=none; d=google.com; s=arc-20160816; b=SXauW3Inynv2AtgRBL677YA0JT7gz8iYn6ZEVvM5HA9QcqVYW+46WnIoYdsFIA1Eoa nxnfL55Bq65qG9vZLTHcQgNec4p8ow+aMAXqnieguF0Gu34wCYXNHdwy2JO/4uFNWdcY F0d7VxhCg1ipQfe1T4ftdqVrHoqagJE3grwMEnDjc2N1YH0BC0N5exGCybMReXdu2LTh oPa0lAEF5pEcu1Fnv4dKFCDQTlzn7CWGQVL3c6vNkiMKI1pprx4J9dqyrMv3caKj/RXy aDjS1If6TkQkOSaYYSMONknGPBXOy8IgXSwS4AP1mI1ITOsj0PNC9DJBBP9fCvzBxo3C LPAw== 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=yqwNccB2A35m8O6LUYyKTKudnt6rRpR/CD2pHg2HpFc=; b=IQZPfY72Sg2/UIv7pvq4+9hFmhPVHRX0ZJcX6iHYpWO5FG0Un6h3Bz5nMImZqQzjEU F3JDmPfraFV+rLIvW/EEinIxUqvvgAMe3iqcnwf6Gmlx23d48eKS/an2mAmVRsDFR3au /ZRH3ciBROXTxwcSLEIoB5O89m5iNRiTNeWf03VwPwG7QIb3/AxoAwv12qUVtY1NcW4x MMHSUIvV3cAUYVxP68pKmD9Ht59O7Y4LomQAbeZvXwmy2v5anLpXP6tmdiFfOj5aXBbL ZD+Juqzffmzi9JvqVcJ3CViGEX6Jsnb0m4SZZCQv35rYmHPDRPZZTcDSxbrG4tV2pXxA g4/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=EVZ3f4+1; 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 u4-20020a17090341c400b00153b2d165afsi3170625ple.439.2022.04.01.11.33.51; Fri, 01 Apr 2022 11:34: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=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=EVZ3f4+1; 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 S233364AbiCaOsM (ORCPT + 99 others); Thu, 31 Mar 2022 10:48:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51152 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237879AbiCaOsI (ORCPT ); Thu, 31 Mar 2022 10:48:08 -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 5A09A21FC45; Thu, 31 Mar 2022 07:46:20 -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=yqwNccB2A35m8O6LUYyKTKudnt6rRpR/CD2pHg2HpFc=; b=EVZ3f4+1Jziy2SWZKN8zyRI3qO o+Os8KXzA4HwiFa/MZMs+1yeD6vuvvpTxhWRdN6DfwAHYG/AchGJLXwveuUnWZRL0+MFVMRD3hYyI 1b8avPujuoVJlmSmdYN1M3doK0TLn4UZrQP9O8pUV3NuF619zLigK6q1eOYjSHLgNT5eTePm0KxJC GiCzJ3o/qEz4KiOofYHqtEFqfh35nzoDejo/jOtpT78F+f4EYX2FPnkDt+KJImbVme/kebfn9rycf caxzQBioR1Uz8CxTbc42Ad/Mb+5yewjf1owQKQeKuNT94E812LtmFE4izpNW0zTE8LuIa5ZeCsqVy gTmmAfTg==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:58064) 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 1nZw3s-0004z2-BZ; Thu, 31 Mar 2022 15:46:08 +0100 Received: from linux by shell.armlinux.org.uk with local (Exim 4.94.2) (envelope-from ) id 1nZw3r-0007iO-Em; Thu, 31 Mar 2022 15:46:07 +0100 Date: Thu, 31 Mar 2022 15:46:07 +0100 From: "Russell King (Oracle)" To: Michael Walle Cc: Xu Yilun , Tom Rix , Jean Delvare , Guenter Roeck , 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 3/5] net: sfp: use hwmon_sanitize_name() Message-ID: References: <20220329160730.3265481-1-michael@walle.cc> <20220329160730.3265481-4-michael@walle.cc> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220329160730.3265481-4-michael@walle.cc> 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 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 Tue, Mar 29, 2022 at 06:07:28PM +0200, Michael Walle wrote: > Instead of open-coding the bad characters replacement in the hwmon name, > use the new hwmon_sanitize_name(). > > Signed-off-by: Michael Walle Acked-by: Russell King (Oracle) -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last!