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.
-
On 2016/4/25 10:34, Florian Fainelli wrote:
Coverity flagged this under CID 1354884 as a sizeof mismatch, it turns
out that the argument "attr" passed to syscall should have been a
pointer to attr in the first place.
Reported-by: coverity (CID 1354884)
Fixes: 8f9e05fb298f ("perf tools: Fix Pow
2 matches
Mail list logo