diff --git a/module/os/linux/spl/spl-thread.c b/module/os/linux/spl/spl-thread.c index 28ea66565b1a..949ac8467b64 100644 --- a/module/os/linux/spl/spl-thread.c +++ b/module/os/linux/spl/spl-thread.c @@ -67,7 +67,7 @@ __thread_exit(void) { tsd_exit(); ZFS_KTHREAD_COMPLETE_AND_EXIT(NULL, 0); - /* Unreachable */ + __builtin_unreachable(); } EXPORT_SYMBOL(__thread_exit);