From patchwork Fri Nov 2 02:52:24 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fengguang Wu X-Patchwork-Id: 1687161 Return-Path: X-Original-To: patchwork-linux-pm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id B30123FCDF for ; Fri, 2 Nov 2012 02:52:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1762632Ab2KBCwx (ORCPT ); Thu, 1 Nov 2012 22:52:53 -0400 Received: from mga11.intel.com ([192.55.52.93]:9071 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1762607Ab2KBCww (ORCPT ); Thu, 1 Nov 2012 22:52:52 -0400 Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga102.fm.intel.com with ESMTP; 01 Nov 2012 19:52:51 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.80,696,1344236400"; d="diff'?scan'208";a="241636014" Received: from bee.sh.intel.com (HELO localhost) ([10.239.97.14]) by fmsmga001.fm.intel.com with ESMTP; 01 Nov 2012 19:52:50 -0700 Received: from [192.168.1.61] (helo=snb.lkp.intel.com) by localhost with smtp (Exim 4.80) (envelope-from ) id 1TU7LT-000U8d-F3; Fri, 02 Nov 2012 10:50:55 +0800 Date: Fri, 02 Nov 2012 10:52:24 +0800 From: kbuild test robot To: Daniel Lezcano Cc: linux-pm@vger.kernel.org, "Rafael J. Wysocki" Subject: drivers/cpuidle/driver.c:81:1: sparse: symbol '__pcpu_scope_cpuidle_drivers' was not declared. Should it be static? Message-ID: <50933568.RII3EAaoOWvGDiO6%fengguang.wu@intel.com> User-Agent: Heirloom mailx 12.5 6/20/10 MIME-Version: 1.0 X-SA-Exim-Connect-IP: 192.168.1.61 X-SA-Exim-Mail-From: fengguang.wu@intel.com X-SA-Exim-Scanned: No (on localhost); SAEximRunCond expanded to false Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org tree: git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git linux-next head: e709b61f9efd3b4ac899e5c4f7b881fdc694f343 commit: 4e6eebfe11765c746aef06f7c6aa0a6d3ff34a1c cpuidle: support multiple drivers date: 5 hours ago sparse warnings: + drivers/cpuidle/driver.c:81:1: sparse: symbol '__pcpu_scope_cpuidle_drivers' was not declared. Should it be static? Please consider folding the attached diff :-) --- 0-DAY kernel build testing backend Open Source Technology Center Fengguang Wu, Yuanhan Liu Intel Corporation diff --git a/drivers/cpuidle/driver.c b/drivers/cpuidle/driver.c index 465e256..3af841f 100644 --- a/drivers/cpuidle/driver.c +++ b/drivers/cpuidle/driver.c @@ -78,7 +78,7 @@ static void __cpuidle_unregister_driver(struct cpuidle_driver *drv, int cpu) #ifdef CONFIG_CPU_IDLE_MULTIPLE_DRIVERS -DEFINE_PER_CPU(struct cpuidle_driver *, cpuidle_drivers); +static DEFINE_PER_CPU(struct cpuidle_driver *, cpuidle_drivers); static void __cpuidle_set_cpu_driver(struct cpuidle_driver *drv, int cpu) {