On Wed, Jan 21, 2004 at 20:20:37 -0000, Saqib Shaikh wrote: > When compiling a kernel module I get the following warning: > warning: initialization from incompatible pointer type It means exactly what it says. An initialization assigns a pointer to some type to a variable declared as a pointer to different effective type. Function types often produce this kind of warning, because though void* is considered compatible to int* (or anything_else*), (*)(void *) and (*)(int *) are NOT considered compatible. ------------------------------------------------------------------------------- Jan 'Bulb' Hudec <bulb@ucw.cz> -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/