Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp5524573rwl; Tue, 11 Apr 2023 06:43:53 -0700 (PDT) X-Google-Smtp-Source: AKy350boajEvRb5ROUN/zHSccFe0pxotqgqId4Jp5EFAGRLUZ3aeeKIENwq7AhdtnBXJxrBUjj+F X-Received: by 2002:a17:906:ef90:b0:94c:4dc1:8c0a with SMTP id ze16-20020a170906ef9000b0094c4dc18c0amr4043256ejb.32.1681220633607; Tue, 11 Apr 2023 06:43:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681220633; cv=none; d=google.com; s=arc-20160816; b=Naw/3cIq+PnRFDqa9nFqAbQXyNexsukjxyCDtV0EAyjKHqg1qlWzykN5nTyQfCWH2K uu3T3psQK9bTBuWLUmsQ8IDh0BTyx9UlG5aMVyoiu1B544byoq62HFFZGR5k3erKkB9h MPyqckD4LjJJQrL/64+7U8LfMJkneiolxlhnQHlNt5Sgb6krq/K/bqxOXcI9wpgjNa4Q myPaKefB+SQ6rMJ8MA+/6mXP4VXhDrUNWqGaAsTSdMyK+xHEH4Q70zInt0XlcRzDrDnd QLH0awOMU/mRTdfzvuXtcacSHPdiccZRF0Ct8l2Xcv3Qtt+qT2fEEXamytpMLHBbBnb9 JMIw== 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 :organization:references:in-reply-to:message-id:subject:cc:to:from :date:dkim-signature; bh=X7KgLgdH7cjz5drRb45WItsgeAVPeS+LVOF20gs6vrY=; b=Q200qKHuh8WimdwXUFiDrsnSTNQfy3MyBjZvr5h1Ph4GISWDJJhnPixdenS/UlZ9jw V25lQVBj9uZi6SM7yNlBmkX9vC4SYu1zaNyKQ56eEQrVIvfwktgsp2NwDvWzabMO7CPa SNro4ap2ZpASyWbfndTOX5eroSvX0FZyM/5eS6ysujUg0WeZYejcReXUr1RMhGqBffsH YNcUYfh4js+lZ39W5D+XL9R9eZpoivay8bTdwgJcCBnJeaKYSqpXNcrstwD4OWjld8PJ afbD4rehWTg+Hg4PB3IIqZpm6j2gtVRqdZYSmWshl0k6QzihwmlUmgRCa4pm+A+i2ONO WGQg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b="bcJvA/Oe"; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ty12-20020a170907c70c00b0094a54adb735si6527957ejc.404.2023.04.11.06.43.26; Tue, 11 Apr 2023 06:43:53 -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; dkim=pass header.i=@bootlin.com header.s=gm1 header.b="bcJvA/Oe"; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230153AbjDKNmF (ORCPT + 99 others); Tue, 11 Apr 2023 09:42:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55590 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229721AbjDKNmC (ORCPT ); Tue, 11 Apr 2023 09:42:02 -0400 Received: from relay7-d.mail.gandi.net (relay7-d.mail.gandi.net [217.70.183.200]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 70C9510D3 for ; Tue, 11 Apr 2023 06:41:58 -0700 (PDT) Received: (Authenticated sender: miquel.raynal@bootlin.com) by mail.gandi.net (Postfix) with ESMTPSA id 1DC8220018; Tue, 11 Apr 2023 13:41:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1681220517; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=X7KgLgdH7cjz5drRb45WItsgeAVPeS+LVOF20gs6vrY=; b=bcJvA/OeOjZij8rqCIpNuk5SC2T/doK0e3fzWVx8ulahJBd9TLgybmVIdfBSNkoNZk2QwZ MwZtsGcaTN023bHSRm84f8Oo5Xssvbfu/v6eQYzoBOcTEOTvZcFkAPr1iwrJVV8g9mgHf2 o/ObrhGsdveVjBAI+nU0jg3JVS64eUJ9tHCXtupLZdSE1ihj/EcJ++sSWiwucbWBI2IC3c W4Wzr4osoVD+9n0BlwT+awExRdz1dVXY+7vKyXUWBUHi0yn3XmR4SAkvQYnMPgnqxKw+Ja SxcSC4t3V2UVQkuCg6M5WyeZ89vcHtc2aWPrTzcQ7WE0Az5VYA0ZsIuID0toNg== Date: Tue, 11 Apr 2023 15:41:55 +0200 From: Miquel Raynal To: Jean Delvare Cc: LKML , Kyungmin Park , Richard Weinberger , Vignesh Raghavendra , linux-mtd@lists.infradead.org Subject: Re: [PATCH RESEND] mtd: onenand: omap2: Drop obsolete dependency on COMPILE_TEST Message-ID: <20230411154155.7416fd2d@xps-13> In-Reply-To: <20230407190453.66efdf9d@endymion.delvare> References: <20230407190453.66efdf9d@endymion.delvare> Organization: Bootlin X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H2, SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 Hi Jean, jdelvare@suse.de wrote on Fri, 7 Apr 2023 19:04:53 +0200: > Since commit 0166dc11be91 ("of: make CONFIG_OF user selectable"), it > is possible to test-build any driver which depends on OF on any > architecture by explicitly selecting OF. Therefore depending on > COMPILE_TEST as an alternative is no longer needed. >=20 > It is actually better to always build such drivers with OF enabled, > so that the test builds are closer to how each driver will actually be > built on its intended target. Building them without OF may not test > much as the compiler will optimize out potentially large parts of the > code. In the worst case, this could even pop false positive warnings. > Dropping COMPILE_TEST here improves the quality of our testing and > avoids wasting time on non-existent issues. >=20 > Signed-off-by: Jean Delvare > Cc: Kyungmin Park > Cc: Miquel Raynal > Cc: Richard Weinberger > Cc: Vignesh Raghavendra > --- > Even though this was supposedly accepted a few months ago already, I > can't find this commit, neither upstream nor in the nand/next, > therefore resending. I have no idea what I did wrong but I definitely messed up, I can't find this patch while it is marked Accepted in patchwork and I actually answered that I applied it. It is especially strange since its cousin applying to raw NAND was correctly taken. Sorry for the mess, I'll really take it this time. >=20 > drivers/mtd/nand/onenand/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > --- linux-6.2.orig/drivers/mtd/nand/onenand/Kconfig > +++ linux-6.2/drivers/mtd/nand/onenand/Kconfig > @@ -25,7 +25,7 @@ config MTD_ONENAND_GENERIC > config MTD_ONENAND_OMAP2 > tristate "OneNAND on OMAP2/OMAP3 support" > depends on ARCH_OMAP2 || ARCH_OMAP3 || (COMPILE_TEST && ARM) > - depends on OF || COMPILE_TEST > + depends on OF > depends on OMAP_GPMC > help > Support for a OneNAND flash device connected to an OMAP2/OMAP3 SoC >=20 >=20 Thanks, Miqu=C3=A8l