(void*) conversions
Here are a few tips and scripts how to find unnecessary (void*) conversions.
Find (void*) functions
Here's a script that finds all functions returning (void*): attachment:find_voidp_funcs.pl
Example:
./find_voidp_funcs.pl linux-2.6.git/
Finding assignments
Another script has an embedded list of such function names (after the END), or can take such names on the commandline:
Example:
./find_voidp_funcs.pl linux-2.6.git kmalloc