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 | 3471627f59e181c8b47983c50e2974d58259d801 (patch) | |
tree | 8a4761f3096f66ff59189cf43598d915b35527ce /target/linux/generic-2.6/files/drivers/net/phy/rtl8366rb.c | |
parent | e627f76251b1b37e9da7bc8ccd618813b77ebe40 (diff) | |
download | mtk-20170518-3471627f59e181c8b47983c50e2974d58259d801.zip mtk-20170518-3471627f59e181c8b47983c50e2974d58259d801.tar.gz mtk-20170518-3471627f59e181c8b47983c50e2974d58259d801.tar.bz2 |
generic: rtl8366: change format string for debugfs error messages
SVN-Revision: 21909
Diffstat (limited to 'target/linux/generic-2.6/files/drivers/net/phy/rtl8366rb.c')
-rw-r--r-- | target/linux/generic-2.6/files/drivers/net/phy/rtl8366rb.c | 14 |
1 files changed, 8 insertions, 6 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 1069225..fd8b7e4 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; } } |