Re: [PATCH] Sky Cpu: use C99 style for struct init

2007-07-06 Thread Cyrill Gorcunov
[Vincent Hanquez - Fri, Jul 06, 2007 at 11:21:00AM +0200] | On Thu, Jul 05, 2007 at 09:59:10PM +0400, Cyrill Gorcunov wrote: | > + .fasync = NULL, | > + .poll= NULL, | > + .ioctl = NULL, | | you can remove those since C99 automaticly initialize missing fields to 0

Re: [PATCH] Sky Cpu: use C99 style for struct init

2007-07-06 Thread Vincent Hanquez
On Thu, Jul 05, 2007 at 09:59:10PM +0400, Cyrill Gorcunov wrote: > + .fasync= NULL, > + .poll = NULL, > + .ioctl = NULL, you can remove those since C99 automaticly initialize missing fields to 0. Cheers, -- Vincent Hanquez - To unsubscribe from this list: send the line "u

[PATCH] Sky Cpu: use C99 style for struct init

2007-07-05 Thread Cyrill Gorcunov
This patch change structure item init format to C99. Signed-off-by: Cyrill Gorcunov <[EMAIL PROTECTED]> --- The patch is over my prev patch named: [PATCH 1/4] Sky Cpu and Nexus: code style improvement drivers/misc/hdpuftrs/hdpu_cpustate.c | 24 1 files change