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: 98b0fdb0ff
("pmdinfogen: add buildtools and pmdinfogen utility")
Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
This commit is contained in:
parent
5230bc4c77
commit
c5917f3918
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user