summaryrefslogtreecommitdiff
path: root/arch/openrisc
diff options
context:
space:
mode:
authorRicardo Ribalda <ribalda@chromium.org>2021-03-09 21:51:08 +0100
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2021-03-22 13:03:24 +0100
commit9cc25c4bea9e78e5f2d96977adede00a7dafb320 (patch)
tree3973eaf74279acd1f2dc03c00447ec5622082b5c /arch/openrisc
parenta9e3863d0006ddad14e6b5745cb1a04e9801885f (diff)
media: videobuf2: Exit promptly if size = 0
Exit as soon as possible if a driver wants to allocate a buffer of size 0, and print a warning to help fixing the issue. Signed-off-by: Ricardo Ribalda <ribalda@chromium.org> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'arch/openrisc')
0 files changed, 0 insertions, 0 deletions