diff options
author | Mark Wright <[email protected]> | 2018-04-21 02:53:25 +1000 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2018-04-20 09:53:25 -0700 |
commit | 089500e79234c9cb741090ade96baec266f0ace4 (patch) | |
tree | b21aa83cd4f9bf1f5ed69262ce869406a49c2afb /include/sys/trace_dbuf.h | |
parent | b4555c777a0be3c0dba29662d278c57099c60a87 (diff) |
Fix CONFIG_GCC_PLUGIN_RANDSTRUCT build
Fix build errors with gcc 7.3.0 on Gentoo with kernel 4.16.3
built with CONFIG_GCC_PLUGIN_RANDSTRUCT=y such as:
module/zfs/vdev_indirect.c:296:2: error:
positional initialization of field in ‘struct’ declared with
‘designated_init’ attribute [-Werror=designated-init]
vdev_indirect_map_free,
^~~~~~~~~~~~~~~~~~~~~~
Reviewed-by: Brian Behlendorf <[email protected]>
Reviewed-by: Giuseppe Di Natale <[email protected]>
Signed-off-by: Mark Wright <[email protected]>
Closes #7464
Diffstat (limited to 'include/sys/trace_dbuf.h')
0 files changed, 0 insertions, 0 deletions