zfs/include/os/linux
Rob N 708be0f415
Linux 6.7 compat: detect if kernel defines intptr_t
Since Linux 6.7 the kernel has defined intptr_t. Clang has
-Wtypedef-redefinition by default, which causes the build to fail
because we also have a typedef for intptr_t.

Since its better to use the kernel's if it exists, detect it and skip
our own.

Sponsored-by: https://despairlabs.com/sponsor/
Reviewed-by: Tino Reichardt <milky-zfs@mcmilk.de>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Rob Norris <robn@despairlabs.com>
Closes #16201
2024-05-24 18:54:24 -07:00
..
kernel/linux vdev_disk: disable flushes if device does not support it 2024-05-02 15:18:35 -07:00
spl Linux 6.7 compat: detect if kernel defines intptr_t 2024-05-24 18:54:24 -07:00
zfs/sys zio: remove io_cmd and DKIOCFLUSHWRITECACHE 2024-04-11 17:17:11 -07:00
Makefile.am dkio: remove kernel dkio.h compatibility header 2024-04-11 17:17:18 -07:00