From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932981AbbLQGHc (ORCPT ); Thu, 17 Dec 2015 01:07:32 -0500 Received: from szxga03-in.huawei.com ([119.145.14.66]:36311 "EHLO szxga03-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932239AbbLQGHa (ORCPT ); Thu, 17 Dec 2015 01:07:30 -0500 Message-ID: <567250EB.207@huawei.com> Date: Thu, 17 Dec 2015 14:06:35 +0800 From: "Wangnan (F)" User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: , , , , , , , , , , , CC: , Subject: Re: [PATCH 06/10] bpf tools: Support new map operations References: <1450329794-161948-1-git-send-email-wangnan0@huawei.com> <1450329794-161948-7-git-send-email-wangnan0@huawei.com> In-Reply-To: <1450329794-161948-7-git-send-email-wangnan0@huawei.com> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.111.66.109] X-CFilter-Loop: Reflected X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A020205.567250F8.006E,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0, ip=0.0.0.0, so=2013-05-26 15:14:31, dmn=2013-03-21 17:37:32 X-Mirapoint-Loop-Id: 3230cf424979483b59644f0720ee718e Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org [SNIP] > +int bpf_map_lookup_elem(int fd, void *key, void *value) > +{ > + union bpf_attr attr = { > + .map_fd = fd, > + .key = ptr_to_u64(key), > + .value = ptr_to_u64(value), > + }; Tailing whitespace here. Sorry...