Tag: 6fa7db83e4f9ef5cd820b7c8aba06cd068035641

staging: sm750fb: Add void to function definition with no arguments

Author: Supriya Karanth <iskaranth@gmail.com> Found by checkpatch.pl – ERROR: Bad function definition A function with no arguments allows for variadic arguments. Add void in between the empty parentheses to indicate that the function takes no arguments. changes made using coccinelle script: @@ type T; identifier f; @@ T f( +void ) { … } Signed-off-by: …

Continue reading