From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49375) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YGTaJ-0008VC-Gj for qemu-devel@nongnu.org; Wed, 28 Jan 2015 09:27:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YGTaG-00038D-7V for qemu-devel@nongnu.org; Wed, 28 Jan 2015 09:27:11 -0500 Date: Wed, 28 Jan 2015 16:27:05 +0200 From: Riku Voipio Message-ID: <20150128142705.GA22971@afflict.kos.to> References: <54C4DC4E.3080306@sunrus.com.cn> <54C5672D.4080800@sunrus.com.cn> <54C6566B.6050205@sunrus.com.cn> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: Re: [Qemu-devel] [PATCH] linux-user/syscall.c: Let all lock_user_struct() and unlock_user_struct() paired with each other List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: QEMU Trivial , Riku Voipio , Chen Gang S , qemu-devel Hi, First of all, thanks Chen for taking time to improve the linux-user codebase in qemu! On Mon, Jan 26, 2015 at 03:01:52PM +0000, Peter Maydell wrote: > On 26 January 2015 at 14:59, Chen Gang S wrote: > > On 1/26/15 06:10, Peter Maydell wrote: > >> I would just like the commit message to be clear about the > >> scope of the work the patch covers. If the patch is just "Fix > >> mismatched lock/unlock calls in IPC struct conversion functions" > >> then that's fine, but the commit message should say that. At the > >> moment the commit message is very vague. > >> > > > > OK, thanks. > > > > I am not quite familiar with this file, so I describe the modification > > by function name, e.g. lock_user_struct() and unlick_user_struct() in > > the patch subject. > In a big file I think it's often more useful to describe the > functions which are being changed. My suggested subject would be: > "Fix mismatched lock/unlock calls in IPC struct conversion functions" > Riku can decide if he wants a v2 or will just fix it up as he > applies it to his linux-user tree. No need for v2, I've change the title in my tree. Riku