From: Amit Shah Date: Wed, 24 Feb 2010 05:07:44 +0000 (+0530) Subject: virtio: console: Use better variable names for fill_queue operation X-Git-Tag: v2.6.34-rc1~6^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=335a64a5c21ed58de21c0130c90c7e647cdcf572;p=pandora-kernel.git virtio: console: Use better variable names for fill_queue operation We want to keep track of the number of buffers added to a vq. Use nr_added_bufs instead of 'ret'. Also, the users of fill_queue() overloaded a local 'err' variable to check the numbers of buffers allocated. Use nr_added_bufs instead of err. Signed-off-by: Amit Shah Reported-by: Juan Quintela --- Reading git-diff-tree failed