From: kernel test robot <lkp@intel.com>
To: Mark Brown <broonie@kernel.org>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev
Subject: [broonie-ci:mm-generic-shadow-stack-guard 2/4] arch/mips/mm/mmap.c:100:15: error: conflicting types for 'arch_get_unmapped_area'
Date: Tue, 3 Sep 2024 14:10:29 +0800 [thread overview]
Message-ID: <202409031447.Lquudk3F-lkp@intel.com> (raw)
Hi Mark,
FYI, the error/warning was bisected to this commit, please ignore it if it's irrelevant.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/ci.git mm-generic-shadow-stack-guard
head: cb02398ba093f1730eca10afbb4baea7af28b1e5
commit: e20e42643b0c31b61ae8f48fa1ec3ecabcac1b4b [2/4] mm: Make arch_get_unmapped_area() take vm_flags by default
config: mips-db1xxx_defconfig (https://download.01.org/0day-ci/archive/20240903/202409031447.Lquudk3F-lkp@intel.com/config)
compiler: clang version 20.0.0git (https://github.com/llvm/llvm-project dc19b59ea2502193c0e7bc16bb7d711c8053edcf)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240903/202409031447.Lquudk3F-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202409031447.Lquudk3F-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from arch/mips/mm/mmap.c:12:
In file included from include/linux/mm.h:2228:
include/linux/vmstat.h:514:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion]
514 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_"
| ~~~~~~~~~~~ ^ ~~~
>> arch/mips/mm/mmap.c:100:15: error: conflicting types for 'arch_get_unmapped_area'
100 | unsigned long arch_get_unmapped_area(struct file *filp, unsigned long addr0,
| ^
include/linux/sched/mm.h:184:1: note: previous declaration is here
184 | arch_get_unmapped_area(struct file *filp, unsigned long addr,
| ^
1 warning and 1 error generated.
vim +/arch_get_unmapped_area +100 arch/mips/mm/mmap.c
d0be89f6c2570a6 Jian Peng 2011-05-17 99
d0be89f6c2570a6 Jian Peng 2011-05-17 @100 unsigned long arch_get_unmapped_area(struct file *filp, unsigned long addr0,
d0be89f6c2570a6 Jian Peng 2011-05-17 101 unsigned long len, unsigned long pgoff, unsigned long flags)
d0be89f6c2570a6 Jian Peng 2011-05-17 102 {
16650107579aed8 Kevin Cernekee 2011-06-18 103 return arch_get_unmapped_area_common(filp,
d0be89f6c2570a6 Jian Peng 2011-05-17 104 addr0, len, pgoff, flags, UP);
d0be89f6c2570a6 Jian Peng 2011-05-17 105 }
d0be89f6c2570a6 Jian Peng 2011-05-17 106
:::::: The code at line 100 was first introduced by commit
:::::: d0be89f6c2570a63ac44ccdd12473a54243cd296 MIPS: topdown mmap support
:::::: TO: Jian Peng <jipeng2005@gmail.com>
:::::: CC: Ralf Baechle <ralf@linux-mips.org>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2024-09-03 6:10 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=202409031447.Lquudk3F-lkp@intel.com \
--to=lkp@intel.com \
--cc=broonie@kernel.org \
--cc=llvm@lists.linux.dev \
--cc=oe-kbuild-all@lists.linux.dev \
/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