Displaying 5 results from an estimated 5 matches for "fw_cfg_file".
2018 Feb 15
0
[vhost:vhost 24/24] drivers/firmware/qemu_fw_cfg.c:499:22: error: storage size of 'files' isn't known
...robot
> <fengguang.wu at intel.com> wrote:
> > tree: https://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost.git vhost
> > head: 5d457fe6aeaab9d0a1665eafc8af7139bc6b6f2e
> > commit: 5d457fe6aeaab9d0a1665eafc8af7139bc6b6f2e [24/24] fw_cfg: fix sparse warnings around FW_CFG_FILE_DIR read
> > config: i386-randconfig-x015-201806 (attached as .config)
> > compiler: gcc-7 (Debian 7.3.0-1) 7.3.0
> > reproduce:
> > git checkout 5d457fe6aeaab9d0a1665eafc8af7139bc6b6f2e
> > # save the attached .config to linux build tree
> >...
2018 Feb 14
0
[vhost:vhost 24/24] drivers/firmware/qemu_fw_cfg.c:499:22: error: storage size of 'files' isn't known
tree: https://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost.git vhost
head: 5d457fe6aeaab9d0a1665eafc8af7139bc6b6f2e
commit: 5d457fe6aeaab9d0a1665eafc8af7139bc6b6f2e [24/24] fw_cfg: fix sparse warnings around FW_CFG_FILE_DIR read
config: i386-randconfig-x015-201806 (attached as .config)
compiler: gcc-7 (Debian 7.3.0-1) 7.3.0
reproduce:
git checkout 5d457fe6aeaab9d0a1665eafc8af7139bc6b6f2e
# save the attached .config to linux build tree
make ARCH=i386
All errors (new ones prefixed by >&g...
2018 Apr 05
0
[PULL] fwcfg, vhost: features and fixes
...enabled.
Also included are some fixes in vhost.
Signed-off-by: Michael S. Tsirkin <mst at redhat.com>
----------------------------------------------------------------
Marc-Andr? Lureau (10):
fw_cfg: fix sparse warnings in fw_cfg_sel_endianness()
fw_cfg: fix sparse warnings with fw_cfg_file
fw_cfg: fix sparse warning reading FW_CFG_ID
fw_cfg: fix sparse warnings around FW_CFG_FILE_DIR read
fw_cfg: remove inline from fw_cfg_read_blob()
fw_cfg: handle fw_cfg_read_blob() error
fw_cfg: add a public uapi header
fw_cfg: add DMA register
crash: expor...
2018 Feb 01
0
[vhost:vhost 11/22] drivers//firmware/qemu_fw_cfg.c:380:3: error: implicit declaration of function 'paddr_vmcoreinfo_note'
...n-declaration]
.paddr = cpu_to_le64(paddr_vmcoreinfo_note())
^
cc1: some warnings being treated as errors
vim +/paddr_vmcoreinfo_note +380 drivers//firmware/qemu_fw_cfg.c
360
361 #ifdef CONFIG_CRASH_CORE
362 static ssize_t write_vmcoreinfo(struct device *dev, const struct fw_cfg_file *f)
363 {
364 struct vmci {
365 __le16 host_format;
366 __le16 guest_format;
367 __le32 size;
368 __le64 paddr;
369 } __packed;
370 static struct vmci *data;
371 ssize_t ret;
372
373 data = kmalloc(sizeof(struct vmci), GFP_KERNEL);
374 if (!data)...
2018 Feb 01
0
[vhost:vhost 11/22] drivers//firmware/qemu_fw_cfg.c:379:23: error: 'VMCOREINFO_NOTE_SIZE' undeclared; did you mean 'MEI_CL_NAME_SIZE'?
...39;cpu_to_le64'
.paddr = cpu_to_le64(paddr_vmcoreinfo_note())
^~~~~~~~~~~
cc1: some warnings being treated as errors
vim +379 drivers//firmware/qemu_fw_cfg.c
360
361 #ifdef CONFIG_CRASH_CORE
362 static ssize_t write_vmcoreinfo(struct device *dev, const struct fw_cfg_file *f)
363 {
364 struct vmci {
365 __le16 host_format;
366 __le16 guest_format;
367 __le32 size;
368 __le64 paddr;
369 } __packed;
370 static struct vmci *data;
371 ssize_t ret;
372
373 data = kmalloc(sizeof(struct vmci), GFP_KERNEL);
374 if (!data)...