Received: from eggs.gnu.org ([2001:4830:134:3::10]:47232) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yxw2o-0006be-Pr for qemu-devel@nongnu.org; Thu, 28 May 2015 07:32:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yxw2l-000787-K8 for qemu-devel@nongnu.org; Thu, 28 May 2015 07:32:14 -0400 Message-ID: <5566FCBA.2000500@msgid.tls.msk.ru> Date: Thu, 28 May 2015 14:32:10 +0300 From: Michael Tokarev MIME-Version: 1.0 References: <1432632341-5201-1-git-send-email-chenhanxiao@cn.fujitsu.com> In-Reply-To: <1432632341-5201-1-git-send-email-chenhanxiao@cn.fujitsu.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] docs/writing-qmp-commands: fix a typo List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Chen Hanxiao , Markus Armbruster Cc: qemu-trivial@nongnu.org, qemu-devel 26.05.2015 12:25, Chen Hanxiao wrote: > s/interation/iteration > > Signed-off-by: Chen Hanxiao > --- > docs/writing-qmp-commands.txt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/docs/writing-qmp-commands.txt b/docs/writing-qmp-commands.txt > index f3df206..ab1fdd3 100644 > --- a/docs/writing-qmp-commands.txt > +++ b/docs/writing-qmp-commands.txt > @@ -598,7 +598,7 @@ stored in its "value" member. In our example, the "value" member is a pointer > to an TimerAlarmMethod instance. > > Notice that the "current" variable is used as "true" only in the first > -interation of the loop. That's because the alarm timer method in use is the > +iteration of the loop. That's because the alarm timer method in use is the > first element of the alarm_timers array. Also notice that QAPI lists are handled > by hand and we return the head of the list. Applied to -trivial, thank you! Marcus: I don't think such obvious and trivial changes needs to be re-sent to -devel. Ofcourse it is better to send things to -devel rigth away, but requiring to resent is a bit over the top. I think anyway :) /mjt