mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-17 01:34:00 +08:00
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>
This commit is contained in:
parent
eabd5c9dd0
commit
07153961f8
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user