HomeFreeBSD

GCC: Fixes for gcc 14 on Fedora 40

Description

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

Details

Provenance
Tony Hutter <hutter2@llnl.gov>Authored on Apr 29 2024, 6:31 PM
GitHub <noreply@github.com>Committed on Apr 29 2024, 6:31 PM
Parents
rG21bc066ece7f: Fix updating the zvol_htable when renaming a zvol
Branches
Unknown
Tags
Unknown

Event Timeline

GitHub <noreply@github.com> committed rG4840f023afae: GCC: Fixes for gcc 14 on Fedora 40 (authored by Tony Hutter <hutter2@llnl.gov>).Apr 29 2024, 6:31 PM