Received: from eggs.gnu.org ([2001:4830:134:3::10]:41803) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WkUFX-0007Kq-Gw for qemu-devel@nongnu.org; Wed, 14 May 2014 04:09:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WkUFS-0000Vl-Oa for qemu-devel@nongnu.org; Wed, 14 May 2014 04:09:15 -0400 Received: from mx1.redhat.com ([209.132.183.28]:59652) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WkUFS-0000VV-HA for qemu-devel@nongnu.org; Wed, 14 May 2014 04:09:10 -0400 Date: Wed, 14 May 2014 16:09:14 +0800 From: Fam Zheng Message-ID: <20140514080914.GG1856@T430.nay.redhat.com> References: <1399997268-9889-1-git-send-email-ncmike@ncultra.org> <20140514075046.GC3610@noname.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20140514075046.GC3610@noname.redhat.com> Subject: Re: [Qemu-devel] [PATCH] qemu-img: sort block formats in help message List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Kevin Wolf Cc: Mike Day , cornelia.huck@de.ibm.com, qemu-devel@nongnu.org, stefanha@redhat.com, peter.maydell@linaro.org On Wed, 05/14 09:50, Kevin Wolf wrote: > Am 13.05.2014 um 18:07 hat Mike Day geschrieben: > > The help message for qemu-img lists the supported block formats, of > > which there are 27 as of version 2.0.50. The formats are printed in > > the order of their driver's position in a linked list, which appears > > random. This patch prints the formats in sorted order, making it > > easier to read and to find a specific format in the list. > > > > [Added suggestions from Fam Zheng to declare variables > > at the top of the scope in help() and to omit explicit cast for void* > > opaque. > > --Stefan] > > > > [Removed call to g_sequence_lookup because it breaks the build on > > machines with glib < 2.28. > > --Mike] > > > > Signed-off-by: Mike Day > > Signed-off-by: Stefan Hajnoczi > > What happened here? This patch seems to be already applied, and you > included Stefan's SoB as well. > Mike, please fix on top of current master, instead of squashing the removing of g_sequence_lookup into your already merged patch. Fam