From: kbuild test robot <lkp@intel.com> To: Christophe Leroy <christophe.leroy@c-s.fr> Cc: kbuild-all@01.org, Johannes Weiner <hannes@cmpxchg.org>, Mike Rapoport <rppt@linux.ibm.com>, Andrew Morton <akpm@linux-foundation.org>, Linux Memory Management List <linux-mm@kvack.org> Subject: [mmotm:master 342/391] arch/powerpc/kernel/setup_32.c:176:21: error: redefinition of 'alloc_stack' Date: Tue, 26 Feb 2019 12:24:17 +0800 [thread overview] Message-ID: <201902261214.GfZVc99M%fengguang.wu@intel.com> (raw) [-- Attachment #1: Type: text/plain, Size: 1986 bytes --] tree: git://git.cmpxchg.org/linux-mmotm.git master head: 896e6c5ee0c0ead9790f7ac202a672132bacbf66 commit: 7b6550d180d48e250049759362b5cc2cf02544c9 [342/391] powerpc: use memblock functions returning virtual address config: powerpc-allnoconfig (attached as .config) compiler: powerpc-linux-gnu-gcc (Debian 8.2.0-11) 8.2.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross git checkout 7b6550d180d48e250049759362b5cc2cf02544c9 # save the attached .config to linux build tree GCC_VERSION=8.2.0 make.cross ARCH=powerpc All errors (new ones prefixed by >>): >> arch/powerpc/kernel/setup_32.c:176:21: error: redefinition of 'alloc_stack' static void *__init alloc_stack(void) ^~~~~~~~~~~ arch/powerpc/kernel/setup_32.c:165:21: note: previous definition of 'alloc_stack' was here static void *__init alloc_stack(void) ^~~~~~~~~~~ >> arch/powerpc/kernel/setup_32.c:165:21: error: 'alloc_stack' defined but not used [-Werror=unused-function] cc1: all warnings being treated as errors vim +/alloc_stack +176 arch/powerpc/kernel/setup_32.c 164 > 165 static void *__init alloc_stack(void) 166 { 167 void *ptr = memblock_alloc(THREAD_SIZE, THREAD_SIZE); 168 169 if (!ptr) 170 panic("cannot allocate %d bytes for stack at %pS\n", 171 THREAD_SIZE, (void *)_RET_IP_); 172 173 return ptr; 174 } 175 > 176 static void *__init alloc_stack(void) 177 { 178 void *ptr = memblock_alloc(THREAD_SIZE, THREAD_SIZE); 179 180 if (!ptr) 181 panic("cannot allocate %d bytes for stack at %pS\n", 182 THREAD_SIZE, (void *)_RET_IP_); 183 184 return ptr; 185 } 186 --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation [-- Attachment #2: .config.gz --] [-- Type: application/gzip, Size: 5684 bytes --]
next reply other threads:[~2019-02-26 4:25 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2019-02-26 4:24 kbuild test robot [this message] 2019-02-26 6:40 ` Mike Rapoport
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=201902261214.GfZVc99M%fengguang.wu@intel.com \ --to=lkp@intel.com \ --cc=akpm@linux-foundation.org \ --cc=christophe.leroy@c-s.fr \ --cc=hannes@cmpxchg.org \ --cc=kbuild-all@01.org \ --cc=linux-mm@kvack.org \ --cc=rppt@linux.ibm.com \ --subject='Re: [mmotm:master 342/391] arch/powerpc/kernel/setup_32.c:176:21: error: redefinition of '\''alloc_stack'\''' \ /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
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.