summaryrefslogtreecommitdiffstats
path: root/drivers/net/ipa
diff options
context:
space:
mode:
authorWang Wenhu <wenhu.wang@vivo.com>2020-05-24 23:29:51 -0700
committerDavid S. Miller <davem@davemloft.net>2020-05-25 18:03:56 -0700
commit07153961f82878dee73717f64761d67dff9546c1 (patch)
tree41c8333b1fdb9fc21e2e5f4188f2ebfee15a0375 /drivers/net/ipa
parenteabd5c9dd0c0b8d471d144801c8302a4eff6eb27 (diff)
downloadlinux-07153961f82878dee73717f64761d67dff9546c1.tar.bz2
drivers: ipa: print dev_err info accurately
Print certain name string instead of hard-coded "memory" for dev_err output, which would be more accurate and helpful for debugging. Signed-off-by: Wang Wenhu <wenhu.wang@vivo.com> Cc: Alex Elder <elder@kernel.org> Reviewed-by: Alex Elder <elder@linaro.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ipa')
-rw-r--r--drivers/net/ipa/ipa_clock.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ipa/ipa_clock.c b/drivers/net/ipa/ipa_clock.c
index 374491ea11cf..c5204fd58ac4 100644
--- a/drivers/net/ipa/ipa_clock.c
+++ b/drivers/net/ipa/ipa_clock.c
@@ -66,8 +66,8 @@ ipa_interconnect_init_one(struct device *dev, const char *name)
path = of_icc_get(dev, name);
if (IS_ERR(path))
- dev_err(dev, "error %ld getting memory interconnect\n",
- PTR_ERR(path));
+ dev_err(dev, "error %ld getting %s interconnect\n",
+ PTR_ERR(path), name);
return path;
}