Thread (6 messages) 6 messages, 2 authors, 2016-01-28

Re: [PATCH v7 1/4] firmware: introduce sysfs driver for QEMU's fw_cfg device

From: kbuild test robot <hidden>
Date: 2016-01-28 04:49:28
Also in: linux-api, lkml, qemu-devel

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 >>):
quoted
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

Attachments

  • .config.gz [application/octet-stream] 45143 bytes
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help