aboutsummaryrefslogtreecommitdiffstats
path: root/lib/debugobjects.c
diff options
context:
space:
mode:
authorAmit Shah <[email protected]>2010-02-24 05:07:44 +0000
committerAmit Shah <[email protected]>2010-03-04 08:10:39 +0000
commit335a64a5c21ed58de21c0130c90c7e647cdcf572 (patch)
tree50019062a9f17134ac38a4a9b999f6112e6c818e /lib/debugobjects.c
parentvirtio: console: Fix type of 'len' as unsigned int (diff)
downloadkernel-335a64a5c21ed58de21c0130c90c7e647cdcf572.tar.gz
kernel-335a64a5c21ed58de21c0130c90c7e647cdcf572.zip
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 <[email protected]> Reported-by: Juan Quintela <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions