[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1321613689.3664.305.camel@zakaz.uk.xensource.com>
Date: Fri, 18 Nov 2011 10:54:49 +0000
From: Ian Campbell <Ian.Campbell@...rix.com>
To: ANNIE LI <annie.li@...cle.com>
CC: "xen-devel@...ts.xensource.com" <xen-devel@...ts.xensource.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Paul Durrant <Paul.Durrant@...rix.com>,
"konrad.wilk@...cle.com" <konrad.wilk@...cle.com>,
"jeremy@...p.org" <jeremy@...p.org>,
"kurt.hackel@...cle.com" <kurt.hackel@...cle.com>
Subject: Re: [Xen-devel] [PATCH 1/3] xen/granttable: Introducing grant table
V2 stucture
Thanks for splitting these up.
On Fri, 2011-11-18 at 10:07 +0000, ANNIE LI wrote:
> [...]
> return value
> + * by bit operations.
> + */
> + int (*query_foreign_access)(grant_ref_t);
> +};
> +
> +static struct gnttab_ops gnttab_v1_ops;
You don't actually need this forward declaration since the struct
definition and usage are ordered correctly.
> +static struct gnttab_ops gnttab_v1_ops = {
> + .map_frames = gnttab_map_frames_v1,
> + .unmap_frames = gnttab_unmap_frames_v1,
> + .update_entry = update_grant_entry_v1,
Any reason this one is not gnttab_foo?
Ian.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists