Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1388623
| Path | csiph.com!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | "Wangnan (F)" <wangnan0@huawei.com> |
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 1/2] bfp tools: Remove expression with no effect |
| Date | Wed, 27 Apr 2016 05:20:01 +0200 |
| Message-ID | <rsob7-2nW-5@gated-at.bofh.it> (permalink) |
| References | <rrEBk-6GB-15@gated-at.bofh.it> <rrEBk-6GB-17@gated-at.bofh.it> |
| X-Original-To | Florian Fainelli <f.fainelli@gmail.com>, <linux-kernel@vger.kernel.org> |
| User-Agent | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 |
| MIME-Version | 1.0 |
| 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.0A020206.57202E0B.0047,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0, ip=0.0.0.0, so=2013-06-18 04:22:30, dmn=2013-03-21 17:37:32 |
| X-Mirapoint-Loop-ID | 9aa4f595106bd2d50784c63129793bef |
| Sender | robomod@news.nic.it |
| List-ID | <linux-kernel.vger.kernel.org> |
| X-Mailing-List | linux-kernel@vger.kernel.org |
| Approved | robomod@news.nic.it |
| Lines | 27 |
| Organization | linux.* mail to news gateway |
| X-Original-Cc | <ast@kernel.org>, <jolsa@kernel.org>, <acme@redhat.com> |
| X-Original-Date | Wed, 27 Apr 2016 11:11:26 +0800 |
| X-Original-Message-ID | <57202DDE.8090200@huawei.com> |
| X-Original-References | <1461551694-5512-1-git-send-email-f.fainelli@gmail.com> <1461551694-5512-2-git-send-email-f.fainelli@gmail.com> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | csiph.com linux.kernel:1388623 |
Show key headers only | View raw
On 2016/4/25 10:34, Florian Fainelli wrote:
> Assigning "attr" to "attr" does not have any effect, but was caught by
> Coverity, so let's remove this.
>
> Reported-by: coverity (CID 1354720)
> Fixes: 1b76c13e4b36 ("bpf tools: Introduce 'bpf' library and add bpf feature check")
> Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
> ---
> tools/build/feature/test-bpf.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/tools/build/feature/test-bpf.c b/tools/build/feature/test-bpf.c
> index b389026839b9..8236df9a46ca 100644
> --- a/tools/build/feature/test-bpf.c
> +++ b/tools/build/feature/test-bpf.c
> @@ -27,7 +27,6 @@ int main(void)
> attr.log_level = 0;
> attr.kern_version = 0;
>
> - attr = attr;
> /*
> * Test existence of __NR_bpf and BPF_PROG_LOAD.
> * This call should fail if we run the testcase.
Tested-by: Wang Nan <wangnan0@huawei.com>
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 0/2] bfp tools: Couple Coverity fixes Florian Fainelli <f.fainelli@gmail.com> - 2016-04-25 04:40 +0200
[PATCH 1/2] bfp tools: Remove expression with no effect Florian Fainelli <f.fainelli@gmail.com> - 2016-04-25 04:40 +0200
Re: [PATCH 1/2] bfp tools: Remove expression with no effect "Wangnan (F)" <wangnan0@huawei.com> - 2016-04-27 05:20 +0200
Re: [PATCH 1/2] bfp tools: Remove expression with no effect Arnaldo Carvalho de Melo <acme@redhat.com> - 2016-04-27 16:40 +0200
[PATCH 2/2] bfp tools: Fix syscall argument Florian Fainelli <f.fainelli@gmail.com> - 2016-04-25 04:40 +0200
Re: [PATCH 2/2] bfp tools: Fix syscall argument "Wangnan (F)" <wangnan0@huawei.com> - 2016-04-27 05:10 +0200
Re: [PATCH 2/2] bfp tools: Fix syscall argument Arnaldo Carvalho de Melo <acme@redhat.com> - 2016-04-27 16:40 +0200
Re: [PATCH 0/2] bfp tools: Couple Coverity fixes Florian Fainelli <f.fainelli@gmail.com> - 2016-04-27 04:50 +0200
Re: [PATCH 0/2] bfp tools: Couple Coverity fixes "Wangnan (F)" <wangnan0@huawei.com> - 2016-04-27 05:10 +0200
Re: [PATCH 0/2] bfp tools: Couple Coverity fixes Alexei Starovoitov <alexei.starovoitov@gmail.com> - 2016-04-27 05:10 +0200
Re: [PATCH 0/2] bfp tools: Couple Coverity fixes Arnaldo Carvalho de Melo <acme@redhat.com> - 2016-04-27 16:30 +0200
csiph-web