From: Rusty Russell Date: Tue, 16 Oct 2012 13:26:15 +0000 (+1030) Subject: virtio: make virtqueue_add_buf() returning 0 on success, not capacity. X-Git-Tag: v3.8-rc1~28^2~14 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=98e8c6bc66048db6f921ccd5b24f0e09804cfcca;p=pandora-kernel.git virtio: make virtqueue_add_buf() returning 0 on success, not capacity. Now noone relies on this behavior, we simplify virtqueue_add_buf() so it return 0 or -errno. Signed-off-by: Rusty Russell Acked-by: Michael S. Tsirkin --- Reading git-diff-tree failed