Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2307958rwd; Fri, 16 Jun 2023 02:04:30 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4Q7AQLTahxm8o7Zg+D7lHlrJELnGpfRIIvXm1DqCKJI06hIMwnng8kxtgy9hH+g1PBD3kK X-Received: by 2002:a05:6a20:7493:b0:111:a0e5:d2b7 with SMTP id p19-20020a056a20749300b00111a0e5d2b7mr2165494pzd.4.1686906270295; Fri, 16 Jun 2023 02:04:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686906270; cv=none; d=google.com; s=arc-20160816; b=fr92cQU36xZHz+R0XPUhzINzZsDUp6EoU4k9/s6IJyNNa/X2xt5x3AatuYfn8sbFfE 1vcUqgHVE24WRqSIl4xXKcE+wDaS031B9DHOIomzukoIZKjewGh+l7V6oqm+Gpu4VUEE QrnxDilXyIvjZc7gsDHw6QXb+efoTMxaAC/pLOg8dxySSwcz2M3b8wvMloW9poA11xRq c82nSSLLrYTgZPt8cJXwrpmrFeBkZhwy7zCM1Tt4zB5Qeu2BglU/RvrkndXXlL7rAsFm XuSxjZW6Oi3d4oggDFBG7qwUO52DvRVrwPxVjn3tXG2c5L0Ht6lwIBgtNuDN1BErmzhf JKww== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=0dqlqltfb+eA0HK9C+h3BSlAItrQzz+SAzoTPEuzFqY=; b=Adch0FsOjogt1eTXjUScgiwKtVwTItvz1+fxFnYY06FDZcjPVvszig4uWIRtEEKLhj BIF4gTGZsom18z7hHtoUi3fvloSlg8Y4RZMFHtWVCovVpchHmvC4QUA6Pmywqpi31n1k 9+vfGnbeqe38uypCAOyHuGKu7/H3W2un8cw2xa9k58P37VtTkqayajRcR7PIorQGCvpp ZzAKSGllu9CNTjUoSPbbT7a1erRT0SInrQJ3wCSlU9Kn9FwuBveO7NiGTchjmvvIbjE9 O19kcjOCGo43hiWChoMV6++rNjNG8T1W1m853lWwyvQcwMI+QdkKB4E6GSG2wmL9y3fA ObDg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p29-20020a637f5d000000b0053481a225desi1752836pgn.340.2023.06.16.02.04.11; Fri, 16 Jun 2023 02:04:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-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-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244732AbjFPJAj (ORCPT + 99 others); Fri, 16 Jun 2023 05:00:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52378 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343904AbjFPI7t (ORCPT ); Fri, 16 Jun 2023 04:59:49 -0400 Received: from viti.kaiser.cx (viti.kaiser.cx [IPv6:2a01:238:43fe:e600:cd0c:bd4a:7a3:8e9f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8115E30D5; Fri, 16 Jun 2023 01:59:39 -0700 (PDT) Received: from [167.98.155.120] (helo=martin-debian-2.paytec.ch) by viti.kaiser.cx with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1qA5Iv-0000d1-Bl; Fri, 16 Jun 2023 10:59:37 +0200 From: Martin Kaiser To: Herbert Xu Cc: linux-crypto@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Martin Kaiser Subject: [PATCH v2 1/2] hwrng: st - support compile-testing Date: Fri, 16 Jun 2023 09:58:12 +0100 Message-Id: <20230616085813.1323082-2-martin@kaiser.cx> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20230616085813.1323082-1-martin@kaiser.cx> References: <20230616083618.1320824-1-martin@kaiser.cx> <20230616085813.1323082-1-martin@kaiser.cx> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_NONE,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-crypto@vger.kernel.org Allow compile-testing the st-rng driver if we're not running on an ST chipset. Signed-off-by: Martin Kaiser --- drivers/char/hw_random/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/char/hw_random/Kconfig b/drivers/char/hw_random/Kconfig index baefa2e0edbc..e0b3786ca51b 100644 --- a/drivers/char/hw_random/Kconfig +++ b/drivers/char/hw_random/Kconfig @@ -348,7 +348,7 @@ config HW_RANDOM_HISTB config HW_RANDOM_ST tristate "ST Microelectronics HW Random Number Generator support" - depends on HW_RANDOM && ARCH_STI + depends on HW_RANDOM && (ARCH_STI || COMPILE_TEST) help This driver provides kernel-side support for the Random Number Generator hardware found on STi series of SoCs. -- 2.30.2