raw/ioat: fix include quotes
authorBruce Richardson <bruce.richardson@intel.com>
Tue, 23 Jul 2019 16:26:48 +0000 (17:26 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 23 Jul 2019 18:49:47 +0000 (20:49 +0200)
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
  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@intel.com>
drivers/raw/ioat/rte_ioat_rawdev.h

index 7a89632..4b271f1 100644 (file)
@@ -19,7 +19,7 @@
 #include <rte_memory.h>
 #include <rte_memzone.h>
 #include <rte_prefetch.h>
-#include <rte_ioat_spec.h>
+#include "rte_ioat_spec.h"
 
 /** Name of the device driver */
 #define IOAT_PMD_RAWDEV_NAME rawdev_ioat