Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753292AbcD0Oeb (ORCPT ); Wed, 27 Apr 2016 10:34:31 -0400 Received: from mx1.redhat.com ([209.132.183.28]:34911 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751204AbcD0Oe3 (ORCPT ); Wed, 27 Apr 2016 10:34:29 -0400 Date: Wed, 27 Apr 2016 11:34:27 -0300 From: Arnaldo Carvalho de Melo To: "Wangnan (F)" Cc: Florian Fainelli , linux-kernel@vger.kernel.org, ast@kernel.org, jolsa@kernel.org Subject: Re: [PATCH 2/2] bfp tools: Fix syscall argument Message-ID: <20160427143427.GC2535@redhat.com> References: <1461551694-5512-1-git-send-email-f.fainelli@gmail.com> <1461551694-5512-3-git-send-email-f.fainelli@gmail.com> <57202B97.3010809@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <57202B97.3010809@huawei.com> X-Url: http://acmel.wordpress.com User-Agent: Mutt/1.5.20 (2009-12-10) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.38]); Wed, 27 Apr 2016 14:34:29 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 322 Lines: 10 Em Wed, Apr 27, 2016 at 11:01:43AM +0800, Wangnan (F) escreveu: > On 2016/4/25 10:34, Florian Fainelli wrote: > >- return syscall(__NR_bpf, BPF_PROG_LOAD, attr, sizeof(attr)); > >+ return syscall(__NR_bpf, BPF_PROG_LOAD, &attr, sizeof(attr)); > > } > Acked-by: Wang Nan Applied, thanks. - Arnaldo