net/virtio: fix typo in packed ring init
authorTiwei Bie <tiwei.bie@intel.com>
Tue, 19 Mar 2019 06:43:03 +0000 (14:43 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 20 Mar 2019 17:15:42 +0000 (18:15 +0100)
commitba72caa0472f494c61573f65e41bdc6f3bdfc891
tree6e1f1242f7a71aafd9172a4049147c2b233b0e06
parent2f706027c8ee1bfcf4895cc35a42f0d2270dc819
net/virtio: fix typo in packed ring init

The pointer to event structure should be cast to uintptr_t first.

Fixes: f803734b0f2e ("net/virtio: vring init for packed queues")
Cc: stable@dpdk.org
Signed-off-by: Tiwei Bie <tiwei.bie@intel.com>
Reviewed-by: Jens Freimann <jfreimann@redhat.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
drivers/net/virtio/virtio_ring.h