From: Wang Wenhu Date: Mon, 25 May 2020 06:29:51 +0000 (-0700) Subject: drivers: ipa: print dev_err info accurately X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=07153961f82878dee73717f64761d67dff9546c1;p=linux.git 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 Cc: Alex Elder Reviewed-by: Alex Elder Signed-off-by: David S. Miller --- diff --git a/drivers/net/ipa/ipa_clock.c b/drivers/net/ipa/ipa_clock.c index 374491ea11cfd..c5204fd58ac4b 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; }