All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mel Gorman <mgorman@suse.de>
To: kbuild-all@lists.01.org
Subject: Re: [linux-next:master 5596/5886] arch/x86/include/asm/fixmap.h:103:48: error: use of undeclared identifier 'NR_CPUS'
Date: Tue, 01 Jun 2021 08:48:45 +0100	[thread overview]
Message-ID: <20210601074845.GO3672@suse.de> (raw)
In-Reply-To: <20210531150554.bb7769cdedb4fd9bf471b891@linux-foundation.org>

[-- Attachment #1: Type: text/plain, Size: 2324 bytes --]

On Mon, May 31, 2021 at 03:05:54PM -0700, Andrew Morton wrote:
> On Mon, 31 May 2021 10:39:17 +0100 Mel Gorman <mgorman@suse.de> wrote:
> 
> > On Sun, May 30, 2021 at 07:58:14PM +0800, kernel test robot wrote:
> > > tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
> > > head:   3e029760e6f8ce90c122c267a039ae73b3f1f5a4
> > > commit: 366e9aec4a22d77b869f1b7641a74fdd96f02b4c [5596/5886] mm/early_ioremap: add prototype for early_memremap_pgprot_adjust
> > > config: x86_64-randconfig-a006-20210530 (attached as .config)
> > > compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project bc6799f2f79f0ae87e9f1ebf9d25ba799fbd25a9)
> > > 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
> > >         # install x86_64 cross compiling tool for clang build
> > >         # apt-get install binutils-x86-64-linux-gnu
> > >         # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=366e9aec4a22d77b869f1b7641a74fdd96f02b4c
> > >         git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
> > >         git fetch --no-tags linux-next master
> > >         git checkout 366e9aec4a22d77b869f1b7641a74fdd96f02b4c
> > >         # save the attached .config to linux build tree
> > >         COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64 
> > > 
> > 
> > Hi Andrew,
> > 
> > Can you please drop the patch
> > mm-early_ioremap-add-prototype-for-early_memremap_pgprot_adjust.patch?
> 
> Didn't I fix this with
> mm-early_ioremap-add-prototype-for-early_memremap_pgprot_adjust-fix.patch?
> 
> This fix is lame - x86's fixmap.h should be standalone.  But this gets us
> moving ahead with the MM changes for now.
> 

I think you did fix it but I was surprised by the level
of fallout from this patch and then there were objections
to adding header dependencies unnecessarily such as this
https://lore.kernel.org/lkml/YK3vrIB7cWop+UIW(a)gmail.com/ .  That was
specific to modifying the x86 headers so your fix should not hit the same
objection but still, as you said, x86 fixmap should be standalone.

-- 
Mel Gorman
SUSE Labs

WARNING: multiple messages have this Message-ID (diff)
From: Mel Gorman <mgorman@suse.de>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: kernel test robot <lkp@intel.com>,
	kbuild-all@lists.01.org, clang-built-linux@googlegroups.com,
	Linux Memory Management List <linux-mm@kvack.org>,
	Yang Shi <shy828301@gmail.com>
Subject: Re: [linux-next:master 5596/5886] arch/x86/include/asm/fixmap.h:103:48: error: use of undeclared identifier 'NR_CPUS'
Date: Tue, 1 Jun 2021 08:48:45 +0100	[thread overview]
Message-ID: <20210601074845.GO3672@suse.de> (raw)
In-Reply-To: <20210531150554.bb7769cdedb4fd9bf471b891@linux-foundation.org>

On Mon, May 31, 2021 at 03:05:54PM -0700, Andrew Morton wrote:
> On Mon, 31 May 2021 10:39:17 +0100 Mel Gorman <mgorman@suse.de> wrote:
> 
> > On Sun, May 30, 2021 at 07:58:14PM +0800, kernel test robot wrote:
> > > tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
> > > head:   3e029760e6f8ce90c122c267a039ae73b3f1f5a4
> > > commit: 366e9aec4a22d77b869f1b7641a74fdd96f02b4c [5596/5886] mm/early_ioremap: add prototype for early_memremap_pgprot_adjust
> > > config: x86_64-randconfig-a006-20210530 (attached as .config)
> > > compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project bc6799f2f79f0ae87e9f1ebf9d25ba799fbd25a9)
> > > 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
> > >         # install x86_64 cross compiling tool for clang build
> > >         # apt-get install binutils-x86-64-linux-gnu
> > >         # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=366e9aec4a22d77b869f1b7641a74fdd96f02b4c
> > >         git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
> > >         git fetch --no-tags linux-next master
> > >         git checkout 366e9aec4a22d77b869f1b7641a74fdd96f02b4c
> > >         # save the attached .config to linux build tree
> > >         COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64 
> > > 
> > 
> > Hi Andrew,
> > 
> > Can you please drop the patch
> > mm-early_ioremap-add-prototype-for-early_memremap_pgprot_adjust.patch?
> 
> Didn't I fix this with
> mm-early_ioremap-add-prototype-for-early_memremap_pgprot_adjust-fix.patch?
> 
> This fix is lame - x86's fixmap.h should be standalone.  But this gets us
> moving ahead with the MM changes for now.
> 

I think you did fix it but I was surprised by the level
of fallout from this patch and then there were objections
to adding header dependencies unnecessarily such as this
https://lore.kernel.org/lkml/YK3vrIB7cWop+UIW@gmail.com/ .  That was
specific to modifying the x86 headers so your fix should not hit the same
objection but still, as you said, x86 fixmap should be standalone.

-- 
Mel Gorman
SUSE Labs


  reply	other threads:[~2021-06-01  7:48 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-30 11:58 [linux-next:master 5596/5886] arch/x86/include/asm/fixmap.h:103:48: error: use of undeclared identifier 'NR_CPUS' kernel test robot
2021-05-30 11:58 ` kernel test robot
2021-05-31  9:39 ` Mel Gorman
2021-05-31  9:39   ` Mel Gorman
2021-05-31 22:05   ` Andrew Morton
2021-05-31 22:05     ` Andrew Morton
2021-06-01  7:48     ` Mel Gorman [this message]
2021-06-01  7:48       ` Mel Gorman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210601074845.GO3672@suse.de \
    --to=mgorman@suse.de \
    --cc=kbuild-all@lists.01.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.