Re: [PATCH] vhost: drop hard-coded num_buffers size
From: David Miller
Date: Fri Feb 27 2015 - 15:58:45 EST
From: "Michael S. Tsirkin" <mst@xxxxxxxxxx>
Date: Tue, 24 Feb 2015 17:31:10 +0100
> The 2 that we use for copy_to_iter comes from sizeof(u16),
> it used to be that way before the iov iter update.
> Fix it up, making it obvious the size of stack access
> is right.
>
> Signed-off-by: Michael S. Tsirkin <mst@xxxxxxxxxx>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/