diff options
author | Mark Wright <[email protected]> | 2017-11-29 10:33:48 +1100 |
---|---|---|
committer | Tony Hutter <[email protected]> | 2017-12-04 17:21:39 -0800 |
commit | e06711412b361c7e44ce16e67e8b5eae5251d686 (patch) | |
tree | c713ca468c284b0fa812b628a3847d88127ff2a8 /tests/zfs-tests | |
parent | 68ba1d2fa974db2ecb799385f1b3e8e0180e5f6b (diff) |
Linux 4.14 compat: CONFIG_GCC_PLUGIN_RANDSTRUCT
Fix build errors with gcc 7.2.0 on Gentoo with kernel 4.14
built with CONFIG_GCC_PLUGIN_RANDSTRUCT=y such as:
module/nvpair/nvpair.c:2810:2:error:
positional initialization of field in ?struct? declared with
'designated_init' attribute [-Werror=designated-init]
nvs_native_nvlist,
^~~~~~~~~~~~~~~~~
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Mark Wright <[email protected]>
Closes #5390
Closes #6903
Diffstat (limited to 'tests/zfs-tests')
0 files changed, 0 insertions, 0 deletions