[dpdk-dev] [PATCH] raw/ioat: fix compiler warning for incorrect include

David Marchand david.marchand at redhat.com
Tue Jul 23 20:53:01 CEST 2019


On Tue, Jul 23, 2019 at 6:27 PM Bruce Richardson
<bruce.richardson at intel.com> wrote:
>
> Some builds with clang report an error because '<>' rather than '""' were
> used for including the ioat spec header file.
>
>   Target: x86_64-native-bsdapp-clang
>   22:10: error: 'rte_ioat_spec.h' file not found with <angled> include; use "quotes" instead
>   #include <rte_ioat_spec.h>
>            ^~~~~~~~~~~~~~~~~
>            "rte_ioat_spec.h"
>   1 error generated.
>
> Since this file should always be in the same directory as the main header,
> we can safely change the include line to fix this error.
>
> Fixes: abff4333ec20 ("raw/ioat: create device on probe and destroy on release")
>
> Signed-off-by: Bruce Richardson <bruce.richardson at intel.com>

Still a bit skeptical at why we did not see this on linux..
But this can't hurt and hopefully it fixes the issue :-)

Reviewed-by: David Marchand <david.marchand at redhat.com>


-- 
David Marchand


More information about the dev mailing list