tablet: fix unexpected termination issue
authorJinhyung Jo <jinhyung.jo@samsung.com>
Mon, 5 Sep 2016 09:52:34 +0000 (18:52 +0900)
committerJinhyung Jo <jinhyung.jo@samsung.com>
Tue, 6 Sep 2016 05:42:47 +0000 (14:42 +0900)
commitfc7b6a78204b506068da09a2fba5b04b62cfcac5
tree92e2fc754b5595e4be89ab5bb204eb2c3d59d791
parent48742b9a80528a51d01462f6d2c57c0c5ef1b069
tablet: fix unexpected termination issue

'Null Pointer Dereference' occurs, the emulator dies unexpectedly.
It is caused by commit f998ca30b51b5c549898763d4bd5041380a60416.
The committer have made a mistake when applying the virtio API modification.
The virtio API has been changed as follows:
    previous: int virtqueue_pop(VirtQueue *vq, VirtQueueElement *elem)
    current: void *virtqueue_pop(VirtQueue *vq, size_t sz)

Change-Id: I2c5a20c2741633f855ab0128f7e4dd989404b2b2
Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
tizen/src/hw/virtio/maru_virtio_tablet.c