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 X-Spam-Level: X-Spam-Status: No, score=-13.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8A57EC433ED for ; Mon, 17 May 2021 09:04:51 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 1863D61184 for ; Mon, 17 May 2021 09:04:51 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1863D61184 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linux.intel.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 418FF6B0036; Mon, 17 May 2021 05:04:50 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 3C9376B006E; Mon, 17 May 2021 05:04:50 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 243806B0070; Mon, 17 May 2021 05:04:50 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0104.hostedemail.com [216.40.44.104]) by kanga.kvack.org (Postfix) with ESMTP id DC5636B0036 for ; Mon, 17 May 2021 05:04:49 -0400 (EDT) Received: from smtpin35.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay01.hostedemail.com (Postfix) with ESMTP id 640F71802915D for ; Mon, 17 May 2021 09:04:49 +0000 (UTC) X-FDA: 78150137898.35.0E3BE2B Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by imf18.hostedemail.com (Postfix) with ESMTP id 9D3872000253 for ; Mon, 17 May 2021 09:04:47 +0000 (UTC) IronPort-SDR: tpRYa22F89e3QJAwrdW/zTBzaYRisVMaHe14iUSn2FMySDs/fkMM/hn1vGB7qJPWdx9jNR7zLd /ZTqQF0p/duQ== X-IronPort-AV: E=McAfee;i="6200,9189,9986"; a="198468161" X-IronPort-AV: E=Sophos;i="5.82,306,1613462400"; d="scan'208";a="198468161" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 May 2021 02:04:46 -0700 IronPort-SDR: ugOKd0QV3YzHpfDl3cDH6bmeCoNfVPyeTajmNEvZKMHIuzhH3IxVsrlVuyNzH8rAHSRmJwEW6o 3acLV5yO2KSw== X-IronPort-AV: E=Sophos;i="5.82,306,1613462400"; d="scan'208";a="393447129" Received: from smile.fi.intel.com (HELO smile) ([10.237.68.40]) by orsmga003-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 May 2021 02:04:45 -0700 Received: from andy by smile with local (Exim 4.94) (envelope-from ) id 1liZB4-00ChiG-48; Mon, 17 May 2021 12:04:42 +0300 Date: Mon, 17 May 2021 12:04:42 +0300 From: Andy Shevchenko To: Andrew Morton Cc: kernel test robot , kbuild-all@lists.01.org, Johannes Weiner , Bjorn Andersson , Linux Memory Management List Subject: Re: [hnaz-linux-mm:master 179/239] include/linux/thread_info.h:215:27: error: 'INT_MAX' undeclared Message-ID: References: <202105131700.z2HuiNSx-lkp@intel.com> <20210513120805.14ca5439fe8a1ec2a1168d8e@linux-foundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210513120805.14ca5439fe8a1ec2a1168d8e@linux-foundation.org> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo Authentication-Results: imf18.hostedemail.com; dkim=none; dmarc=fail reason="No valid SPF, No valid DKIM" header.from=intel.com (policy=none); spf=none (imf18.hostedemail.com: domain of andriy.shevchenko@linux.intel.com has no SPF policy when checking 192.55.52.120) smtp.mailfrom=andriy.shevchenko@linux.intel.com X-Rspamd-Server: rspam01 X-Rspamd-Queue-Id: 9D3872000253 X-Stat-Signature: so6h8zg4m8c8xx6crbu1m48ih4co3tdi X-HE-Tag: 1621242287-71176 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Thu, May 13, 2021 at 12:08:05PM -0700, Andrew Morton wrote: > On Thu, 13 May 2021 17:36:14 +0800 kernel test robot wrote: > > > tree: https://github.com/hnaz/linux-mm master > > head: 12891f829e4851b3562ddcde27a4a9ade308ada3 > > commit: 161b082aa6ac5047f1b0f243f0e834d2bfb39842 [179/239] kernel.h: split out panic and oops helpers > > config: nds32-defconfig (attached as .config) > > compiler: nds32le-linux-gcc (GCC) 9.3.0 > > reproduce (this is a W=1 build): > > wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross > > chmod +x ~/bin/make.cross > > # https://github.com/hnaz/linux-mm/commit/161b082aa6ac5047f1b0f243f0e834d2bfb39842 > > git remote add hnaz-linux-mm https://github.com/hnaz/linux-mm > > git fetch --no-tags hnaz-linux-mm master > > git checkout 161b082aa6ac5047f1b0f243f0e834d2bfb39842 > > # save the attached .config to linux build tree > > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross W=1 ARCH=nds32 > > > > If you fix the issue, kindly add following tag as appropriate > > Reported-by: kernel test robot > > > > Note: the hnaz-linux-mm/master HEAD 12891f829e4851b3562ddcde27a4a9ade308ada3 builds fine. > > It only hurts bisectibility. > > I'm surprised. I guess some later patch accidentally fixed it. For the record I have tested on x86/64, so we may see a few more breakage things, but I hope that the number will be quite small in comparison to the initial attempt. > I expect we'll see a bunch more gramlins like this. And I assume this > fixes: > > --- a/include/linux/thread_info.h~kernelh-split-out-panic-and-oops-helpers-fix > +++ a/include/linux/thread_info.h > @@ -9,6 +9,7 @@ > #define _LINUX_THREAD_INFO_H > > #include > +#include > #include > #include > #include > _ LGTM, thanks! -- With Best Regards, Andy Shevchenko From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============3573592043376025910==" MIME-Version: 1.0 From: Andy Shevchenko To: kbuild-all@lists.01.org Subject: Re: [hnaz-linux-mm:master 179/239] include/linux/thread_info.h:215:27: error: 'INT_MAX' undeclared Date: Mon, 17 May 2021 12:04:42 +0300 Message-ID: In-Reply-To: <20210513120805.14ca5439fe8a1ec2a1168d8e@linux-foundation.org> List-Id: --===============3573592043376025910== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable On Thu, May 13, 2021 at 12:08:05PM -0700, Andrew Morton wrote: > On Thu, 13 May 2021 17:36:14 +0800 kernel test robot wr= ote: > = > > tree: https://github.com/hnaz/linux-mm master > > head: 12891f829e4851b3562ddcde27a4a9ade308ada3 > > commit: 161b082aa6ac5047f1b0f243f0e834d2bfb39842 [179/239] kernel.h: sp= lit out panic and oops helpers > > config: nds32-defconfig (attached as .config) > > compiler: nds32le-linux-gcc (GCC) 9.3.0 > > reproduce (this is a W=3D1 build): > > wget https://raw.githubusercontent.com/intel/lkp-tests/master/s= bin/make.cross -O ~/bin/make.cross > > chmod +x ~/bin/make.cross > > # https://github.com/hnaz/linux-mm/commit/161b082aa6ac5047f1b0f= 243f0e834d2bfb39842 > > git remote add hnaz-linux-mm https://github.com/hnaz/linux-mm > > git fetch --no-tags hnaz-linux-mm master > > git checkout 161b082aa6ac5047f1b0f243f0e834d2bfb39842 > > # save the attached .config to linux build tree > > COMPILER_INSTALL_PATH=3D$HOME/0day COMPILER=3Dgcc-9.3.0 make.cr= oss W=3D1 ARCH=3Dnds32 = > > = > > If you fix the issue, kindly add following tag as appropriate > > Reported-by: kernel test robot > > = > > Note: the hnaz-linux-mm/master HEAD 12891f829e4851b3562ddcde27a4a9ade30= 8ada3 builds fine. > > It only hurts bisectibility. > = > I'm surprised. I guess some later patch accidentally fixed it. For the record I have tested on x86/64, so we may see a few more breakage things, but I hope that the number will be quite small in comparison to the initial attempt. > I expect we'll see a bunch more gramlins like this. And I assume this > fixes: > = > --- a/include/linux/thread_info.h~kernelh-split-out-panic-and-oops-helper= s-fix > +++ a/include/linux/thread_info.h > @@ -9,6 +9,7 @@ > #define _LINUX_THREAD_INFO_H > = > #include > +#include > #include > #include > #include > _ LGTM, thanks! -- = With Best Regards, Andy Shevchenko --===============3573592043376025910==--