On Sun, Jun 26, 2016 at 01:48:13PM +0000, Jianfeng Tan wrote:
> Implicit int to enum conversion is not allowed when icc is used as
> the compiler. It raises the compiling error like,
>     /.../dpdk/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: 6a84c37e3975 ("net/virtio-user: add vhost-user adapter layer")
> 
> Suggested-by: Stephen Hemminger <stephen at networkplumber.org>
> Signed-off-by: Jianfeng Tan <jianfeng.tan at intel.com>

Applied to dpdk-next-virtio, with the title changed to:

    net/virtio-user: fix build error with icc

Thanks.

        --yliu

Reply via email to