Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

media: videobuf2-core: fix dprintk level

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>

authored by

Alexandre Courbot and committed by
Mauro Carvalho Chehab
2362a3d1 791b7be1

+2 -2
+2 -2
drivers/media/common/videobuf2/videobuf2-core.c
··· 393 393 } 394 394 } 395 395 396 - dprintk(1, "allocated %d buffers, %d plane(s) each\n", 397 - buffer, num_planes); 396 + dprintk(3, "allocated %d buffers, %d plane(s) each\n", 397 + buffer, num_planes); 398 398 399 399 return buffer; 400 400 }