Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp6389834ybi; Wed, 29 May 2019 07:11:10 -0700 (PDT) X-Google-Smtp-Source: APXvYqzvIG05N5BqYlSAWP18074Fv8wVbnRlzI+XLL5Pwwo6TWfaA9cyi+L7XJAedcaJ64VwUxjI X-Received: by 2002:a17:902:8490:: with SMTP id c16mr6233149plo.259.1559139070758; Wed, 29 May 2019 07:11:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559139070; cv=none; d=google.com; s=arc-20160816; b=HMQdqFi3OY+hY205pyFtSGvm7gfO9ogOC+JCrGOHGM+LvVyU3hyjtjFG8C/rd9FBIw bkFuTLZiHIr+ZimocIuQ1LEHKCscD5UFe12ysU+iYA3QaDoc0oTztc+wJ6g6VPANIB1M ZaUatt85xEPQk36F1DXqEIyk3QDClo5l98VhZus6ChMusjS1JoIJ2si6AEeGrJ3V72hh XFrpZsMG21F1r+vO4RX0j80AaEE3jLK//rblwMWpJWa8UMInCo9HGbJ+TdkWSCLAs7n9 ZIIDO4X7tjnDfsGb8SHbP34rKJjV+ZauaH81m2T/zZwhKPzMbWzyt7IHpNImcmOfdNhe BYVg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=/oG3v1TOgip4HlDLxBVpFqIk50d/Iwp37a0TBWpb9wk=; b=LfmhFxi3nlg1/qiq6f1N3hZR/ThwHNN30NHjuKQM4cvRaHzcW+pUKXCNAJaXGQLX4B 7Vk6PkTsKaDRuZtFAbRn37o9DLrRcsbEKvUpLfbCex5DdXE+c+2LAsqS/spj09E0EqdW ldMo2+5GXVzVkehnGHBW0bu5szoHb75tgtlARAq3gZOKDJ2eBcTxbWpsfSIN3QZfa0Px y8+dVQffUYq2u63Cw3r6VFnDV85cpBIWROoQ1YwTyfR0ygRj4KgJeKfQaybx5l+wTtgi FknCFn5a865tFvKR0KqwZoFR2vvjQz4ZrqYilhJpMJWcWEarYguChSqEmCEIywyP0Ri3 h5CQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k1si24153420pll.317.2019.05.29.07.10.52; Wed, 29 May 2019 07:11:10 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727336AbfE2OHW (ORCPT + 99 others); Wed, 29 May 2019 10:07:22 -0400 Received: from www62.your-server.de ([213.133.104.62]:56414 "EHLO www62.your-server.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727014AbfE2OHV (ORCPT ); Wed, 29 May 2019 10:07:21 -0400 Received: from [78.46.172.3] (helo=sslproxy06.your-server.de) by www62.your-server.de with esmtpsa (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89_1) (envelope-from ) id 1hVzEd-0004ub-LD; Wed, 29 May 2019 16:07:19 +0200 Received: from [2a02:120b:c3fc:feb0:dda7:bd28:a848:50e2] (helo=linux.home) by sslproxy06.your-server.de with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89) (envelope-from ) id 1hVzEd-000P5g-E9; Wed, 29 May 2019 16:07:19 +0200 Subject: Re: [PATCH bpf v2] selftests: bpf: fix compiler warning To: Alakesh Haloi , linux-kselftest@vger.kernel.org, netdev@vger.kernel.org, bpf@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Shuah Khan , Alexei Starovoitov , Martin KaFai Lau , Song Liu , Yonghong Song , Stanislav Fomichev References: <20190528190218.GA6950@ip-172-31-44-144.us-west-2.compute.internal> From: Daniel Borkmann Message-ID: Date: Wed, 29 May 2019 16:07:18 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <20190528190218.GA6950@ip-172-31-44-144.us-west-2.compute.internal> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-Authenticated-Sender: daniel@iogearbox.net X-Virus-Scanned: Clear (ClamAV 0.100.3/25464/Wed May 29 09:59:09 2019) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 Applied, thanks!