forked from luck/tmp_suning_uos_patched
media: videobuf2-dma-contig.c: remove spurious 'b' in message
Remove a spurious 'b' in the "contiguous chunk is too small %lu/%lu b" message. Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
This commit is contained in:
parent
dea42fb79f
commit
364152dd9c
|
@ -593,8 +593,8 @@ static int vb2_dc_map_dmabuf(void *mem_priv)
|
|||
/* checking if dmabuf is big enough to store contiguous chunk */
|
||||
contig_size = vb2_dc_get_contiguous_size(sgt);
|
||||
if (contig_size < buf->size) {
|
||||
pr_err("contiguous chunk is too small %lu/%lu b\n",
|
||||
contig_size, buf->size);
|
||||
pr_err("contiguous chunk is too small %lu/%lu\n",
|
||||
contig_size, buf->size);
|
||||
dma_buf_unmap_attachment(buf->db_attach, sgt, buf->dma_dir);
|
||||
return -EFAULT;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user