From: Inaky Perez-Gonzalez Date: Sun, 21 Dec 2008 00:57:39 +0000 (-0800) Subject: debugfs: add helpers for exporting a size_t simple value X-Git-Tag: v2.6.29-rc1~182^2~28 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5e07878787ad07361571150230cc3a8d522ae046;p=pandora-kernel.git debugfs: add helpers for exporting a size_t simple value In the same spirit as debugfs_create_*(), introduce helpers for exporting size_t values over debugfs. The only trick done is that the format verifier is kept at %llu instead of %zu; otherwise type warnings would pop up: format ‘%zu’ expects type ‘size_t’, but argument 2 has type ‘long long unsigned int’ There is no real way to fix this one--however, we can consider %llu and %zu to be compatible if we consider that we are using the same for validating in debugfs_create_{x,u}{8,16,32}(). Signed-off-by: Inaky Perez-Gonzalez Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed