[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAG3jFysx_sS2QAdh2G9xivD8OjNXRPn1H0zVq=1V4P7yi7UoOw@mail.gmail.com>
Date: Wed, 15 Jun 2022 18:31:02 +0200
From: Robert Foss <robert.foss@...aro.org>
To: Zheng Bin <zhengbin13@...wei.com>
Cc: andrzej.hajda@...el.com, narmstrong@...libre.com,
Laurent.pinchart@...asonboard.com, jonas@...boo.se,
jernej.skrabec@...il.com, airlied@...ux.ie, daniel@...ll.ch,
angelogioacchino.delregno@...labora.com,
dri-devel@...ts.freedesktop.org, linux-kernel@...r.kernel.org,
gaochao49@...wei.com
Subject: Re: [PATCH -next] drm/bridge: it6505: Add missing CRYPTO_HASH dependency
On Mon, 13 Jun 2022 at 16:54, Zheng Bin <zhengbin13@...wei.com> wrote:
>
> The driver uses crypto hash functions so it needs to select CRYPTO_HASH.
> This fixes build errors:
>
> drivers/gpu/drm/bridge/ite-it6505.o: in function `it6505_hdcp_wait_ksv_list':
> ite-it6505.c:(.text+0x4c26): undefined reference to `crypto_alloc_shash'
> ite-it6505.c:(.text+0x4c6d): undefined reference to `crypto_shash_digest'
> ite-it6505.c:(.text+0x4c7d): undefined reference to `crypto_destroy_tfm'
> ite-it6505.c:(.text+0x4d69): undefined reference to `crypto_destroy_tfm'
>
> Fixes: b5c84a9edcd4 ("drm/bridge: add it6505 driver")
> Signed-off-by: Zheng Bin <zhengbin13@...wei.com>
> ---
> drivers/gpu/drm/bridge/Kconfig | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/drivers/gpu/drm/bridge/Kconfig b/drivers/gpu/drm/bridge/Kconfig
> index 8ffd601e68f9..1afe99dac0ff 100644
> --- a/drivers/gpu/drm/bridge/Kconfig
> +++ b/drivers/gpu/drm/bridge/Kconfig
> @@ -94,6 +94,8 @@ config DRM_ITE_IT6505
> select DRM_KMS_HELPER
> select DRM_DP_HELPER
> select EXTCON
> + select CRYPTO
> + select CRYPTO_HASH
> help
> ITE IT6505 DisplayPort bridge chip driver.
>
> --
> 2.31.1
>
Reviewed-by: Robert Foss <robert.foss@...aro.org>
Applied to drm-misc-next
Powered by blists - more mailing lists