From: Vladimir Kondratiev Date: Thu, 30 Jul 2015 10:51:51 +0000 (+0300) Subject: wil6210: print "ulong" fields in hex format in the debugfs X-Git-Tag: microblaze-4.7-rc1~1489^2~124^2~10^2~24 X-Git-Url: http://git.monstr.eu/?a=commitdiff_plain;h=8ea06188fd8cb4c6bb85663b6dedcab22f7ffba7;p=linux-2.6-microblaze.git wil6210: print "ulong" fields in hex format in the debugfs In the debugfs, there is "ulong" attribute printing. It is used for bitmap printing, and more appropriate format would be hexadecimal, not decimal. Signed-off-by: Vladimir Kondratiev Signed-off-by: Kalle Valo --- diff --git a/drivers/net/wireless/ath/wil6210/debugfs.c b/drivers/net/wireless/ath/wil6210/debugfs.c index b862676de577..2651ec4fb620 100644 --- a/drivers/net/wireless/ath/wil6210/debugfs.c +++ b/drivers/net/wireless/ath/wil6210/debugfs.c @@ -306,7 +306,7 @@ static int wil_debugfs_ulong_get(void *data, u64 *val) } DEFINE_SIMPLE_ATTRIBUTE(wil_fops_ulong, wil_debugfs_ulong_get, - wil_debugfs_ulong_set, "%llu\n"); + wil_debugfs_ulong_set, "0x%llx\n"); static struct dentry *wil_debugfs_create_ulong(const char *name, umode_t mode, struct dentry *parent,