]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
media: videobuf2: Fix the size printk format
authorDillon Min <dillon.minfei@gmail.com>
Tue, 19 Oct 2021 08:43:19 +0000 (09:43 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 27 Jan 2022 08:04:17 +0000 (09:04 +0100)
commitb236413b93dee4cedce905fdf4e4d9a456233f72
tree184db85313cb4fe0445e3ba92a730d88a4d21339
parent9cb1e0c59f8e102cf4c65bc13eff8e1afcb04d2f
media: videobuf2: Fix the size printk format

[ Upstream commit c9ee220d76775e42f35d634479c978d9350077d3 ]

Since the type of parameter size is unsigned long,
it should printk by %lu, instead of %ld, fix it.

Fixes: 7952be9b6ece ("media: drivers/media/common/videobuf2: rename from videobuf")
Signed-off-by: Dillon Min <dillon.minfei@gmail.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/media/common/videobuf2/videobuf2-dma-contig.c