Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752767AbdFUFUZ (ORCPT ); Wed, 21 Jun 2017 01:20:25 -0400 Received: from ozlabs.org ([103.22.144.67]:34857 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751154AbdFUFUX (ORCPT ); Wed, 21 Jun 2017 01:20:23 -0400 Date: Wed, 21 Jun 2017 15:20:20 +1000 From: Stephen Rothwell To: Tejun Heo , Christoph Lameter , Ingo Molnar Cc: Linux-Next Mailing List , Linux Kernel Mailing List , Dennis Zhou Subject: linux-next: build warning after merge of the percpu tree Message-ID: <20170621152020.47cacaf6@canb.auug.org.au> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 694 Lines: 26 Hi all, After merging the percpu tree, today's linux-next build (arm multi_v7_defconfig) produced this warning: In file included from include/linux/kernel.h:13:0, from include/linux/bitmap.h:9, from mm/percpu.c:58: mm/percpu.c: In function 'pcpu_alloc': include/linux/printk.h:303:2: warning: 'err' may be used uninitialized in this function [-Wmaybe-uninitialized] printk(KERN_WARNING pr_fmt(fmt), ##__VA_ARGS__) ^ mm/percpu.c:864:14: note: 'err' was declared here const char *err; ^ I am not sure which commit introduced this, although the if (is_atomic) goto fail; in pcpu_alloc() looks suspicious. -- Cheers, Stephen Rothwell