Re: [PATCH 01/10] selftests/x86: In syscall_nt, test NT|TF as well
From: Andy Lutomirski
Date: Wed Mar 02 2016 - 14:04:11 EST
On Mar 2, 2016 6:29 AM, "Borislav Petkov" <bp@xxxxxxxxx> 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...)