public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: [PATCH v6 3/3] mm: add a field to store names for private anonymous memory
       [not found] <20200901091901.19779-4-sumit.semwal@linaro.org>
@ 2020-09-01 13:31 ` kernel test robot
  2020-09-01 14:48 ` kernel test robot
  1 sibling, 0 replies; 2+ messages in thread
From: kernel test robot @ 2020-09-01 13:31 UTC (permalink / raw)
  To: Sumit Semwal, Andrew Morton, linux-kernel, Alexey Dobriyan,
	Jonathan Corbet
  Cc: kbuild-all, Linux Memory Management List, Mauro Carvalho Chehab,
	linux-media, Kees Cook, Michal Hocko, Colin Cross

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

Hi Sumit,

I love your patch! Yet something to improve:

[auto build test ERROR on linus/master]
[also build test ERROR on v5.9-rc3]
[cannot apply to hnaz-linux-mm/master linux/master next-20200828]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]

url:    https://github.com/0day-ci/linux/commits/Sumit-Semwal/Anonymous-VMA-naming-patches/20200901-172131
base:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git b51594df17d0ce80b9f9f35394a1f42d7ac94472
config: m68k-randconfig-s032-20200901 (attached as .config)
compiler: m68k-linux-gcc (GCC) 9.3.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # apt-get install sparse
        # sparse version: v0.6.2-191-g10164920-dirty
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=m68k 

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 >>):

   m68k-linux-ld: kernel/sys.o: in function `prctl_set_vma':
>> kernel/sys.c:2294: undefined reference to `madvise_set_anon_name'

# https://github.com/0day-ci/linux/commit/aff01cd66b017fe09b1a449d66c8988bcc5960b9
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Sumit-Semwal/Anonymous-VMA-naming-patches/20200901-172131
git checkout aff01cd66b017fe09b1a449d66c8988bcc5960b9
vim +2294 kernel/sys.c

  2282	
  2283	#ifdef CONFIG_MMU
  2284	static int prctl_set_vma(unsigned long opt, unsigned long addr,
  2285				 unsigned long len, unsigned long arg)
  2286	{
  2287		struct mm_struct *mm = current->mm;
  2288		int error;
  2289	
  2290		mmap_write_lock(mm);
  2291	
  2292		switch (opt) {
  2293		case PR_SET_VMA_ANON_NAME:
> 2294			error = madvise_set_anon_name(addr, len, arg);
  2295			break;
  2296		default:
  2297			error = -EINVAL;
  2298		}
  2299	
  2300		mmap_write_unlock(mm);
  2301	
  2302		return error;
  2303	}
  2304	#else /* CONFIG_MMU */
  2305	static int prctl_set_vma(unsigned long opt, unsigned long start,
  2306				 unsigned long len_in, unsigned long arg)
  2307	{
  2308		return -EINVAL;
  2309	}
  2310	#endif
  2311	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 24492 bytes --]

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

* Re: [PATCH v6 3/3] mm: add a field to store names for private anonymous memory
       [not found] <20200901091901.19779-4-sumit.semwal@linaro.org>
  2020-09-01 13:31 ` [PATCH v6 3/3] mm: add a field to store names for private anonymous memory kernel test robot
@ 2020-09-01 14:48 ` kernel test robot
  1 sibling, 0 replies; 2+ messages in thread
From: kernel test robot @ 2020-09-01 14:48 UTC (permalink / raw)
  To: Sumit Semwal, Andrew Morton, linux-kernel, Alexey Dobriyan,
	Jonathan Corbet
  Cc: kbuild-all, Linux Memory Management List, Mauro Carvalho Chehab,
	linux-media, Kees Cook, Michal Hocko, Colin Cross

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

Hi Sumit,

I love your patch! Yet something to improve:

[auto build test ERROR on linus/master]
[also build test ERROR on v5.9-rc3]
[cannot apply to hnaz-linux-mm/master linux/master next-20200828]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]

url:    https://github.com/0day-ci/linux/commits/Sumit-Semwal/Anonymous-VMA-naming-patches/20200901-172131
base:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git b51594df17d0ce80b9f9f35394a1f42d7ac94472
config: x86_64-randconfig-a005-20200901 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce (this is a W=1 build):
        # save the attached .config to linux build tree
        make W=1 ARCH=x86_64 

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 >>):

   ld: kernel/sys.o: in function `prctl_set_vma':
   kernel/sys.c:2294: undefined reference to `madvise_set_anon_name'
>> ld: kernel/sys.c:2294: undefined reference to `madvise_set_anon_name'

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 32878 bytes --]

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

end of thread, other threads:[~2020-09-01 15:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20200901091901.19779-4-sumit.semwal@linaro.org>
2020-09-01 13:31 ` [PATCH v6 3/3] mm: add a field to store names for private anonymous memory kernel test robot
2020-09-01 14:48 ` kernel test robot

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