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 B30B5C4321E for ; Sun, 4 Dec 2022 15:07:19 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 5952285321; Sun, 4 Dec 2022 16:06:16 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com 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=konsulko.com header.i=@konsulko.com header.b="OEofFnqe"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id CF87685310; Sun, 4 Dec 2022 16:06:08 +0100 (CET) Received: from mail-ej1-x634.google.com (mail-ej1-x634.google.com [IPv6:2a00:1450:4864:20::634]) (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 15CDE852F9 for ; Sun, 4 Dec 2022 16:06:06 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-ej1-x634.google.com with SMTP id ud5so22277307ejc.4 for ; Sun, 04 Dec 2022 07:06:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=jfXq6ekRof1e7cND9J1dKq5A9z/TwaPFOPgwXY2V/rI=; b=OEofFnqeQ0fNkqt9lvRd9lAzKBZENAloCsTYNNnKhNTbEoo3l/bu7u1FIbPqkvm57z Fj7kEo6ZML6UebMrSTT3WLbPfZFiGeC/81Z2cXOHYMeNcFxb+qQmpk2e1QiZr2vLZkwu eHEWk2lAG/ZVmAg0Sw5gKlD8sZvG3756bYw/A= 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:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=jfXq6ekRof1e7cND9J1dKq5A9z/TwaPFOPgwXY2V/rI=; b=x8AjfWhwWkrir+bkLLaZI+oq5pgd9ZxZS4jaUa8O+AfuL+9zAqjybN6k5REAbk3mWr eMx8a/FT2dHCIpw54XeIS0po3QJMbwdInzKpwDjtaM8E2I/uD4hNWzz3LHnDWX6Fxepy bmsruBVCqKRPnFwkFMsura4X8Sw1ZxD2ybZ71e4rSiUAYGyKkAB+HluTpkwpagwRiNeO XpeCwkiYodqvBVbWcsVXOMkt986kOrMHahUqfGlFPrzn035+3RzvpJFvNmuU6esyOlqj RJC9q/N+XA/A3SARf5LmTz/7cDFRmeTqC1p2++ZSDnDDy8Dytl825ERAKQ4re/yNdIo/ BSYQ== X-Gm-Message-State: ANoB5plrH5LIdidJwMYUujCyN3Z5xnvbkW55+FaF6oxLwkApYEl23/vn 7r3ur9l+LWlQ0Em+0EpsFkDbyFb/m0Nl0BSe X-Google-Smtp-Source: AA0mqf6EKr7jd0FTFpuyQ7DZ8trWjJTcJcf5X97AcC5fS0yIU5+3dcpPxoc4WIr4PUMRpDBW4CEp2g== X-Received: by 2002:a17:906:95c3:b0:78e:975:5e8 with SMTP id n3-20020a17090695c300b0078e097505e8mr50144083ejy.82.1670166365380; Sun, 04 Dec 2022 07:06:05 -0800 (PST) Received: from bill-the-cat.lan (2603-6081-7b00-6400-61c7-2644-b62d-0af3.res6.spectrum.com. [2603:6081:7b00:6400:61c7:2644:b62d:af3]) by smtp.gmail.com with ESMTPSA id g1-20020a17090604c100b0073dc5bb7c32sm5240058eja.64.2022.12.04.07.06.04 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 04 Dec 2022 07:06:05 -0800 (PST) From: Tom Rini To: u-boot@lists.denx.de Subject: [PATCH 008/149] log: Remove some places where we redefine LOGLEVEL Date: Sun, 4 Dec 2022 10:03:33 -0500 Message-Id: <20221204150554.4165941-8-trini@konsulko.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221204150554.4165941-1-trini@konsulko.com> References: <20221202214251.3027264-41-trini@konsulko.com> <20221204150554.4165941-1-trini@konsulko.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 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 We cannot redefine a CONFIG value per file in this manner. Signed-off-by: Tom Rini --- drivers/mtd/nand/raw/octeontx_bch.c | 5 ----- drivers/mtd/nand/raw/octeontx_nand.c | 5 ----- test/log/pr_cont_test.c | 3 --- 3 files changed, 13 deletions(-) diff --git a/drivers/mtd/nand/raw/octeontx_bch.c b/drivers/mtd/nand/raw/octeontx_bch.c index c1d721cabfc6..fc16b77416bb 100644 --- a/drivers/mtd/nand/raw/octeontx_bch.c +++ b/drivers/mtd/nand/raw/octeontx_bch.c @@ -27,11 +27,6 @@ #include #include "octeontx_bch.h" -#ifdef DEBUG -# undef CONFIG_LOGLEVEL -# define CONFIG_LOGLEVEL 8 -#endif - LIST_HEAD(octeontx_bch_devices); static unsigned int num_vfs = BCH_NR_VF; static void *bch_pf; diff --git a/drivers/mtd/nand/raw/octeontx_nand.c b/drivers/mtd/nand/raw/octeontx_nand.c index b338b204f343..1ffadad9cae7 100644 --- a/drivers/mtd/nand/raw/octeontx_nand.c +++ b/drivers/mtd/nand/raw/octeontx_nand.c @@ -31,11 +31,6 @@ #include #include "octeontx_bch.h" -#ifdef DEBUG -# undef CONFIG_LOGLEVEL -# define CONFIG_LOGLEVEL 8 -#endif - /* * The NDF_CMD queue takes commands between 16 - 128 bit. * All commands must be 16 bit aligned and are little endian. diff --git a/test/log/pr_cont_test.c b/test/log/pr_cont_test.c index 6abddf7a1195..df4520d28075 100644 --- a/test/log/pr_cont_test.c +++ b/test/log/pr_cont_test.c @@ -16,9 +16,6 @@ #define BUFFSIZE 64 -#undef CONFIG_LOGLEVEL -#define CONFIG_LOGLEVEL 4 - DECLARE_GLOBAL_DATA_PTR; static int log_test_pr_cont(struct unit_test_state *uts) -- 2.25.1