Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751421AbbEYViu (ORCPT ); Mon, 25 May 2015 17:38:50 -0400 Received: from shards.monkeyblade.net ([149.20.54.216]:46958 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750934AbbEYVit (ORCPT ); Mon, 25 May 2015 17:38:49 -0400 Date: Mon, 25 May 2015 17:38:47 -0400 (EDT) Message-Id: <20150525.173847.1648689043962348086.davem@davemloft.net> To: mathieu@codeaurora.org Cc: peppe.cavallaro@st.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] net: stmmac: create one debugfs dir per net-device From: David Miller In-Reply-To: <1432346609-2961-1-git-send-email-mathieu@codeaurora.org> References: <1432346609-2961-1-git-send-email-mathieu@codeaurora.org> X-Mailer: Mew version 6.6 on Emacs 24.5 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Mon, 25 May 2015 14:38:49 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 974 Lines: 24 From: Mathieu Olivari Date: Fri, 22 May 2015 19:03:29 -0700 > stmmac DebugFS entries are currently global to the driver. As a result, > having more than one stmmac device in the system creates the following > error: > * ERROR stmmaceth, debugfs create directory failed > * stmmac_hw_setup: failed debugFS registration > > This also results in being able to access the debugfs information for > the first registered device only. > > This patch changes the debugfs structure to have one sub-directory per > net-device. Files under "/sys/kernel/debug/stmmaceth" will now show-up > under /sys/kernel/debug/stmmaceth/ethN/. > > Signed-off-by: Mathieu Olivari Applied, thank you. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/