search for: fw_cfg_dma_ctl_error

Displaying 1 result from an estimated 1 matches for "fw_cfg_dma_ctl_error".

2018 Feb 14
1
[vhost:vhost 22/23] drivers/firmware/qemu_fw_cfg.c:130:36: sparse: incorrect type in initializer (different base types)
...ers/firmware/qemu_fw_cfg.c 103 104 /* qemu fw_cfg device is sync today, but spec says it may become async */ 105 static void fw_cfg_wait_for_control(struct fw_cfg_dma *d) 106 { 107 do { > 108 u32 ctrl = be32_to_cpu(READ_ONCE(d->control)); 109 110 if ((ctrl & ~FW_CFG_DMA_CTL_ERROR) == 0) 111 return; 112 113 usleep_range(50, 100); 114 } while (true); 115 } 116 117 static ssize_t fw_cfg_dma_transfer(void *address, u32 length, u32 control) 118 { 119 phys_addr_t dma; 120 struct fw_cfg_dma *d = NULL; 121 ssize_t ret = length; 122...