9036 zfs: duplicate 'const' declaration specifier

Review Request #837 - Created Feb. 5, 2018 and submitted

Information
Toomas Soome
illumos-gate
9036
9132e8d...
Reviewers
general
../../common/fs/zfs/vdev_indirect_mapping.c: In function 'dva_mapping_overlap_compare':
../../common/fs/zfs/vdev_indirect_mapping.c:136:17: error: duplicate 'const' declaration specifier [-Werror=duplicate-decl-specifier]
  const uint64_t const *key = v_key;
                 ^~~~~
../../common/fs/zfs/vdev_indirect_mapping.c:137:43: error: duplicate 'const' declaration specifier [-Werror=duplicate-decl-specifier]
  const vdev_indirect_mapping_entry_phys_t const *array_elem =
                                           ^~~~~
cc1: all warnings being treated as errors

  
Yuri Pankov
Matthew Ahrens
Toomas Soome
Review request changed

Status: Closed (submitted)

Loading...