summaryrefslogtreecommitdiff
path: root/drivers/rpmsg
diff options
context:
space:
mode:
authorSouptick Joarder <jrdr.linux@gmail.com>2019-02-04 18:01:43 +0300
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2019-03-19 21:03:55 +0300
commitf14f6aa0b4423632ab76f3eed3a28159049451ef (patch)
tree8a525fce169c513bc2374bb5fffd87fd6e2c3f04 /drivers/rpmsg
parente6f8bd59c28f758feea403a70d6c3ef28c50959f (diff)
downloadlinux-f14f6aa0b4423632ab76f3eed3a28159049451ef.tar.xz
media: videobuf2: Return error after allocation failure
There is no point to continuing assignment after memory allocation failed, rather throw error immediately. Signed-off-by: Souptick Joarder <jrdr.linux@gmail.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> [hverkuil-cisco@xs4all.nl: rebase and remove empty line before the if] Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'drivers/rpmsg')
0 files changed, 0 insertions, 0 deletions