[PATCH v6 net-next 05/14] net: enetc: add debugfs interface to dump MAC filter

Wei Fang wei.fang at nxp.com
Wed Apr 30 11:36:15 AEST 2025


> [Some people who received this message don't often get email from
> timur at kernel.org. Learn why this is important at
> https://aka.ms/LearnAboutSenderIdentification ]
> 
> On Mon, Apr 28, 2025 at 6:19 AM Wei Fang <wei.fang at nxp.com> wrote:
> > +void enetc_remove_debugfs(struct enetc_si *si)
> > +{
> > +       debugfs_remove_recursive(si->debugfs_root);
> 
> You can just call debugfs_remove() here.  debugfs_remove_recursive()
> is deprecated:
> 
> void debugfs_remove(struct dentry *dentry);
> #define debugfs_remove_recursive debugfs_remove

Okay, I will replace it with debugfs_remove(), thanks



More information about the Linuxppc-dev mailing list