Re: [PATCH bpf v2] selftests: bpf: fix compiler warning

From: Daniel Borkmann
Date: Wed May 29 2019 - 10:10:49 EST


On 05/28/2019 09:02 PM, Alakesh Haloi wrote:
> Add missing header file following compiler warning
>
> prog_tests/flow_dissector.c: In function âtx_tapâ:
> prog_tests/flow_dissector.c:175:9: warning: implicit declaration of function âwritevâ; did you mean âwriteâ? [-Wimplicit-function-declaration]
> return writev(fd, iov, ARRAY_SIZE(iov));
> ^~~~~~
> write
>
> Fixes: 0905beec9f52 ("selftests/bpf: run flow dissector tests in skb-less mode")
> Signed-off-by: Alakesh Haloi <alakesh.haloi@xxxxxxxxx>

Applied, thanks!