From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.codeaurora.org ([198.145.29.96]:53910 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935131AbcKJXpR (ORCPT ); Thu, 10 Nov 2016 18:45:17 -0500 Date: Thu, 10 Nov 2016 15:45:15 -0800 From: Stephen Boyd To: kbuild test robot Cc: Bastian =?iso-8859-1?Q?K=F6cher?= , kbuild-all@01.org, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Jeremy McNicoll Subject: Re: [clk:clk-qcom-8994 2/2] include/linux/module.h:213:1: error: expected ',' or ';' before 'extern' Message-ID: <20161110234515.GO16026@codeaurora.org> References: <201611110732.1ceuZvsr%fengguang.wu@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <201611110732.1ceuZvsr%fengguang.wu@intel.com> Sender: linux-clk-owner@vger.kernel.org List-ID: On 11/11, kbuild test robot wrote: > tree: https://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git clk-qcom-8994 > head: cc800227108710c8f02255e61659b956b041eec3 > commit: cc800227108710c8f02255e61659b956b041eec3 [2/2] clk: qcom: Add support for msm8994 global clock controller > config: i386-allmodconfig (attached as .config) > compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901 > reproduce: > git checkout cc800227108710c8f02255e61659b956b041eec3 > # save the attached .config to linux build tree > make ARCH=i386 > > All error/warnings (new ones prefixed by >>): > > In file included from drivers/clk/qcom/gcc-msm8994.c:20:0: > >> include/linux/module.h:213:1: error: expected ',' or ';' before 'extern' > extern const typeof(name) __mod_##type##__##name##_device_table \ > ^ > >> drivers/clk/qcom/gcc-msm8994.c:2265:1: note: in expansion of macro 'MODULE_DEVICE_TABLE' > MODULE_DEVICE_TABLE(of, gcc_msm8994_match_table); Urgh that's sad. Too bad MODULE_DEVICE_TABLE doesn't have something in it in the !MODULE case to cause compilation problems like this to come out. I'll go fix this up. -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project