Files
mirror_zfs/config
Brian Behlendorf 24baccb75e config: Fix LLVM-21 -Wuninitialized-const-pointer warning
LLVM-21 enables -Wuninitialized-const-pointer which results in the
following compiler warning and the bdev_file_open_by_path() interface
not being detected for 6.9 and newer kernels.  The blk_holder_ops
are not used by the ZFS code so we can safely use a NULL argument
for this check.

    bdev_file_open_by_path/bdev_file_open_by_path.c:110:54: error:
    variable 'h' is uninitialized when passed as a const pointer
    argument here [-Werror,-Wuninitialized-const-pointer]

Reviewed-by: Rob Norris <robn@despairlabs.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #17682
Closes #17684
2025-09-09 17:04:24 -07:00
..
2021-01-26 16:12:26 -08:00
2024-10-08 09:27:38 -07:00
2024-09-18 11:23:50 -07:00
2024-09-18 11:23:51 -07:00
2024-09-18 11:23:50 -07:00
2022-02-18 09:34:25 -08:00
2024-09-18 11:23:50 -07:00
2025-08-15 13:18:37 -07:00
2024-09-18 11:23:50 -07:00
2022-03-14 12:37:39 -07:00
2021-01-02 16:55:55 -08:00
2019-08-30 09:40:30 -07:00
2022-03-28 10:24:22 -07:00
2021-01-02 16:55:55 -08:00
2022-03-28 10:24:22 -07:00
2021-01-02 16:55:55 -08:00
2025-04-24 13:58:48 -04:00
2021-01-02 16:55:55 -08:00
2021-01-02 16:55:55 -08:00