From: kernel test robot <lkp@intel.com>
To: Ingo Molnar <mingo@kernel.org>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org
Subject: [mingo-tip:master 2219/2335] arch/sparc/include/asm/page_64.h:177:33: error: implicit declaration of function 'pfn_valid'; did you mean 'gid_valid'?
Date: Wed, 16 Mar 2022 11:04:35 +0800 [thread overview]
Message-ID: <202203161013.ol6kb6T6-lkp@intel.com> (raw)
tree: git://git.kernel.org/pub/scm/linux/kernel/git/mingo/tip.git master
head: 85293bf3fca6d85608cff1447ce3097583f15fab
commit: 96fe05cecfceff760842012750f6955637aa928d [2219/2335] headers/deps: mm: Optimize <linux/mm_api.h> dependencies, remove <linux/mmzone_api.h> dependency
config: sparc64-buildonly-randconfig-r002-20220314 (https://download.01.org/0day-ci/archive/20220316/202203161013.ol6kb6T6-lkp@intel.com/config)
compiler: sparc64-linux-gcc (GCC) 11.2.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://git.kernel.org/pub/scm/linux/kernel/git/mingo/tip.git/commit/?id=96fe05cecfceff760842012750f6955637aa928d
git remote add mingo-tip git://git.kernel.org/pub/scm/linux/kernel/git/mingo/tip.git
git fetch --no-tags mingo-tip master
git checkout 96fe05cecfceff760842012750f6955637aa928d
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=sparc64 SHELL=/bin/bash drivers/mtd/nand/raw/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
In file included from arch/sparc/include/asm/page.h:8,
from arch/sparc/include/asm/thread_info_64.h:27,
from arch/sparc/include/asm/thread_info.h:5,
from include/linux/thread_info.h:63,
from arch/sparc/include/asm/current.h:15,
from arch/sparc/include/asm/smp_64.h:33,
from arch/sparc/include/asm/smp.h:5,
from include/linux/smp_api.h:15,
from include/linux/lockdep_api.h:27,
from include/linux/timer.h:5,
from include/linux/workqueue_types.h:9,
from include/linux/workqueue.h:5,
from include/linux/kobject_api.h:30,
from include/linux/of_api.h:26,
from drivers/mtd/nand/raw/nand_base.c:28:
drivers/mtd/nand/raw/nand_base.c: In function 'nand_do_read_ops':
>> arch/sparc/include/asm/page_64.h:177:33: error: implicit declaration of function 'pfn_valid'; did you mean 'gid_valid'? [-Werror=implicit-function-declaration]
177 | #define virt_addr_valid(kaddr) pfn_valid(__pa(kaddr) >> PAGE_SHIFT)
| ^~~~~~~~~
drivers/mtd/nand/raw/nand_base.c:3448:43: note: in expansion of macro 'virt_addr_valid'
3448 | use_bounce_buf = !virt_addr_valid(buf) ||
| ^~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
vim +177 arch/sparc/include/asm/page_64.h
f5e706ad886b6a include/asm-sparc/page_64.h Sam Ravnborg 2008-07-17 176
f5e706ad886b6a include/asm-sparc/page_64.h Sam Ravnborg 2008-07-17 @177 #define virt_addr_valid(kaddr) pfn_valid(__pa(kaddr) >> PAGE_SHIFT)
f5e706ad886b6a include/asm-sparc/page_64.h Sam Ravnborg 2008-07-17 178
:::::: The code at line 177 was first introduced by commit
:::::: f5e706ad886b6a5eb59637830110b09ccebf01c5 sparc: join the remaining header files
:::::: TO: Sam Ravnborg <sam@ravnborg.org>
:::::: CC: David S. Miller <davem@davemloft.net>
---
0-DAY CI Kernel Test Service
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
reply other threads:[~2022-03-16 3:04 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=202203161013.ol6kb6T6-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®