Re: [PATCH]kernel.h Move warning message about using kernel headersfor userspace to types.h
From: Justin P. Mattock
Date: Thu Jul 01 2010 - 11:57:05 EST
On 07/01/2010 08:07 AM, Arnd Bergmann wrote:
On Thursday 01 July 2010, Justin P. Mattock wrote:
+#ifndef __EXPORTED_HEADERS__
+#ifndef __KERNEL__
+#warning "Attempt to use kernel headers from user space, see http://kernelnewbies.org/KernelHeaders"
so this is legit with the length of the statement? or should this be
broken down into a small quick line directing to a file with the address
or something
Yes, the length of the statement was never the problem, it only went wrong
because the // in the url gets interpreted as the start of a one-line comment.
Arnd
alright.. then I'll look at getting this resent today.
Justin P. Mattock
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/