Re: [PATCH 1/3] DEBUGFS: Automatically create parents for debugfsfiles v2

From: Greg KH
Date: Mon Dec 12 2011 - 17:31:53 EST


On Fri, Dec 02, 2011 at 12:02:46PM -0800, Andi Kleen wrote:
> From: Andi Kleen <ak@xxxxxxxxxxxxxxx>
>
> Allow passing path names to debugfs_create* and automatically create
> the parents. This makes it much simpler for the caller to create hierarchies.
>
> The way the reference counts are handled is admittedly a bit ugly.
>
> There is no way to clean them up currently other than to delete the tree,
> but that doesn't seem like a big problem for debugfs to leave
> behind a few empty directories.
>
> v2: Comment fixes based on review comments.
> Signed-off-by: Andi Kleen <ak@xxxxxxxxxxxxxxx>

git, and checkpatch.pl complain a lot about this patch, care to fix up
the issues and resend it?

thanks,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/