]> git.baikalelectronics.ru Git - kernel.git/commit
media: sun6i-csi: add a missing return code
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 10 Jun 2021 06:20:16 +0000 (08:20 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 17 Jun 2021 07:25:48 +0000 (09:25 +0200)
commit6ee677f5a27341f3a8b3ecbd10def44882fd1061
tree4e71ab571a40cb96d6bcde5bc01504c3da950d41
parentc40f4bd1fb462a1f2dac21711a3e4e1facf50aca
media: sun6i-csi: add a missing return code

As pointed by smatch, there's a missing return code:

drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c:485 sun6i_video_open() warn: missing error code 'ret'

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c