Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp5704873pxb; Mon, 28 Mar 2022 16:29:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyCeTj3wJwOv2+vcq4Koudq5xXEzZZ5P0gUP7TpgJ4TovAUeMI/moIIbZiQxBsts24tD5vC X-Received: by 2002:a05:6a00:982:b0:4fb:806f:4833 with SMTP id u2-20020a056a00098200b004fb806f4833mr1616791pfg.30.1648510197770; Mon, 28 Mar 2022 16:29:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648510197; cv=none; d=google.com; s=arc-20160816; b=mp85rHxQDLV+bwK7Syu48tc270h5MeZm9aAww0hBc+wysH3PDAEypNEpoiXeQ0hWIu YgNcKd2rOdxo45hKNma7Ftls9ODmasxj6XCS9N0lj7vrUjmHjaUV/LSFZUfjE09dHCah +EIXVWBQZj+WlWLExl2q+nIqnB0gCJYlI0pw8pAFYXxVWSzMgnT7jUATxOHlpb75o93p adkBUojm8NwUgNdkVQ8uULrc6obVIrgIn+bpHloz7njFVTXkeBelxZ1Ff/42ZltShjS2 iSp4MFxK2J9GQSplmDkFIDyv7hiT0s5w9upI5Ytr95v5rTZKIITpp6AV6SyNyoWGe0gc ebfw== 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=I3gaFBZ3yrJ/2YMqtccYFL35SLVJmtDTn3J7H7rEt9c=; b=DJJ/QJ+lejLOFGiSEyJZgosbaPkXuUBAVXhTWSETIq2CFe9I40gWlQ5vUYU5nRXsyh NW6aeH0lIDKKxreuVvjRtI1d+leuOFOCSCNR3SjP7P9jVZQO40CmP+y7tPQmltaE3rWD TrVTYyI8I5LY6z20+MZ4QOOV3D0m66TGDc2tCnKqqBaG9NyApjqBn+wgkpV5YOEJosxs NOyickZp5Vsotrl2XRmgkVXzQxRAONnEPB11qwN8K81jowWZMCnf1Q16jb2nEw9dQIt6 hqhUh9LjNY6L2IzMhKuHhNxdNfcR0gEgJ5Ms8fb7I/zEredqMmMkTjUOjh+rl8A4QJ6a abrg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b=hWLUxypQ; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id b68-20020a636747000000b003820429185esi15269674pgc.60.2022.03.28.16.29.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Mar 2022 16:29:57 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b=hWLUxypQ; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id DB1A3184B6E; Mon, 28 Mar 2022 15:50:40 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230206AbiC1WwO (ORCPT + 99 others); Mon, 28 Mar 2022 18:52:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43828 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230204AbiC1WwM (ORCPT ); Mon, 28 Mar 2022 18:52:12 -0400 Received: from ssl.serverraum.org (ssl.serverraum.org [176.9.125.105]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A875C184B7B; Mon, 28 Mar 2022 15:50:30 -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 EB8752223A; Tue, 29 Mar 2022 00:50:28 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walle.cc; s=mail2016061301; t=1648507829; 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=I3gaFBZ3yrJ/2YMqtccYFL35SLVJmtDTn3J7H7rEt9c=; b=hWLUxypQgRZr78sXGVpo5Nkeun38pUDKWStQjgtG3J/2yyhkxgX4DFujkPn4hTI/Bx9W5r rPUNcD6anjzaWJ0NHiohCJr6wYCFRjhY2syHsUDQMgGkrB0AyG52ohTbwzoq4BN5kzJJ1k VAvt5lWjB+Xa/BkuE3u8OrAfYMiYQPA= MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Tue, 29 Mar 2022 00:50:28 +0200 From: Michael Walle To: Guenter Roeck Cc: Andrew Lunn , Xu Yilun , Tom Rix , Jean Delvare , Heiner Kallweit , Russell King , "David S . Miller" , Jakub Kicinski , Paolo Abeni , linux-hwmon@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org Subject: Re: [PATCH v1 0/2] hwmon: introduce hwmon_sanitize() In-Reply-To: References: <20220328115226.3042322-1-michael@walle.cc> User-Agent: Roundcube Webmail/1.4.13 Message-ID: X-Sender: michael@walle.cc X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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-28 18:27, schrieb Guenter Roeck: > On 3/28/22 05:56, Andrew Lunn wrote: >>> I'm not sure how to handle this correctly, as this touches both the >>> network tree and the hwmon tree. Also, the GPY PHY temperature senors >>> driver would use it. >> >> There are a few options: >> >> 1) Get the hwmon_sanitize_name() merged into hwmon, ask for a stable >> branch, and get it merged into netdev net-next. >> >> 2) Have the hwmon maintainers ACK the change and agree that it can be >> merged via netdev. >> >> Probably the second option is easiest, and since it is not touching >> the core of hwmon, it is unlikely to cause merge conflicts. >> > > No, it isn't the easiest solution because it also modifies a hwmon > driver to use it. So that leaves us with option 1? The next version will contain the additional patch which moves the hwmon_is_bad_char() from the include to the core and make it private. That will then need an immutable branch from netdev to get merged back into hwmon before that patch can be applied, right? -michael