search for: files_count

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

Did you mean: file_count
2018 Feb 15
0
[vhost:vhost 24/24] drivers/firmware/qemu_fw_cfg.c:499:22: error: storage size of 'files' isn't known
...> > struct fw_cfg_files { > __be32 count; /* number of entries */ > struct fw_cfg_file f[]; > }; > > Interesting, I don't have that warning with 7.3.1. > > I thought the size would be sizeof(count) by standard. > > I replaced it with a __be32 files_count variable instead. > > > drivers/firmware/qemu_fw_cfg.c:499:22: warning: unused variable 'files' [-Wunused-variable] > > > > files.count is used 3 lines below, that looks like a compiler bug to me. No - i tried dropping one patch out of series, this did not work o...