Re: [PATCH v2 7/8] thunk: supports flexible arrays

2020-12-17 Thread Shu-Chun Weng
Ping -- any comments on https://patchew.org/QEMU/cover.1597129029.git@google.com/e0754f52180aee6418eae8b3b8aa5981fcac12fd.1597129029.git@google.com/ On Tue, Aug 11, 2020 at 2:39 PM Shu-Chun Weng wrote: > Forgot to +riku.voi...@iki.fi when generating v2. > > On Tue, Aug 11, 2020 at 12:10

Re: [PATCH v2 7/8] thunk: supports flexible arrays

2020-08-11 Thread Shu-Chun Weng
Forgot to +riku.voi...@iki.fi when generating v2. On Tue, Aug 11, 2020 at 12:10 AM Shu-Chun Weng wrote: > Flexible arrays may appear in the last field of a struct and are heavily > used in the ioctl(SIOCETHTOOL) system call on Linux. E.g. > > struct ethtool_regs { > __u32 cmd; >

[PATCH v2 7/8] thunk: supports flexible arrays

2020-08-11 Thread Shu-Chun Weng
Flexible arrays may appear in the last field of a struct and are heavily used in the ioctl(SIOCETHTOOL) system call on Linux. E.g. struct ethtool_regs { __u32 cmd; __u32 version; /* driver-specific, indicates different chips/revs */ __u32 len; /* bytes */ __u8da