GCC: Fixes for gcc 14 on Fedora 40
commitef3fea63eb22ed07d941625d6893967d59fe179c
authorTony Hutter <hutter2@llnl.gov>
Mon, 29 Apr 2024 18:31:50 +0000 (29 11:31 -0700)
committerTony Hutter <hutter2@llnl.gov>
Mon, 29 Apr 2024 20:50:05 +0000 (29 13:50 -0700)
tree4513f749ce79d8352b8570617e762a0720b1c768
parent71216b91d281e7e58f5e29ca4d4553945e080fe9
GCC: Fixes for gcc 14 on Fedora 40

- Workaround dangling pointer in uu_list.c (#16124)
- Fix calloc() transposed arguments in zpool_vdev_os.c
- Make some temp variables unsigned to prevent triggering a
  '-Werror=alloc-size-larger-than' error.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Tony Hutter <hutter2@llnl.gov>
Closes #16124
Closes #16125
cmd/zpool/os/linux/zpool_vdev_os.c
lib/libuutil/uu_list.c
module/zfs/vdev_raidz.c