KSPP / linux

Linux kernel source tree (Kernel Self Protection Project)
https://kernsec.org/wiki/index.php/Kernel_Self_Protection_Project
Other
80 stars 5 forks source link

Fix -Wcast-function-type warning in arch/ia64/kernel/sal.c #318

Closed GustavoARSilva closed 5 months ago

GustavoARSilva commented 1 year ago

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]
kees commented 5 months ago

ia64 has been removed.