Received: from eggs.gnu.org ([208.118.235.92]:59141) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sn3gx-0005jU-QE for qemu-devel@nongnu.org; Fri, 06 Jul 2012 04:15:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Sn3gv-0004Oi-EQ for qemu-devel@nongnu.org; Fri, 06 Jul 2012 04:15:07 -0400 Message-ID: <4FF69E7E.2090903@msgid.tls.msk.ru> Date: Fri, 06 Jul 2012 12:14:54 +0400 From: Michael Tokarev MIME-Version: 1.0 References: In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v2] vnc: add a more descriptive error message List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Amos Kong Cc: qemu-trivial@nongnu.org, aliguori@us.ibm.com, pkrempa@redhat.com, Markus Armbruster , qemu-devel@nongnu.org On 06.07.2012 12:09, Amos Kong wrote: > ----- Original Message ----- >> Michael Tokarev writes: >>> Gyus, please, pretty PLEASE stop doing things like this. >>> >>> Amos, your patch does TWO things. One is to clarify error >>> message as correctly stated in your description, and second >>> is to change the code to do exit(1) if this message is >>> generated. So, please, a) add the second fact to the >>> description, and b) mention why it is needed. > > > 'exit(1)' is the original code, my patch just add an error message. Amos, I'm sorry for that -- it is my ENOCOFFEE case of misreading the patch. I read it initially as you've added the "exit" line, but you actually added the "}" line. So indeed, this is the right fix and the description matches what the patch does. I've seen quite alot of cases when the description was like "clarifying message" or "moving the code to a separate file", but at the same time other things has changed, and often changed in a wrong way... So, yes, it is a very good, and trivial, change, and you may use my Signed-off-by: Michael Tokarev The more cases like this is fixed, the better! Thank you! /mjt