mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-11 07:39:47 +00:00
remoteproc: Use %pe format string to print return error code
Use %pe format string to print return error code which make the error message easier to understand. Signed-off-by: Mark-PK Tsai <mark-pk.tsai@mediatek.com> Link: https://lore.kernel.org/r/20211102141535.28372-1-mark-pk.tsai@mediatek.com Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org> [Fixed capital letter in subject line] Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
This commit is contained in:
parent
fa55b7dcdc
commit
7efb14256d
@ -577,8 +577,8 @@ static int rproc_handle_vdev(struct rproc *rproc, void *ptr,
|
||||
dma_get_mask(rproc->dev.parent));
|
||||
if (ret) {
|
||||
dev_warn(dev,
|
||||
"Failed to set DMA mask %llx. Trying to continue... %x\n",
|
||||
dma_get_mask(rproc->dev.parent), ret);
|
||||
"Failed to set DMA mask %llx. Trying to continue... (%pe)\n",
|
||||
dma_get_mask(rproc->dev.parent), ERR_PTR(ret));
|
||||
}
|
||||
|
||||
/* parse the vrings */
|
||||
|
Loading…
x
Reference in New Issue
Block a user