Received: from eggs.gnu.org ([140.186.70.92]:52051) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RT13q-0006gn-GN for qemu-devel@nongnu.org; Tue, 22 Nov 2011 19:51:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RT13p-0001bM-2x for qemu-devel@nongnu.org; Tue, 22 Nov 2011 19:51:38 -0500 Received: from mx1.chubb.wattle.id.au ([128.177.28.167]:42977) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RT13p-0001bI-0x for qemu-devel@nongnu.org; Tue, 22 Nov 2011 19:51:37 -0500 Date: Wed, 23 Nov 2011 11:51:19 +1100 Message-ID: From: Peter Chubb In-Reply-To: References: MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Subject: Re: [Qemu-devel] [PATCH V2 0/4] imx.31 and KZM board support List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Chubb Cc: Peter Maydell , Andreas =?UTF-8?B?RsOkcmJlcg==?= , qemu-devel@nongnu.org >>>>> "Peter" == Peter Chubb writes: Peter> All comments received so far have been addressed --- I've added Peter> a macro, `scream' that gives at most 10 lines of output for OS Peter> error reporting. Except I noticed a thinko in the macro. The decrement should be inside the guard, thus: #define scream(fmt, args...) \ do { \ static int printable = 10;\ if (printable) { \ printable--;\ fprintf(stderr, fmt, ##args); \ } \ } while (0) -- Dr Peter Chubb http://www.gelato.unsw.edu.au peterc AT gelato.unsw.edu.au http://www.ertos.nicta.com.au ERTOS within National ICT Australia