aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/snsc_event.c
diff options
context:
space:
mode:
authorAmit Shah <amit.shah@redhat.com>2011-09-14 03:36:45 -0400
committerRusty Russell <rusty@rustcorp.com.au>2011-11-01 21:11:00 -0400
commit2d24cdaa6e389f85dad51eda39f1c2684a4f15b0 (patch)
tree88f02e92c459fa8d768c1ae6fbcfa8a4ccfcdc0e /drivers/char/snsc_event.c
parentce072a0cee420782ed0a079ac17c7ca26056fb95 (diff)
virtio: console: make discard_port_data() use get_inbuf()
discard_port_data() used virtqueue_get_buf() directly instead of using get_inbuf(). Fix this, so that we get accounting for all received bytes. This also simplifies the code a lot. Signed-off-by: Amit Shah <amit.shah@redhat.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'drivers/char/snsc_event.c')
0 files changed, 0 insertions, 0 deletions