Re: Modules: Handle symbols that have a zero value

2007-11-21 Thread Christoph Lameter
On Wed, 21 Nov 2007, Mathieu Desnoyers wrote: > return -ENOENT; > > directly ? > > (ERR_PTR() in linux/err.h is a simple cast from long to void*). Right and there is also IS_ERR_VALUE. Thanks for the feedback. New version: Modules: Handle symbols that have a zero value The module subsystem

Re: Modules: Handle symbols that have a zero value

2007-11-21 Thread Mathieu Desnoyers
* Christoph Lameter ([EMAIL PROTECTED]) wrote: > Another issue that I encountered with the cpu_alloc stuff. > > > > The module subsystem cannot handle symbols that are zero. If symbols are > present that have a zero value then the module resolver prints out > a message that these symbols are unr