Linux-mm Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [akpm-mm:mm-new 344/369] mm/alloc_tag.c:356:58: error: implicit declaration of function 'compat_ptr'
@ 2026-07-09  9:59 kernel test robot
  2026-07-09 14:44 ` Suren Baghdasaryan
  0 siblings, 1 reply; 6+ messages in thread
From: kernel test robot @ 2026-07-09  9:59 UTC (permalink / raw)
  To: Suren Baghdasaryan
  Cc: oe-kbuild-all, David Hildenbrand, Andrew Morton,
	Linux Memory Management List, mm-commits, Abhishek Bapat

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-new
head:   59e34180e138a293260301c139cf7ee800978533
commit: 27ace96bf8195484c9e9e1a08eb5af5a4e81f9f0 [344/369] alloc_tag: add ioctl to /proc/allocinfo
config: sparc64-randconfig-001-20260709 (https://download.01.org/0day-ci/archive/20260709/202607091820.qbjlGhKK-lkp@intel.com/config)
compiler: sparc64-linux-gcc (GCC) 15.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260709/202607091820.qbjlGhKK-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/202607091820.qbjlGhKK-lkp@intel.com/

All errors (new ones prefixed by >>):

   mm/alloc_tag.c: In function 'allocinfo_compat_ioctl':
>> mm/alloc_tag.c:356:58: error: implicit declaration of function 'compat_ptr' [-Wimplicit-function-declaration]
     356 |         return allocinfo_ioctl(file, cmd, (unsigned long)compat_ptr(arg));
         |                                                          ^~~~~~~~~~


vim +/compat_ptr +356 mm/alloc_tag.c

   351	
   352	#ifdef CONFIG_COMPAT
   353	static long allocinfo_compat_ioctl(struct file *file, unsigned int cmd,
   354					   unsigned long arg)
   355	{
 > 356		return allocinfo_ioctl(file, cmd, (unsigned long)compat_ptr(arg));
   357	}
   358	#endif
   359	

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2026-07-13 17:20 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-09  9:59 [akpm-mm:mm-new 344/369] mm/alloc_tag.c:356:58: error: implicit declaration of function 'compat_ptr' kernel test robot
2026-07-09 14:44 ` Suren Baghdasaryan
2026-07-13 16:43   ` Abhishek Bapat
2026-07-13 17:13     ` Suren Baghdasaryan
2026-07-13 17:15       ` Suren Baghdasaryan
2026-07-13 17:20         ` Abhishek Bapat

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox