The correct fix is __attribute__((noreturn)) in the panic() prototype.
As it happens, this has already been done....
Peter
--- 2.3.99pre4pre2/include/linux/raid/md_k.h~ Thu Feb 24 22:02:59 2000
+++ 2.3.99pre4pre2/include/linux/raid/md_k.h Wed Jan 24 18:40:28 2001
@@ -15,6 +15,8 @@
#ifndef _MD_K_H
#define _MD_K_H
+#include <linux/kernel.h> // for panic()
+
#define MD_RESERVED 0UL
#define LINEAR 1UL
#define STRIPED 2UL
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/