numam-dpdk/drivers
Jianfeng Tan d911c94d25 net/virtio-user: fix build with icc
Implicit int to enum conversion is not allowed when icc is used as
the compiler. It raises the compiling error like,
    drivers/net/virtio/virtio_user/vhost_user.c(257):
        error #188: enumerated type mixed with another type
    msg.request = req;
                ^

The fix is simple, change the type of parameter req to enum
vhost_user_request.

Fixes: 6a84c37e39 ("net/virtio-user: add vhost-user adapter layer")

Suggested-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: Jianfeng Tan <jianfeng.tan@intel.com>
Acked-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
2016-06-30 07:46:29 +02:00
..
crypto mk: fix external dependencies of crypto drivers 2016-06-29 13:33:01 +02:00
net net/virtio-user: fix build with icc 2016-06-30 07:46:29 +02:00
Makefile mk: fix build without crypto 2016-03-11 10:43:09 +01:00