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:   Tue, 27 Jun 2017 22:45:58 +0300
From:   Stanimir Varbanov <stanimir.varbanov@...aro.org>
To:     Arnd Bergmann <arnd@...db.de>,
        Mauro Carvalho Chehab <mchehab@...nel.org>
Cc:     linux-media@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 3/3] [media] venus: fix compile-test build on non-qcom ARM
 platform

Hi Arnd,

On 27.06.2017 18:02, Arnd Bergmann wrote:
> If QCOM_MDT_LOADER is enabled, but ARCH_QCOM is not, we run into
> a build error:
> 
> ERROR: "qcom_mdt_load" [drivers/media/platform/qcom/venus/venus-core.ko] undefined!
> ERROR: "qcom_mdt_get_size" [drivers/media/platform/qcom/venus/venus-core.ko] undefined!

Ahh, thanks for the fix, these two will also pursuing me in my dreams.

> 
> This changes the 'select' statement again, so we only try to enable
> those symbols when the drivers will actually get built.
> 
> Fixes: 76724b30f222 ("[media] media: venus: enable building with COMPILE_TEST")
> Signed-off-by: Arnd Bergmann <arnd@...db.de>

Reviewed-by: Stanimir Varbanov <stanimir.varbanov@...aro.org>

> ---
>   drivers/media/platform/Kconfig | 4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/media/platform/Kconfig b/drivers/media/platform/Kconfig
> index cb2f31cd0088..635c53e61f8a 100644
> --- a/drivers/media/platform/Kconfig
> +++ b/drivers/media/platform/Kconfig
> @@ -475,8 +475,8 @@ config VIDEO_QCOM_VENUS
>   	tristate "Qualcomm Venus V4L2 encoder/decoder driver"
>   	depends on VIDEO_DEV && VIDEO_V4L2 && HAS_DMA
>   	depends on (ARCH_QCOM && IOMMU_DMA) || COMPILE_TEST
> -	select QCOM_MDT_LOADER if (ARM || ARM64)
> -	select QCOM_SCM if (ARM || ARM64)
> +	select QCOM_MDT_LOADER if ARCH_QCOM
> +	select QCOM_SCM if ARCH_QCOM
>   	select VIDEOBUF2_DMA_SG
>   	select V4L2_MEM2MEM_DEV
>   	---help---
> 

regards,
Stan

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ