commit | a5232bde8449b28230f767e8b558021bb5d08e5c | [log] [tgz] |
---|---|---|
author | Thomas Meyer <thomas@m3y3r.de> | Sat Aug 13 11:27:10 2011 +0200 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Tue Aug 23 15:22:58 2011 -0700 |
tree | 18be5c5567e792c9ab74300db94cb5c66a30523e | |
parent | 8c670f4d157bcaba0001455ace554572b9b417ef [diff] |
staging: rts_pstor: dont cast void* from kmalloc() Casting (void *) value returned by kmalloc is useless as mentioned in Documentation/CodingStyle, Chap 14. The semantic patch that makes this output is available in scripts/coccinelle/api/alloc/drop_kmalloc_cast.cocci. More information about semantic patching is available at http://coccinelle.lip6.fr/ Signed-off-by: Thomas Meyer <thomas@m3y3r.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>