From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:59021) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QcXy1-0002ex-L8 for qemu-devel@nongnu.org; Fri, 01 Jul 2011 03:16:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QcXxz-0006SS-M0 for qemu-devel@nongnu.org; Fri, 01 Jul 2011 03:16:45 -0400 Received: from mx1.redhat.com ([209.132.183.28]:58930) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QcXxz-0006S1-0D for qemu-devel@nongnu.org; Fri, 01 Jul 2011 03:16:43 -0400 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p617GeMb027337 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 1 Jul 2011 03:16:40 -0400 From: Markus Armbruster References: <1309458783-12661-1-git-send-email-lcapitulino@redhat.com> <1309458783-12661-2-git-send-email-lcapitulino@redhat.com> Date: Fri, 01 Jul 2011 09:16:38 +0200 In-Reply-To: <1309458783-12661-2-git-send-email-lcapitulino@redhat.com> (Luiz Capitulino's message of "Thu, 30 Jun 2011 15:33:01 -0300") Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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: Luiz Capitulino Cc: kwolf@redhat.com, qemu-devel@nongnu.org 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 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.