Messages in this thread | | | From | Arnd Bergmann <> | Subject | Re: [PATCH]kernel.h Move warning message about using kernel headers for userspace to types.h | Date | Thu, 1 Jul 2010 17:07:31 +0200 |
| |
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
| |