Skip to content

Commit

Permalink
media: videobuf2-core: fix dprintk level
Browse files Browse the repository at this point in the history
This dprintk is supposed to be informational, not an error. Set it to
the same level as the other messages related to memory allocations so
the kernel log does not get filled by messages during normal operation.

Signed-off-by: Alexandre Courbot <acourbot@chromium.org>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
  • Loading branch information
Alexandre Courbot authored and Mauro Carvalho Chehab committed Mar 12, 2020
1 parent 791b7be commit 2362a3d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/media/common/videobuf2/videobuf2-core.c
Original file line number Diff line number Diff line change
@@ -393,8 +393,8 @@ static int __vb2_queue_alloc(struct vb2_queue *q, enum vb2_memory memory,
}
}

dprintk(1, "allocated %d buffers, %d plane(s) each\n",
buffer, num_planes);
dprintk(3, "allocated %d buffers, %d plane(s) each\n",
buffer, num_planes);

return buffer;
}

0 comments on commit 2362a3d

Please sign in to comment.