projects
/
openwrt-10.03
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ar71xx: sync ethernet driver changes with trunk to fix MDIO issues on ar7240
[openwrt-10.03/.git]
/
target
/
linux
/
ar71xx
/
files
/
drivers
/
net
/
ag71xx
/
ag71xx_debugfs.c
diff --git
a/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx_debugfs.c
b/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx_debugfs.c
index c37265e7b163bf8707dd6828ab32f7fd90d0af56..8111cad3557dd2d4a5e06ed9b4e528db2bfd024d 100644
(file)
--- a/
target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx_debugfs.c
+++ b/
target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx_debugfs.c
@@
-44,8
+44,8
@@
void ag71xx_debugfs_update_int_stats(struct ag71xx *ag, u32 status)
static ssize_t read_file_int_stats(struct file *file, char __user *user_buf,
size_t count, loff_t *ppos)
{
static ssize_t read_file_int_stats(struct file *file, char __user *user_buf,
size_t count, loff_t *ppos)
{
-#define PR_INT_STAT(_label, _field) \
- len += snprintf(buf + len, sizeof(buf) - len, \
+#define PR_INT_STAT(_label, _field) \
+ len += snprintf(buf + len, sizeof(buf) - len, \
"%20s: %10lu\n", _label, ag->debug.int_stats._field);
struct ag71xx *ag = file->private_data;
"%20s: %10lu\n", _label, ag->debug.int_stats._field);
struct ag71xx *ag = file->private_data;
@@
-173,7
+173,7
@@
int ag71xx_debugfs_init(struct ag71xx *ag)
return 0;
return 0;
-
err:
+err:
ag71xx_debugfs_exit(ag);
return -ENOMEM;
}
ag71xx_debugfs_exit(ag);
return -ENOMEM;
}