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>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Sun, 1 Dec 2013 20:25:13 +0100
From:	Pali Rohár <pali.rohar@...il.com>
To:	Pavel Machek <pavel@....cz>
Cc:	sre@...g0.de, sre@...ian.org,
	kernel list <linux-kernel@...r.kernel.org>
Subject: Re: Compile failure on linux-n900 branch -- MEDIA_CAMERA_SUPPORT needed for n900 compilation

On Sunday 01 December 2013 20:21:20 Pavel Machek wrote:
> Hi!
> 
> I just hit this one:
> 
>   CC      arch/arm/mach-omap2/board-rx51-camera.o
> In file included from
> arch/arm/mach-omap2/board-rx51-camera.c:34:0:
> arch/arm/mach-omap2/../../../drivers/media/platform/omap3isp/
> isp.h: In function 'isp_pad_buffer_type':
> arch/arm/mach-omap2/../../../drivers/media/platform/omap3isp/i
> sp.h:347:19: error: 'const struct v4l2_subdev' has no member
> named 'entity'
> arch/arm/mach-omap2/../../../drivers/media/platform/omap3isp/
> isp.h:350:12: error: 'const struct v4l2_subdev' has no member
> named 'entity' make[1]: ***
> [arch/arm/mach-omap2/board-rx51-camera.o] Error 1 make: ***
> [arch/arm/mach-omap2] Error 2
> make: *** Waiting for unfinished jobs....
> Command exited with non-zero status 2
> 
> Problem seems to be that isp.h expects CONFIG_MEDIA_CONTROLLER
> to be set, but board-rx51-camera.c is always compiled. We
> could do
> 
> config MACH_NOKIA_RX51
>         bool "Nokia N900 (RX-51) phone"
> -        depends on ARCH_OMAP3
> +        depends on ARCH_OMAP3 && MEDIA_CONTROLLER
>         default y
> 	select OMAP_PACKAGE_CBB
> 
> ...but that's cruel to the user. Would this be acceptable?
> 
> config MACH_NOKIA_RX51
>         bool "Nokia N900 (RX-51) phone"
>         depends on ARCH_OMAP3
>         default y
> 	select OMAP_PACKAGE_CBB
> +	select MEDIA_CONTROLLER
> +       select MEDIA_CAMERA_SUPPORT
> 
> 									Pavel

board-rx51-camera.c is not part of mainline kernel and will never 
be (due to DT migration). So maybe it could be better to add 
#ifdef to board-rx51-camera.c. Keeping changes for Makefile/Kconfig 
files is harder because of future rebase...

-- 
Pali Rohár
pali.rohar@...il.com

Download attachment "signature.asc " of type "application/pgp-signature" (199 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ