diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2010-06-26 19:15:52 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2010-06-26 19:15:52 +0000 |
commit | b481092d7ea234bffea0d0bb1580de20c484f31f (patch) | |
tree | 5313b26a9a98e6f05a392b80d0a04ce4a756f923 /target | |
parent | df9fad877c7160ba4577874f8c163de8d4a76040 (diff) | |
download | master-187ad058-b481092d7ea234bffea0d0bb1580de20c484f31f.tar.gz master-187ad058-b481092d7ea234bffea0d0bb1580de20c484f31f.tar.bz2 master-187ad058-b481092d7ea234bffea0d0bb1580de20c484f31f.zip |
generic: rtl8366: change format string for debugfs error messages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21909 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-rw-r--r-- | target/linux/generic-2.6/files/drivers/net/phy/rtl8366rb.c | 14 | ||||
-rw-r--r-- | target/linux/generic-2.6/files/drivers/net/phy/rtl8366s.c | 14 |
2 files changed, 16 insertions, 12 deletions
diff --git a/target/linux/generic-2.6/files/drivers/net/phy/rtl8366rb.c b/target/linux/generic-2.6/files/drivers/net/phy/rtl8366rb.c index 1069225d20..fd8b7e49d1 100644 --- a/target/linux/generic-2.6/files/drivers/net/phy/rtl8366rb.c +++ b/target/linux/generic-2.6/files/drivers/net/phy/rtl8366rb.c @@ -954,30 +954,32 @@ static void rtl8366rb_debugfs_init(struct rtl8366rb *rtl) node = debugfs_create_x16("reg", S_IRUGO | S_IWUSR, root, &gl_dbg_reg); if (!node) { - dev_err(rtl->parent, "Creating debugfs file reg failed\n"); + dev_err(rtl->parent, "Creating debugfs file '%s' failed\n", + "reg"); return; } node = debugfs_create_file("val", S_IRUGO | S_IWUSR, root, rtl, &fops_rtl8366rb_regs); if (!node) { - dev_err(rtl->parent, "Creating debugfs file val failed\n"); + dev_err(rtl->parent, "Creating debugfs file '%s' failed\n", + "val"); return; } node = debugfs_create_file("vlan", S_IRUSR, root, rtl, &fops_rtl8366rb_vlan); if (!node) { - dev_err(rtl->parent, - "Creating debugfs file vlan failed\n"); + dev_err(rtl->parent, "Creating debugfs file '%s' failed\n", + "vlan"); return; } node = debugfs_create_file("mibs", S_IRUSR, root, rtl, &fops_rtl8366rb_mibs); if (!node) { - dev_err(rtl->parent, - "Creating debugfs file mibs failed\n"); + dev_err(rtl->parent, "Creating debugfs file '%s' failed\n", + "mibs"); return; } } diff --git a/target/linux/generic-2.6/files/drivers/net/phy/rtl8366s.c b/target/linux/generic-2.6/files/drivers/net/phy/rtl8366s.c index f30a5a3c6d..c4ba2c11ef 100644 --- a/target/linux/generic-2.6/files/drivers/net/phy/rtl8366s.c +++ b/target/linux/generic-2.6/files/drivers/net/phy/rtl8366s.c @@ -922,30 +922,32 @@ static void rtl8366s_debugfs_init(struct rtl8366s *rtl) node = debugfs_create_x16("reg", S_IRUGO | S_IWUSR, root, &g_dbg_reg); if (!node) { - dev_err(rtl->parent, "Creating debugfs file reg failed\n"); + dev_err(rtl->parent, "Creating debugfs file '%s' failed\n", + "reg"); return; } node = debugfs_create_file("val", S_IRUGO | S_IWUSR, root, rtl, &fops_rtl8366s_regs); if (!node) { - dev_err(rtl->parent, "Creating debugfs file val failed\n"); + dev_err(rtl->parent, "Creating debugfs file '%s' failed\n", + "val"); return; } node = debugfs_create_file("vlan", S_IRUSR, root, rtl, &fops_rtl8366s_vlan); if (!node) { - dev_err(rtl->parent, - "Creating debugfs file vlan failed\n"); + dev_err(rtl->parent, "Creating debugfs file '%s' failed\n", + "vlan"); return; } node = debugfs_create_file("mibs", S_IRUSR, root, rtl, &fops_rtl8366s_mibs); if (!node) { - dev_err(rtl->parent, - "Creating debugfs file mibs failed\n"); + dev_err(rtl->parent, "Creating debugfs file '%s' failed\n", + "mibs"); return; } } |