2015-06-23 00:40, Jijiang Liu:
>  examples/Makefile                 |    1 +
>  examples/tep_termination/Makefile |   55 ++
>  examples/tep_termination/main.c   | 1130 
> +++++++++++++++++++++++++++++++++++++
>  examples/tep_termination/main.h   |  123 ++++
>  4 files changed, 1309 insertions(+), 0 deletions(-)

MAINTAINERS file is missing in this list.

[...]
> +static inline int
> +validate_nb_devices(uint32_t max_nb_devices)
> +{
> +     if (nb_devices > max_nb_devices) {
> +             RTE_LOG(ERR, VHOST_PORT, "invalid number of devices\n");
> +             return -1;
> +     }
> +     return 0;
> +}

It must be removed to build with clang: this function is unused.

Reply via email to