From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A141EC636CD for ; Sun, 5 Feb 2023 22:53:33 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 5674385A54; Sun, 5 Feb 2023 23:44:12 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="N6AnaB1h"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 803BC85A5D; Sun, 5 Feb 2023 23:43:13 +0100 (CET) Received: from mail-il1-x129.google.com (mail-il1-x129.google.com [IPv6:2607:f8b0:4864:20::129]) (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 D841485A57 for ; Sun, 5 Feb 2023 23:42:14 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sjg@chromium.org Received: by mail-il1-x129.google.com with SMTP id v1so58169ilg.5 for ; Sun, 05 Feb 2023 14:42:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; 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=oBICUaLGtAJA7kefWkx9kiDz2kInXmJN/33fiC9j1nc=; b=N6AnaB1hkZ/W1Cx8meKqtJkkwTeLdsiueMiVjzaFKfy9P9jOUm6kCy8WKjDQk8aYWo wzq9dfih4QOph9YNmreCVtEk2I12RgamWc6neZz+eu1sX3pSDvO349pA98yZ7VpwEbAI TWablzigzaBuHhvBTxgMdDz6hrGMGbhD6lWrQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=oBICUaLGtAJA7kefWkx9kiDz2kInXmJN/33fiC9j1nc=; b=XMSbahjSFsQnwJyXv+EozJUJj/beRbbXdeA4E61kIG5r/WTW1CENRDkFdLg/phSNke veejciM85ysmMdXRHTeA1hvTHi252XXgVnAzf7Ju1hX9Mnkwrl2pI9BZE5noj9KlRaHs UKdq6GcQKEygFHPm9NG2Bm9/76so/szbX6mtFW696ZBxy64hwbtzGV1rkhpZd4Z/Zk93 G2RYyty2XupzDMfco3RgLHHPYXJxcag+3+pCASe0OqxoNJmkRz4abBOBt1lOAf1xxrxT d9cx7zrv+smOcfV/5aDSBGRsds09MrJ28q3MbNIhoSuhN850WDE0uDMh6tiRji98drAj r9qA== X-Gm-Message-State: AO0yUKXL8THWGr53abNhOMHSTQEXqn0JiIx7cHoPopqY0+kKI527jghN xglRHgJVY+OVDYRQuN3Opv5JnUQBtWMLbLhi X-Google-Smtp-Source: AK7set+wOtTdU213wisM9MNEr12Oj3r2yHNnARu5chF1Ihcl74jbx3poChSfMj5V/tI8/CrRSi1K+Q== X-Received: by 2002:a92:cda7:0:b0:310:d294:1664 with SMTP id g7-20020a92cda7000000b00310d2941664mr15103397ild.7.1675636934409; Sun, 05 Feb 2023 14:42:14 -0800 (PST) Received: from sjg1.roam.corp.google.com (c-73-14-173-85.hsd1.co.comcast.net. [73.14.173.85]) by smtp.gmail.com with ESMTPSA id z22-20020a05663803b600b003b33e77e5b2sm1503513jap.110.2023.02.05.14.42.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Feb 2023 14:42:14 -0800 (PST) From: Simon Glass To: U-Boot Mailing List Cc: Tom Rini , Simon Glass Subject: [PATCH v2 081/169] Correct SPL use of ENV_WRITEABLE_LIST Date: Sun, 5 Feb 2023 15:39:50 -0700 Message-Id: <20230205224118.233425-82-sjg@chromium.org> X-Mailer: git-send-email 2.39.1.519.gcb327c4b5f-goog In-Reply-To: <20230205224118.233425-63-sjg@chromium.org> References: <20230205224118.233425-63-sjg@chromium.org> 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean This converts 1 usage of this option to the non-SPL form, since there is no SPL_ENV_WRITEABLE_LIST defined in Kconfig Signed-off-by: Simon Glass --- (no changes since v1) lib/hashtable.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/hashtable.c b/lib/hashtable.c index 90c8465611e..f2d36bd34b4 100644 --- a/lib/hashtable.c +++ b/lib/hashtable.c @@ -942,7 +942,7 @@ int himport_r(struct hsearch_data *htab, e.data = value; hsearch_r(e, ENV_ENTER, &rv, htab, flag); -#if !CONFIG_IS_ENABLED(ENV_WRITEABLE_LIST) +#if !IS_ENABLED(CONFIG_ENV_WRITEABLE_LIST) if (rv == NULL) { printf("himport_r: can't insert \"%s=%s\" into hash table\n", name, value); -- 2.39.1.519.gcb327c4b5f-goog