From: Ian Campbell Subject: Re: [PATCH V3 1/2] xen/granttable: Support sub-page grants Date: Mon, 12 Dec 2011 07:10:33 +0000 Message-ID: <1323673833.20936.65.camel@dagon.hellion.org.uk> 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> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4EE57204.4030509@oracle.com> Sender: linux-kernel-owner@vger.kernel.org To: ANNIE LI 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 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); Ian.