From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:59689) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qcdi2-0001jW-47 for qemu-devel@nongnu.org; Fri, 01 Jul 2011 09:24:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qcdhz-00008J-8U for qemu-devel@nongnu.org; Fri, 01 Jul 2011 09:24:37 -0400 Received: from mx1.redhat.com ([209.132.183.28]:4594) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qcdhy-00007v-Jj for qemu-devel@nongnu.org; Fri, 01 Jul 2011 09:24:34 -0400 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p61DOXJL009201 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 1 Jul 2011 09:24:33 -0400 Date: Fri, 1 Jul 2011 10:24:31 -0300 From: Luiz Capitulino Message-ID: <20110701102431.1b6cda41@doriath> In-Reply-To: References: <1309458783-12661-1-git-send-email-lcapitulino@redhat.com> <1309458783-12661-2-git-send-email-lcapitulino@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 1/3] block: drive_init(): Fix indentation List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Markus Armbruster Cc: kwolf@redhat.com, qemu-devel@nongnu.org On Fri, 01 Jul 2011 09:16:38 +0200 Markus Armbruster wrote: > Luiz Capitulino writes: > > > Some constructions in that function have broken indentation. Fix them. > > > > Signed-off-by: Luiz Capitulino > > --- > > blockdev.c | 52 ++++++++++++++++++++++++++-------------------------- > > 1 files changed, 26 insertions(+), 26 deletions(-) > > > > diff --git a/blockdev.c b/blockdev.c > > index 7d579d6..27bf68a 100644 > > --- a/blockdev.c > > +++ b/blockdev.c > > @@ -272,23 +272,23 @@ DriveInfo *drive_init(QemuOpts *opts, int default_to_scsi) > > if (type == IF_COUNT) { > > error_report("unsupported bus type '%s'", buf); > > return NULL; > > - } > > + } > > Old indentation is correct, apart from tabs. > > New indentation is incorrect, and fails to remove tabs. > > if (type == IF_COUNT) { > error_report("unsupported bus type '%s'", buf); > return NULL; > } > ^^^^^^^^ ^ > tab here incorrect indentation Yeah, I realized that after Stefan's comment. > Check your editor settings. > > I don't see "broken" indentation anywhere in this function. A few lines > are off: indented 3 instead of 4. If we want to fix such things, I'd > prefer it done globally. Ok, I'll drop this patch from the series then and let to do it globally later.