Displaying 2 results from an estimated 2 matches for "virtio_fb_send".
2009 Nov 05
0
[PATCH] Add VirtIO Frame Buffer Support
...}
You don't need an if statement, do you?
For aligned addresses tmp_off is 0, so it works out.
> + virt += PAGE_SIZE;
> + }
> +
> + *sg_elem = sg_entries;
> + return sglist;
> +
> + err:
> + kfree(sglist);
> + return NULL;
> +}
> +
> +
> +static void _virtio_fb_send(struct virtio_fb_info *info,
void? Don't we care that this might fail e.g. on OOM?
> + struct virtio_fb_cmd *cmd,
> + char *buf, int len, enum copy_type copy)
> +{
> + char *send_buf = NULL;
> + char *sg_buf = NULL;
> + struct virtio_fb_cmd *send_cmd;
> + stru...
2009 Nov 05
0
[PATCH] Add VirtIO Frame Buffer Support
...}
You don't need an if statement, do you?
For aligned addresses tmp_off is 0, so it works out.
> + virt += PAGE_SIZE;
> + }
> +
> + *sg_elem = sg_entries;
> + return sglist;
> +
> + err:
> + kfree(sglist);
> + return NULL;
> +}
> +
> +
> +static void _virtio_fb_send(struct virtio_fb_info *info,
void? Don't we care that this might fail e.g. on OOM?
> + struct virtio_fb_cmd *cmd,
> + char *buf, int len, enum copy_type copy)
> +{
> + char *send_buf = NULL;
> + char *sg_buf = NULL;
> + struct virtio_fb_cmd *send_cmd;
> + stru...