Message ID | 20230313213146.1775650-2-troykiskyboundary@gmail.com |
---|---|
State | Deferred |
Delegated to: | Tom Rini |
Headers | show
Return-Path: <u-boot-bounces@lists.denx.de> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=<UNKNOWN>) Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20210112 header.b=d6UGR/Ny; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4Pb8xs1nG2z1yWs for <incoming@patchwork.ozlabs.org>; Tue, 14 Mar 2023 08:32:17 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 9B51A860F8; Mon, 13 Mar 2023 22:32:08 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="d6UGR/Ny"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 6915385E75; Mon, 13 Mar 2023 22:32:04 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: 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,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-pj1-x102d.google.com (mail-pj1-x102d.google.com [IPv6:2607:f8b0:4864:20::102d]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 3463385D0B for <u-boot@lists.denx.de>; Mon, 13 Mar 2023 22:31:56 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=troykiskyboundary@gmail.com Received: by mail-pj1-x102d.google.com with SMTP id h12-20020a17090aea8c00b0023d1311fab3so3551185pjz.1 for <u-boot@lists.denx.de>; Mon, 13 Mar 2023 14:31:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1678743114; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=G6ZjqPWd9DOb9QJepl0ko1Yzkx24gnLWEHSZAQ90X7c=; b=d6UGR/Nyu7uPNWhUFE0v3Sp1ucQRVOwWIJdaVvYNSxwfv9nbxQFTxJ2ppArQx/Cov8 CVj6W09ZtcwL80EG+Kvhke/w2EX7d9wGaD/fR7w9c35xAi9oR2aheO/AkaE/o0OBSQJn YzARWCZ7zm9iPF2RsRBMxS7xwICgzy7ZsuKWJ02SnTadHZ8kdpq/QhV2EnN+zT77RxHX fd6ZFra/dn1loMMVe3yraso6Y4uI5ne8rMn64XG0NVew97BfWSPV0/ApN2fpl3/h43e9 aSGo2NDsSC68/RRbABEgKliVRpHaMTF1qdZ3cG+JgOQfvhyXgJy1eKOPuOp2zDB9Qmgb nfmA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678743114; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=G6ZjqPWd9DOb9QJepl0ko1Yzkx24gnLWEHSZAQ90X7c=; b=0y09ht7/6IjIVrmWlYs0/HvZ771z8bJ4yczrlK3yZ7ZCM0P6YOOtzYee5V67oVRzY9 9MT3jEg4bfrMvnMB1HVU5Y4L1sNLmUCh0hHGQJqv/OUry0BNuV2v27ZRHuDWLBZOD/Ox XKOOZscovenxOpLu7cDHm7fQzedxo4ZrPdR3n5PKBoSJ5fS1LZcggf+uNid5hYxDeaFP MEMaeOk1AayOTG6NOj2cEcQ+rxusuSRvJy68dyaoBOKPYijUxuRDpZjkF1BAomJYaDCw On4VzzJf+PylXUZ8Z7R/7E5XQ88xiQbmTVs3y01KvY8I3r6FCAFrpshDsdO5qJSmfUi7 pxWw== X-Gm-Message-State: AO0yUKU1D0/9uZc6xzAuehO88jSwMdXmf4KV8vYa2MZoXpYgaF2ysb8m 3GPs0+njwiq6ZPHlbHj3sYE= X-Google-Smtp-Source: AK7set+zzmrEL/7PjSMxEGF6VpWIVSzpigCmcFtydqioFY6J96p6a+lsjjwCe8ZmOQ2dH/x4vAxYOA== X-Received: by 2002:a05:6a20:3d86:b0:d3:6d54:7852 with SMTP id s6-20020a056a203d8600b000d36d547852mr10535671pzi.31.1678743114297; Mon, 13 Mar 2023 14:31:54 -0700 (PDT) Received: from OS2.boundarydevices.com. (wsip-184-189-120-117.oc.oc.cox.net. [184.189.120.117]) by smtp.gmail.com with ESMTPSA id s24-20020aa78298000000b005d4360ed2bbsm150797pfm.197.2023.03.13.14.31.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Mar 2023 14:31:54 -0700 (PDT) From: Troy Kisky <troykiskyboundary@gmail.com> To: sjg@chromium.org, trini@konsulko.com, u-boot@lists.denx.de Cc: gary.bisson@lairdconnect.com, Troy Kisky <troykiskyboundary@gmail.com>, Masahiro Yamada <yamada.masahiro@socionext.com> Subject: [PATCH v3 01/23] kconfig: add IS_ENABLED_NOCHECK to bypass usage_of_is_enabled_check Date: Mon, 13 Mar 2023 14:31:23 -0700 Message-Id: <20230313213146.1775650-2-troykiskyboundary@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230313213146.1775650-1-troykiskyboundary@gmail.com> References: <20230313213146.1775650-1-troykiskyboundary@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <https://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean |
Series |
CONFIG_IS_ENABLED vs IS_ENABLED
|
expand
|
diff --git a/include/linux/kconfig.h b/include/linux/kconfig.h index 2bc704e1104..19b71723ab3 100644 --- a/include/linux/kconfig.h +++ b/include/linux/kconfig.h @@ -27,6 +27,11 @@ * 0 otherwise. */ #define IS_ENABLED(option) config_enabled(option, 0) +/* + * Using IS_ENABLED_NOCHECK instead of IS_ENABLED prevents + * complaints from test/usage_of_is_enabled_check.sh + */ +#define IS_ENABLED_NOCHECK(option) config_enabled(option, 0) /* * U-Boot add-on: Helper macros to reference to different macros (prefixed by
This is for use when a config with an SPL version needs to always check the non-spl verion of the config. It avoids error messages from CI test script usage_of_is_enabled_check.sh Signed-off-by: Troy Kisky <troykiskyboundary@gmail.com> --- (no changes since v2) Changes in v2: - new patch include/linux/kconfig.h | 5 +++++ 1 file changed, 5 insertions(+)