From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:54510) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TEaRx-0000Ts-Vh for qemu-devel@nongnu.org; Thu, 20 Sep 2012 02:41:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TEaRx-0004T5-1t for qemu-devel@nongnu.org; Thu, 20 Sep 2012 02:41:25 -0400 Received: from mx1.redhat.com ([209.132.183.28]:34618) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TEaRw-0004Sx-Q5 for qemu-devel@nongnu.org; Thu, 20 Sep 2012 02:41:24 -0400 Message-ID: <505ABA90.6070002@redhat.com> Date: Thu, 20 Sep 2012 08:41:20 +0200 From: Gerd Hoffmann MIME-Version: 1.0 References: <1348062086-23490-1-git-send-email-mjt@msgid.tls.msk.ru> In-Reply-To: <1348062086-23490-1-git-send-email-mjt@msgid.tls.msk.ru> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] qxl/update_area_io: cleanup invalid parameters handling List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Michael Tokarev Cc: Alon Levy , qemu-devel@nongnu.org, Dunrong Huang On 09/19/12 15:41, Michael Tokarev wrote: > This cleans up two additions of almost the same code in commits > 511b13e2c9 and ccc2960d654. While at it, make error paths > consistent (always use 'break' instead of 'return'). Other way around: should be 'return' not 'break'. cheers, Gerd