On Tue, Jan 15, 2008 at 07:02:44PM +0300, Anton Salikhmetov wrote:Please don't put the changelog in here, that's what the log in the SCM is for. And while you're at it remove the confusing file name comment. This should now look something like: /* * The msync() system call. * * Copyright (C) 1994-1999 Linus Torvalds * Copyright (C) 2008 Anton Salikhmetov <salikhmetov@gmail.com> */ The goto out for a simple return style is used quite commonly in kernel code to have a single return statement which makes code maintaince, e.g. adding locks or allocations simpler. Not sure that getting rid of it makes a lot of sense. Given that file is assigned just above it would be more readable to test it first. This should be an goto out, returns out of the middle of the function make reading and maintaining the code not so nice. Care to get rid of this odd GNU extension while you're at it and use the proper return error ? error : unmapped_error; ? --
| Natalie Protasevich | [BUG] New Kernel Bugs |
| Greg KH | [GIT PATCH] driver core patches against 2.6.24 |
| Bart Van Assche | Integration of SCST in the mainstream Linux kernel |
| Andi Kleen | [PATCH x86] [0/16] Various i386/x86-64 changes |
git: | |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
| Jarek Poplawski | [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Linus Torvalds | Re: [GIT]: Networking |
| Jeff Kirsher | [net-next PATCH 1/7] e1000e: enable CRC stripping by default |
| Jukka Andberg | ata/wdc vs gcc3 on amiga |
| YAMAMOTO Takashi | Re: wd.c patch to reduce kernel stack usage |
| Jason Thorpe | Re: ksyms patches. |
| rick | NFS transport |
