Re: access_ok inside kernelspace -- part II --

Matthew Wilcox (Matthew.Wilcox@genedata.com)
Fri, 22 Oct 1999 10:24:22 +0200


On Thu, Oct 21, 1999 at 05:23:18PM +0200, Vasili Goutas wrote:
> The C++ compiler shows me a lot of warnings which the C compiler does not,
> like unreferenced parameter and assignment of -1 to unsigned
> variables. I patched the header to be able to see the warnings created by my
> code. If someone is interrested in this patch ...

Unreferenced parameters are warned about by gcc. assigning -1 to an
unsigned variable can be warned about by using the -W flag in addition.
one of the things i intend to do in the near future is clean up the
header files so that -W can be used without spamming your console with
useless error messages.

-- 
Matthew Wilcox <willy@bofh.ai>
"Windows and MacOS are products, contrived by engineers in the service of
specific companies. Unix, by contrast, is not so much a product as it is a
painstakingly compiled oral history of the hacker subculture." - N Stephenson

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/