mirror_zfs/module/zcommon
Tony Hutter 155847c72d
GCC 15: Fix unterminated-string-initialization (#17244)
Fix build errors on Fedora 42 like:

  module/zcommon/zfs_valstr.c:193:16: error: initializer-string for
  array of 'char' truncates NUL terminator but destination lacks
  'nonstring' attribute (3 chars into 2 available)

The arrays in zpool_vdev_os.c and zfs_valstr.c don't need to be
NULL terminated, but we do so to make GCC happy.

Closes: #17242

Signed-off-by: Tony Hutter <hutter2@llnl.gov>
Reviewed-by: Alexander Motin <mav@FreeBSD.org>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
2025-04-16 09:33:29 -07:00
..
cityhash.c SPDX: license tags: MIT 2025-03-13 17:56:54 -07:00
simd_stat.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
zfeature_common.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
zfs_comutil.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
zfs_deleg.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
zfs_fletcher_aarch64_neon.c SPDX: license tags: BSD-2-Clause OR GPL-2.0-only 2025-03-13 17:57:21 -07:00
zfs_fletcher_avx512.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
zfs_fletcher_intel.c SPDX: license tags: BSD-2-Clause OR GPL-2.0-only 2025-03-13 17:57:21 -07:00
zfs_fletcher_sse.c SPDX: license tags: BSD-2-Clause OR GPL-2.0-only 2025-03-13 17:57:21 -07:00
zfs_fletcher_superscalar4.c SPDX: license tags: BSD-2-Clause OR GPL-2.0-only 2025-03-13 17:57:21 -07:00
zfs_fletcher_superscalar.c SPDX: license tags: BSD-2-Clause OR GPL-2.0-only 2025-03-13 17:57:21 -07:00
zfs_fletcher.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
zfs_namecheck.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
zfs_prop.c Add default user/group/project quota properties 2025-04-03 10:35:22 -07:00
zfs_valstr.c GCC 15: Fix unterminated-string-initialization (#17244) 2025-04-16 09:33:29 -07:00
zpool_prop.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
zprop_common.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00