Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp3091288rwb; Mon, 15 Aug 2022 17:54:57 -0700 (PDT) X-Google-Smtp-Source: AA6agR7CODjx5k6ebcvsZAeyTGzYmgF7JwtEjw3pc0WxWMzdo0KGkgxx8drHNVUmncg6aOjfOY8V X-Received: by 2002:a17:907:d1f:b0:730:95c0:6cbc with SMTP id gn31-20020a1709070d1f00b0073095c06cbcmr11993992ejc.395.1660611297268; Mon, 15 Aug 2022 17:54:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660611297; cv=none; d=google.com; s=arc-20160816; b=z1j7/yIdBglHOv5xAlxnWNi5kKjhaXjnLZEKYsDUmbQ1SdDZnB7JZGLfLIt3Zy4kEn usReWV/and2cZgsewSeg/yT1aZwRER3ftTlCeOP8e/dfRdHq5b9rkCfVg6+d/GCQWJas JEA3Lia/cd8uQXhlmDy8rXkTCqY4VHP+nk5RfSgZaa0pQHcN9fmdV97Vf5E18xS/Zmrb dkcnDm3YGQBsfV9a5fQncTpGTF/wzRcTGULUZp98Oqk+/xTfbQ8YJNB8QLOXOtJMHvy+ LCYLBXWMVJFWvef2U0ox0bd04d36s3N2okuzkWrZbY4iXlo+TF5sw/+KK5lDiXS62Cbr dZcQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=wjh+98qeeJXOrDpAFyS+k4MFsFxf2AoaoY/Hf80FD3M=; b=rRlkQK67R0KZ8xOA+sWW5gEErDUMsw4iBwe+cOpSlexrM6T4Dn1IT2+e1iOSi0FISX u7dDp3ZrbNt0HNAfxvT3cWONArd97B7ElH2IdgJcHOMWcNsfvLWVx8S2+UZw5nHqAiBn qmJypuDskzEat4g15SKRmL7BWXXnf7x4YGH45vG/WruViVa9YKwRRzQsL/NReJJyeZ8p c12MDj/nLtfu6DLHBJkseoRCJRn48wFfzcA6ui4cudFmBTK2LCTbrItNLkPNK0L5bumZ Kl2ouRDEqgBM/V11VLowYZ8Y3WRlXCrVUVAzWmH59exmGgF+rjtxTL55MBiKTp+bateT j8Vg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=ztnl8Ebb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n15-20020a50934f000000b004422925e5bfsi7517688eda.468.2022.08.15.17.54.31; Mon, 15 Aug 2022 17:54:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=ztnl8Ebb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343925AbiHOXcv (ORCPT + 99 others); Mon, 15 Aug 2022 19:32:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39020 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344322AbiHOX0P (ORCPT ); Mon, 15 Aug 2022 19:26:15 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3C695F1D; Mon, 15 Aug 2022 13:06:45 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id E725FB80EAB; Mon, 15 Aug 2022 20:06:43 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 24CB9C433C1; Mon, 15 Aug 2022 20:06:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1660594002; bh=WAf3ZSO5shxq7PVfVRW+WmBj2+poWZn6XaTsKUbP89M=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ztnl8Ebbm6a9xwsH6ET1RONxVu/6E72WbKvRHWOFQqCbOxEvBTPIgDuQYIXdWUC5+ vDCnEScv8hLc7MvLZ9g67FzXbnGzmt640zQ4QjXMIZ/W0XIh38uzXGJawVsbNZpj5H 9X/pAhqYhRWp+Tf//M8Qqm6itqdFLGorT8zchWQ0= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Zheng Bin , Robert Foss , Sasha Levin Subject: [PATCH 5.19 0360/1157] drm/bridge: it6505: Add missing CRYPTO_HASH dependency Date: Mon, 15 Aug 2022 19:55:16 +0200 Message-Id: <20220815180454.116066919@linuxfoundation.org> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220815180439.416659447@linuxfoundation.org> References: <20220815180439.416659447@linuxfoundation.org> User-Agent: quilt/0.67 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Zheng Bin [ Upstream commit abf0ba5a34eae0d7359228f4319a6659676fbd0a ] 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 Reviewed-by: Robert Foss Signed-off-by: Robert Foss Link: https://patchwork.freedesktop.org/patch/msgid/20220613150653.1310029-1-zhengbin13@huawei.com Signed-off-by: Sasha Levin --- 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 449b1b5a76ac..745c68735dd2 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.35.1