Found after building next-20230620 (with GCC-13) ia64 with zx1_defconfig:
arch/ia64/kernel/sal.c:43:29: warning: cast between incompatible function types from 'long int (*)(void)' to 'struct ia64_sal_retval (*)(u64, ...)' {aka 'struct ia64_sal_retval (*)(long long unsigned int, ...)'} [-Wcast-function-type]
Found after building next-20230620 (with GCC-13) ia64 with zx1_defconfig: