Files
mirror_zfs/config
Alexander Moch 2d9ba1e3c8 config: Fix LLVM-21 -Wuninitialized-const-pointer warning (#17997)
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>

Closes #17682
Closes #17684
(cherry picked from commit 9acedbacee)

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Alexander Moch <mail@alexmoch.com>
Co-authored-by: Brian Behlendorf <behlendorf1@llnl.gov>
2025-12-03 11:30:55 -08:00
..
2021-01-26 16:12:26 -08:00
2024-10-09 13:44:46 -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
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-05-28 16:00:28 -07:00
2021-01-02 16:55:55 -08:00
2021-01-02 16:55:55 -08:00