[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAMZdPi8cfTFypqHYgi-UMCVavCMQqG1e4tBGUihJzR2Kd09S5w@mail.gmail.com>
Date: Mon, 22 Nov 2021 09:55:27 +0100
From: Loic Poulain <loic.poulain@...aro.org>
To: M Chetan Kumar <m.chetan.kumar@...ux.intel.com>
Cc: netdev@...r.kernel.org, kuba@...nel.org, davem@...emloft.net,
johannes@...solutions.net, ryazanov.s.a@...il.com,
krishna.c.sudi@...el.com, m.chetan.kumar@...el.com,
linuxwwan@...el.com
Subject: Re: [PATCH V3 net-next 1/2] net: wwan: common debugfs base dir for
wwan device
On Sat, 20 Nov 2021 at 17:14, M Chetan Kumar
<m.chetan.kumar@...ux.intel.com> wrote:
>
> This patch set brings in a common debugfs base directory
> i.e. /sys/kernel/debugfs/wwan/ in WWAN Subsystem for a
> WWAN device instance. So that it avoids driver polluting
> debugfs root with unrelated directories & possible name
> collusion.
>
> Having a common debugfs base directory for WWAN drivers
> eases user to match control devices with debugfs entries.
>
> WWAN Subsystem creates dentry (/sys/kernel/debugfs/wwan)
> on module load & removes dentry on module unload.
>
> When driver registers a new wwan device, dentry (wwanX)
> is created for WWAN device instance & on driver unregister
> dentry is removed.
>
> New API is introduced to return the wwan device instance
> dentry so that driver can create debugfs entries under it.
>
> Signed-off-by: M Chetan Kumar <m.chetan.kumar@...ux.intel.com>
Reviewed-by: Loic Poulain <loic.poulain@...aro.org>
Powered by blists - more mailing lists