From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51845) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dIBTs-0003Ar-QH for qemu-devel@nongnu.org; Tue, 06 Jun 2017 06:13:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dIBTo-0006JA-MJ for qemu-devel@nongnu.org; Tue, 06 Jun 2017 06:12:56 -0400 Received: from mail-wm0-x22a.google.com ([2a00:1450:400c:c09::22a]:37683) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dIBTo-0006IM-Fo for qemu-devel@nongnu.org; Tue, 06 Jun 2017 06:12:52 -0400 Received: by mail-wm0-x22a.google.com with SMTP id d73so45287804wma.0 for ; Tue, 06 Jun 2017 03:12:52 -0700 (PDT) References: <20170602160848.4913-1-alex.bennee@linaro.org> <20170602160848.4913-6-alex.bennee@linaro.org> From: Alex =?utf-8?Q?Benn=C3=A9e?= In-reply-to: Date: Tue, 06 Jun 2017 11:13:14 +0100 Message-ID: <87tw3tctl1.fsf@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Subject: Re: [Qemu-devel] [RISU PATCH v4 05/10] risu: paramterise send/receive functions List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: QEMU Developers Peter Maydell writes: > On 2 June 2017 at 17:08, Alex Bennée wrote: >> This is a precursor to record/playback support. Instead of passing the >> socket fd we now pass helper functions for reading/writing and >> responding. This will allow us to do the rest of the record/playback >> cleanly outside of the main worker function. >> >> Signed-off-by: Alex Bennée > >> - } else if (!reginfo_is_eq(&master_ri, &apprentice_ri)) { >> + } else if (!reginfo_is_eq(&master_ri, &apprentice_ri)) { >> /* register mismatch */ >> resp = 2; >> - >> - } else if (op == OP_TESTEND) { >> + } else if (op == OP_TESTEND) { >> resp = 1; >> - } > > [etc] > > If you're going to fix the indent can you put that in > its own patch, please? Much easier to review that way. Damn I forgotten that got munged. Can we agree on what the indent should be for risu? 3 or 4, space or tabs? -- Alex Bennée