Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp3067621rdb; Tue, 6 Feb 2024 06:24:41 -0800 (PST) X-Google-Smtp-Source: AGHT+IEgWCXDy3dvAk7wg8kTnOlqRTJuS/in4arH0eCMN6vIJz2Oo6EWedU11oR0BmNKEJXaNGWa X-Received: by 2002:a17:907:78d9:b0:a38:15a5:ea2d with SMTP id kv25-20020a17090778d900b00a3815a5ea2dmr1613538ejc.66.1707229481109; Tue, 06 Feb 2024 06:24:41 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707229481; cv=pass; d=google.com; s=arc-20160816; b=CTRMcPjcrWRCSqnUE5LocHXZtuJ4kJcIC+pQy4IAWsN9vtRjEnrUFYSzrcQ9d+UIJG yDLlt4yiq11emOquXVOZ8UAKNU9Y1NW9KWVVouAWKewyxp0CedRpPOaV4uVPO+LwYM8x DdZUOxzKuDBlJ/aUhZxEFnxmLg+urB+683tUwg/irE87+r5G/FDUG7WQ1rRtDUeGUvwV AyPBOp0scL5Vmc1n1aIVhVvpAkuz+BRbe81WdOtV071wt/hpYosJd6bijTzo3gMK3KEo xU8wvUZNuV94w9qFYpRFmLGXtzwDjJJoFKge4zdkmFwStOV1kZP+WoaZzCatoKzciq80 ZM6g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=JS6nox2OtUY/mvZ2tuNSygf/9zJbEzXxEi6RHbBxJwk=; fh=06DB4GRIB7e670qZuxRbmMvjrTmlMM3bBWQEsA+fbJg=; b=lyOeu5DuO/gES8qDYvBa/lOcwRhzbgG1bFXAIU/0OOqisFbsqMEzuYO/b5vnpuUIVY CcmrY2uzEDTUt5Jzy4G3AUAoEofwg+r+XqqwB+15LDMsvZeskhBme+kDWUGYHrTrWV4S yafijyuX5RlJjy8Fu1tu4IbG0RE2iQr7hvoL7hm6cNS5RRsFIL3nv/HQrHAqXX38j6u6 NMdkYOVNdESm8nxj+k0DUvTRUEXBcYZEzCBO8B/++oHVfSKjypDeELettlmz3jAI5kr2 bytNwZ4ak+8a17vjbo1uYOcOSoHqc0EQDPellfzBOXE9jbUH7Vmq9uEC1xmJne/tMvsQ C2HQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=Cdlsl7Tt; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-55105-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-55105-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org X-Forwarded-Encrypted: i=1; AJvYcCV+Y/k0ze6u2Z7baIE8TI2iG0ciEn3Srbwawxzmsfj41Cf3X/ukqAoC48w3Chgz45xTTnDPyOTAHU91rh+6mqeoSXlsA5xtgR43oVJ/ag== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id j8-20020a170906278800b00a3671d5fd31si1192121ejc.991.2024.02.06.06.24.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Feb 2024 06:24:41 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-55105-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=Cdlsl7Tt; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-55105-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-55105-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 96CDC1F270D2 for ; Tue, 6 Feb 2024 14:24:40 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0F66D13248D; Tue, 6 Feb 2024 14:24:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="Cdlsl7Tt" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0A61E12FF97; Tue, 6 Feb 2024 14:24:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707229467; cv=none; b=mPs3EtYJArPR7A97pIH9fYZZxE42lUXV/mD895ETuiY3F3N4n91zd+ngRWQOJ2DiRDtxw+N8X1V9/svIP0B7WO6MpfOw+tGB4hawXiUxBI4dvsIgnx+YXB9Gy8NhxkEfQHNg8Efz0CXcCj82Km90ZcDUvniiF8Um3rRQFqtXjsw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707229467; c=relaxed/simple; bh=LZhmzg4KBKuQN8gmVwYVjL7Q/LDk/w1Db/umrMK4dIQ=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=D7aXPzF9Kz9Ni+d+W1WtQf8xg6zlgtSmqm2hmPiY/T9oNoGmjWd9n2XXxzfEQIQCPefnSBlnGQzEfhjO99bkw6puC+ID7g1g9yEu9aKy/Se8gwkpYP8+IswztMrAU8pcvUstmg1+uV+QrWrVa5lxFCbmnSBvGsBWdTLmb2v21Ro= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Cdlsl7Tt; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 918D6C433C7; Tue, 6 Feb 2024 14:24:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1707229466; bh=LZhmzg4KBKuQN8gmVwYVjL7Q/LDk/w1Db/umrMK4dIQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Cdlsl7TttHTuGdn47fLyHckZ2861xI1Rzdfy4XDa7SmFTUY2ocuScrLRTY1rQFAbQ R0fSqRU2OYlICwGW8CXFa0DzRIjYTOISNpnWlgD80l3CRaxwck/y+XsCRwfe+ejUqt hILxVFp+p8SHOiCbPqdPTC1D+YxfKz6q6Z0RSyn0= Date: Tue, 6 Feb 2024 14:24:23 +0000 From: Greg Kroah-Hartman To: Yoann Congal Cc: linux-fsdevel@vger.kernel.org, linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org, x86@kernel.org, =?iso-8859-1?Q?Andr=E9?= Almeida , Borislav Petkov , Darren Hart , Dave Hansen , Davidlohr Bueso , Geert Uytterhoeven , "H . Peter Anvin" , Ingo Molnar , Jiri Slaby , John Ogness , Josh Triplett , Masahiro Yamada , Matthew Wilcox , Peter Zijlstra , Petr Mladek , Sergey Senozhatsky , Steven Rostedt , Thomas Gleixner , Willem de Bruijn Subject: Re: [PATCH v4 2/3] printk: Change type of CONFIG_BASE_SMALL to bool Message-ID: <2024020614-idealist-rentable-4df8@gregkh> References: <20240206001333.1710070-1-yoann.congal@smile.fr> <20240206001333.1710070-3-yoann.congal@smile.fr> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240206001333.1710070-3-yoann.congal@smile.fr> On Tue, Feb 06, 2024 at 01:13:32AM +0100, Yoann Congal wrote: > CONFIG_BASE_SMALL is currently a type int but is only used as a boolean. > > So, change its type to bool and adapt all usages: > CONFIG_BASE_SMALL == 0 becomes !IS_ENABLED(CONFIG_BASE_SMALL) and > CONFIG_BASE_SMALL != 0 becomes IS_ENABLED(CONFIG_BASE_SMALL). > > Signed-off-by: Yoann Congal > --- > NB: This is preliminary work for the following patch removing > CONFIG_BASE_FULL (now equivalent to !CONFIG_BASE_SMALL) Reviewed-by: Greg Kroah-Hartman