* [arnd-playground:randconfig-7.3-next 428/673] mm/mmap.c:630 __do_sys_mmap2() warn: bitwise AND condition is false here
@ 2026-09-26 0:58 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-09-26 0:58 UTC (permalink / raw)
To: oe-kbuild; +Cc: lkp, Dan Carpenter
BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
TO: Arnd Bergmann <arnd@arndb.de>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/arnd/playground.git randconfig-7.3-next
head: 0a1affa74ef2f2c5c5ee74fc604e47a1aefdd286
commit: 4d3c9be36cf7289309c7c25302ca4aa669df9032 [428/673] treewide: replace mmap_pgoff() with mmap2()
:::::: branch date: 6 days ago
:::::: commit date: 9 days ago
config: i386-randconfig-2200-20260925 (https://download.01.org/0day-ci/archive/20260926/202609260253.DKqZX8BZ-lkp@intel.com/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
smatch: v0.5.0-9187-g5189e3fb
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>
| Reported-by: Dan Carpenter <error27@gmail.com>
| Closes: https://lore.kernel.org/r/202609260253.DKqZX8BZ-lkp@intel.com/
smatch warnings:
mm/mmap.c:630 __do_sys_mmap2() warn: bitwise AND condition is false here
mm/mmap.c:630 __do_sys_mmap2() warn: bitwise AND condition is false here
vim +630 mm/mmap.c
66f0dc481e5b80 Hugh Dickins 2009-12-30 625
4d3c9be36cf728 Arnd Bergmann 2021-12-22 626 SYSCALL_DEFINE6(mmap2, unsigned long, addr, unsigned long, len,
a90f590a1bee36 Dominik Brodowski 2018-03-11 627 unsigned long, prot, unsigned long, flags,
4d3c9be36cf728 Arnd Bergmann 2021-12-22 628 unsigned long, fd, unsigned long, off_4k)
a90f590a1bee36 Dominik Brodowski 2018-03-11 629 {
4d3c9be36cf728 Arnd Bergmann 2021-12-22 @630 if (off_4k & (~PAGE_MASK >> 12))
4d3c9be36cf728 Arnd Bergmann 2021-12-22 631 return -EINVAL;
4d3c9be36cf728 Arnd Bergmann 2021-12-22 632
4d3c9be36cf728 Arnd Bergmann 2021-12-22 633 off_4k >>= (PAGE_SHIFT - 12);
4d3c9be36cf728 Arnd Bergmann 2021-12-22 634
4d3c9be36cf728 Arnd Bergmann 2021-12-22 635 return ksys_mmap_pgoff(addr, len, prot, flags, fd, off_4k);
a90f590a1bee36 Dominik Brodowski 2018-03-11 636 }
a90f590a1bee36 Dominik Brodowski 2018-03-11 637
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-26 0:59 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-26 0:58 [arnd-playground:randconfig-7.3-next 428/673] mm/mmap.c:630 __do_sys_mmap2() warn: bitwise AND condition is false here kernel test robot
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.