Re: [PATCH] debugfs: Revamp debugfs_create_{u,x,s}{8,16,32,64} tosupport signed integers

From: Greg KH
Date: Sun Dec 16 2007 - 12:04:57 EST


On Sun, Dec 16, 2007 at 05:37:59PM +0100, Mattias Nissler wrote:
> This makes debugfs use its own file_operations for the value accessor files
> created by debugfs_create_XXX. Having that, we can also have proper versions
> for signed integers.

Why not tweak the "SIMPLE_ATTRIBUTE" code to support this instead? That
way debugfs and all other filesystems could also use these attributes?

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/