On 14/03/17 00:50, Stefano Stabellini wrote:
> Introduce the Xen 9pfs transport driver: add struct xenbus_driver to
> register as a xenbus driver and add struct p9_trans_module to register
> as v9fs driver.
>
> All functions are empty stubs for now.
>
> Signed-off-by: Stefano Stabellini <[email protected]>
> Reviewed-by: Boris Ostrovsky <[email protected]>
> CC: [email protected]
> CC: Eric Van Hensbergen <[email protected]>
> CC: Ron Minnich <[email protected]>
> CC: Latchesar Ionkov <[email protected]>
> CC: [email protected]
> ---
> net/9p/trans_xen.c | 125
> +++++++++++++++++++++++++++++++++++++++++++++++++++++
> 1 file changed, 125 insertions(+)
> create mode 100644 net/9p/trans_xen.c
>
> diff --git a/net/9p/trans_xen.c b/net/9p/trans_xen.c
> new file mode 100644
> index 0000000..f072876
> --- /dev/null
> +++ b/net/9p/trans_xen.c
> +static struct p9_trans_module p9_xen_trans = {
> + .name = "xen",
> + .maxsize = (1 << (XEN_9PFS_RING_ORDER + XEN_PAGE_SHIFT)),
I think you can remove the outer brackets.
Juergen