Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp2155501pxp; Sun, 13 Mar 2022 10:12:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxh1PoqMmumb7TpStYWdc0Ci2bFs3KNL29MpBxQbdwJqvTP+GAixgKXEOed2gMuPLvxivsZ X-Received: by 2002:aa7:9e07:0:b0:4f6:a7e3:1b57 with SMTP id y7-20020aa79e07000000b004f6a7e31b57mr19584225pfq.13.1647191566921; Sun, 13 Mar 2022 10:12:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647191566; cv=none; d=google.com; s=arc-20160816; b=vvNL+unukTV03e25HDB8VXyDY9nQr3Rb+PcoXoRFXxdwU2uUMyESRopGwPaOgZNmNF uJajEtCLszvxA7eXoCFYbD06z/Rs7GxqF+Mf83TdQjAWIr1FCvFUHkt+8kzIZl17jSh0 tRJZplj9Wg6HKsWq7hwBgKY85K5OYICpuMT0EhDotT6jx5SUHPtfIFLbQJmcdMIpozRh VkVZwJ+Ls04l8JL8ls5t4kEzr3CIjxmnIWPTPAgaOI936RBiWl1nt22VdmQ8FL2hjLKS Ab0gPP4EGcagTxC7GYKN/hb4XsrOOHekU83iKqQHjFyUTx5Q5m4qBRr2UktHRdWoyWhU 8cpA== 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:dkim-signature; bh=odpq/6C/ci3tUnN9Bq31NutxIHpLW0ghl7LCm+IC2h8=; b=yie//UDiqkxlm9mrO4p7YnzCqObIZ3r1K24+gSMbOxDUljA7WXcBDaPZIHzQHzz8UE Tw6AkK+RUZatf8N60ijUKKL1gTO8eCBrmKUPG/AaXRrS/AEH1ghwgnMY4zalIOxI/nvY Zp1rs+C+HImYaLZsht5Xf2f++v6PtBHHkUxQtnzoVswYbJguYfcl0FeiQINWTuWXpiXn SODfmyuXynwC8fkwVKqjcMdV0pc/CHqLQ+MhEb7e3Qsv12q4CiYUpi7JdtfJ8N37nRj/ EK0B+6dRdD4/IlRiS73l83fDJWf0JurkWhIOaF3mg2jm4Nw1hlPhKnD6m/lX+MX5EoES 5vNw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=eUq1ETvX; 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 h65-20020a636c44000000b00380b1d47393si13032330pgc.529.2022.03.13.10.12.33; Sun, 13 Mar 2022 10:12:46 -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=@lunn.ch header.s=20171124 header.b=eUq1ETvX; 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 S232827AbiCMPNB (ORCPT + 99 others); Sun, 13 Mar 2022 11:13:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43500 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234797AbiCMPMm (ORCPT ); Sun, 13 Mar 2022 11:12:42 -0400 Received: from vps0.lunn.ch (vps0.lunn.ch [185.16.172.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 676A58A308; Sun, 13 Mar 2022 08:11:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=odpq/6C/ci3tUnN9Bq31NutxIHpLW0ghl7LCm+IC2h8=; b=eUq1ETvX1riNMDWQiG7snzW2ZA YukKr9C7fuD62cF8Uv8g0mBTLvRpb8FJJgSakWjY2TaEPw8X8QGM1klkKvPBKxoY+0KrZsYkQTGPp qpmwBUWbAvlltVE8PJabBGbx6SXAZtiXXBCrTe2aRjg+0BZxEhmgvFPukaCgiZP8nMYA=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1nTPs8-00AdHZ-0i; Sun, 13 Mar 2022 16:11:04 +0100 Date: Sun, 13 Mar 2022 16:11:04 +0100 From: Andrew Lunn To: Michael Walle Cc: Heiner Kallweit , Russell King , "David S . Miller" , Jakub Kicinski , Colin Foster , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH net] net: mdio: mscc-miim: fix duplicate debugfs entry Message-ID: References: <20220312224140.4173930-1-michael@walle.cc> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220312224140.4173930-1-michael@walle.cc> 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_PASS,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 On Sat, Mar 12, 2022 at 11:41:40PM +0100, Michael Walle wrote: > This driver can have up to two regmaps. If the second one is registered > its debugfs entry will have the same name as the first one and the > following error will be printed: > > [ 3.833521] debugfs: Directory 'e200413c.mdio' with parent 'regmap' already present! > > Give the second regmap a name to avoid this. > > Fixes: a27a76282837 ("net: mdio: mscc-miim: convert to a regmap implementation") > Signed-off-by: Michael Walle Reviewed-by: Andrew Lunn Andrew