aboutsummaryrefslogtreecommitdiffstats
path: root/module/os/linux/zfs/zvol_os.c
diff options
context:
space:
mode:
authorRob N <[email protected]>2024-05-25 11:54:24 +1000
committerTony Hutter <[email protected]>2024-07-16 15:33:17 -0700
commitf4e2aed42a704e2f238886b0dac50c06671b2d70 (patch)
tree118d5246720ceb2a633aafc25ffa94b9211bd363 /module/os/linux/zfs/zvol_os.c
parent54ef0fdf60a8e7633c38cb46e1f5bcfcec792f4e (diff)
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 <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Rob Norris <[email protected]> Closes #16201
Diffstat (limited to 'module/os/linux/zfs/zvol_os.c')
0 files changed, 0 insertions, 0 deletions