lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Tue, 7 Aug 2018 08:13:41 -0700
From:   Randy Dunlap <rdunlap@...radead.org>
To:     linux-media <linux-media@...r.kernel.org>,
        LKML <linux-kernel@...r.kernel.org>
Cc:     Jacopo Mondi <jacopo@...ndi.org>,
        Mauro Carvalho Chehab <mchehab@...nel.org>
Subject: [PATCH -next] media/i2c: fix mt9v111.c build error

From: Randy Dunlap <rdunlap@...radead.org>

Fix build error in mt9v111.c when
# CONFIG_VIDEO_V4L2_SUBDEV_API is not set

../drivers/media/i2c/mt9v111.c: In function ‘__mt9v111_get_pad_format’:
../drivers/media/i2c/mt9v111.c:801:3: error: implicit declaration of function ‘v4l2_subdev_get_try_format’ [-Werror=implicit-function-declaration]
   return v4l2_subdev_get_try_format(&mt9v111->sd, cfg, pad);

Signed-off-by: Randy Dunlap <rdunlap@...radead.org>
Cc: Jacopo Mondi <jacopo@...ndi.org>
---
 drivers/media/i2c/Kconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-next-20180807.orig/drivers/media/i2c/Kconfig
+++ linux-next-20180807/drivers/media/i2c/Kconfig
@@ -875,7 +875,7 @@ config VIDEO_MT9V032
 
 config VIDEO_MT9V111
 	tristate "Aptina MT9V111 sensor support"
-	depends on I2C && VIDEO_V4L2
+	depends on I2C && VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API
 	depends on MEDIA_CAMERA_SUPPORT
 	help
 	  This is a Video4Linux2 sensor driver for the Aptina/Micron


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ