OSDN Git Service

media: videobuf2-dma-contig.c: remove spurious 'b' in message
authorHans Verkuil <hverkuil-cisco@xs4all.nl>
Mon, 17 Feb 2020 14:21:52 +0000 (15:21 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Mon, 2 Mar 2020 14:23:39 +0000 (15:23 +0100)
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>
drivers/media/common/videobuf2/videobuf2-dma-contig.c

index d0c9dff..d3a3ee5 100644 (file)
@@ -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;
        }