[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <201601281233.vUewWVwl%fengguang.wu@intel.com>
Date: Thu, 28 Jan 2016 12:47:57 +0800
From: kbuild test robot <lkp@...el.com>
To: "Gabriel L. Somlo" <somlo@....edu>
Cc: kbuild-all@...org, gregkh@...uxfoundation.org, robh+dt@...nel.org,
pawel.moll@....com, mark.rutland@....com,
ijc+devicetree@...lion.org.uk, galak@...eaurora.org, arnd@...db.de,
lersek@...hat.com, ralf@...ux-mips.org,
rmk+kernel@....linux.org.uk, eric@...olt.net,
hanjun.guo@...aro.org, zajec5@...il.com, sudeep.holla@....com,
agross@...eaurora.org, linux-api@...r.kernel.org,
linux-kernel@...r.kernel.org, devicetree@...r.kernel.org,
qemu-devel@...gnu.org, mst@...hat.com, imammedo@...hat.com,
peter.maydell@...aro.org, leif.lindholm@...aro.org,
ard.biesheuvel@...aro.org, pbonzini@...hat.com, kraxel@...hat.com,
ehabkost@...hat.com, luto@...capital.net, stefanha@...il.com,
revol@...e.fr, matt@...eblueprint.co.uk, rth@...ddle.net
Subject: Re: [PATCH v7 1/4] firmware: introduce sysfs driver for QEMU's
fw_cfg device
Hi Gabriel,
[auto build test WARNING on driver-core/driver-core-testing]
[also build test WARNING on v4.5-rc1 next-20160127]
[if your patch is applied to the wrong git tree, please drop us a note to help improving the system]
url: https://github.com/0day-ci/linux/commits/Gabriel-L-Somlo/SysFS-driver-for-QEMU-fw_cfg-device/20160128-111609
config: ia64-allyesconfig (attached as .config)
reproduce:
wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=ia64
All warnings (new ones prefixed by >>):
>> drivers/firmware/qemu_fw_cfg.c:112:4: warning: #warning "QEMU FW_CFG may not be available on this architecture!" [-Wcpp]
# warning "QEMU FW_CFG may not be available on this architecture!"
^
vim +112 drivers/firmware/qemu_fw_cfg.c
96 release_region(fw_cfg_p_base, fw_cfg_p_size);
97 }
98 }
99
100 /* arch-specific ctrl & data register offsets are not available in ACPI, DT */
101 #if !(defined(FW_CFG_CTRL_OFF) && defined(FW_CTRL_DATA_OFF))
102 # if (defined(CONFIG_ARM) || defined(CONFIG_ARM64))
103 # define FW_CFG_CTRL_OFF 0x08
104 # define FW_CFG_DATA_OFF 0x00
105 # elif (defined(CONFIG_PPC_PMAC) || defined(CONFIG_SPARC32)) /* ppc/mac,sun4m */
106 # define FW_CFG_CTRL_OFF 0x00
107 # define FW_CFG_DATA_OFF 0x02
108 # elif (defined(CONFIG_X86) || defined(CONFIG_SPARC64)) /* x86, sun4u */
109 # define FW_CFG_CTRL_OFF 0x00
110 # define FW_CFG_DATA_OFF 0x01
111 # else
> 112 # warning "QEMU FW_CFG may not be available on this architecture!"
113 # define FW_CFG_CTRL_OFF 0x00
114 # define FW_CFG_DATA_OFF 0x01
115 # endif
116 #endif
117
118 /* initialize fw_cfg device i/o from platform data */
119 static int fw_cfg_do_platform_probe(struct platform_device *pdev)
120 {
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Download attachment ".config.gz" of type "application/octet-stream" (45143 bytes)
Powered by blists - more mailing lists