From patchwork Tue Jul 4 17:32:00 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Kaiser X-Patchwork-Id: 115877 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9f45:0:b0:3ea:f831:8777 with SMTP id v5csp1379665vqx; Tue, 4 Jul 2023 10:54:26 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5gUR3IeIAENEnTfCsHqcX6do7qkn5YH08dhWn0uG6tc+s5aqWgck+6ddI3hPrzyVEDiNfX X-Received: by 2002:a05:6a00:1388:b0:668:93e7:6800 with SMTP id t8-20020a056a00138800b0066893e76800mr29719147pfg.14.1688493265740; Tue, 04 Jul 2023 10:54:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688493265; cv=none; d=google.com; s=arc-20160816; b=dqIQ0crkQ92k1hsHNuqs5ElabXXaQnJqsnpisihyZsrl3zAtjHANenMlClC8O3KE5f DB/izeMH5ifzwE1eg8F76ccR6G0slQ4BcUNzAfDj5TmrWEpkQJsafSDAeQwMXefqDOtX 5b2GMMAbRRIhxHKOoDJh3i3EN2aX5BmmolnHYtxVSOyrtScqNKe0DO3IE3fsSQVznnYZ GhY8yjsWUwgwIh4wlyGAhMFLmf+ZSb+wcrzv9Gaa3EfWEEmXIeVgLgzCvMCjIs+Se6gZ DR1LxuLif9Nf9rAZYEPObABzp0Y0+R0z0VbqCV5d6Na2K98FhJHGFxg1AB2q84re/EVC r8Sw== 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=OpZ3Py3qQKJXTft05nBa8mtwwAmFX1FhU4euydippNk=; fh=lO4wmMQhvm8y/jaHDv9dt1CS5yb5ZTFKyt5xlt/d/d8=; b=wybdEhOlml2fSOd9eI1Cnz0yuL9NQ9aH3bQE8iziGzp16ka0iYt/58SqXwoNMIM0yN aE0XO//xL2+zUGmnm9yttzkusnnk0UQr+WhA5gnL6SN2zMKm/CFwBig0TrSht1a6BUFh b5/CDoLuffK6taYS3GPjku8bDgYr/CkgCWOfUuewEw2sYFSke9vcbc0qMwqRYlKwmc/u uVch1rwxYYOCeFisSALPLLnm2GXdU7XpYzadzI1veokJCWKmPrMeoUDmcay+mBym6pTZ DmvGaoaWrM6BVDbS/hZLgmCEQayiMx+79iUJiDgFFF5l2X8r7NuOnjqagI5N/bKtVBXk lemw== 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 m18-20020a056a00081200b006829f1e5164si3593177pfk.118.2023.07.04.10.54.11; Tue, 04 Jul 2023 10:54: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 S231688AbjGDRdx (ORCPT + 99 others); Tue, 4 Jul 2023 13:33:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42078 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231453AbjGDRdv (ORCPT ); Tue, 4 Jul 2023 13:33:51 -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 8DF6D10D7; Tue, 4 Jul 2023 10:33:50 -0700 (PDT) Received: from ipservice-092-217-072-126.092.217.pools.vodafone-ip.de ([92.217.72.126] 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 1qGjuN-0000yT-KH; Tue, 04 Jul 2023 19:33:47 +0200 From: Martin Kaiser To: Herbert Xu Cc: Joshua Henderson , linux-crypto@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Martin Kaiser Subject: [PATCH 1/4] hwrng: pic32 - enable compile-testing Date: Tue, 4 Jul 2023 19:32:00 +0200 Message-Id: <20230704173203.70706-2-martin@kaiser.cx> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20230704173203.70706-1-martin@kaiser.cx> References: <20230704173203.70706-1-martin@kaiser.cx> MIME-Version: 1.0 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-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1770513514757711623?= X-GMAIL-MSGID: =?utf-8?q?1770513514757711623?= Enable compile testing for the pic32 driver. Remove the dependency on HW_RANDOM. The pic32 config section is under "if HW_RANDOM". 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 e0b3786ca51b..1aeba12391a1 100644 --- a/drivers/char/hw_random/Kconfig +++ b/drivers/char/hw_random/Kconfig @@ -385,7 +385,7 @@ config HW_RANDOM_STM32 config HW_RANDOM_PIC32 tristate "Microchip PIC32 Random Number Generator support" - depends on HW_RANDOM && MACH_PIC32 + depends on MACH_PIC32 || COMPILE_TEST default y help This driver provides kernel-side support for the Random Number