Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp10782831rwb; Fri, 25 Nov 2022 07:45:13 -0800 (PST) X-Google-Smtp-Source: AA0mqf45ZSVxGG3agHFMNBDa8bUfskN2M0YysruUd3BeEnoqQuUQukNVR2UQT9UuPkM1GphDzueS X-Received: by 2002:a17:906:9445:b0:7bb:7520:f168 with SMTP id z5-20020a170906944500b007bb7520f168mr7041350ejx.423.1669391113757; Fri, 25 Nov 2022 07:45:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669391113; cv=none; d=google.com; s=arc-20160816; b=O16TYANuwJNjXlbap4PdwAC6Db+HjF3NDapSeuock/d2SXz5XPJ7m8By4CPcgNC97D gy80LGRd/Bd/heSEokkOcA7NKDH1/onSsI1WDLuL1LlSPyngjrnt8n9DBjxFxRqmjqCZ JOQ70/5B2dbJ2cAM0vpjmMO7xtolLECiNomDaWxYdTDIVqx5RPoBCP6B5WkboKwUjqUT vFv5weg0rEDzlCekOkzKqXxhP/6qg6evx4UzL1iqjJM/IfMpL6taXcB6JxmyWeGVBoR2 mMqmov/U/rCf4j6dy3tpNTpSf0ibCBFL61xC37/JFsYXbHFeM2ppd9lN7vTIVXzF7++8 sG6Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=NTd5mVVHCF+VFulP23dkKuZNRYz38s8pGtAz4nT89ug=; b=nfFC9R4eAl7TRVeeZTe1ZjMXSWvlMNWbhVdYJLAOKlktWeGTNDeahfxoNTnNOGD7tw kXzU/g5jXVpGQqi24TCFo9YD6Z15LSFUjxsKKuyNm3ipFWSFWR97NO+IObDGkFzIx3nw DbUWwqf1NW26D0YjAx4Hezj2OGj4MC+d6Yd0/0FnbySHbLWNNLbhr1DqDDgzKKZKcPJK KqL0qT/G3kBMaHVWBi8VOX1Ec+w+injYM16l8rSHahwhCx3TaSNOATzmJwNRaY1bl2Bk jxH3vDDiEdV5wgmcwQEOu1SzDOL/ASM2iHn6966gaE1TO8e5n8GUv5pHHUBOLWYnuoz6 /W4g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=jIkLeN5m; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id xj14-20020a170906db0e00b007309e8d567fsi3272337ejb.145.2022.11.25.07.44.50; Fri, 25 Nov 2022 07:45:13 -0800 (PST) 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=@gmail.com header.s=20210112 header.b=jIkLeN5m; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229918AbiKYOAp (ORCPT + 85 others); Fri, 25 Nov 2022 09:00:45 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56202 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229819AbiKYOAn (ORCPT ); Fri, 25 Nov 2022 09:00:43 -0500 Received: from mail-qt1-x833.google.com (mail-qt1-x833.google.com [IPv6:2607:f8b0:4864:20::833]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 46F0D1B7B9; Fri, 25 Nov 2022 06:00:42 -0800 (PST) Received: by mail-qt1-x833.google.com with SMTP id e15so2577849qts.1; Fri, 25 Nov 2022 06:00:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=NTd5mVVHCF+VFulP23dkKuZNRYz38s8pGtAz4nT89ug=; b=jIkLeN5mrO9vTaEI7X57jj1BAXj3B+yN/pSig49ncDPgs4/0AAxA/trmoPfRKgR8SO na8N7BisR3BxuL40l5jcInmjKwFVnwVKPye7xDRr90CS38rBssG1NASDcvio5YXJpz1L NeHI/KwzyvDG8w5Amm1JhPfLsCtucVh5u6uaoLIqYln81yvN+TP0J+7+gvjHWzF9wvXc Zj8rLX0kP8r67ljQmmxbko1dYXI85hl/5IUnuBfyT8OOax5Z04PgmRxrpNqJ4fvf8ded CcJgGwvsdMWA7pQdH3sZS+jyF88OZZLnxKUZP6OFyuuvHb2emJt9wXMUWzjQSw9rG9pV dp8g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=NTd5mVVHCF+VFulP23dkKuZNRYz38s8pGtAz4nT89ug=; b=cC91UenGWZs/xhDcOBrEN+rDKZ0Xh+gxn4ZxxJ87U/nI/3037qbTt/W9QTRgMZ9M8C Kqo3KykWYxxVqDHh9NrNMBU8Zj3umg3psk3nCBdZ/gixMxLFIz/+TklMZ+rHJBt0CqdE 5tp2RULe21KbnfPscA336rsrMmy544IidpLyfmkmwLn8MriAcMIYezG7/jmRemifNTWi fjUpFQ49J4VMHEEmR+Pa8tXY/Z5BkPazzlDFXaHhawTaMC23EzsGlg+/PGf46B4iHiJB GI38XugXvIOKa4/xiVPHAMsVuuCe2xQaz5k2jK9J/kckF+SvQIFOVfW0pYpNFR6+aBDE +jDA== X-Gm-Message-State: ANoB5pkPoBMKxVlj9x1ONMyJf1OUm6nLqOraUVx2lpRXCcY2QsD4sjTU cyaaCIWSskE/kTamH/jfT6pi61sKZqE= X-Received: by 2002:ac8:4802:0:b0:3a4:f056:1e81 with SMTP id g2-20020ac84802000000b003a4f0561e81mr18262600qtq.229.1669384841312; Fri, 25 Nov 2022 06:00:41 -0800 (PST) Received: from errol.ini.cmu.edu (pool-72-77-81-136.pitbpa.fios.verizon.net. [72.77.81.136]) by smtp.gmail.com with ESMTPSA id r139-20020a37a891000000b006e42a8e9f9bsm2740936qke.121.2022.11.25.06.00.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Nov 2022 06:00:40 -0800 (PST) Date: Fri, 25 Nov 2022 09:00:39 -0500 From: "Gabriel L. Somlo" To: Jean Delvare Cc: linux-serial@vger.kernel.org, LKML , Karol Gugala , Mateusz Holenko , Joel Stanley , Greg Kroah-Hartman Subject: Re: [PATCH] serial: liteuart: drop obsolete dependency on COMPILE_TEST Message-ID: References: <20221125142756.3e51a28d@endymion.delvare> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221125142756.3e51a28d@endymion.delvare> X-Clacks-Overhead: GNU Terry Pratchett X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS 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 On Fri, Nov 25, 2022 at 02:27:56PM +0100, Jean Delvare wrote: > 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. > > 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. Acked-by: Gabriel Somlo Thanks, --G > Signed-off-by: Jean Delvare > Cc: Karol Gugala > Cc: Mateusz Holenko > Cc: Gabriel Somlo > Cc: Joel Stanley > Cc: Greg Kroah-Hartman > --- > drivers/tty/serial/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > --- linux-6.0.orig/drivers/tty/serial/Kconfig > +++ linux-6.0/drivers/tty/serial/Kconfig > @@ -1519,7 +1519,7 @@ config SERIAL_MILBEAUT_USIO_CONSOLE > config SERIAL_LITEUART > tristate "LiteUART serial port support" > depends on HAS_IOMEM > - depends on OF || COMPILE_TEST > + depends on OF > depends on LITEX || COMPILE_TEST > select SERIAL_CORE > help > > > -- > Jean Delvare > SUSE L3 Support