summaryrefslogtreecommitdiffstats
path: root/drivers/staging/media/atomisp/pci/atomisp2/css2400
diff options
context:
space:
mode:
authorShaokun Zhang2018-04-17 14:08:09 +0200
committerMauro Carvalho Chehab2018-05-16 16:27:04 +0200
commit22457cb2de13d9ca0e4a273f7a119a9702b4b537 (patch)
treec2791e8e781943ed7b9cd852323e9fa3cf56fcb7 /drivers/staging/media/atomisp/pci/atomisp2/css2400
parentmedia: staging: atomisp: Using module_pci_driver (diff)
downloadkernel-qcow2-linux-22457cb2de13d9ca0e4a273f7a119a9702b4b537.tar.gz
kernel-qcow2-linux-22457cb2de13d9ca0e4a273f7a119a9702b4b537.tar.xz
kernel-qcow2-linux-22457cb2de13d9ca0e4a273f7a119a9702b4b537.zip
media: atomisp: fix misleading addr information
IA_CSS_ERROR shows the ddr_buffer_addr as a decimal value with a '0x' prefix, which is somewhat misleading. Let's fix it to print hexadecimal, as was intended. Fixes: 158aeefc("[media] atomisp: Add __printf validation and fix fallout") Cc: Alan Cox <alan@linux.intel.com> Cc: Joe Perches <joe@perches.com> Signed-off-by: Shaokun Zhang <zhangshaokun@hisilicon.com> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'drivers/staging/media/atomisp/pci/atomisp2/css2400')
-rw-r--r--drivers/staging/media/atomisp/pci/atomisp2/css2400/sh_css.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/media/atomisp/pci/atomisp2/css2400/sh_css.c b/drivers/staging/media/atomisp/pci/atomisp2/css2400/sh_css.c
index c771e4b910f3..4bcc835880cf 100644
--- a/drivers/staging/media/atomisp/pci/atomisp2/css2400/sh_css.c
+++ b/drivers/staging/media/atomisp/pci/atomisp2/css2400/sh_css.c
@@ -4455,7 +4455,7 @@ ia_css_pipe_dequeue_buffer(struct ia_css_pipe *pipe,
ia_css_rmgr_rel_vbuf(hmm_buffer_pool, &hmm_buffer_record->h_vbuf);
sh_css_hmm_buffer_record_reset(hmm_buffer_record);
} else {
- IA_CSS_ERROR("hmm_buffer_record not found (0x%u) buf_type(%d)",
+ IA_CSS_ERROR("hmm_buffer_record not found (0x%x) buf_type(%d)",
ddr_buffer_addr, buf_type);
IA_CSS_LEAVE_ERR(IA_CSS_ERR_INTERNAL_ERROR);
return IA_CSS_ERR_INTERNAL_ERROR;