From patchwork Mon Jul 10 20:27:27 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Kaiser X-Patchwork-Id: 118072 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a6b2:0:b0:3e4:2afc:c1 with SMTP id c18csp59923vqm; Mon, 10 Jul 2023 13:39:18 -0700 (PDT) X-Google-Smtp-Source: APBJJlET6wQlUYtmiMUvUC9bwcIWYDaOhqnl8skiNlTEksJufT3QhXNfNF1fjp5i1t7e4bmUZhAY X-Received: by 2002:a17:906:7952:b0:98e:4f1:f987 with SMTP id l18-20020a170906795200b0098e04f1f987mr21139467ejo.3.1689021558222; Mon, 10 Jul 2023 13:39:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689021558; cv=none; d=google.com; s=arc-20160816; b=ePj0H/YacDOTpHF5osFSbV+F7JxbQDnXoQZdioF5VG1uw/whxoYD9uUB2jLrbACmQ/ 7vlDf3UpyuxyiI2SmqkpAYKowlQ9+a9swHI5nFNH+AqHngDxVx/eRctzO0wWMiSbsfcT NNYmMncVwIlU9DfO0QBdSaL6mJYx0PcgEv72nNG6ieIvAQ/Udg0CwTNdtAerBBxYlZdp TmHq0pNKXN6u/LHabFTSlDanywWClvmy2qt9nXDwrAb5RWAw0a0TOHJ1aySePOfdF2CB 9mFRw6GAvMQhQahnQ00+Lc84i6nQ3ODl3GJ5CeqOR5S2KsBYt8EhIO29hQXbeaJIo+yR gYtQ== 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=lKOjKWFhmIYH8ykh6p+nJ9NXANgqUKcVeDoigqoW1CY=; fh=GUQwZ7uCW3sOebrGSFJwPRX8di32vmIzxh/oFyyWwpA=; b=LSw9fZgintCBADdqBrijrirWXpYinUdGvE81m9Z5OCUf3HB68pMEyF65qodR3xNY5d gueUiFKx68bIuk6GCqkBAK5ZOahkMp5wV2DxjovV38J3EFZPLwLPVsco6F5dQY2De63a sL47sZG5jiEQDSJhQeNUfcmeq73ZRES1b9z2xWYuYYF+4D8b0pjeFOelxaB5XLoOqr1V EgryuYCPzcd0DeROqpi86h7R+q3wgH7FHvCiWtONTRy9mGKi7QZZBIHP7zpB2tLsGF7t OemlzGBM6TBLmdWYLJiDaevmLnKvzOSjPGRCwJQSBCClBOQBRlul1Qr5WGSMb+XqfZpo /64w== 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 lf16-20020a170907175000b0099331b3e6f6si344506ejc.661.2023.07.10.13.38.54; Mon, 10 Jul 2023 13:39:18 -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 S232174AbjGJU3h (ORCPT + 99 others); Mon, 10 Jul 2023 16:29:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42046 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231217AbjGJU3d (ORCPT ); Mon, 10 Jul 2023 16:29:33 -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 5A0D31B9; Mon, 10 Jul 2023 13:29:28 -0700 (PDT) Received: from 250.57.4.146.static.wline.lns.sme.cust.swisscom.ch ([146.4.57.250] 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 1qIxVd-0002mg-ET; Mon, 10 Jul 2023 22:29:25 +0200 From: Martin Kaiser To: Herbert Xu Cc: aric.pzqi@ingenic.com, linux-crypto@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Martin Kaiser Subject: [PATCH 1/7] hwrng: ingenic - enable compile testing Date: Mon, 10 Jul 2023 22:27:27 +0200 Message-Id: <20230710202733.116133-2-martin@kaiser.cx> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20230710202733.116133-1-martin@kaiser.cx> References: <20230710202733.116133-1-martin@kaiser.cx> MIME-Version: 1.0 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,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 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1771067469298649760 X-GMAIL-MSGID: 1771067469298649760 Enable compile testing for the ingenic-trng driver. Remove the dependency on HW_RANDOM. The ingenic-trng config section is under "if HW_RANDOM". Signed-off-by: Martin Kaiser --- drivers/char/hw_random/Kconfig | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/char/hw_random/Kconfig b/drivers/char/hw_random/Kconfig index 1aeba12391a1..5d72b8da3c36 100644 --- a/drivers/char/hw_random/Kconfig +++ b/drivers/char/hw_random/Kconfig @@ -271,8 +271,7 @@ config HW_RANDOM_INGENIC_RNG config HW_RANDOM_INGENIC_TRNG tristate "Ingenic True Random Number Generator support" - depends on HW_RANDOM - depends on MACH_X1830 + depends on MACH_X1830 || COMPILE_TEST default HW_RANDOM help This driver provides kernel-side support for the True Random Number Generator