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 1F70BC433F5 for ; Wed, 9 Feb 2022 16:38:17 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id CF57F83A5C; Wed, 9 Feb 2022 17:38:00 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (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="cvUUQOjo"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id DDCB583E46; Wed, 9 Feb 2022 17:37:56 +0100 (CET) Received: from mail-qt1-x831.google.com (mail-qt1-x831.google.com [IPv6:2607:f8b0:4864:20::831]) (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 3ADE483E46 for ; Wed, 9 Feb 2022 17:37:52 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qt1-x831.google.com with SMTP id b5so2250694qtq.11 for ; Wed, 09 Feb 2022 08:37:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=MoAcGfDs7tHy9XMrTOgod3RosdYBUwAaIHeYlv0Gvbk=; b=cvUUQOjorRS/DaE7uzeSYhF1Jmdp7sTveePEAGdIySlmyBNla9BODe7EYfnHB05iuv xm+Q/m//JTFQhCDuc4a9hGpAoWwhGBm+bdr/cGArd/83jpMatalZ48HBhJ3xGphvHyyk jpDphNhpr7AIawCrXZuqpSPGLVK28QiXPcWaI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=MoAcGfDs7tHy9XMrTOgod3RosdYBUwAaIHeYlv0Gvbk=; b=QMcq6SDYbkyFS8UvYe4/neSGOHqMwTaEyhj6Dne1mem2VsRaTgGwbXAAwQkkLk+wBo nuErrXxwKFRdXy4hTYgmd/AxRtz40MSn1a4H9isJ12bsWsgROMIhYsI4q3SEGN2NYEQW LjG7rEbhpmFr7r+CpesET1KJcrDAmlsUHAzb/DYJfL148Y8McmTrgSg86Spqdk3hV4rH t/DC94F2Kq9lwPPllmE6OdASxgk/WU1PnieZ2jXmUQKhMvAKaMGDXW4a9yvkeudJbr0J x/tBP3t77q0OeJqo2RJszT+DPNMDJO3Q0d5EdgYp3RARYiYRBi8TKKyILCfk2B11M76+ MuxA== X-Gm-Message-State: AOAM531jhaO8XbosnsEJ1J+Gm+uFm7fP0aB8kNFqayvjch5p5dLLObs3 XmS+7cy2MVwTucCsCt16xu7WJg== X-Google-Smtp-Source: ABdhPJwX96aKjRYvfgKRpmB0gDI/msZaIhJXsH5YBc6pRkrkOdBHlCc1yn2dXUsGBiN4BEdR3cmoEA== X-Received: by 2002:ac8:5952:: with SMTP id 18mr1959374qtz.340.1644424671046; Wed, 09 Feb 2022 08:37:51 -0800 (PST) Received: from bill-the-cat (2603-6081-7b01-cbda-2ef0-5dff-fedb-a8ba.res6.spectrum.com. [2603:6081:7b01:cbda:2ef0:5dff:fedb:a8ba]) by smtp.gmail.com with ESMTPSA id u21sm9137889qtw.80.2022.02.09.08.37.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Feb 2022 08:37:50 -0800 (PST) Date: Wed, 9 Feb 2022 11:37:48 -0500 From: Tom Rini To: Simon Glass Cc: U-Boot Mailing List , Rasmus Villemoes , Masahiro Yamada Subject: Re: [PATCH v5 04/13] kconfig: Update IS_ENABLED() internals Message-ID: <20220209163748.GF7515@bill-the-cat> References: <20220122120734.2828739-1-sjg@chromium.org> <20220122050728.v5.4.Ic5d82a962363106e21310c40d8b1089958321f23@changeid> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="67hPMJEVS2CosGJp" Content-Disposition: inline In-Reply-To: <20220122050728.v5.4.Ic5d82a962363106e21310c40d8b1089958321f23@changeid> X-Clacks-Overhead: GNU Terry Pratchett 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.5 at phobos.denx.de X-Virus-Status: Clean --67hPMJEVS2CosGJp Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Jan 22, 2022 at 05:07:25AM -0700, Simon Glass wrote: > The config_enabled() macro currently uses 0 as the default value. Update > it to allow any value, so we can pass it something else, such as a > non-existent function, to produce a build error if it is not defined. >=20 > Also tidy up the code style for IS_ENABLED() and drop the unnecessary > brackets (the value is a simple 0 or 1). >=20 > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! --=20 Tom --67hPMJEVS2CosGJp Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmID7dwACgkQFHw5/5Y0 tyyD9QwArxEuYR0aT+NpRPP1utCK1QUPH+1f8XqIakxSCl9NR6MRH/p4dvjRKseS s4McC8iq1JnKXVKpS3Uz0+I/Osa0ZcIWyCh5gaC91FAWg8SGKipNE5MI7zMKkujh 2pMrhqu0otiFNznYq+FXPke9w9LrjIQX9b0zVHH0oOuwp7cyNthpKXDHVFe2+4Yu KxoPdfEXo803A//RAWubgwYVuPREjWRPP1nhpkQImzOb9qjm/vl/+jQJ52U0WeAZ 1P+FgDW/Pt17Ir5Nr3CerNHnCqOcYm1ixR0KKRmOvHVxPtc22Sqm7eGtR8aiL0TO /Vzsmut0L6aNevoHq3uYZyDKfdHV3KM8+0zTC2eTsXqi5+GgNyI5sPbxYEGrdddf FlOFPw+yE/WtW05954uh5VF2kogMoRxOGmBIhPODF+3XZtVX5n3AjpgIECKqPjnE 7S2aLe6KiPpoepFoXIc/ZnHcP70XIcF/+VMiPs8a3LL+u0LcCVzpb+roccEQ1SQl zDHp4NeX =pW69 -----END PGP SIGNATURE----- --67hPMJEVS2CosGJp--