From: ANNIE LI Subject: Re: [PATCH V3 1/2] xen/granttable: Support sub-page grants Date: Mon, 12 Dec 2011 15:32:07 +0800 Message-ID: <4EE5ADF7.7080400@oracle.com> References: <1323430321-5465-1-git-send-email-annie.li@oracle.com> <1323430372-5503-1-git-send-email-annie.li@oracle.com> <1323452339.20077.92.camel@zakaz.uk.xensource.com> <4EE57204.4030509@oracle.com> <1323673833.20936.65.camel@dagon.hellion.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1323673833.20936.65.camel@dagon.hellion.org.uk> Sender: linux-kernel-owner@vger.kernel.org To: Ian Campbell Cc: "xen-devel@lists.xensource.com" , "linux-kernel@vger.kernel.org" , "konrad.wilk@oracle.com" , "jeremy@goop.org" , Paul Durrant , "kurt.hackel@oracle.com" List-Id: xen-devel@lists.xenproject.org On 2011-12-12 15:10, Ian Campbell wrote: > On Mon, 2011-12-12 at 03:16 +0000, ANNIE LI wrote: >>> Please can you name the arguments here and then refer to them by name in >>> the comments instead of all this "First parameter", "second one" stuff. >>> >>> Similarly for the existing comments sorry I didn't notice this in >>> previous review. >> Please check following comments in gnttab_ops, I changed the "First >> parameter", "second one" into parameter name. However, it looks not very >> consistent with parameters format of function fn since only parameter >> type exists, not name. > You can give the parameters names in the function pointers too, that's > what I was suggesting. > > e.g.: > int (*map_frames)(unsigned long *frames, unsigned int nr); > Ok, I will correct comments and add parameter names of existing function in a third patch. Sub-page and trans patches should contain corrected comments and parameter names directly. Thanks Annie > Ian. >