Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1419047

Re: [PATCH trivial] include/linux/memory_hotplug.h: Clean up code

From kbuild test robot <lkp@intel.com>
Newsgroups linux.kernel
Subject Re: [PATCH trivial] include/linux/memory_hotplug.h: Clean up code
Date 2016-06-10 08:10 +0200
Message-ID <rInNL-Wc-3@gated-at.bofh.it> (permalink)
References <rIlLX-7Pi-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Hi,

[auto build test ERROR on next-20160609]
[also build test ERROR on v4.7-rc2]
[cannot apply to v4.7-rc2 v4.7-rc1 v4.6-rc7]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/chengang-emindsoft-com-cn/include-linux-memory_hotplug-h-Clean-up-code/20160610-114959
config: blackfin-TCM-BF537_defconfig (attached as .config)
compiler: bfin-uclinux-gcc (GCC) 4.6.3
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=blackfin 

All errors (new ones prefixed by >>):

   In file included from include/linux/mmzone.h:741:0,
                    from include/linux/gfp.h:5,
                    from include/linux/kmod.h:22,
                    from include/linux/module.h:13,
                    from include/linux/moduleloader.h:5,
                    from arch/blackfin/kernel/module.c:9:
   include/linux/memory_hotplug.h: In function 'mhp_notimplemented':
>> include/linux/memory_hotplug.h:225:2: error: 'mod' undeclared (first use in this function)
   include/linux/memory_hotplug.h:225:2: note: each undeclared identifier is reported only once for each function it appears in

vim +/mod +225 include/linux/memory_hotplug.h

   219	static inline void zone_span_writelock(struct zone *zone) {}
   220	static inline void zone_span_writeunlock(struct zone *zone) {}
   221	static inline void zone_seqlock_init(struct zone *zone) {}
   222	
   223	static inline int mhp_notimplemented(const char *func)
   224	{
 > 225		pr_warn("%s() called, with CONFIG_MEMORY_HOTPLUG disabled\n", func);
   226		dump_stack();
   227		return -ENOSYS;
   228	}

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH trivial] include/linux/memory_hotplug.h: Clean up code chengang@emindsoft.com.cn - 2016-06-10 06:00 +0200
  Re: [PATCH trivial] include/linux/memory_hotplug.h: Clean up code kbuild test robot <lkp@intel.com> - 2016-06-10 08:10 +0200
    Re: [PATCH trivial] include/linux/memory_hotplug.h: Clean up code Chen Gang <chengang@emindsoft.com.cn> - 2016-06-10 11:10 +0200

csiph-web