Received: from eggs.gnu.org ([2001:4830:134:3::10]:46323) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X0N4B-0002Ft-Bp for qemu-devel@nongnu.org; Thu, 26 Jun 2014 23:43:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X0N45-0001Ql-7l for qemu-devel@nongnu.org; Thu, 26 Jun 2014 23:43:11 -0400 Received: from [59.151.112.132] (port=43649 helo=heian.cn.fujitsu.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X0N44-0001OJ-SV for qemu-devel@nongnu.org; Thu, 26 Jun 2014 23:43:05 -0400 Date: Fri, 27 Jun 2014 11:41:05 +0800 From: Hu Tao Message-ID: <20140627034105.GC4030@G08FNSTD100614.fnst.cn.fujitsu.com> References: <1403763216-28508-1-git-send-email-hutao@cn.fujitsu.com> <53AC098D.9060408@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Disposition: inline In-Reply-To: <53AC098D.9060408@redhat.com> Subject: Re: [Qemu-devel] [PATCH] cleanup of ROUND_UP-like lines List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Eric Blake Cc: qemu-devel@nongnu.org On Thu, Jun 26, 2014 at 05:52:45AM -0600, Eric Blake wrote: > On 06/26/2014 12:13 AM, Hu Tao wrote: > > We already have ROUND_UP but there are similar macros and ROUND_UP-like > > lines all around, replace them with ROUND_UP and clean up similar macros. > > Not a review (yet), but a question - how did you find lines to convert? > Is there a particular grep pattern you looked for, or a Coccinelle > script, or ...? I ask because it would be nice information in the commit > message, so that the actual review can also look to see if you missed > any instances that could use the conversion. Good point. I used grep but indeed I've missed some instances. Regards, Hu