Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp90882pxb; Tue, 24 Aug 2021 21:11:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx4kgSJJ4zCiuob/T4cgcHbBOFgjR67oGyJ/d0T8RbPuKWQ9HpIADbF9EQzgnQZ7h97wTqM X-Received: by 2002:a02:c055:: with SMTP id u21mr2919209jam.113.1629864693678; Tue, 24 Aug 2021 21:11:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629864693; cv=none; d=google.com; s=arc-20160816; b=cPestAPjAYT5MpuYOstlo5XUvOEb8iSYL0GozsudFsBi8in9Pcenb0YSZOxa0FVxI3 1QXVi7CNm7JaZJnjneTJF3bdCKS3Ts8SSlfFbm6qfK5yG6iQcSFuTAokPZcwuJ5HiepB +9fujzzZR4UcLCts565yflfjKYTj0dr1BN2iwrrLqxChMiMVyH1DTjMM16FLPlp3h+Ms aFwLrwBYjYOIdK/IFQWj2HdqB62ETvXem/jogS6p4MTpnK6ASCX3HngNGKvRZrWEASQH KjUHfNIaSgyRMqlHdVtTRjiX/F682scGmQb4tVCajK6AkrYRpI/hibgB87oOtOQrCuwH TMOw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=e3zXXdwk55iHJ6+rHuBfHMh0aBtly8kSqRcaSnoQuZM=; b=SIL/YkNBjPsdqGKyvDooxLWFD42lOqtyq2pMSOnaDj8FRma/pF9ai4fcpnOHxCeve1 TVoHtys/1brWxbpZ+DeuKo0x06WyRFIKmPMzxHJTkEk3riTweH6GcWnXk3WVvLiXCSk6 RpcTINNMKvr6OykAb28TrXU69bV7tyrpyY9uYBlzPOGWS513rJIxaHHquG+W4j/4Lm+Q UXuzEMeTAb3cT87xgh0IlofRNiiJArb/9WfPWVubVIWW8HhedUkIRsgp0YQKXxVS3zv0 LuG1Elot+G1ln9XV2Fln8/lw3IpxtkfAlBtq3lSsc7Rx4PIL34b99AqolE1uA0+neqSi pwBA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c1si21931333ilo.83.2021.08.24.21.11.09; Tue, 24 Aug 2021 21:11:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229899AbhHYEG4 (ORCPT + 99 others); Wed, 25 Aug 2021 00:06:56 -0400 Received: from mx21.baidu.com ([220.181.3.85]:53112 "EHLO baidu.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S229826AbhHYEGs (ORCPT ); Wed, 25 Aug 2021 00:06:48 -0400 Received: from BJHW-Mail-Ex15.internal.baidu.com (unknown [10.127.64.38]) by Forcepoint Email with ESMTPS id 2690E62C50AA80D86CC8; Wed, 25 Aug 2021 12:06:00 +0800 (CST) Received: from BJHW-MAIL-EX27.internal.baidu.com (10.127.64.42) by BJHW-Mail-Ex15.internal.baidu.com (10.127.64.38) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14; Wed, 25 Aug 2021 12:05:59 +0800 Received: from LAPTOP-UKSR4ENP.internal.baidu.com (172.31.63.8) by BJHW-MAIL-EX27.internal.baidu.com (10.127.64.42) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14; Wed, 25 Aug 2021 12:05:59 +0800 From: Cai Huoqing To: , , , , , , , , CC: , Cai Huoqing Subject: [PATCH] hwrng: Add helper dependency on COMPILE_TEST Date: Wed, 25 Aug 2021 12:05:52 +0800 Message-ID: <20210825040552.2265-1-caihuoqing@baidu.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [172.31.63.8] X-ClientProxiedBy: BJHW-Mail-Ex08.internal.baidu.com (10.127.64.18) To BJHW-MAIL-EX27.internal.baidu.com (10.127.64.42) X-Baidu-BdMsfe-DateCheck: 1_BJHW-Mail-Ex15_2021-08-25 12:06:00:107 Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org it's helpful to do a complie test in other platform(e.g.X86) Signed-off-by: Cai Huoqing --- drivers/char/hw_random/Kconfig | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/char/hw_random/Kconfig b/drivers/char/hw_random/Kconfig index 239eca4d6805..814b3d0ca7b7 100644 --- a/drivers/char/hw_random/Kconfig +++ b/drivers/char/hw_random/Kconfig @@ -63,7 +63,7 @@ config HW_RANDOM_AMD config HW_RANDOM_ATMEL tristate "Atmel Random Number Generator support" - depends on ARCH_AT91 && HAVE_CLK && OF + depends on (ARCH_AT91 || COMPILE_TEST) && HAVE_CLK && OF default HW_RANDOM help This driver provides kernel-side support for the Random Number @@ -87,7 +87,7 @@ config HW_RANDOM_BA431 config HW_RANDOM_BCM2835 tristate "Broadcom BCM2835/BCM63xx Random Number Generator support" depends on ARCH_BCM2835 || ARCH_BCM_NSP || ARCH_BCM_5301X || \ - ARCH_BCM_63XX || BCM63XX || BMIPS_GENERIC + ARCH_BCM_63XX || BCM63XX || BMIPS_GENERIC || COMPILE_TEST default HW_RANDOM help This driver provides kernel-side support for the Random Number @@ -100,7 +100,7 @@ config HW_RANDOM_BCM2835 config HW_RANDOM_IPROC_RNG200 tristate "Broadcom iProc/STB RNG200 support" - depends on ARCH_BCM_IPROC || ARCH_BCM2835 || ARCH_BRCMSTB + depends on ARCH_BCM_IPROC || ARCH_BCM2835 || ARCH_BRCMSTB || COMPILE_TEST default HW_RANDOM help This driver provides kernel-side support for the RNG200 @@ -165,7 +165,7 @@ config HW_RANDOM_IXP4XX config HW_RANDOM_OMAP tristate "OMAP Random Number Generator support" - depends on ARCH_OMAP16XX || ARCH_OMAP2PLUS || ARCH_MVEBU || ARCH_K3 + depends on ARCH_OMAP16XX || ARCH_OMAP2PLUS || ARCH_MVEBU || ARCH_K3 || COMPILE_TEST default HW_RANDOM help This driver provides kernel-side support for the Random Number @@ -179,7 +179,7 @@ config HW_RANDOM_OMAP config HW_RANDOM_OMAP3_ROM tristate "OMAP3 ROM Random Number Generator support" - depends on ARCH_OMAP3 + depends on ARCH_OMAP3 || COMPILE_TEST default HW_RANDOM help This driver provides kernel-side support for the Random Number @@ -298,7 +298,7 @@ config HW_RANDOM_INGENIC_TRNG config HW_RANDOM_NOMADIK tristate "ST-Ericsson Nomadik Random Number Generator support" - depends on ARCH_NOMADIK + depends on ARCH_NOMADIK || COMPILE_TEST default HW_RANDOM help This driver provides kernel-side support for the Random Number -- 2.25.1