summaryrefslogtreecommitdiff
path: root/buildtools
diff options
context:
space:
mode:
authorFerruh Yigit <ferruh.yigit@intel.com>2016-09-28 11:05:19 +0100
committerThomas Monjalon <thomas.monjalon@6wind.com>2016-10-04 11:50:56 +0200
commitc5917f3918a5f61e7489f9884554d7723af1b3cf (patch)
treec93d9c2739768bfa0348e098c3ec75ddf58daca3 /buildtools
parent5230bc4c77cae884eda5ac392887339108a2b763 (diff)
downloaddpdk-c5917f3918a5f61e7489f9884554d7723af1b3cf.zip
dpdk-c5917f3918a5f61e7489f9884554d7723af1b3cf.tar.gz
dpdk-c5917f3918a5f61e7489f9884554d7723af1b3cf.tar.xz
pmdinfogen: fix clang build
Compile error: CC mlx5.o.pmd.o mlx5.o.pmd.c:1:227: error: no newline at end of file [-Werror,-Wnewline-eof] ...__attribute__((used)) = "PMD_INFO_STRING= {...}"; ^ Produced with clang 3.8.0 and MLX5_PMD and MLX5_DEBUG config options enabled. Fixes: 98b0fdb0ffc6 ("pmdinfogen: add buildtools and pmdinfogen utility") Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
Diffstat (limited to 'buildtools')
-rw-r--r--buildtools/pmdinfogen/pmdinfogen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/buildtools/pmdinfogen/pmdinfogen.c b/buildtools/pmdinfogen/pmdinfogen.c
index e1bf2e4..59ab956 100644
--- a/buildtools/pmdinfogen/pmdinfogen.c
+++ b/buildtools/pmdinfogen/pmdinfogen.c
@@ -386,7 +386,7 @@ static void output_pmd_info_string(struct elf_info *info, char *outfile)
else
fprintf(ofd, " ");
}
- fprintf(ofd, "]}\";");
+ fprintf(ofd, "]}\";\n");
drv = drv->next;
}