HomeFreeBSD

Linux 6.6 compat: fix implicit conversion error with debug build

Description

Linux 6.6 compat: fix implicit conversion error with debug build

With Linux v6.6.0 and GCC 12, when debug build is configured,
implicit conversion error is raised while converting
'enum <anonymous>' to 'boolean_t'. Use 'B_TRUE' instead of
'true' to fix the issue.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Pavel Snajdr <snajpa@snajpa.net>
Reviewed-by: Brian Atkinson <batkinson@lanl.gov>
Signed-off-by: Umer Saleem <usaleem@ixsystems.com>
Closes #15489

Details

Provenance
Umer Saleem <usaleem@ixsystems.com>Authored on Nov 7 2023, 9:24 PM
Tony Hutter <hutter2@llnl.gov>Committed on Nov 16 2023, 10:23 PM
Parents
rGf0ffcc3adcd0: Remove obsolete_counts from grub2 compatibility list
Branches
Unknown
Tags
Unknown

Event Timeline

Tony Hutter <hutter2@llnl.gov> committed rG44c8ff9b0ce2: Linux 6.6 compat: fix implicit conversion error with debug build (authored by Umer Saleem <usaleem@ixsystems.com>).Nov 16 2023, 10:23 PM