Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp3487061rdb; Wed, 27 Dec 2023 08:54:23 -0800 (PST) X-Google-Smtp-Source: AGHT+IFXWLokNAzIPeZkSMoI+gnV3VcutG41tLNiafb60sHqtDT8q7KAuQjQcmcbW25nIqEuhBgX X-Received: by 2002:a05:6a00:78c:b0:6d9:8d76:5639 with SMTP id g12-20020a056a00078c00b006d98d765639mr6841672pfu.41.1703696063055; Wed, 27 Dec 2023 08:54:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703696062; cv=none; d=google.com; s=arc-20160816; b=IQU6mb2/ZfqK5WS1EaXmWBU3KDMpJnA3tpe5H7nsi+sdLlmQmNAhBna3gWZGS/0bE8 3TEdl8M38plC/pW1zkak4lo5WFWYUwLlxmNSaAigl86DkSebmEzLb1rORVmkoGBK/HZL rH/dHsp8/SEue8/1je9CAz4I05ZZ/OQU2dv3e3IIpEcAueMYQ6Uqh+DnVJkCOfKjim2j RtVrG8GO4DGMcWmwTZ/IDcoEO8AejMIv76KlFuITsr2FJ/CBg0ssQruWXY1uZwqL7rD/ /3xvXsfbL4RG5wjor6aYRCyM2F1xceUEZFSdiXM92QCDopH4F7lTJ9CzMuyiklstAz/B u6RA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=organization:in-reply-to:content-disposition:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:references :message-id:subject:cc:to:from:date; bh=ars8MNRcmBubnBGuTofs0PFeSx3MsfBp6ZUiS8JajVU=; fh=ofY4V6g6TAm646ENTcOoc4halSF83NcQ8yHIi4npkvM=; b=o2cJKRfSB0gjK4dnyaGrzH36bkpqyCz3hmyKZxt3jP0Qq3N7n4CP9RQC2/o+ZQecn3 hLiw6Btj/hWAEjeDyrGZRol47nJ2b8IF8k4e91N96JSuDo/+fxQ3brqA539eGNwslgrx L5N1ezfXm9Y2xwGq5Y43d7+eaoNeRjfylZtvOLj5NRyjyyRJCYJif6ApqhDkYI6WqlsG b0lQFAjzcKxHQyV2epCtCUtXmMPlMjrl4cmQGHX8XFrdjq41forxsSbagcci/G/n/0fu FKwLo9JRLfHoYlwMXZThUco+fUfZJ2mUSftBRI7R08jCAWlR9doxjJ81s5O4kXkNUFAq BdHw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-12151-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-12151-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id u17-20020a056a00099100b006d9be27e104si2531233pfg.182.2023.12.27.08.54.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Dec 2023 08:54:22 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-12151-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-12151-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-12151-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.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 sv.mirrors.kernel.org (Postfix) with ESMTPS id AAE062823BD for ; Wed, 27 Dec 2023 16:54:22 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CC8C345C0A; Wed, 27 Dec 2023 16:54:16 +0000 (UTC) X-Original-To: linux-kernel@vger.kernel.org Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.9]) (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 07F3C45030; Wed, 27 Dec 2023 16:54:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=kernel.org X-IronPort-AV: E=McAfee;i="6600,9927,10936"; a="3296718" X-IronPort-AV: E=Sophos;i="6.04,309,1695711600"; d="scan'208";a="3296718" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmvoesa103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Dec 2023 08:53:56 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10936"; a="951539808" X-IronPort-AV: E=Sophos;i="6.04,309,1695711600"; d="scan'208";a="951539808" Received: from smile.fi.intel.com ([10.237.72.54]) by orsmga005.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Dec 2023 08:53:52 -0800 Received: from andy by smile.fi.intel.com with local (Exim 4.97) (envelope-from ) id 1rIXAC-00000009T4e-2oGN; Wed, 27 Dec 2023 18:53:48 +0200 Date: Wed, 27 Dec 2023 18:53:48 +0200 From: Andy Shevchenko To: Tanzir Hasan Cc: Kees Cook , Nick Desaulniers , linux-hardening@vger.kernel.org, linux-kernel@vger.kernel.org, Andrew Morton , Greg KH , llvm@lists.linux.dev, Al Viro Subject: Re: [PATCH v6 1/2] kernel.h: removed REPEAT_BYTE from kernel.h Message-ID: References: <20231226-libstringheader-v6-0-80aa08c7652c@google.com> <20231226-libstringheader-v6-1-80aa08c7652c@google.com> 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: <20231226-libstringheader-v6-1-80aa08c7652c@google.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo On Tue, Dec 26, 2023 at 06:00:00PM +0000, Tanzir Hasan wrote: > This patch creates wordpart.h and includes it in asm/word-at-a-time.h > for all architectures. WORD_AT_A_TIME_CONSTANTS depends on kernel.h > because of REPEAT_BYTE. Moving this to another header and including it > where necessary allows us to not include the bloated kernel.h. Making > this implicit dependency on REPEAT_BYTE explicit allows for later > improvements in the lib/string.c inclusion list. LGTM, and I hope this will not trigger CIs and other build checkers. Reviewed-by: Andy Shevchenko ... > --- a/arch/powerpc/include/asm/word-at-a-time.h > +++ b/arch/powerpc/include/asm/word-at-a-time.h > @@ -4,8 +4,8 @@ > /* > * Word-at-a-time interfaces for PowerPC. > */ > - You can preserve this blank line... > -#include > +#include > +#include ...here. > #include > #include -- With Best Regards, Andy Shevchenko