On Mar 2, 2016 6:29 AM, "Borislav Petkov" <b...@alien8.de> wrote: > > On Wed, Mar 02, 2016 at 02:01:15PM +0000, One Thousand Gnomes wrote: > > int main(void) is wrong as there are passed arguments > > Not in this particular case - test doesn't take args.
IIRC the C standard says otherwise. main is special. Arguably checkpatch should learn about that -- it doesn't matter for *kernel* code, but this is a user program. (Also, it's shamelessly written in C99. I figure 15 years is long enough...)