From mboxrd@z Thu Jan 1 00:00:00 1970 From: sboyd@codeaurora.org (Stephen Boyd) Date: Thu, 10 Nov 2016 15:45:15 -0800 Subject: [clk:clk-qcom-8994 2/2] include/linux/module.h:213:1: error: expected ',' or ';' before 'extern' In-Reply-To: <201611110732.1ceuZvsr%fengguang.wu@intel.com> References: <201611110732.1ceuZvsr%fengguang.wu@intel.com> Message-ID: <20161110234515.GO16026@codeaurora.org> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org 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