From patchwork Fri May 19 13:42:33 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: JiaJie Ho X-Patchwork-Id: 96438 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp1252943vqo; Fri, 19 May 2023 06:55:26 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7TJpnL//SwIWFH9AaR9OXz/fZ6pc/6V6OiqVGt6xbK2ol9WA7M/h7ZsXhJCNJ09SNQxxch X-Received: by 2002:a17:902:d50e:b0:1aa:dd14:da98 with SMTP id b14-20020a170902d50e00b001aadd14da98mr2465442plg.50.1684504526177; Fri, 19 May 2023 06:55:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684504526; cv=none; d=google.com; s=arc-20160816; b=RQCiVPwFZckHszSSJSAhnRBx9rpnyzbDB6dcHMeyI1lLWtDEGzQbztA5ESETx6EiWl trTTjeCsg+hXgkcRCVTcr9beclltiKaq2+CukZCMYRjjxbhtz9gQu0J7cckdIL7P7vfe plEGTwKImb4dLd+cqNviMyL80gPguKUURjMKX5Vp+CcbwGunD+D5INA5qdQKDa/WvcN8 rkudMefYPb09hg8Bpo3NZOu3EXEjnwczQwBxg147vMJ9UPUvoI8ZOR90P2+AMBEx3YE3 hD/QHRWH4jXSPbx25tXx7SRgaE6l4RRdrUTY54puW1nd8SUcmkeLlqMQZR3BCKigBzT9 2ciw== 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 :message-id:date:subject:cc:to:from; bh=rov7l36boOV7qKUrV9YSRSwwHSQuB8APXJ+cWu/7SoE=; b=Mv7xJOFosP/UB/H3jBhpgdyKpQJ9sZMlbrQEk0/ptJMC3P7/PluUuG3QUkpNIQyoL4 m/bLjOmpP++wyXJXVcKHqrkBgCWPgUssJG4KGZOmPbb+8PfCGPlFbbPZUrag4wV8Ua0q 5lfnTTCp4j6JjBWbeTbBReNUpDQZZvPKtQtAAiPP2SCcrVmO9kRvGmOpXGG87pOj/WOs hItxr9UzYFEyRvqwU9CLUiKkXu7YRx4DCpomMURTlrnVBHL4v8EfEZIvHDzP9LWyxlaW etcC+9jPkMLF4LlUVJ8j8UcQH+JABF8AvGbGkQ7mos5AzRwFLEI4bL9tqUU3kvQqufhR LU0g== ARC-Authentication-Results: i=1; mx.google.com; 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l13-20020a170903120d00b001a654cdcce0si3814610plh.103.2023.05.19.06.55.10; Fri, 19 May 2023 06:55:25 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231726AbjESNnB convert rfc822-to-8bit (ORCPT + 99 others); Fri, 19 May 2023 09:43:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57922 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229981AbjESNm6 (ORCPT ); Fri, 19 May 2023 09:42:58 -0400 Received: from fd01.gateway.ufhost.com (fd01.gateway.ufhost.com [61.152.239.71]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7CD3BAA; Fri, 19 May 2023 06:42:55 -0700 (PDT) Received: from EXMBX166.cuchost.com (unknown [175.102.18.54]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "EXMBX166", Issuer "EXMBX166" (not verified)) by fd01.gateway.ufhost.com (Postfix) with ESMTP id 36C8C24DC0A; Fri, 19 May 2023 21:42:46 +0800 (CST) Received: from EXMBX168.cuchost.com (172.16.6.78) by EXMBX166.cuchost.com (172.16.6.76) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Fri, 19 May 2023 21:42:46 +0800 Received: from ubuntu.localdomain (161.142.156.50) by EXMBX168.cuchost.com (172.16.6.78) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Fri, 19 May 2023 21:42:36 +0800 From: Jia Jie Ho To: Herbert Xu , "David S . Miller" CC: , Subject: [PATCH] crypto: starfive - Fix driver dependencies Date: Fri, 19 May 2023 21:42:33 +0800 Message-ID: <20230519134233.108251-1-jiajie.ho@starfivetech.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Originating-IP: [161.142.156.50] X-ClientProxiedBy: EXCAS062.cuchost.com (172.16.6.22) To EXMBX168.cuchost.com (172.16.6.78) X-YovoleRuleAgent: yovoleflag X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_PASS, 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1766331018201850202?= X-GMAIL-MSGID: =?utf-8?q?1766331018201850202?= Kconfig updated to depend on DMADEVICES instead of selecting it. Reported-by: kernel test robot Link: https://lore.kernel.org/oe-kbuild-all/202305191929.Eq4OVZ6D-lkp@intel.com/ Signed-off-by: Jia Jie Ho --- drivers/crypto/starfive/Kconfig | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/crypto/starfive/Kconfig b/drivers/crypto/starfive/Kconfig index d664757b7ec1..16fd6a0aa1d7 100644 --- a/drivers/crypto/starfive/Kconfig +++ b/drivers/crypto/starfive/Kconfig @@ -4,7 +4,7 @@ config CRYPTO_DEV_JH7110 tristate "StarFive JH7110 cryptographic engine driver" - depends on SOC_STARFIVE || COMPILE_TEST + depends on (SOC_STARFIVE || COMPILE_TEST) && DMADEVICES select CRYPTO_ENGINE select CRYPTO_HMAC select CRYPTO_SHA256 @@ -12,7 +12,6 @@ config CRYPTO_DEV_JH7110 select CRYPTO_SM3_GENERIC select CRYPTO_RSA select ARM_AMBA - select DMADEVICES select AMBA_PL08X help Support for StarFive JH7110 crypto hardware acceleration engine.