search for: fw_cfg_read_blob

Displaying 4 results from an estimated 4 matches for "fw_cfg_read_blob".

2018 Feb 14
0
[vhost:vhost 24/24] drivers/firmware/qemu_fw_cfg.c:499:22: error: storage size of 'files' isn't known
...493 494 /* iterate over all fw_cfg directory entries, registering each one */ 495 static int fw_cfg_register_dir_entries(void) 496 { 497 int ret = 0; 498 u32 count, i; > 499 struct fw_cfg_files files; 500 struct fw_cfg_file *dir; 501 size_t dir_size; 502 503 fw_cfg_read_blob(FW_CFG_FILE_DIR, &files.count, 0, sizeof(files.count)); 504 count = be32_to_cpu(files.count); 505 dir_size = count * sizeof(struct fw_cfg_file); 506 507 dir = kmalloc(dir_size, GFP_KERNEL); 508 if (!dir) 509 return -ENOMEM; 510 511 fw_cfg_read_blob(FW_CFG_FILE_D...
2018 Feb 15
0
[vhost:vhost 24/24] drivers/firmware/qemu_fw_cfg.c:499:22: error: storage size of 'files' isn't known
...s(void) > > 496 { > > 497 int ret = 0; > > 498 u32 count, i; > > > 499 struct fw_cfg_files files; > > 500 struct fw_cfg_file *dir; > > 501 size_t dir_size; > > 502 > > 503 fw_cfg_read_blob(FW_CFG_FILE_DIR, &files.count, 0, sizeof(files.count)); > > 504 count = be32_to_cpu(files.count); > > 505 dir_size = count * sizeof(struct fw_cfg_file); > > 506 > > 507 dir = kmalloc(dir_size, GFP_KERNEL); > > 508...
2018 Apr 05
0
[PULL] fwcfg, vhost: features and fixes
...----------------- 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: export paddr_vmcoreinfo_note() fw_cfg: write vmcoreinfo details Michael S. Tsirkin (1): ptr_ring: fix build Sonny Rao (2): vhost: fix vhost ioctl si...
2018 Feb 02
0
[fw_cfg] c8bf448ff3: kernel_BUG_at_arch/x86/mm/physaddr.c
...00000000(0000) GS:ffffffff82849000(0000) knlGS:0000000000000000 [ 19.256561] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 19.256561] CR2: 0000000000000000 CR3: 000000000281b000 CR4: 00000000000006b0 [ 19.256561] Call Trace: [ 19.256561] fw_cfg_dma_transfer+0x5c/0x130 [ 19.256561] fw_cfg_read_blob+0x132/0x250 [ 19.256561] fw_cfg_sysfs_probe+0x43e/0xa40 [ 19.256561] ? mutex_unlock+0x1d/0x30 [ 19.256561] platform_drv_probe+0x5e/0x130 [ 19.256561] driver_probe_device+0x5c2/0x770 [ 19.256561] __driver_attach+0x14c/0x1d0 [ 19.256561] ? driver_probe_device+0x770/0x770 [ 19.2565...